Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::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.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#crypto_key_name
defcrypto_key_name()->::String
Returns
(::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/*.
#crypto_key_name=
defcrypto_key_name=(value)->::String
Parameter
value (::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/*.
Returns
(::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/*.
#name
defname()->::String
Returns
(::String) — Required. The resource name of the config. Must be in the format of,
projects/{project}/locations/{location}/googleChannelConfig.
#name=
defname=(value)->::String
Parameter
value (::String) — Required. The resource name of the config. Must be in the format of,
projects/{project}/locations/{location}/googleChannelConfig.
Returns
(::String) — Required. The resource name of the config. Must be in the format of,
projects/{project}/locations/{location}/googleChannelConfig.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Eventarc V1 API - Class Google::Cloud::Eventarc::V1::GoogleChannelConfig (v2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-GoogleChannelConfig)\n- [2.0.1](/ruby/docs/reference/google-cloud-eventarc-v1/2.0.1/Google-Cloud-Eventarc-V1-GoogleChannelConfig)\n- [1.3.0](/ruby/docs/reference/google-cloud-eventarc-v1/1.3.0/Google-Cloud-Eventarc-V1-GoogleChannelConfig)\n- [1.2.0](/ruby/docs/reference/google-cloud-eventarc-v1/1.2.0/Google-Cloud-Eventarc-V1-GoogleChannelConfig)\n- [1.1.0](/ruby/docs/reference/google-cloud-eventarc-v1/1.1.0/Google-Cloud-Eventarc-V1-GoogleChannelConfig)\n- [1.0.1](/ruby/docs/reference/google-cloud-eventarc-v1/1.0.1/Google-Cloud-Eventarc-V1-GoogleChannelConfig)\n- [0.10.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.10.0/Google-Cloud-Eventarc-V1-GoogleChannelConfig)\n- [0.9.2](/ruby/docs/reference/google-cloud-eventarc-v1/0.9.2/Google-Cloud-Eventarc-V1-GoogleChannelConfig)\n- [0.8.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.8.0/Google-Cloud-Eventarc-V1-GoogleChannelConfig)\n- [0.7.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.7.0/Google-Cloud-Eventarc-V1-GoogleChannelConfig)\n- [0.6.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.6.0/Google-Cloud-Eventarc-V1-GoogleChannelConfig)\n- [0.5.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.5.0/Google-Cloud-Eventarc-V1-GoogleChannelConfig)\n- [0.4.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.4.0/Google-Cloud-Eventarc-V1-GoogleChannelConfig)\n- [0.3.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.3.0/Google-Cloud-Eventarc-V1-GoogleChannelConfig)\n- [0.2.1](/ruby/docs/reference/google-cloud-eventarc-v1/0.2.1/Google-Cloud-Eventarc-V1-GoogleChannelConfig)\n- [0.1.4](/ruby/docs/reference/google-cloud-eventarc-v1/0.1.4/Google-Cloud-Eventarc-V1-GoogleChannelConfig) \nReference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::GoogleChannelConfig.\n\nA GoogleChannelConfig is a resource that stores the custom settings\nrespected by Eventarc first-party triggers in the matching region.\nOnce configured, first-party event data will be protected\nusing the specified custom managed encryption key instead of Google-managed\nencryption keys. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #crypto_key_name\n\n def crypto_key_name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data.\n\n It must match the pattern\n `projects/*/locations/*/keyRings/*/cryptoKeys/*`.\n\n### #crypto_key_name=\n\n def crypto_key_name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data.\n\n\n It must match the pattern\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`. \n**Returns**\n\n- (::String) --- Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data.\n\n It must match the pattern\n `projects/*/locations/*/keyRings/*/cryptoKeys/*`.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`. \n**Returns**\n\n- (::String) --- Required. The resource name of the config. Must be in the format of, `projects/{project}/locations/{location}/googleChannelConfig`.\n\n### #update_time\n\n def update_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The last-modified time."]]