Skip to main content

google_channel_config

Creates, updates, deletes, gets or lists a google_channel_config resource.

Overview

Namegoogle_channel_config
TypeResource
Idgoogle.eventarc.google_channel_config

Fields

NameDatatypeDescription
namestringRequired. The resource name of the config. Must be in the format of, projects/{project}/locations/{location}/googleChannelConfig.
cryptoKeyNamestringOptional. 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/*.
updateTimestringOutput only. The last-modified time.

Methods

NameAccessible byRequired ParamsDescription
get_google_channel_configSELECTlocationsId, projectsIdGet a GoogleChannelConfig
update_google_channel_configUPDATElocationsId, projectsIdUpdate 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 }}';