google_chat_organizations
Creates, updates, deletes, gets or lists a google_chat_organizations resource.
Overview
| Name | google_chat_organizations |
| Type | Resource |
| Id | datadog.integrations.google_chat_organizations |
Fields
The following fields are returned by SELECT queries:
- get_google_chat_organization
- list_google_chat_organizations
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the Google Chat organization binding. (example: 5ce87709-a12f-4086-fcc8-147045b73a19) |
attributes | object | Google Chat organization attributes. |
relationships | object | Google Chat organization relationships. |
type | string | Google Chat organization resource type. (google-chat-organization) (default: google-chat-organization, example: google-chat-organization) |
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the Google Chat organization binding. (example: 5ce87709-a12f-4086-fcc8-147045b73a19) |
attributes | object | Google Chat organization attributes. |
relationships | object | Google Chat organization relationships. |
type | string | Google Chat organization resource type. (google-chat-organization) (default: google-chat-organization, example: google-chat-organization) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_google_chat_organization | select | organization_binding_id | Get a Google Chat organization binding from the Datadog Google Chat integration. | |
list_google_chat_organizations | select | Get a list of all Google Chat organization bindings in the Datadog Google Chat integration. | ||
delete_google_chat_organization | delete | organization_binding_id | Delete a Google Chat organization binding from the Datadog Google Chat integration. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
organization_binding_id | string | Your organization binding ID. |
site | string | The Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both. |
SELECT examples
- get_google_chat_organization
- list_google_chat_organizations
Get a Google Chat organization binding from the Datadog Google Chat integration.
SELECT
id,
attributes,
relationships,
type
FROM datadog.integrations.google_chat_organizations
WHERE organization_binding_id = '{{ organization_binding_id }}' -- required
;
Get a list of all Google Chat organization bindings in the Datadog Google Chat integration.
SELECT
id,
attributes,
relationships,
type
FROM datadog.integrations.google_chat_organizations
;
DELETE examples
- delete_google_chat_organization
Delete a Google Chat organization binding from the Datadog Google Chat integration.
DELETE FROM datadog.integrations.google_chat_organizations
WHERE organization_binding_id = '{{ organization_binding_id }}' --required
;