@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class GoogleChatIntegrationApi extends Object
| Constructor and Description |
|---|
GoogleChatIntegrationApi() |
GoogleChatIntegrationApi(ApiClient apiClient) |
public GoogleChatIntegrationApi()
public GoogleChatIntegrationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic GoogleChatTargetAudienceResponse createGoogleChatTargetAudience(String organizationBindingId, GoogleChatTargetAudienceCreateRequest body) throws ApiException
organizationBindingId - Your organization binding ID. (required)body - Target audience payload. (required)ApiException - if fails to make API callpublic CompletableFuture<GoogleChatTargetAudienceResponse> createGoogleChatTargetAudienceAsync(String organizationBindingId, GoogleChatTargetAudienceCreateRequest body)
organizationBindingId - Your organization binding ID. (required)body - Target audience payload. (required)public ApiResponse<GoogleChatTargetAudienceResponse> createGoogleChatTargetAudienceWithHttpInfo(String organizationBindingId, GoogleChatTargetAudienceCreateRequest body) throws ApiException
organizationBindingId - Your organization binding ID. (required)body - Target audience payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | CREATED | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GoogleChatTargetAudienceResponse>> createGoogleChatTargetAudienceWithHttpInfoAsync(String organizationBindingId, GoogleChatTargetAudienceCreateRequest body)
organizationBindingId - Your organization binding ID. (required)body - Target audience payload. (required)public GoogleChatOrganizationHandleResponse createOrganizationHandle(String organizationBindingId, GoogleChatCreateOrganizationHandleRequest body) throws ApiException
organizationBindingId - Your organization binding ID. (required)body - Organization handle payload. (required)ApiException - if fails to make API callpublic CompletableFuture<GoogleChatOrganizationHandleResponse> createOrganizationHandleAsync(String organizationBindingId, GoogleChatCreateOrganizationHandleRequest body)
organizationBindingId - Your organization binding ID. (required)body - Organization handle payload. (required)public ApiResponse<GoogleChatOrganizationHandleResponse> createOrganizationHandleWithHttpInfo(String organizationBindingId, GoogleChatCreateOrganizationHandleRequest body) throws ApiException
organizationBindingId - Your organization binding ID. (required)body - Organization handle payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 201 | CREATED | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GoogleChatOrganizationHandleResponse>> createOrganizationHandleWithHttpInfoAsync(String organizationBindingId, GoogleChatCreateOrganizationHandleRequest body)
organizationBindingId - Your organization binding ID. (required)body - Organization handle payload. (required)public void deleteGoogleChatDelegatedUser(String organizationBindingId) throws ApiException
See deleteGoogleChatDelegatedUserWithHttpInfo(java.lang.String).
organizationBindingId - Your organization binding ID. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteGoogleChatDelegatedUserAsync(String organizationBindingId)
See deleteGoogleChatDelegatedUserWithHttpInfoAsync(java.lang.String).
organizationBindingId - Your organization binding ID. (required)public ApiResponse<Void> deleteGoogleChatDelegatedUserWithHttpInfo(String organizationBindingId) throws ApiException
organizationBindingId - Your organization binding ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteGoogleChatDelegatedUserWithHttpInfoAsync(String organizationBindingId)
See deleteGoogleChatDelegatedUserWithHttpInfo(java.lang.String).
organizationBindingId - Your organization binding ID. (required)public void deleteGoogleChatOrganization(String organizationBindingId) throws ApiException
See deleteGoogleChatOrganizationWithHttpInfo(java.lang.String).
organizationBindingId - Your organization binding ID. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteGoogleChatOrganizationAsync(String organizationBindingId)
See deleteGoogleChatOrganizationWithHttpInfoAsync(java.lang.String).
organizationBindingId - Your organization binding ID. (required)public ApiResponse<Void> deleteGoogleChatOrganizationWithHttpInfo(String organizationBindingId) throws ApiException
organizationBindingId - Your organization binding ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteGoogleChatOrganizationWithHttpInfoAsync(String organizationBindingId)
See deleteGoogleChatOrganizationWithHttpInfo(java.lang.String).
organizationBindingId - Your organization binding ID. (required)public void deleteGoogleChatTargetAudience(String organizationBindingId, String targetAudienceId) throws ApiException
See deleteGoogleChatTargetAudienceWithHttpInfo(java.lang.String, java.lang.String).
organizationBindingId - Your organization binding ID. (required)targetAudienceId - Your target audience ID. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteGoogleChatTargetAudienceAsync(String organizationBindingId, String targetAudienceId)
See deleteGoogleChatTargetAudienceWithHttpInfoAsync(java.lang.String, java.lang.String).
organizationBindingId - Your organization binding ID. (required)targetAudienceId - Your target audience ID. (required)public ApiResponse<Void> deleteGoogleChatTargetAudienceWithHttpInfo(String organizationBindingId, String targetAudienceId) throws ApiException
organizationBindingId - Your organization binding ID. (required)targetAudienceId - Your target audience ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteGoogleChatTargetAudienceWithHttpInfoAsync(String organizationBindingId, String targetAudienceId)
See deleteGoogleChatTargetAudienceWithHttpInfo(java.lang.String, java.lang.String).
organizationBindingId - Your organization binding ID. (required)targetAudienceId - Your target audience ID. (required)public void deleteOrganizationHandle(String organizationBindingId, String handleId) throws ApiException
See deleteOrganizationHandleWithHttpInfo(java.lang.String, java.lang.String).
organizationBindingId - Your organization binding ID. (required)handleId - Your organization handle ID. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteOrganizationHandleAsync(String organizationBindingId, String handleId)
See deleteOrganizationHandleWithHttpInfoAsync(java.lang.String, java.lang.String).
organizationBindingId - Your organization binding ID. (required)handleId - Your organization handle ID. (required)public ApiResponse<Void> deleteOrganizationHandleWithHttpInfo(String organizationBindingId, String handleId) throws ApiException
organizationBindingId - Your organization binding ID. (required)handleId - Your organization handle ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteOrganizationHandleWithHttpInfoAsync(String organizationBindingId, String handleId)
See deleteOrganizationHandleWithHttpInfo(java.lang.String, java.lang.String).
organizationBindingId - Your organization binding ID. (required)handleId - Your organization handle ID. (required)public GoogleChatDelegatedUserResponse getGoogleChatDelegatedUser(String organizationBindingId) throws ApiException
See getGoogleChatDelegatedUserWithHttpInfo(java.lang.String).
organizationBindingId - Your organization binding ID. (required)ApiException - if fails to make API callpublic CompletableFuture<GoogleChatDelegatedUserResponse> getGoogleChatDelegatedUserAsync(String organizationBindingId)
See getGoogleChatDelegatedUserWithHttpInfoAsync(java.lang.String).
organizationBindingId - Your organization binding ID. (required)public ApiResponse<GoogleChatDelegatedUserResponse> getGoogleChatDelegatedUserWithHttpInfo(String organizationBindingId) throws ApiException
organizationBindingId - Your organization binding ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GoogleChatDelegatedUserResponse>> getGoogleChatDelegatedUserWithHttpInfoAsync(String organizationBindingId)
See getGoogleChatDelegatedUserWithHttpInfo(java.lang.String).
organizationBindingId - Your organization binding ID. (required)public GoogleChatOrganizationResponse getGoogleChatOrganization(String organizationBindingId) throws ApiException
See getGoogleChatOrganizationWithHttpInfo(java.lang.String).
organizationBindingId - Your organization binding ID. (required)ApiException - if fails to make API callpublic CompletableFuture<GoogleChatOrganizationResponse> getGoogleChatOrganizationAsync(String organizationBindingId)
See getGoogleChatOrganizationWithHttpInfoAsync(java.lang.String).
organizationBindingId - Your organization binding ID. (required)public ApiResponse<GoogleChatOrganizationResponse> getGoogleChatOrganizationWithHttpInfo(String organizationBindingId) throws ApiException
organizationBindingId - Your organization binding ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GoogleChatOrganizationResponse>> getGoogleChatOrganizationWithHttpInfoAsync(String organizationBindingId)
See getGoogleChatOrganizationWithHttpInfo(java.lang.String).
organizationBindingId - Your organization binding ID. (required)public GoogleChatTargetAudienceResponse getGoogleChatTargetAudience(String organizationBindingId, String targetAudienceId) throws ApiException
See getGoogleChatTargetAudienceWithHttpInfo(java.lang.String, java.lang.String).
organizationBindingId - Your organization binding ID. (required)targetAudienceId - Your target audience ID. (required)ApiException - if fails to make API callpublic CompletableFuture<GoogleChatTargetAudienceResponse> getGoogleChatTargetAudienceAsync(String organizationBindingId, String targetAudienceId)
See getGoogleChatTargetAudienceWithHttpInfoAsync(java.lang.String, java.lang.String).
organizationBindingId - Your organization binding ID. (required)targetAudienceId - Your target audience ID. (required)public ApiResponse<GoogleChatTargetAudienceResponse> getGoogleChatTargetAudienceWithHttpInfo(String organizationBindingId, String targetAudienceId) throws ApiException
organizationBindingId - Your organization binding ID. (required)targetAudienceId - Your target audience ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GoogleChatTargetAudienceResponse>> getGoogleChatTargetAudienceWithHttpInfoAsync(String organizationBindingId, String targetAudienceId)
See getGoogleChatTargetAudienceWithHttpInfo(java.lang.String, java.lang.String).
organizationBindingId - Your organization binding ID. (required)targetAudienceId - Your target audience ID. (required)public GoogleChatOrganizationHandleResponse getOrganizationHandle(String organizationBindingId, String handleId) throws ApiException
See getOrganizationHandleWithHttpInfo(java.lang.String, java.lang.String).
organizationBindingId - Your organization binding ID. (required)handleId - Your organization handle ID. (required)ApiException - if fails to make API callpublic CompletableFuture<GoogleChatOrganizationHandleResponse> getOrganizationHandleAsync(String organizationBindingId, String handleId)
See getOrganizationHandleWithHttpInfoAsync(java.lang.String, java.lang.String).
organizationBindingId - Your organization binding ID. (required)handleId - Your organization handle ID. (required)public ApiResponse<GoogleChatOrganizationHandleResponse> getOrganizationHandleWithHttpInfo(String organizationBindingId, String handleId) throws ApiException
organizationBindingId - Your organization binding ID. (required)handleId - Your organization handle ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GoogleChatOrganizationHandleResponse>> getOrganizationHandleWithHttpInfoAsync(String organizationBindingId, String handleId)
See getOrganizationHandleWithHttpInfo(java.lang.String, java.lang.String).
organizationBindingId - Your organization binding ID. (required)handleId - Your organization handle ID. (required)public GoogleChatAppNamedSpaceResponse getSpaceByDisplayName(String domainName, String spaceDisplayName) throws ApiException
See getSpaceByDisplayNameWithHttpInfo(java.lang.String, java.lang.String).
domainName - The Google Chat domain name. (required)spaceDisplayName - The Google Chat space display name. (required)ApiException - if fails to make API callpublic CompletableFuture<GoogleChatAppNamedSpaceResponse> getSpaceByDisplayNameAsync(String domainName, String spaceDisplayName)
See getSpaceByDisplayNameWithHttpInfoAsync(java.lang.String, java.lang.String).
domainName - The Google Chat domain name. (required)spaceDisplayName - The Google Chat space display name. (required)public ApiResponse<GoogleChatAppNamedSpaceResponse> getSpaceByDisplayNameWithHttpInfo(String domainName, String spaceDisplayName) throws ApiException
domainName - The Google Chat domain name. (required)spaceDisplayName - The Google Chat space display name. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GoogleChatAppNamedSpaceResponse>> getSpaceByDisplayNameWithHttpInfoAsync(String domainName, String spaceDisplayName)
See getSpaceByDisplayNameWithHttpInfo(java.lang.String, java.lang.String).
domainName - The Google Chat domain name. (required)spaceDisplayName - The Google Chat space display name. (required)public GoogleChatOrganizationsResponse listGoogleChatOrganizations() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<GoogleChatOrganizationsResponse> listGoogleChatOrganizationsAsync()
public ApiResponse<GoogleChatOrganizationsResponse> listGoogleChatOrganizationsWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GoogleChatOrganizationsResponse>> listGoogleChatOrganizationsWithHttpInfoAsync()
public GoogleChatTargetAudiencesResponse listGoogleChatTargetAudiences(String organizationBindingId) throws ApiException
See listGoogleChatTargetAudiencesWithHttpInfo(java.lang.String).
organizationBindingId - Your organization binding ID. (required)ApiException - if fails to make API callpublic CompletableFuture<GoogleChatTargetAudiencesResponse> listGoogleChatTargetAudiencesAsync(String organizationBindingId)
See listGoogleChatTargetAudiencesWithHttpInfoAsync(java.lang.String).
organizationBindingId - Your organization binding ID. (required)public ApiResponse<GoogleChatTargetAudiencesResponse> listGoogleChatTargetAudiencesWithHttpInfo(String organizationBindingId) throws ApiException
organizationBindingId - Your organization binding ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GoogleChatTargetAudiencesResponse>> listGoogleChatTargetAudiencesWithHttpInfoAsync(String organizationBindingId)
See listGoogleChatTargetAudiencesWithHttpInfo(java.lang.String).
organizationBindingId - Your organization binding ID. (required)public GoogleChatOrganizationHandlesResponse listOrganizationHandles(String organizationBindingId) throws ApiException
organizationBindingId - Your organization binding ID. (required)ApiException - if fails to make API callpublic CompletableFuture<GoogleChatOrganizationHandlesResponse> listOrganizationHandlesAsync(String organizationBindingId)
See listOrganizationHandlesWithHttpInfoAsync(java.lang.String).
organizationBindingId - Your organization binding ID. (required)public ApiResponse<GoogleChatOrganizationHandlesResponse> listOrganizationHandlesWithHttpInfo(String organizationBindingId) throws ApiException
organizationBindingId - Your organization binding ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GoogleChatOrganizationHandlesResponse>> listOrganizationHandlesWithHttpInfoAsync(String organizationBindingId)
organizationBindingId - Your organization binding ID. (required)public GoogleChatTargetAudienceResponse updateGoogleChatTargetAudience(String organizationBindingId, String targetAudienceId, GoogleChatTargetAudienceUpdateRequest body) throws ApiException
organizationBindingId - Your organization binding ID. (required)targetAudienceId - Your target audience ID. (required)body - Target audience payload. (required)ApiException - if fails to make API callpublic CompletableFuture<GoogleChatTargetAudienceResponse> updateGoogleChatTargetAudienceAsync(String organizationBindingId, String targetAudienceId, GoogleChatTargetAudienceUpdateRequest body)
organizationBindingId - Your organization binding ID. (required)targetAudienceId - Your target audience ID. (required)body - Target audience payload. (required)public ApiResponse<GoogleChatTargetAudienceResponse> updateGoogleChatTargetAudienceWithHttpInfo(String organizationBindingId, String targetAudienceId, GoogleChatTargetAudienceUpdateRequest body) throws ApiException
organizationBindingId - Your organization binding ID. (required)targetAudienceId - Your target audience ID. (required)body - Target audience payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GoogleChatTargetAudienceResponse>> updateGoogleChatTargetAudienceWithHttpInfoAsync(String organizationBindingId, String targetAudienceId, GoogleChatTargetAudienceUpdateRequest body)
organizationBindingId - Your organization binding ID. (required)targetAudienceId - Your target audience ID. (required)body - Target audience payload. (required)public GoogleChatOrganizationHandleResponse updateOrganizationHandle(String organizationBindingId, String handleId, GoogleChatUpdateOrganizationHandleRequest body) throws ApiException
organizationBindingId - Your organization binding ID. (required)handleId - Your organization handle ID. (required)body - Organization handle payload. (required)ApiException - if fails to make API callpublic CompletableFuture<GoogleChatOrganizationHandleResponse> updateOrganizationHandleAsync(String organizationBindingId, String handleId, GoogleChatUpdateOrganizationHandleRequest body)
organizationBindingId - Your organization binding ID. (required)handleId - Your organization handle ID. (required)body - Organization handle payload. (required)public ApiResponse<GoogleChatOrganizationHandleResponse> updateOrganizationHandleWithHttpInfo(String organizationBindingId, String handleId, GoogleChatUpdateOrganizationHandleRequest body) throws ApiException
organizationBindingId - Your organization binding ID. (required)handleId - Your organization handle ID. (required)body - Organization handle payload. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<GoogleChatOrganizationHandleResponse>> updateOrganizationHandleWithHttpInfoAsync(String organizationBindingId, String handleId, GoogleChatUpdateOrganizationHandleRequest body)
organizationBindingId - Your organization binding ID. (required)handleId - Your organization handle ID. (required)body - Organization handle payload. (required)Copyright © 2026. All rights reserved.