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/*.
getName
Required. The resource name of the config. Must be in the format of,
projects/{project}/locations/{location}/googleChannelConfig.
Returns
Type
Description
string
setName
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-04 UTC."],[],[],null,["# Google Cloud Eventarc V1 Client - Class GoogleChannelConfig (2.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.5 (latest)](/php/docs/reference/cloud-eventarc/latest/V1.GoogleChannelConfig)\n- [2.1.4](/php/docs/reference/cloud-eventarc/2.1.4/V1.GoogleChannelConfig)\n- [2.0.1](/php/docs/reference/cloud-eventarc/2.0.1/V1.GoogleChannelConfig)\n- [1.3.5](/php/docs/reference/cloud-eventarc/1.3.5/V1.GoogleChannelConfig)\n- [1.2.2](/php/docs/reference/cloud-eventarc/1.2.2/V1.GoogleChannelConfig)\n- [1.1.1](/php/docs/reference/cloud-eventarc/1.1.1/V1.GoogleChannelConfig)\n- [1.0.5](/php/docs/reference/cloud-eventarc/1.0.5/V1.GoogleChannelConfig) \nReference documentation and code samples for the Google Cloud Eventarc V1 Client class GoogleChannelConfig.\n\nA GoogleChannelConfig is a resource that stores the custom settings\nrespected by Eventarc first-party triggers in the matching region.\n\nOnce configured, first-party event data will be protected\nusing the specified custom managed encryption key instead of Google-managed\nencryption keys.\n\nGenerated from protobuf message `google.cloud.eventarc.v1.GoogleChannelConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Eventarc \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The resource name of the config. Must be in the format of,\n`projects/{project}/locations/{location}/googleChannelConfig`.\n\n### setName\n\nRequired. The resource name of the config. Must be in the format of,\n`projects/{project}/locations/{location}/googleChannelConfig`.\n\n### getUpdateTime\n\nOutput only. The last-modified time.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. The last-modified time.\n\n### getCryptoKeyName\n\nOptional. Resource name of a KMS crypto key (managed by the user) used to\nencrypt/decrypt their event data.\n\nIt must match the pattern\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.\n\n### setCryptoKeyName\n\nOptional. Resource name of a KMS crypto key (managed by the user) used to\nencrypt/decrypt their event data.\n\nIt must match the pattern\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`."]]