@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class GcpIntegrationApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GcpIntegrationApi.MakeGCPSTSDelegateOptionalParameters
Manage optional parameters to makeGCPSTSDelegate.
|
| 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 GCPSTSServiceAccountResponse createGCPSTSAccount(GCPSTSServiceAccountCreateRequest body) throws ApiException
See createGCPSTSAccountWithHttpInfo(com.datadog.api.client.v2.model.GCPSTSServiceAccountCreateRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<GCPSTSServiceAccountResponse> createGCPSTSAccountAsync(GCPSTSServiceAccountCreateRequest body)
body - (required)public ApiResponse<GCPSTSServiceAccountResponse> createGCPSTSAccountWithHttpInfo(GCPSTSServiceAccountCreateRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Not Authorized | - |
| 409 | Conflict | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GCPSTSServiceAccountResponse>> createGCPSTSAccountWithHttpInfoAsync(GCPSTSServiceAccountCreateRequest body)
See createGCPSTSAccountWithHttpInfo(com.datadog.api.client.v2.model.GCPSTSServiceAccountCreateRequest).
body - (required)public void deleteGCPSTSAccount(String accountId) throws ApiException
accountId - Your GCP STS enabled service account's unique ID. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteGCPSTSAccountAsync(String accountId)
accountId - Your GCP STS enabled service account's unique ID. (required)public ApiResponse<Void> deleteGCPSTSAccountWithHttpInfo(String accountId) throws ApiException
accountId - Your GCP STS enabled service account's unique ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteGCPSTSAccountWithHttpInfoAsync(String accountId)
accountId - Your GCP STS enabled service account's unique ID. (required)public GCPSTSDelegateAccountResponse getGCPSTSDelegate() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<GCPSTSDelegateAccountResponse> getGCPSTSDelegateAsync()
public ApiResponse<GCPSTSDelegateAccountResponse> getGCPSTSDelegateWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Not Authorized | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GCPSTSDelegateAccountResponse>> getGCPSTSDelegateWithHttpInfoAsync()
public GCPSTSServiceAccountsResponse listGCPSTSAccounts() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<GCPSTSServiceAccountsResponse> listGCPSTSAccountsAsync()
public ApiResponse<GCPSTSServiceAccountsResponse> listGCPSTSAccountsWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Not Authorized | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GCPSTSServiceAccountsResponse>> listGCPSTSAccountsWithHttpInfoAsync()
public GCPSTSDelegateAccountResponse makeGCPSTSDelegate() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<GCPSTSDelegateAccountResponse> makeGCPSTSDelegateAsync()
public GCPSTSDelegateAccountResponse makeGCPSTSDelegate(GcpIntegrationApi.MakeGCPSTSDelegateOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<GCPSTSDelegateAccountResponse> makeGCPSTSDelegateAsync(GcpIntegrationApi.MakeGCPSTSDelegateOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<GCPSTSDelegateAccountResponse> makeGCPSTSDelegateWithHttpInfo(GcpIntegrationApi.MakeGCPSTSDelegateOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Not Authorized | - |
| 409 | Conflict | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GCPSTSDelegateAccountResponse>> makeGCPSTSDelegateWithHttpInfoAsync(GcpIntegrationApi.MakeGCPSTSDelegateOptionalParameters parameters)
parameters - Optional parameters for the request.public GCPSTSServiceAccountResponse updateGCPSTSAccount(String accountId, GCPSTSServiceAccountUpdateRequest body) throws ApiException
accountId - Your GCP STS enabled service account's unique ID. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<GCPSTSServiceAccountResponse> updateGCPSTSAccountAsync(String accountId, GCPSTSServiceAccountUpdateRequest body)
accountId - Your GCP STS enabled service account's unique ID. (required)body - (required)public ApiResponse<GCPSTSServiceAccountResponse> updateGCPSTSAccountWithHttpInfo(String accountId, GCPSTSServiceAccountUpdateRequest body) throws ApiException
accountId - Your GCP STS enabled service account's unique ID. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | OK | - |
| 400 | Bad Request | - |
| 403 | Not Authorized | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GCPSTSServiceAccountResponse>> updateGCPSTSAccountWithHttpInfoAsync(String accountId, GCPSTSServiceAccountUpdateRequest body)
accountId - Your GCP STS enabled service account's unique ID. (required)body - (required)Copyright © 2024. All rights reserved.