diff --git a/.apigentools-info b/.apigentools-info index 36c0c3534c3..e19ad8bf451 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -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" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 8f3b0088a6d..979b7ea5671 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -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: @@ -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': @@ -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: @@ -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: diff --git a/src/main/java/com/datadog/api/client/v1/api/GcpIntegrationApi.java b/src/main/java/com/datadog/api/client/v1/api/GcpIntegrationApi.java index ff58e438965..45ca7405d1f 100644 --- a/src/main/java/com/datadog/api/client/v1/api/GcpIntegrationApi.java +++ b/src/main/java/com/datadog/api/client/v1/api/GcpIntegrationApi.java @@ -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(); } @@ -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 createGCPIntegrationAsync(GCPAccount body) { return createGCPIntegrationWithHttpInfoAsync(body) .thenApply( @@ -74,7 +78,7 @@ public CompletableFuture 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<Object> @@ -88,7 +92,10 @@ public CompletableFuture createGCPIntegrationAsync(GCPAccount body) { * 403 Authentication error - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse createGCPIntegrationWithHttpInfo(GCPAccount body) throws ApiException { Object localVarPostBody = body; @@ -129,7 +136,9 @@ public ApiResponse createGCPIntegrationWithHttpInfo(GCPAccount body) thr * * @param body Create a Datadog-GCP integration. (required) * @return CompletableFuture<ApiResponse<Object>> + * @deprecated */ + @Deprecated public CompletableFuture> createGCPIntegrationWithHttpInfoAsync( GCPAccount body) { Object localVarPostBody = body; @@ -182,7 +191,9 @@ public CompletableFuture> 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(); } @@ -194,7 +205,9 @@ public Object deleteGCPIntegration(GCPAccount body) throws ApiException { * * @param body Delete a given Datadog-GCP integration. (required) * @return CompletableFuture<Object> + * @deprecated */ + @Deprecated public CompletableFuture deleteGCPIntegrationAsync(GCPAccount body) { return deleteGCPIntegrationWithHttpInfoAsync(body) .thenApply( @@ -204,7 +217,8 @@ public CompletableFuture 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<Object> @@ -218,7 +232,10 @@ public CompletableFuture deleteGCPIntegrationAsync(GCPAccount body) { * 403 Authentication error - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse deleteGCPIntegrationWithHttpInfo(GCPAccount body) throws ApiException { Object localVarPostBody = body; @@ -259,7 +276,9 @@ public ApiResponse deleteGCPIntegrationWithHttpInfo(GCPAccount body) thr * * @param body Delete a given Datadog-GCP integration. (required) * @return CompletableFuture<ApiResponse<Object>> + * @deprecated */ + @Deprecated public CompletableFuture> deleteGCPIntegrationWithHttpInfoAsync( GCPAccount body) { Object localVarPostBody = body; @@ -311,7 +330,9 @@ public CompletableFuture> deleteGCPIntegrationWithHttpInfoAs * * @return List<GCPAccount> * @throws ApiException if fails to make API call + * @deprecated */ + @Deprecated public List listGCPIntegration() throws ApiException { return listGCPIntegrationWithHttpInfo().getData(); } @@ -322,7 +343,9 @@ public List listGCPIntegration() throws ApiException { *

See {@link #listGCPIntegrationWithHttpInfoAsync}. * * @return CompletableFuture<List<GCPAccount>> + * @deprecated */ + @Deprecated public CompletableFuture> listGCPIntegrationAsync() { return listGCPIntegrationWithHttpInfoAsync() .thenApply( @@ -332,7 +355,8 @@ public CompletableFuture> 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<List<GCPAccount>> * @throws ApiException if fails to make API call @@ -345,7 +369,10 @@ public CompletableFuture> listGCPIntegrationAsync() { * 403 Authentication error - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse> listGCPIntegrationWithHttpInfo() throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -379,7 +406,9 @@ public ApiResponse> listGCPIntegrationWithHttpInfo() throws Api *

See {@link #listGCPIntegrationWithHttpInfo}. * * @return CompletableFuture<ApiResponse<List<GCPAccount>>> + * @deprecated */ + @Deprecated public CompletableFuture>> listGCPIntegrationWithHttpInfoAsync() { Object localVarPostBody = null; // create path and map variables @@ -422,7 +451,9 @@ public CompletableFuture>> 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(); } @@ -434,7 +465,9 @@ public Object updateGCPIntegration(GCPAccount body) throws ApiException { * * @param body Update a Datadog-GCP integration. (required) * @return CompletableFuture<Object> + * @deprecated */ + @Deprecated public CompletableFuture updateGCPIntegrationAsync(GCPAccount body) { return updateGCPIntegrationWithHttpInfoAsync(body) .thenApply( @@ -444,10 +477,11 @@ public CompletableFuture updateGCPIntegrationAsync(GCPAccount body) { } /** - * 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. + * This endpoint is deprecated – use the V2 endpoints instead. 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. * * @param body Update a Datadog-GCP integration. (required) * @return ApiResponse<Object> @@ -461,7 +495,10 @@ public CompletableFuture updateGCPIntegrationAsync(GCPAccount body) { * 403 Authentication error - * 429 Too many requests - * + * + * @deprecated */ + @Deprecated public ApiResponse updateGCPIntegrationWithHttpInfo(GCPAccount body) throws ApiException { Object localVarPostBody = body; @@ -502,7 +539,9 @@ public ApiResponse updateGCPIntegrationWithHttpInfo(GCPAccount body) thr * * @param body Update a Datadog-GCP integration. (required) * @return CompletableFuture<ApiResponse<Object>> + * @deprecated */ + @Deprecated public CompletableFuture> updateGCPIntegrationWithHttpInfoAsync( GCPAccount body) { Object localVarPostBody = body;