Skip to content

Commit

Permalink
Regenerate client from commit b7e0d58 of spec repo (#210)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Feb 15, 2021
1 parent 48716bc commit 86a059f
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 27 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-02-15 11:12:03.300821",
"spec_repo_commit": "ef83c8b"
"regenerated": "2021-02-15 13:19:06.450672",
"spec_repo_commit": "b7e0d58"
},
"v2": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-02-15 11:12:15.957776",
"spec_repo_commit": "ef83c8b"
"regenerated": "2021-02-15 13:19:17.869612",
"spec_repo_commit": "b7e0d58"
}
}
}
40 changes: 23 additions & 17 deletions data/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6173,9 +6173,10 @@ paths:
- Metrics
x-undo:
type: safe
x-unstable: "**Note: This endpoint is in public beta and is only accessible\
\ for customers who have Metrics Without Limits&trade;.\nIf you\u2019re interested\
\ in this feature, please contact your Customer Support Manager.**"
x-unstable: "**Note: Use of this endpoint for count/gauge/rate metric types\
\ is only accessible for Metrics without Limits&trade; beta customers.\nIf\
\ you\u2019re interested in Metrics without Limits&trade;, please contact\
\ your Customer Success Manager.**"
/api/v2/metrics/{metric_name}/tags:
delete:
description: 'Deletes a metric''s tag configuration. Can only be used with application
Expand Down Expand Up @@ -6210,9 +6211,10 @@ paths:
- Metrics
x-undo:
type: idempotent
x-unstable: "**Note: This endpoint is in public beta and is only accessible\
\ for customers who have Metrics Without Limits&trade;.\nIf you\u2019re interested\
\ in this feature, please contact your Customer Support Manager.**"
x-unstable: "**Note: Use of this endpoint for count/gauge/rate metric types\
\ is only accessible for Metrics without Limits&trade; beta customers.\nIf\
\ you\u2019re interested in Metrics without Limits&trade;, please contact\
\ your Customer Success Manager.**"
get:
description: Returns the tag configuration for the given metric name.
operationId: ListTagConfigurationByName
Expand Down Expand Up @@ -6248,11 +6250,13 @@ paths:
- Metrics
x-undo:
type: safe
x-unstable: "**Note: This endpoint is in public beta and is only accessible\
\ for customers who have Metrics Without Limits&trade;.\nIf you\u2019re interested\
\ in this feature, please contact your Customer Support Manager.**"
x-unstable: "**Note: Use of this endpoint for count/gauge/rate metric types\
\ is only accessible for Metrics without Limits&trade; beta customers.\nIf\
\ you\u2019re interested in Metrics without Limits&trade;, please contact\
\ your Customer Success Manager.**"
patch:
description: 'Update the tag configuration of a metric. Can only be used with
description: 'Update the tag configuration of a metric or percentile aggregations
of a distribution metric. Can only be used with
application keys from users with the `Manage Tags for Metrics` permission.'
operationId: UpdateTagConfiguration
Expand Down Expand Up @@ -6301,12 +6305,13 @@ paths:
x-codegen-request-body-name: body
x-undo:
type: idempotent
x-unstable: "**Note: This endpoint is in public beta and is only accessible\
\ for customers who have Metrics Without Limits&trade;.\nIf you\u2019re interested\
\ in this feature, please contact your Customer Support Manager.**"
x-unstable: "**Note: Use of this endpoint for count/gauge/rate metric types\
\ is only accessible for Metrics without Limits&trade; beta customers.\nIf\
\ you\u2019re interested in Metrics without Limits&trade;, please contact\
\ your Customer Success Manager.**"
post:
description: 'Create and define a list of queryable tag keys for a count/gauge/rate/distribution
metric.
metric. Optionally, include percentile aggregations on any distribution metric.
Can only be used with application keys of users with the `Manage Tags for
Metrics` permission.'
Expand Down Expand Up @@ -6371,9 +6376,10 @@ paths:
- name: metric_name
source: data.id
type: unsafe
x-unstable: "**Note: This endpoint is in public beta and is only accessible\
\ for customers who have Metrics Without Limits&trade;.\nIf you\u2019re interested\
\ in this feature, please contact your Customer Support Manager.**"
x-unstable: "**Note: Use of this endpoint for count/gauge/rate metric types\
\ is only accessible for Metrics without Limits&trade; beta customers.\nIf\
\ you\u2019re interested in Metrics without Limits&trade;, please contact\
\ your Customer Success Manager.**"
/api/v2/permissions:
get:
description: Returns a list of all permissions, including name, description,
Expand Down
4 changes: 2 additions & 2 deletions docs/v2/MetricsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ All URIs are relative to *https://api.datadoghq.com*
Create a Tag Configuration

Create and define a list of queryable tag keys for a count/gauge/rate/distribution metric. Can only be used with application keys of users with the `Manage Tags for Metrics` permission.
Create and define a list of queryable tag keys for a count/gauge/rate/distribution metric. Optionally, include percentile aggregations on any distribution metric. Can only be used with application keys of users with the `Manage Tags for Metrics` permission.

### Examples

Expand Down Expand Up @@ -338,7 +338,7 @@ end
Update a Tag Configuration

Update the tag configuration of a metric. Can only be used with application keys from users with the `Manage Tags for Metrics` permission.
Update the tag configuration of a metric or percentile aggregations of a distribution metric. Can only be used with application keys from users with the `Manage Tags for Metrics` permission.

### Examples

Expand Down
8 changes: 4 additions & 4 deletions lib/datadog_api_client/v2/api/metrics_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def initialize(api_client = ApiClient.default)
@api_client = api_client
end
# Create a Tag Configuration
# Create and define a list of queryable tag keys for a count/gauge/rate/distribution metric. Can only be used with application keys of users with the `Manage Tags for Metrics` permission.
# Create and define a list of queryable tag keys for a count/gauge/rate/distribution metric. Optionally, include percentile aggregations on any distribution metric. Can only be used with application keys of users with the `Manage Tags for Metrics` permission.
# @param metric_name [String] The name of the metric.
# @param body [MetricTagConfigurationCreateRequest]
# @param [Hash] opts the optional parameters
Expand All @@ -34,7 +34,7 @@ def create_tag_configuration(metric_name, body, opts = {})
end

# Create a Tag Configuration
# Create and define a list of queryable tag keys for a count/gauge/rate/distribution metric. Can only be used with application keys of users with the &#x60;Manage Tags for Metrics&#x60; permission.
# Create and define a list of queryable tag keys for a count/gauge/rate/distribution metric. Optionally, include percentile aggregations on any distribution metric. Can only be used with application keys of users with the &#x60;Manage Tags for Metrics&#x60; permission.
# @param metric_name [String] The name of the metric.
# @param body [MetricTagConfigurationCreateRequest]
# @param [Hash] opts the optional parameters
Expand Down Expand Up @@ -329,7 +329,7 @@ def list_tag_configurations_with_http_info(opts = {})
end

# Update a Tag Configuration
# Update the tag configuration of a metric. Can only be used with application keys from users with the `Manage Tags for Metrics` permission.
# Update the tag configuration of a metric or percentile aggregations of a distribution metric. Can only be used with application keys from users with the `Manage Tags for Metrics` permission.
# @param metric_name [String] The name of the metric.
# @param body [MetricTagConfigurationUpdateRequest]
# @param [Hash] opts the optional parameters
Expand All @@ -340,7 +340,7 @@ def update_tag_configuration(metric_name, body, opts = {})
end

# Update a Tag Configuration
# Update the tag configuration of a metric. Can only be used with application keys from users with the &#x60;Manage Tags for Metrics&#x60; permission.
# Update the tag configuration of a metric or percentile aggregations of a distribution metric. Can only be used with application keys from users with the &#x60;Manage Tags for Metrics&#x60; permission.
# @param metric_name [String] The name of the metric.
# @param body [MetricTagConfigurationUpdateRequest]
# @param [Hash] opts the optional parameters
Expand Down

0 comments on commit 86a059f

Please sign in to comment.