google_channel_config
Creates, updates, deletes, gets or lists a google_channel_config
resource.
Overview
Name | google_channel_config |
Type | Resource |
Id | google.eventarc.google_channel_config |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Required. The resource name of the config. Must be in the format of, projects/{project}/locations/{location}/googleChannelConfig . |
cryptoKeyName | string | Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern projects/*/locations/*/keyRings/*/cryptoKeys/* . |
updateTime | string | Output only. The last-modified time. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_google_channel_config | SELECT | locationsId, projectsId | Get a GoogleChannelConfig |
update_google_channel_config | UPDATE | locationsId, projectsId | Update a single GoogleChannelConfig |
SELECT
examples
Get a GoogleChannelConfig
SELECT
name,
cryptoKeyName,
updateTime
FROM google.eventarc.google_channel_config
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
UPDATE
example
Updates a google_channel_config
resource.
/*+ update */
UPDATE google.eventarc.google_channel_config
SET
name = '{{ name }}',
cryptoKeyName = '{{ cryptoKeyName }}'
WHERE
locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';