google_chat_organization_app_named_spaces
Creates, updates, deletes, gets or lists a google_chat_organization_app_named_spaces resource.
Overview
| Name | google_chat_organization_app_named_spaces |
| Type | Resource |
| Id | datadog.integrations.google_chat_organization_app_named_spaces |
Fields
The following fields are returned by SELECT queries:
- get_space_by_display_name
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the Google Chat space. (example: 596da4af-0563-4097-90ff-07230c3f9db3) |
attributes | object | Google Chat space attributes. |
type | string | Google Chat space resource type. (google-chat-app-named-space) (default: google-chat-app-named-space, example: google-chat-app-named-space) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_space_by_display_name | select | domain_name, space_display_name | Get the resource name and organization binding ID of a space in 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 |
|---|---|---|
domain_name | string | The Google Chat domain name. |
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. |
space_display_name | string | The Google Chat space display name. |
SELECT examples
- get_space_by_display_name
Get the resource name and organization binding ID of a space in the Datadog Google Chat integration.
SELECT
id,
attributes,
type
FROM datadog.integrations.google_chat_organization_app_named_spaces
WHERE domain_name = '{{ domain_name }}' -- required
AND space_display_name = '{{ space_display_name }}' -- required
;