- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Creates a new CDN key.
HTTP request
POST https://videostitcher.googleapis.com/v1/{parent=projects/*/locations/*}/cdnKeys
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The project in which the CDN key should be created, in the form of |
Query parameters
Parameters | |
---|---|
cdnKeyId |
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. |
Request body
The request body contains an instance of CdnKey
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
videostitcher.cdnKeys.create
For more information, see the IAM documentation.