Skip to content

Commit 5dd4841

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
mark v1 GCP APIs as deprecated (#1185)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 16b756b commit 5dd4841

File tree

3 files changed

+23
-19
lines changed

3 files changed

+23
-19
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.4",
7-
"regenerated": "2023-06-12 14:39:37.558657",
8-
"spec_repo_commit": "52c2288b"
7+
"regenerated": "2023-06-12 17:40:21.088731",
8+
"spec_repo_commit": "03643056"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-06-12 14:39:37.576440",
13-
"spec_repo_commit": "52c2288b"
12+
"regenerated": "2023-06-12 17:40:21.101862",
13+
"spec_repo_commit": "03643056"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23079,7 +23079,9 @@ paths:
2307923079
x-codegen-request-body-name: body
2308023080
/api/v1/integration/gcp:
2308123081
delete:
23082-
description: Delete a given Datadog-GCP integration.
23082+
deprecated: true
23083+
description: "This endpoint is deprecated \u2013 use the V2 endpoints instead.
23084+
Delete a given Datadog-GCP integration."
2308323085
operationId: DeleteGCPIntegration
2308423086
requestBody:
2308523087
content:
@@ -23115,7 +23117,9 @@ paths:
2311523117
- GCP Integration
2311623118
x-codegen-request-body-name: body
2311723119
get:
23118-
description: List all Datadog-GCP integrations configured in your Datadog account.
23120+
deprecated: true
23121+
description: "This endpoint is deprecated \u2013 use the V2 endpoints instead.
23122+
List all Datadog-GCP integrations configured in your Datadog account."
2311923123
operationId: ListGCPIntegration
2312023124
responses:
2312123125
'200':
@@ -23142,7 +23146,9 @@ paths:
2314223146
tags:
2314323147
- GCP Integration
2314423148
post:
23145-
description: Create a Datadog-GCP integration.
23149+
deprecated: true
23150+
description: "This endpoint is deprecated \u2013 use the V2 endpoints instead.
23151+
Create a Datadog-GCP integration."
2314623152
operationId: CreateGCPIntegration
2314723153
requestBody:
2314823154
content:
@@ -23178,14 +23184,12 @@ paths:
2317823184
- GCP Integration
2317923185
x-codegen-request-body-name: body
2318023186
put:
23181-
description: 'Update a Datadog-GCP integrations host_filters and/or auto-mute.
23182-
23183-
Requires a `project_id` and `client_email`, however these fields cannot be
23184-
updated.
23185-
23186-
If you need to update these fields, delete and use the create (`POST`) endpoint.
23187-
23188-
The unspecified fields will keep their original values.'
23187+
deprecated: true
23188+
description: "This endpoint is deprecated \u2013 use the V2 endpoints instead.
23189+
Update a Datadog-GCP integrations host_filters and/or auto-mute.\nRequires
23190+
a `project_id` and `client_email`, however these fields cannot be updated.\nIf
23191+
you need to update these fields, delete and use the create (`POST`) endpoint.\nThe
23192+
unspecified fields will keep their original values."
2318923193
operationId: UpdateGCPIntegration
2319023194
requestBody:
2319123195
content:

packages/datadog-api-client-v1/apis/GCPIntegrationApi.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ export class GCPIntegrationApi {
459459
}
460460

461461
/**
462-
* Create a Datadog-GCP integration.
462+
* This endpoint is deprecated – use the V2 endpoints instead. Create a Datadog-GCP integration.
463463
* @param param The request object
464464
*/
465465
public createGCPIntegration(
@@ -480,7 +480,7 @@ export class GCPIntegrationApi {
480480
}
481481

482482
/**
483-
* Delete a given Datadog-GCP integration.
483+
* This endpoint is deprecated – use the V2 endpoints instead. Delete a given Datadog-GCP integration.
484484
* @param param The request object
485485
*/
486486
public deleteGCPIntegration(
@@ -501,7 +501,7 @@ export class GCPIntegrationApi {
501501
}
502502

503503
/**
504-
* List all Datadog-GCP integrations configured in your Datadog account.
504+
* This endpoint is deprecated – use the V2 endpoints instead. List all Datadog-GCP integrations configured in your Datadog account.
505505
* @param param The request object
506506
*/
507507
public listGCPIntegration(
@@ -519,7 +519,7 @@ export class GCPIntegrationApi {
519519
}
520520

521521
/**
522-
* Update a Datadog-GCP integrations host_filters and/or auto-mute.
522+
* This endpoint is deprecated – use the V2 endpoints instead. Update a Datadog-GCP integrations host_filters and/or auto-mute.
523523
* Requires a `project_id` and `client_email`, however these fields cannot be updated.
524524
* If you need to update these fields, delete and use the create (`POST`) endpoint.
525525
* The unspecified fields will keep their original values.

0 commit comments

Comments
 (0)