Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.4",
"regenerated": "2023-06-12 14:39:29.262173",
"spec_repo_commit": "52c2288b"
"regenerated": "2023-06-12 17:39:59.898098",
"spec_repo_commit": "03643056"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-06-12 14:39:29.276308",
"spec_repo_commit": "52c2288b"
"regenerated": "2023-06-12 17:39:59.911435",
"spec_repo_commit": "03643056"
}
}
}
26 changes: 15 additions & 11 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23079,7 +23079,9 @@ paths:
x-codegen-request-body-name: body
/api/v1/integration/gcp:
delete:
description: Delete a given Datadog-GCP integration.
deprecated: true
description: "This endpoint is deprecated \u2013 use the V2 endpoints instead.
Delete a given Datadog-GCP integration."
operationId: DeleteGCPIntegration
requestBody:
content:
Expand Down Expand Up @@ -23115,7 +23117,9 @@ paths:
- GCP Integration
x-codegen-request-body-name: body
get:
description: List all Datadog-GCP integrations configured in your Datadog account.
deprecated: true
description: "This endpoint is deprecated \u2013 use the V2 endpoints instead.
List all Datadog-GCP integrations configured in your Datadog account."
operationId: ListGCPIntegration
responses:
'200':
Expand All @@ -23142,7 +23146,9 @@ paths:
tags:
- GCP Integration
post:
description: Create a Datadog-GCP integration.
deprecated: true
description: "This endpoint is deprecated \u2013 use the V2 endpoints instead.
Create a Datadog-GCP integration."
operationId: CreateGCPIntegration
requestBody:
content:
Expand Down Expand Up @@ -23178,14 +23184,12 @@ paths:
- GCP Integration
x-codegen-request-body-name: body
put:
description: 'Update a Datadog-GCP integrations host_filters and/or auto-mute.

Requires a `project_id` and `client_email`, however these fields cannot be
updated.

If you need to update these fields, delete and use the create (`POST`) endpoint.

The unspecified fields will keep their original values.'
deprecated: true
description: "This endpoint is deprecated \u2013 use the V2 endpoints instead.
Update a Datadog-GCP integrations host_filters and/or auto-mute.\nRequires
a `project_id` and `client_email`, however these fields cannot be updated.\nIf
you need to update these fields, delete and use the create (`POST`) endpoint.\nThe
unspecified fields will keep their original values."
operationId: UpdateGCPIntegration
requestBody:
content:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ public void setApiClient(ApiClient apiClient) {
* @param body Create a Datadog-GCP integration. (required)
* @return Object
* @throws ApiException if fails to make API call
* @deprecated
*/
@Deprecated
public Object createGCPIntegration(GCPAccount body) throws ApiException {
return createGCPIntegrationWithHttpInfo(body).getData();
}
Expand All @@ -64,7 +66,9 @@ public Object createGCPIntegration(GCPAccount body) throws ApiException {
*
* @param body Create a Datadog-GCP integration. (required)
* @return CompletableFuture<Object>
* @deprecated
*/
@Deprecated
public CompletableFuture<Object> createGCPIntegrationAsync(GCPAccount body) {
return createGCPIntegrationWithHttpInfoAsync(body)
.thenApply(
Expand All @@ -74,7 +78,7 @@ public CompletableFuture<Object> createGCPIntegrationAsync(GCPAccount body) {
}

/**
* Create a Datadog-GCP integration.
* This endpoint is deprecated – use the V2 endpoints instead. Create a Datadog-GCP integration.
*
* @param body Create a Datadog-GCP integration. (required)
* @return ApiResponse&lt;Object&gt;
Expand All @@ -88,7 +92,10 @@ public CompletableFuture<Object> createGCPIntegrationAsync(GCPAccount body) {
* <tr><td> 403 </td><td> Authentication error </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
* </table>
*
* @deprecated
*/
@Deprecated
public ApiResponse<Object> createGCPIntegrationWithHttpInfo(GCPAccount body) throws ApiException {
Object localVarPostBody = body;

Expand Down Expand Up @@ -129,7 +136,9 @@ public ApiResponse<Object> createGCPIntegrationWithHttpInfo(GCPAccount body) thr
*
* @param body Create a Datadog-GCP integration. (required)
* @return CompletableFuture&lt;ApiResponse&lt;Object&gt;&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<ApiResponse<Object>> createGCPIntegrationWithHttpInfoAsync(
GCPAccount body) {
Object localVarPostBody = body;
Expand Down Expand Up @@ -182,7 +191,9 @@ public CompletableFuture<ApiResponse<Object>> createGCPIntegrationWithHttpInfoAs
* @param body Delete a given Datadog-GCP integration. (required)
* @return Object
* @throws ApiException if fails to make API call
* @deprecated
*/
@Deprecated
public Object deleteGCPIntegration(GCPAccount body) throws ApiException {
return deleteGCPIntegrationWithHttpInfo(body).getData();
}
Expand All @@ -194,7 +205,9 @@ public Object deleteGCPIntegration(GCPAccount body) throws ApiException {
*
* @param body Delete a given Datadog-GCP integration. (required)
* @return CompletableFuture&lt;Object&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<Object> deleteGCPIntegrationAsync(GCPAccount body) {
return deleteGCPIntegrationWithHttpInfoAsync(body)
.thenApply(
Expand All @@ -204,7 +217,8 @@ public CompletableFuture<Object> deleteGCPIntegrationAsync(GCPAccount body) {
}

/**
* Delete a given Datadog-GCP integration.
* This endpoint is deprecated – use the V2 endpoints instead. Delete a given Datadog-GCP
* integration.
*
* @param body Delete a given Datadog-GCP integration. (required)
* @return ApiResponse&lt;Object&gt;
Expand All @@ -218,7 +232,10 @@ public CompletableFuture<Object> deleteGCPIntegrationAsync(GCPAccount body) {
* <tr><td> 403 </td><td> Authentication error </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
* </table>
*
* @deprecated
*/
@Deprecated
public ApiResponse<Object> deleteGCPIntegrationWithHttpInfo(GCPAccount body) throws ApiException {
Object localVarPostBody = body;

Expand Down Expand Up @@ -259,7 +276,9 @@ public ApiResponse<Object> deleteGCPIntegrationWithHttpInfo(GCPAccount body) thr
*
* @param body Delete a given Datadog-GCP integration. (required)
* @return CompletableFuture&lt;ApiResponse&lt;Object&gt;&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<ApiResponse<Object>> deleteGCPIntegrationWithHttpInfoAsync(
GCPAccount body) {
Object localVarPostBody = body;
Expand Down Expand Up @@ -311,7 +330,9 @@ public CompletableFuture<ApiResponse<Object>> deleteGCPIntegrationWithHttpInfoAs
*
* @return List&lt;GCPAccount&gt;
* @throws ApiException if fails to make API call
* @deprecated
*/
@Deprecated
public List<GCPAccount> listGCPIntegration() throws ApiException {
return listGCPIntegrationWithHttpInfo().getData();
}
Expand All @@ -322,7 +343,9 @@ public List<GCPAccount> listGCPIntegration() throws ApiException {
* <p>See {@link #listGCPIntegrationWithHttpInfoAsync}.
*
* @return CompletableFuture&lt;List&lt;GCPAccount&gt;&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<List<GCPAccount>> listGCPIntegrationAsync() {
return listGCPIntegrationWithHttpInfoAsync()
.thenApply(
Expand All @@ -332,7 +355,8 @@ public CompletableFuture<List<GCPAccount>> listGCPIntegrationAsync() {
}

/**
* List all Datadog-GCP integrations configured in your Datadog account.
* This endpoint is deprecated – use the V2 endpoints instead. List all Datadog-GCP integrations
* configured in your Datadog account.
*
* @return ApiResponse&lt;List&lt;GCPAccount&gt;&gt;
* @throws ApiException if fails to make API call
Expand All @@ -345,7 +369,10 @@ public CompletableFuture<List<GCPAccount>> listGCPIntegrationAsync() {
* <tr><td> 403 </td><td> Authentication error </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
* </table>
*
* @deprecated
*/
@Deprecated
public ApiResponse<List<GCPAccount>> listGCPIntegrationWithHttpInfo() throws ApiException {
Object localVarPostBody = null;
// create path and map variables
Expand Down Expand Up @@ -379,7 +406,9 @@ public ApiResponse<List<GCPAccount>> listGCPIntegrationWithHttpInfo() throws Api
* <p>See {@link #listGCPIntegrationWithHttpInfo}.
*
* @return CompletableFuture&lt;ApiResponse&lt;List&lt;GCPAccount&gt;&gt;&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<ApiResponse<List<GCPAccount>>> listGCPIntegrationWithHttpInfoAsync() {
Object localVarPostBody = null;
// create path and map variables
Expand Down Expand Up @@ -422,7 +451,9 @@ public CompletableFuture<ApiResponse<List<GCPAccount>>> listGCPIntegrationWithHt
* @param body Update a Datadog-GCP integration. (required)
* @return Object
* @throws ApiException if fails to make API call
* @deprecated
*/
@Deprecated
public Object updateGCPIntegration(GCPAccount body) throws ApiException {
return updateGCPIntegrationWithHttpInfo(body).getData();
}
Expand All @@ -434,7 +465,9 @@ public Object updateGCPIntegration(GCPAccount body) throws ApiException {
*
* @param body Update a Datadog-GCP integration. (required)
* @return CompletableFuture&lt;Object&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<Object> updateGCPIntegrationAsync(GCPAccount body) {
return updateGCPIntegrationWithHttpInfoAsync(body)
.thenApply(
Expand All @@ -444,10 +477,11 @@ public CompletableFuture<Object> updateGCPIntegrationAsync(GCPAccount body) {
}

/**
* Update a Datadog-GCP integrations host_filters and/or auto-mute. Requires a <code>project_id
* </code> and <code>client_email</code>, however these fields cannot be updated. If you need to
* update these fields, delete and use the create (<code>POST</code>) endpoint. The unspecified
* fields will keep their original values.
* This endpoint is deprecated – use the V2 endpoints instead. Update a Datadog-GCP integrations
* host_filters and/or auto-mute. Requires a <code>project_id</code> and <code>client_email</code>
* , however these fields cannot be updated. If you need to update these fields, delete and use
* the create (<code>POST</code>) endpoint. The unspecified fields will keep their original
* values.
*
* @param body Update a Datadog-GCP integration. (required)
* @return ApiResponse&lt;Object&gt;
Expand All @@ -461,7 +495,10 @@ public CompletableFuture<Object> updateGCPIntegrationAsync(GCPAccount body) {
* <tr><td> 403 </td><td> Authentication error </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
* </table>
*
* @deprecated
*/
@Deprecated
public ApiResponse<Object> updateGCPIntegrationWithHttpInfo(GCPAccount body) throws ApiException {
Object localVarPostBody = body;

Expand Down Expand Up @@ -502,7 +539,9 @@ public ApiResponse<Object> updateGCPIntegrationWithHttpInfo(GCPAccount body) thr
*
* @param body Update a Datadog-GCP integration. (required)
* @return CompletableFuture&lt;ApiResponse&lt;Object&gt;&gt;
* @deprecated
*/
@Deprecated
public CompletableFuture<ApiResponse<Object>> updateGCPIntegrationWithHttpInfoAsync(
GCPAccount body) {
Object localVarPostBody = body;
Expand Down