Skip to content

Commit b6d5889

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 996fd99d of spec repo (#2549)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent c38a4b1 commit b6d5889

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-05-13 17:47:38.627635",
8-
"spec_repo_commit": "b673a489"
7+
"regenerated": "2025-05-14 09:52:26.086305",
8+
"spec_repo_commit": "996fd99d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-13 17:47:38.642768",
13-
"spec_repo_commit": "b673a489"
12+
"regenerated": "2025-05-14 09:52:26.102327",
13+
"spec_repo_commit": "996fd99d"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24406,7 +24406,8 @@ components:
2440624406
description: Optional prefix for object keys within the GCS bucket.
2440724407
type: string
2440824408
metadata:
24409-
description: Custom metadata key-value pairs added to each object.
24409+
description: Custom metadata to attach to each object uploaded to the GCS
24410+
bucket.
2441024411
items:
2441124412
$ref: '#/components/schemas/ObservabilityPipelineMetadataEntry'
2441224413
type: array
@@ -24422,7 +24423,6 @@ components:
2442224423
- auth
2442324424
- storage_class
2442424425
- acl
24425-
- metadata
2442624426
type: object
2442724427
ObservabilityPipelineGoogleCloudStorageDestinationAcl:
2442824428
description: Access control list setting for objects written to the bucket.
@@ -24701,8 +24701,7 @@ components:
2470124701
x-enum-varnames:
2470224702
- LOGSTASH
2470324703
ObservabilityPipelineMetadataEntry:
24704-
description: A custom metadata entry to attach to each object uploaded to the
24705-
GCS bucket.
24704+
description: A custom metadata entry.
2470624705
properties:
2470724706
name:
2470824707
description: The metadata key.

src/datadog_api_client/v2/model/observability_pipeline_config_destination_item.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def __init__(self, **kwargs):
4747
:param acl: Access control list setting for objects written to the bucket.
4848
:type acl: ObservabilityPipelineGoogleCloudStorageDestinationAcl
4949
50-
:param metadata: Custom metadata key-value pairs added to each object.
51-
:type metadata: [ObservabilityPipelineMetadataEntry]
50+
:param metadata: Custom metadata to attach to each object uploaded to the GCS bucket.
51+
:type metadata: [ObservabilityPipelineMetadataEntry], optional
5252
5353
:param auto_extract_timestamp: If `true`, Splunk tries to extract timestamps from incoming log events.
5454
If `false`, Splunk assigns the time the event was received.

src/datadog_api_client/v2/model/observability_pipeline_google_cloud_storage_destination.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ def __init__(
7373
bucket: str,
7474
id: str,
7575
inputs: List[str],
76-
metadata: List[ObservabilityPipelineMetadataEntry],
7776
storage_class: ObservabilityPipelineGoogleCloudStorageDestinationStorageClass,
7877
type: ObservabilityPipelineGoogleCloudStorageDestinationType,
7978
key_prefix: Union[str, UnsetType] = unset,
79+
metadata: Union[List[ObservabilityPipelineMetadataEntry], UnsetType] = unset,
8080
**kwargs,
8181
):
8282
"""
@@ -101,8 +101,8 @@ def __init__(
101101
:param key_prefix: Optional prefix for object keys within the GCS bucket.
102102
:type key_prefix: str, optional
103103
104-
:param metadata: Custom metadata key-value pairs added to each object.
105-
:type metadata: [ObservabilityPipelineMetadataEntry]
104+
:param metadata: Custom metadata to attach to each object uploaded to the GCS bucket.
105+
:type metadata: [ObservabilityPipelineMetadataEntry], optional
106106
107107
:param storage_class: Storage class used for objects stored in GCS.
108108
:type storage_class: ObservabilityPipelineGoogleCloudStorageDestinationStorageClass
@@ -112,13 +112,14 @@ def __init__(
112112
"""
113113
if key_prefix is not unset:
114114
kwargs["key_prefix"] = key_prefix
115+
if metadata is not unset:
116+
kwargs["metadata"] = metadata
115117
super().__init__(kwargs)
116118

117119
self_.acl = acl
118120
self_.auth = auth
119121
self_.bucket = bucket
120122
self_.id = id
121123
self_.inputs = inputs
122-
self_.metadata = metadata
123124
self_.storage_class = storage_class
124125
self_.type = type

src/datadog_api_client/v2/model/observability_pipeline_metadata_entry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def openapi_types(_):
2525

2626
def __init__(self_, name: str, value: str, **kwargs):
2727
"""
28-
A custom metadata entry to attach to each object uploaded to the GCS bucket.
28+
A custom metadata entry.
2929
3030
:param name: The metadata key.
3131
:type name: str

0 commit comments

Comments
 (0)