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 | 
| Fields | |
|---|---|
| name | 
 The resource name of the CDN key, in the form of  | 
| hostname | 
 The hostname this key applies to. | 
| Union field cdn_key_config. Configuration associated with the CDN key.cdn_key_configcan be only one of the following: | |
| googleCdnKey | 
 The configuration for a Google Cloud CDN key. | 
| akamaiCdnKey | 
 The configuration for an Akamai CDN key. | 
| 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. |