diff --git a/.apigentools-info b/.apigentools-info index 57c36629b6..b4bef33628 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-07 15:50:05.076921", - "spec_repo_commit": "6f781b6c" + "regenerated": "2023-07-07 16:55:26.968751", + "spec_repo_commit": "64593ced" }, "v2": { "apigentools_version": "1.6.5", - "regenerated": "2023-07-07 15:50:05.089843", - "spec_repo_commit": "6f781b6c" + "regenerated": "2023-07-07 16:55:26.986519", + "spec_repo_commit": "64593ced" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 6010d5a702..be9971d698 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -3316,6 +3316,10 @@ components: extra metric tags. example: false type: boolean + id: + description: The ID associated with the Confluent resource. + example: resource_id_abc123 + type: string resource_type: description: The resource type of the Resource. Can be `kafka`, `connector`, `ksql`, or `schema_registry`. diff --git a/src/datadog_api_client/v2/model/confluent_resource_response_attributes.py b/src/datadog_api_client/v2/model/confluent_resource_response_attributes.py index 18d4ad0352..865fedc4a3 100644 --- a/src/datadog_api_client/v2/model/confluent_resource_response_attributes.py +++ b/src/datadog_api_client/v2/model/confluent_resource_response_attributes.py @@ -18,12 +18,14 @@ class ConfluentResourceResponseAttributes(ModelNormal): def openapi_types(_): return { "enable_custom_metrics": (bool,), + "id": (str,), "resource_type": (str,), "tags": ([str],), } attribute_map = { "enable_custom_metrics": "enable_custom_metrics", + "id": "id", "resource_type": "resource_type", "tags": "tags", } @@ -32,6 +34,7 @@ def __init__( self_, resource_type: str, enable_custom_metrics: Union[bool, UnsetType] = unset, + id: Union[str, UnsetType] = unset, tags: Union[List[str], UnsetType] = unset, **kwargs, ): @@ -41,6 +44,9 @@ def __init__( :param enable_custom_metrics: Enable the ``custom.consumer_lag_offset`` metric, which contains extra metric tags. :type enable_custom_metrics: bool, optional + :param id: The ID associated with the Confluent resource. + :type id: str, optional + :param resource_type: The resource type of the Resource. Can be ``kafka`` , ``connector`` , ``ksql`` , or ``schema_registry``. :type resource_type: str @@ -49,6 +55,8 @@ def __init__( """ if enable_custom_metrics is not unset: kwargs["enable_custom_metrics"] = enable_custom_metrics + if id is not unset: + kwargs["id"] = id if tags is not unset: kwargs["tags"] = tags super().__init__(kwargs)