Note: The following fields are mutually exclusive: akamai_cdn_key, google_cdn_key, media_cdn_key. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: akamai_cdn_key, google_cdn_key, media_cdn_key. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: akamai_cdn_key, google_cdn_key, media_cdn_key. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: google_cdn_key, akamai_cdn_key, media_cdn_key. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: google_cdn_key, akamai_cdn_key, media_cdn_key. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: google_cdn_key, akamai_cdn_key, media_cdn_key. If a field in that set is populated, all other fields in the set will automatically be cleared.
#hostname
defhostname()->::String
Returns
(::String) — The hostname this key applies to.
#hostname=
defhostname=(value)->::String
Parameter
value (::String) — The hostname this key applies to.
Note: The following fields are mutually exclusive: media_cdn_key, google_cdn_key, akamai_cdn_key. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: media_cdn_key, google_cdn_key, akamai_cdn_key. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: media_cdn_key, google_cdn_key, akamai_cdn_key. If a field in that set is populated, all other fields in the set will automatically be cleared.
#name
defname()->::String
Returns
(::String) — The resource name of the CDN key, in the form of
projects/{project}/locations/{location}/cdnKeys/{id}.
The name is ignored when creating a CDN key.
#name=
defname=(value)->::String
Parameter
value (::String) — The resource name of the CDN key, in the form of
projects/{project}/locations/{location}/cdnKeys/{id}.
The name is ignored when creating a CDN key.
Returns
(::String) — The resource name of the CDN key, in the form of
projects/{project}/locations/{location}/cdnKeys/{id}.
The name is ignored when creating a CDN key.
[[["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,["# Video Stitcher V1 API - Class Google::Cloud::Video::Stitcher::V1::CdnKey (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-CdnKey)\n- [1.2.1](/ruby/docs/reference/google-cloud-video-stitcher-v1/1.2.1/Google-Cloud-Video-Stitcher-V1-CdnKey)\n- [1.1.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/1.1.0/Google-Cloud-Video-Stitcher-V1-CdnKey)\n- [1.0.1](/ruby/docs/reference/google-cloud-video-stitcher-v1/1.0.1/Google-Cloud-Video-Stitcher-V1-CdnKey)\n- [0.10.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.10.0/Google-Cloud-Video-Stitcher-V1-CdnKey)\n- [0.9.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.9.0/Google-Cloud-Video-Stitcher-V1-CdnKey)\n- [0.8.2](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.8.2/Google-Cloud-Video-Stitcher-V1-CdnKey)\n- [0.7.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.7.0/Google-Cloud-Video-Stitcher-V1-CdnKey)\n- [0.6.2](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.6.2/Google-Cloud-Video-Stitcher-V1-CdnKey)\n- [0.5.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.5.0/Google-Cloud-Video-Stitcher-V1-CdnKey)\n- [0.4.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.4.0/Google-Cloud-Video-Stitcher-V1-CdnKey)\n- [0.3.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.3.0/Google-Cloud-Video-Stitcher-V1-CdnKey)\n- [0.2.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.2.0/Google-Cloud-Video-Stitcher-V1-CdnKey)\n- [0.1.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.1.0/Google-Cloud-Video-Stitcher-V1-CdnKey) \nReference documentation and code samples for the Video Stitcher V1 API class Google::Cloud::Video::Stitcher::V1::CdnKey.\n\nConfiguration for a CDN key. Used by the Video Stitcher\nto sign URIs for fetching video manifests and signing\nmedia segments for playback. \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### #akamai_cdn_key\n\n def akamai_cdn_key() -\u003e ::Google::Cloud::Video::Stitcher::V1::AkamaiCdnKey\n\n**Returns**\n\n- ([::Google::Cloud::Video::Stitcher::V1::AkamaiCdnKey](./Google-Cloud-Video-Stitcher-V1-AkamaiCdnKey)) --- The configuration for an Akamai CDN key.\n\n\n Note: The following fields are mutually exclusive: `akamai_cdn_key`, `google_cdn_key`, `media_cdn_key`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #akamai_cdn_key=\n\n def akamai_cdn_key=(value) -\u003e ::Google::Cloud::Video::Stitcher::V1::AkamaiCdnKey\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Video::Stitcher::V1::AkamaiCdnKey](./Google-Cloud-Video-Stitcher-V1-AkamaiCdnKey)) --- The configuration for an Akamai CDN key.\n\n\nNote: The following fields are mutually exclusive: `akamai_cdn_key`, `google_cdn_key`, `media_cdn_key`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::Video::Stitcher::V1::AkamaiCdnKey](./Google-Cloud-Video-Stitcher-V1-AkamaiCdnKey)) --- The configuration for an Akamai CDN key.\n\n\n Note: The following fields are mutually exclusive: `akamai_cdn_key`, `google_cdn_key`, `media_cdn_key`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #google_cdn_key\n\n def google_cdn_key() -\u003e ::Google::Cloud::Video::Stitcher::V1::GoogleCdnKey\n\n**Returns**\n\n- ([::Google::Cloud::Video::Stitcher::V1::GoogleCdnKey](./Google-Cloud-Video-Stitcher-V1-GoogleCdnKey)) --- The configuration for a Google Cloud CDN key.\n\n\n Note: The following fields are mutually exclusive: `google_cdn_key`, `akamai_cdn_key`, `media_cdn_key`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #google_cdn_key=\n\n def google_cdn_key=(value) -\u003e ::Google::Cloud::Video::Stitcher::V1::GoogleCdnKey\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Video::Stitcher::V1::GoogleCdnKey](./Google-Cloud-Video-Stitcher-V1-GoogleCdnKey)) --- The configuration for a Google Cloud CDN key.\n\n\nNote: The following fields are mutually exclusive: `google_cdn_key`, `akamai_cdn_key`, `media_cdn_key`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::Video::Stitcher::V1::GoogleCdnKey](./Google-Cloud-Video-Stitcher-V1-GoogleCdnKey)) --- The configuration for a Google Cloud CDN key.\n\n\n Note: The following fields are mutually exclusive: `google_cdn_key`, `akamai_cdn_key`, `media_cdn_key`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #hostname\n\n def hostname() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The hostname this key applies to.\n\n### #hostname=\n\n def hostname=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The hostname this key applies to. \n**Returns**\n\n- (::String) --- The hostname this key applies to.\n\n### #media_cdn_key\n\n def media_cdn_key() -\u003e ::Google::Cloud::Video::Stitcher::V1::MediaCdnKey\n\n**Returns**\n\n- ([::Google::Cloud::Video::Stitcher::V1::MediaCdnKey](./Google-Cloud-Video-Stitcher-V1-MediaCdnKey)) --- The configuration for a Media CDN key.\n\n\n Note: The following fields are mutually exclusive: `media_cdn_key`, `google_cdn_key`, `akamai_cdn_key`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #media_cdn_key=\n\n def media_cdn_key=(value) -\u003e ::Google::Cloud::Video::Stitcher::V1::MediaCdnKey\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Video::Stitcher::V1::MediaCdnKey](./Google-Cloud-Video-Stitcher-V1-MediaCdnKey)) --- The configuration for a Media CDN key.\n\n\nNote: The following fields are mutually exclusive: `media_cdn_key`, `google_cdn_key`, `akamai_cdn_key`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::Video::Stitcher::V1::MediaCdnKey](./Google-Cloud-Video-Stitcher-V1-MediaCdnKey)) --- The configuration for a Media CDN key.\n\n\n Note: The following fields are mutually exclusive: `media_cdn_key`, `google_cdn_key`, `akamai_cdn_key`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The resource name of the CDN key, in the form of `projects/{project}/locations/{location}/cdnKeys/{id}`. The name is ignored when creating a CDN key.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The resource name of the CDN key, in the form of `projects/{project}/locations/{location}/cdnKeys/{id}`. The name is ignored when creating a CDN key. \n**Returns**\n\n- (::String) --- The resource name of the CDN key, in the form of `projects/{project}/locations/{location}/cdnKeys/{id}`. The name is ignored when creating a CDN key."]]