Skip to content

Commit 02456ee

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Make metadata optional for GCS destination (#2213)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 0793d07 commit 02456ee

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
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:36.253536",
8-
"spec_repo_commit": "b673a489"
7+
"regenerated": "2025-05-14 09:52:27.501368",
8+
"spec_repo_commit": "996fd99d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-13 17:47:36.271169",
13-
"spec_repo_commit": "b673a489"
12+
"regenerated": "2025-05-14 09:52:27.517174",
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.

packages/datadog-api-client-v2/models/ObservabilityPipelineGoogleCloudStorageDestination.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ export class ObservabilityPipelineGoogleCloudStorageDestination {
4141
*/
4242
"keyPrefix"?: string;
4343
/**
44-
* Custom metadata key-value pairs added to each object.
44+
* Custom metadata to attach to each object uploaded to the GCS bucket.
4545
*/
46-
"metadata": Array<ObservabilityPipelineMetadataEntry>;
46+
"metadata"?: Array<ObservabilityPipelineMetadataEntry>;
4747
/**
4848
* Storage class used for objects stored in GCS.
4949
*/
@@ -101,7 +101,6 @@ export class ObservabilityPipelineGoogleCloudStorageDestination {
101101
metadata: {
102102
baseName: "metadata",
103103
type: "Array<ObservabilityPipelineMetadataEntry>",
104-
required: true,
105104
},
106105
storageClass: {
107106
baseName: "storage_class",

packages/datadog-api-client-v2/models/ObservabilityPipelineMetadataEntry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
88

99
/**
10-
* A custom metadata entry to attach to each object uploaded to the GCS bucket.
10+
* A custom metadata entry.
1111
*/
1212
export class ObservabilityPipelineMetadataEntry {
1313
/**

0 commit comments

Comments
 (0)