Resource: CdnKey
Configuration for a CDN key. Used by the Video Stitcher to sign URIs for fetching video manifests and signing media segments for playback.
JSON representation |
---|
{ "name" : string , "hostname" : string , // Union field |
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.
hostname
string
The hostname this key applies to.
cdn_key_config
. Configuration associated with the CDN key. cdn_key_config
can be only one of the following:googleCdnKey
object (
GoogleCdnKey
)
The configuration for a Google Cloud CDN key.
akamaiCdnKey
object (
AkamaiCdnKey
)
The configuration for an Akamai CDN key.
mediaCdnKey
object (
MediaCdnKey
)
The configuration for a Media CDN key.
GoogleCdnKey
Configuration for a Google Cloud CDN key.
JSON representation |
---|
{ "privateKey" : string , "keyName" : string } |
Fields | |
---|---|
privateKey
|
Input only. Secret for this Google Cloud CDN key. A base64-encoded string. |
keyName
|
The public name of the Google Cloud CDN key. |
AkamaiCdnKey
Configuration for an Akamai CDN key.
JSON representation |
---|
{ "tokenKey" : string } |
Fields | |
---|---|
tokenKey
|
Input only. Token key for the Akamai CDN edge configuration. A base64-encoded string. |
MediaCdnKey
Configuration for a Media CDN key.
JSON representation |
---|
{
"privateKey"
:
string
,
"keyName"
:
string
,
"tokenConfig"
:
{
object (
|
Fields | |
---|---|
privateKey
|
Input only. 64-byte ed25519 private key for this Media CDN key. A base64-encoded string. |
keyName
|
The keyset name of the Media CDN key. |
tokenConfig
|
Optional. If set, the URL will be signed using the Media CDN token. Otherwise, the URL would be signed using the standard Media CDN signature. |
TokenConfig
Configuration for a Media CDN token.
JSON representation |
---|
{ "queryParameter" : string } |
Fields | |
---|---|
queryParameter
|
Optional. The query parameter in which to find the token. The name must be 1-64 characters long and match the regular expression Defaults to |
Methods |
|
---|---|
|
Creates a new CDN key. |
|
Deletes the specified CDN key. |
|
Returns the specified CDN key. |
|
Lists all CDN keys in the specified project and location. |
|
Updates the specified CDN key. |