Required. The ID to use for the CDN key, which will become the final component of the CDN key's resource name. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
getParent
Required. The project in which the CDN key should be created, in the form
ofprojects/{project_number}/locations/{location}.
Returns
Type
Description
string
setParent
Required. The project in which the CDN key should be created, in the form
ofprojects/{project_number}/locations/{location}.
Required. The ID to use for the CDN key, which will become the final
component of the CDN key's resource name.
This value should conform to RFC-1034, which restricts to
lower-case letters, numbers, and hyphen, with the first character a
letter, the last a letter or a number, and a 63 character maximum.
Returns
Type
Description
string
setCdnKeyId
Required. The ID to use for the CDN key, which will become the final
component of the CDN key's resource name.
This value should conform to RFC-1034, which restricts to
lower-case letters, numbers, and hyphen, with the first character a
letter, the last a letter or a number, and a 63 character maximum.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameters
Name
Description
parent
string
Required. The project in which the CDN key should be created, in the form
ofprojects/{project_number}/locations/{location}. Please seeVideoStitcherServiceClient::locationName()for help formatting this field.
Required. The ID to use for the CDN key, which will become the final
component of the CDN key's resource name.
This value should conform to RFC-1034, which restricts to
lower-case letters, numbers, and hyphen, with the first character a
letter, the last a letter or a number, and a 63 character maximum.
[[["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 Video Stitcher V1 Client - Class CreateCdnKeyRequest (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-video-stitcher/latest/V1.CreateCdnKeyRequest)\n- [1.0.3](/php/docs/reference/cloud-video-stitcher/1.0.3/V1.CreateCdnKeyRequest)\n- [0.9.1](/php/docs/reference/cloud-video-stitcher/0.9.1/V1.CreateCdnKeyRequest)\n- [0.8.4](/php/docs/reference/cloud-video-stitcher/0.8.4/V1.CreateCdnKeyRequest)\n- [0.7.3](/php/docs/reference/cloud-video-stitcher/0.7.3/V1.CreateCdnKeyRequest)\n- [0.6.2](/php/docs/reference/cloud-video-stitcher/0.6.2/V1.CreateCdnKeyRequest)\n- [0.5.1](/php/docs/reference/cloud-video-stitcher/0.5.1/V1.CreateCdnKeyRequest)\n- [0.3.4](/php/docs/reference/cloud-video-stitcher/0.3.4/V1.CreateCdnKeyRequest) \nReference documentation and code samples for the Google Cloud Video Stitcher V1 Client class CreateCdnKeyRequest.\n\nRequest message for VideoStitcherService.createCdnKey.\n\nGenerated from protobuf message `google.cloud.video.stitcher.v1.CreateCdnKeyRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Video \\\\ Stitcher \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The project in which the CDN key should be created, in the form\nof `projects/{project_number}/locations/{location}`.\n\n### setParent\n\nRequired. The project in which the CDN key should be created, in the form\nof `projects/{project_number}/locations/{location}`.\n\n### getCdnKey\n\nRequired. The CDN key resource to create.\n\n### hasCdnKey\n\n### clearCdnKey\n\n### setCdnKey\n\nRequired. The CDN key resource to create.\n\n### getCdnKeyId\n\nRequired. The ID to use for the CDN key, which will become the final\ncomponent of the CDN key's resource name.\n\nThis value should conform to RFC-1034, which restricts to\nlower-case letters, numbers, and hyphen, with the first character a\nletter, the last a letter or a number, and a 63 character maximum.\n\n### setCdnKeyId\n\nRequired. The ID to use for the CDN key, which will become the final\ncomponent of the CDN key's resource name.\n\nThis value should conform to RFC-1034, which restricts to\nlower-case letters, numbers, and hyphen, with the first character a\nletter, the last a letter or a number, and a 63 character maximum.\n\n### static::build"]]