Reference documentation and code samples for the Google Cloud Eventarc V1 Client class GoogleChannelConfig.
A GoogleChannelConfig is a resource that stores the custom settings respected by Eventarc first-party triggers in the matching region.
Once configured, first-party event data will be protected using the specified custom managed encryption key instead of Google-managed encryption keys.
Generated from protobuf message google.cloud.eventarc.v1.GoogleChannelConfig
Namespace
Google \ Cloud \ Eventarc \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The resource name of the config. Must be in the format of, projects/{project}/locations/{location}/googleChannelConfig
. In API responses, the config name always includes the projectID, regardless of whether the projectID or projectNumber was provided.
↳ update_time
↳ crypto_key_name
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/*
.
↳ labels
getName
Required. The resource name of the config. Must be in the format of, projects/{project}/locations/{location}/googleChannelConfig
.
In API responses, the config name always includes the projectID, regardless of whether the projectID or projectNumber was provided.
string
setName
Required. The resource name of the config. Must be in the format of, projects/{project}/locations/{location}/googleChannelConfig
.
In API responses, the config name always includes the projectID, regardless of whether the projectID or projectNumber was provided.
var
string
$this
getUpdateTime
Output only. The last-modified time.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The last-modified time.
$this
getCryptoKeyName
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/*
.
string
setCryptoKeyName
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/*
.
var
string
$this
getLabels
Optional. Resource labels.
setLabels
Optional. Resource labels.
$this

