Method: projects.locations.cdnKeys.patch

Updates the specified CDN key. Only update fields specified in the call method body.

HTTP request

PATCH https://videostitcher.googleapis.com/v1/{cdnKey.name=projects/*/locations/*/cdnKeys/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
cdnKey.name

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.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of CdnKey.

Response body

If successful, the response body contains an 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 name resource:

  • videostitcher.cdnKeys.update

For more information, see the IAM documentation.