@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class GcpIntegrationApi extends Object
| Constructor and Description |
|---|
GcpIntegrationApi() |
GcpIntegrationApi(ApiClient apiClient) |
public GcpIntegrationApi()
public GcpIntegrationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic Object createGCPIntegration(GCPAccount body) throws ApiException
See createGCPIntegrationWithHttpInfo(com.datadog.api.client.v1.model.GCPAccount).
body - Create a Datadog-GCP integration. (required)ApiException - if fails to make API callpublic CompletableFuture<Object> createGCPIntegrationAsync(GCPAccount body)
See createGCPIntegrationWithHttpInfoAsync(com.datadog.api.client.v1.model.GCPAccount).
body - Create a Datadog-GCP integration. (required)public ApiResponse<Object> createGCPIntegrationWithHttpInfo(GCPAccount body) throws ApiException
body - Create a Datadog-GCP integration. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Authentication error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Object>> createGCPIntegrationWithHttpInfoAsync(GCPAccount body)
See createGCPIntegrationWithHttpInfo(com.datadog.api.client.v1.model.GCPAccount).
body - Create a Datadog-GCP integration. (required)public Object deleteGCPIntegration(GCPAccount body) throws ApiException
See deleteGCPIntegrationWithHttpInfo(com.datadog.api.client.v1.model.GCPAccount).
body - Delete a given Datadog-GCP integration. (required)ApiException - if fails to make API callpublic CompletableFuture<Object> deleteGCPIntegrationAsync(GCPAccount body)
See deleteGCPIntegrationWithHttpInfoAsync(com.datadog.api.client.v1.model.GCPAccount).
body - Delete a given Datadog-GCP integration. (required)public ApiResponse<Object> deleteGCPIntegrationWithHttpInfo(GCPAccount body) throws ApiException
body - Delete a given Datadog-GCP integration. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Authentication error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Object>> deleteGCPIntegrationWithHttpInfoAsync(GCPAccount body)
See deleteGCPIntegrationWithHttpInfo(com.datadog.api.client.v1.model.GCPAccount).
body - Delete a given Datadog-GCP integration. (required)public List<GCPAccount> listGCPIntegration() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<List<GCPAccount>> listGCPIntegrationAsync()
public ApiResponse<List<GCPAccount>> listGCPIntegrationWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Authentication error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<List<GCPAccount>>> listGCPIntegrationWithHttpInfoAsync()
public Object updateGCPIntegration(GCPAccount body) throws ApiException
See updateGCPIntegrationWithHttpInfo(com.datadog.api.client.v1.model.GCPAccount).
body - Update a Datadog-GCP integration. (required)ApiException - if fails to make API callpublic CompletableFuture<Object> updateGCPIntegrationAsync(GCPAccount body)
See updateGCPIntegrationWithHttpInfoAsync(com.datadog.api.client.v1.model.GCPAccount).
body - Update a Datadog-GCP integration. (required)public ApiResponse<Object> updateGCPIntegrationWithHttpInfo(GCPAccount body) throws ApiException
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.body - Update a Datadog-GCP integration. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Authentication error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Object>> updateGCPIntegrationWithHttpInfoAsync(GCPAccount body)
See updateGCPIntegrationWithHttpInfo(com.datadog.api.client.v1.model.GCPAccount).
body - Update a Datadog-GCP integration. (required)Copyright © 2023. All rights reserved.