incident_google_chat_configurations
Creates, updates, deletes, gets or lists an incident_google_chat_configurations resource.
Overview
| Name | incident_google_chat_configurations |
| Type | Resource |
| Id | datadog.service_management.incident_google_chat_configurations |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create_incident_google_chat_configuration | insert | data | Create a Google Chat configuration for incidents. | |
update_incident_google_chat_configuration | update | id, data | Update a Google Chat configuration for incidents. |
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 |
|---|---|---|
id | string (uuid) | The UUID of the Google Chat configuration. |
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. |
INSERT examples
- create_incident_google_chat_configuration
- Manifest
Create a Google Chat configuration for incidents.
INSERT INTO datadog.service_management.incident_google_chat_configurations (
data
)
SELECT
'{{ data }}' /* required */
RETURNING
data,
included
;
# Description fields are for documentation purposes
- name: incident_google_chat_configurations
props:
- name: data
description: |
Google Chat configuration data in a create request.
value:
attributes:
domain_id: "{{ domain_id }}"
space_name_template: "{{ space_name_template }}"
space_target_audience_id: "{{ space_target_audience_id }}"
space_time_zone: "{{ space_time_zone }}"
relationships:
incident_type:
data:
id: "{{ id }}"
type: "{{ type }}"
type: "{{ type }}"
UPDATE examples
- update_incident_google_chat_configuration
Update a Google Chat configuration for incidents.
UPDATE datadog.service_management.incident_google_chat_configurations
SET
data = '{{ data }}'
WHERE
id = '{{ id }}' --required
AND data = '{{ data }}' --required
RETURNING
data,
included;