Package com.datadog.api.client.v2.api
Class GcpIntegrationApi
java.lang.Object
com.datadog.api.client.v2.api.GcpIntegrationApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class GcpIntegrationApi
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to makeGCPSTSDelegate. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a new entry for your service account.Create a new entry for your service account.Create a new entry within Datadog for your STS enabled service account.Create a new entry for your service account.voiddeleteGCPSTSAccount(String accountId) Delete an STS enabled GCP Account.deleteGCPSTSAccountAsync(String accountId) Delete an STS enabled GCP Account.deleteGCPSTSAccountWithHttpInfo(String accountId) Delete an STS enabled GCP account from within Datadog.deleteGCPSTSAccountWithHttpInfoAsync(String accountId) Delete an STS enabled GCP Account.Get the API client.List delegate account.List delegate account.List your Datadog-GCP STS delegate account configured in your Datadog account.List delegate account.List all GCP STS-enabled service accounts.List all GCP STS-enabled service accounts.List all GCP STS-enabled service accounts configured in your Datadog account.List all GCP STS-enabled service accounts.Create a Datadog GCP principal.Create a Datadog GCP principal.Create a Datadog GCP principal.Create a Datadog GCP principal.Create a Datadog GCP principal.makeGCPSTSDelegateWithHttpInfoAsync(GcpIntegrationApi.MakeGCPSTSDelegateOptionalParameters parameters) Create a Datadog GCP principal.voidsetApiClient(ApiClient apiClient) Set the API client.updateGCPSTSAccount(String accountId, GCPSTSServiceAccountUpdateRequest body) Update STS Service Account.updateGCPSTSAccountAsync(String accountId, GCPSTSServiceAccountUpdateRequest body) Update STS Service Account.updateGCPSTSAccountWithHttpInfo(String accountId, GCPSTSServiceAccountUpdateRequest body) Update an STS enabled service account.updateGCPSTSAccountWithHttpInfoAsync(String accountId, GCPSTSServiceAccountUpdateRequest body) Update STS Service Account.
-
Constructor Details
-
GcpIntegrationApi
public GcpIntegrationApi() -
GcpIntegrationApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createGCPSTSAccount
public GCPSTSServiceAccountResponse createGCPSTSAccount(GCPSTSServiceAccountCreateRequest body) throws ApiException Create a new entry for your service account.See
createGCPSTSAccountWithHttpInfo(com.datadog.api.client.v2.model.GCPSTSServiceAccountCreateRequest).- Parameters:
body- (required)- Returns:
- GCPSTSServiceAccountResponse
- Throws:
ApiException- if fails to make API call
-
createGCPSTSAccountAsync
public CompletableFuture<GCPSTSServiceAccountResponse> createGCPSTSAccountAsync(GCPSTSServiceAccountCreateRequest body) Create a new entry for your service account.- Parameters:
body- (required)- Returns:
- CompletableFuture<GCPSTSServiceAccountResponse>
-
createGCPSTSAccountWithHttpInfo
public ApiResponse<GCPSTSServiceAccountResponse> createGCPSTSAccountWithHttpInfo(GCPSTSServiceAccountCreateRequest body) throws ApiException Create a new entry within Datadog for your STS enabled service account.- Parameters:
body- (required)- Returns:
- ApiResponse<GCPSTSServiceAccountResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 OK - 400 Bad Request - 401 Unauthorized - 403 Not Authorized - 409 Conflict - 429 Too many requests -
-
createGCPSTSAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<GCPSTSServiceAccountResponse>> createGCPSTSAccountWithHttpInfoAsync(GCPSTSServiceAccountCreateRequest body) Create a new entry for your service account.See
createGCPSTSAccountWithHttpInfo(com.datadog.api.client.v2.model.GCPSTSServiceAccountCreateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<GCPSTSServiceAccountResponse>>
-
deleteGCPSTSAccount
Delete an STS enabled GCP Account.- Parameters:
accountId- Your GCP STS enabled service account's unique ID. (required)- Throws:
ApiException- if fails to make API call
-
deleteGCPSTSAccountAsync
Delete an STS enabled GCP Account.- Parameters:
accountId- Your GCP STS enabled service account's unique ID. (required)- Returns:
- CompletableFuture
-
deleteGCPSTSAccountWithHttpInfo
Delete an STS enabled GCP account from within Datadog.- Parameters:
accountId- Your GCP STS enabled service account's unique ID. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 403 Not Authorized - 429 Too many requests -
-
deleteGCPSTSAccountWithHttpInfoAsync
Delete an STS enabled GCP Account.- Parameters:
accountId- Your GCP STS enabled service account's unique ID. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getGCPSTSDelegate
List delegate account.- Returns:
- GCPSTSDelegateAccountResponse
- Throws:
ApiException- if fails to make API call
-
getGCPSTSDelegateAsync
List delegate account.- Returns:
- CompletableFuture<GCPSTSDelegateAccountResponse>
-
getGCPSTSDelegateWithHttpInfo
public ApiResponse<GCPSTSDelegateAccountResponse> getGCPSTSDelegateWithHttpInfo() throws ApiExceptionList your Datadog-GCP STS delegate account configured in your Datadog account.- Returns:
- ApiResponse<GCPSTSDelegateAccountResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Not Authorized - 429 Too many requests -
-
getGCPSTSDelegateWithHttpInfoAsync
public CompletableFuture<ApiResponse<GCPSTSDelegateAccountResponse>> getGCPSTSDelegateWithHttpInfoAsync()List delegate account.- Returns:
- CompletableFuture<ApiResponse<GCPSTSDelegateAccountResponse>>
-
listGCPSTSAccounts
List all GCP STS-enabled service accounts.- Returns:
- GCPSTSServiceAccountsResponse
- Throws:
ApiException- if fails to make API call
-
listGCPSTSAccountsAsync
List all GCP STS-enabled service accounts.- Returns:
- CompletableFuture<GCPSTSServiceAccountsResponse>
-
listGCPSTSAccountsWithHttpInfo
public ApiResponse<GCPSTSServiceAccountsResponse> listGCPSTSAccountsWithHttpInfo() throws ApiExceptionList all GCP STS-enabled service accounts configured in your Datadog account.- Returns:
- ApiResponse<GCPSTSServiceAccountsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
listGCPSTSAccountsWithHttpInfoAsync
public CompletableFuture<ApiResponse<GCPSTSServiceAccountsResponse>> listGCPSTSAccountsWithHttpInfoAsync()List all GCP STS-enabled service accounts.- Returns:
- CompletableFuture<ApiResponse<GCPSTSServiceAccountsResponse>>
-
makeGCPSTSDelegate
Create a Datadog GCP principal.- Returns:
- GCPSTSDelegateAccountResponse
- Throws:
ApiException- if fails to make API call
-
makeGCPSTSDelegateAsync
Create a Datadog GCP principal.- Returns:
- CompletableFuture<GCPSTSDelegateAccountResponse>
-
makeGCPSTSDelegate
public GCPSTSDelegateAccountResponse makeGCPSTSDelegate(GcpIntegrationApi.MakeGCPSTSDelegateOptionalParameters parameters) throws ApiException Create a Datadog GCP principal.- Parameters:
parameters- Optional parameters for the request.- Returns:
- GCPSTSDelegateAccountResponse
- Throws:
ApiException- if fails to make API call
-
makeGCPSTSDelegateAsync
public CompletableFuture<GCPSTSDelegateAccountResponse> makeGCPSTSDelegateAsync(GcpIntegrationApi.MakeGCPSTSDelegateOptionalParameters parameters) Create a Datadog GCP principal.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<GCPSTSDelegateAccountResponse>
-
makeGCPSTSDelegateWithHttpInfo
public ApiResponse<GCPSTSDelegateAccountResponse> makeGCPSTSDelegateWithHttpInfo(GcpIntegrationApi.MakeGCPSTSDelegateOptionalParameters parameters) throws ApiException Create a Datadog GCP principal.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<GCPSTSDelegateAccountResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Not Authorized - 409 Conflict - 429 Too many requests -
-
makeGCPSTSDelegateWithHttpInfoAsync
public CompletableFuture<ApiResponse<GCPSTSDelegateAccountResponse>> makeGCPSTSDelegateWithHttpInfoAsync(GcpIntegrationApi.MakeGCPSTSDelegateOptionalParameters parameters) Create a Datadog GCP principal.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<GCPSTSDelegateAccountResponse>>
-
updateGCPSTSAccount
public GCPSTSServiceAccountResponse updateGCPSTSAccount(String accountId, GCPSTSServiceAccountUpdateRequest body) throws ApiException Update STS Service Account.- Parameters:
accountId- Your GCP STS enabled service account's unique ID. (required)body- (required)- Returns:
- GCPSTSServiceAccountResponse
- Throws:
ApiException- if fails to make API call
-
updateGCPSTSAccountAsync
public CompletableFuture<GCPSTSServiceAccountResponse> updateGCPSTSAccountAsync(String accountId, GCPSTSServiceAccountUpdateRequest body) Update STS Service Account.- Parameters:
accountId- Your GCP STS enabled service account's unique ID. (required)body- (required)- Returns:
- CompletableFuture<GCPSTSServiceAccountResponse>
-
updateGCPSTSAccountWithHttpInfo
public ApiResponse<GCPSTSServiceAccountResponse> updateGCPSTSAccountWithHttpInfo(String accountId, GCPSTSServiceAccountUpdateRequest body) throws ApiException Update an STS enabled service account.- Parameters:
accountId- Your GCP STS enabled service account's unique ID. (required)body- (required)- Returns:
- ApiResponse<GCPSTSServiceAccountResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 OK - 400 Bad Request - 403 Not Authorized - 404 Not Found - 429 Too many requests -
-
updateGCPSTSAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<GCPSTSServiceAccountResponse>> updateGCPSTSAccountWithHttpInfoAsync(String accountId, GCPSTSServiceAccountUpdateRequest body) Update STS Service Account.- Parameters:
accountId- Your GCP STS enabled service account's unique ID. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<GCPSTSServiceAccountResponse>>
-