Skip to content

Commit 9e4c397

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Make google auth optional for Observability Pipelines (#3028)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent baae7b1 commit 9e4c397

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34514,7 +34514,6 @@ components:
3451434514
- id
3451534515
- type
3451634516
- inputs
34517-
- auth
3451834517
- customer_id
3451934518
type: object
3452034519
ObservabilityPipelineGoogleChronicleDestinationEncoding:
@@ -34580,9 +34579,7 @@ components:
3458034579
- type
3458134580
- inputs
3458234581
- bucket
34583-
- auth
3458434582
- storage_class
34585-
- acl
3458634583
type: object
3458734584
ObservabilityPipelineGoogleCloudStorageDestinationAcl:
3458834585
description: Access control list setting for objects written to the bucket.
@@ -34713,7 +34710,6 @@ components:
3471334710
required:
3471434711
- id
3471534712
- type
34716-
- auth
3471734713
- decoding
3471834714
- project
3471934715
- subscription

services/observability_pipelines/src/v2/models/ObservabilityPipelineGoogleChronicleDestination.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class ObservabilityPipelineGoogleChronicleDestination {
1111
/**
1212
* GCP credentials used to authenticate with Google Cloud Storage.
1313
*/
14-
"auth": ObservabilityPipelineGcpAuth;
14+
"auth"?: ObservabilityPipelineGcpAuth;
1515
/**
1616
* The Google Chronicle customer ID.
1717
*/
@@ -54,7 +54,6 @@ export class ObservabilityPipelineGoogleChronicleDestination {
5454
auth: {
5555
baseName: "auth",
5656
type: "ObservabilityPipelineGcpAuth",
57-
required: true,
5857
},
5958
customerId: {
6059
baseName: "customer_id",

services/observability_pipelines/src/v2/models/ObservabilityPipelineGoogleCloudStorageDestination.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ export class ObservabilityPipelineGoogleCloudStorageDestination {
1414
/**
1515
* Access control list setting for objects written to the bucket.
1616
*/
17-
"acl": ObservabilityPipelineGoogleCloudStorageDestinationAcl;
17+
"acl"?: ObservabilityPipelineGoogleCloudStorageDestinationAcl;
1818
/**
1919
* GCP credentials used to authenticate with Google Cloud Storage.
2020
*/
21-
"auth": ObservabilityPipelineGcpAuth;
21+
"auth"?: ObservabilityPipelineGcpAuth;
2222
/**
2323
* Name of the GCS bucket.
2424
*/
@@ -65,12 +65,10 @@ export class ObservabilityPipelineGoogleCloudStorageDestination {
6565
acl: {
6666
baseName: "acl",
6767
type: "ObservabilityPipelineGoogleCloudStorageDestinationAcl",
68-
required: true,
6968
},
7069
auth: {
7170
baseName: "auth",
7271
type: "ObservabilityPipelineGcpAuth",
73-
required: true,
7472
},
7573
bucket: {
7674
baseName: "bucket",

services/observability_pipelines/src/v2/models/ObservabilityPipelineGooglePubSubSource.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export class ObservabilityPipelineGooglePubSubSource {
1212
/**
1313
* GCP credentials used to authenticate with Google Cloud Storage.
1414
*/
15-
"auth": ObservabilityPipelineGcpAuth;
15+
"auth"?: ObservabilityPipelineGcpAuth;
1616
/**
1717
* The decoding format used to interpret incoming logs.
1818
*/
@@ -55,7 +55,6 @@ export class ObservabilityPipelineGooglePubSubSource {
5555
auth: {
5656
baseName: "auth",
5757
type: "ObservabilityPipelineGcpAuth",
58-
required: true,
5958
},
6059
decoding: {
6160
baseName: "decoding",

0 commit comments

Comments
 (0)