Method: projects.locations.cdnKeys.create

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

string

Required. The project in which the CDN key should be created, in the form of projects/{project_number}/locations/{location}.

Query parameters

Parameters
cdnKeyId

string

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.