Skip to content

Add tag_config_source to usage attribution response #449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.dev6",
"regenerated": "2021-05-21 07:36:01.929628",
"spec_repo_commit": "c413ebe"
"regenerated": "2021-05-24 14:54:05.336368",
"spec_repo_commit": "4ffe2b5"
},
"v2": {
"apigentools_version": "1.4.1.dev6",
"regenerated": "2021-05-21 07:36:23.649975",
"spec_repo_commit": "c413ebe"
"regenerated": "2021-05-24 14:54:32.558844",
"spec_repo_commit": "4ffe2b5"
}
}
}
1 change: 1 addition & 0 deletions docs/v1/UsageAttributionBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**month** | **datetime** | Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM]. | [optional]
**org_name** | **str** | The name of the organization. | [optional]
**public_id** | **str** | The organization public ID. | [optional]
**tag_config_source** | **str** | The source of the usage attribution tag configuration and the selected tags in the format `<source_org_name>:<selected tag 1>-<selected tag 2>-<selected tag 3>`. | [optional]
**tags** | [**UsageAttributionTagNames**](UsageAttributionTagNames.md) | | [optional]
**updated_at** | **str** | Shows the the most recent hour in the current months for all organizations for which all usages were calculated. | [optional]
**values** | [**UsageAttributionValues**](UsageAttributionValues.md) | | [optional]
Expand Down
3 changes: 3 additions & 0 deletions src/datadog_api_client/v1/model/usage_attribution_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def openapi_types():
"month": (datetime,), # noqa: E501
"org_name": (str,), # noqa: E501
"public_id": (str,), # noqa: E501
"tag_config_source": (str,), # noqa: E501
"tags": (UsageAttributionTagNames,), # noqa: E501
"updated_at": (str,), # noqa: E501
"values": (UsageAttributionValues,), # noqa: E501
Expand All @@ -90,6 +91,7 @@ def discriminator():
"month": "month", # noqa: E501
"org_name": "org_name", # noqa: E501
"public_id": "public_id", # noqa: E501
"tag_config_source": "tag_config_source", # noqa: E501
"tags": "tags", # noqa: E501
"updated_at": "updated_at", # noqa: E501
"values": "values", # noqa: E501
Expand Down Expand Up @@ -146,6 +148,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
month (datetime): Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM].. [optional] # noqa: E501
org_name (str): The name of the organization.. [optional] # noqa: E501
public_id (str): The organization public ID.. [optional] # noqa: E501
tag_config_source (str): The source of the usage attribution tag configuration and the selected tags in the format `<source_org_name>:<selected tag 1>-<selected tag 2>-<selected tag 3>`.. [optional] # noqa: E501
tags (UsageAttributionTagNames): [optional] # noqa: E501
updated_at (str): Shows the the most recent hour in the current months for all organizations for which all usages were calculated.. [optional] # noqa: E501
values (UsageAttributionValues): [optional] # noqa: E501
Expand Down
5 changes: 5 additions & 0 deletions src/datadog_api_client/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10223,6 +10223,11 @@ components:
public_id:
description: The organization public ID.
type: string
tag_config_source:
description: The source of the usage attribution tag configuration and the
selected tags in the format `<source_org_name>:<selected tag 1>-<selected
tag 2>-<selected tag 3>`.
type: string
tags:
$ref: '#/components/schemas/UsageAttributionTagNames'
updated_at:
Expand Down