Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class MediaCdnKey.
Configuration for a Media CDN key.
Generated from protobuf message google.cloud.video.stitcher.v1.MediaCdnKey
Namespace
Google \ Cloud \ Video \ Stitcher \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ private_key |
string
Input only. 64-byte ed25519 private key for this Media CDN key. |
↳ key_name |
string
The keyset name of the Media CDN key. |
↳ token_config |
MediaCdnKey\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. |
getPrivateKey
Input only. 64-byte ed25519 private key for this Media CDN key.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPrivateKey
Input only. 64-byte ed25519 private key for this Media CDN key.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKeyName
The keyset name of the Media CDN key.
| Returns | |
|---|---|
| Type | Description |
string |
|
setKeyName
The keyset name of the Media CDN key.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTokenConfig
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.
| Returns | |
|---|---|
| Type | Description |
MediaCdnKey\TokenConfig|null |
|
hasTokenConfig
clearTokenConfig
setTokenConfig
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.
| Parameter | |
|---|---|
| Name | Description |
var |
MediaCdnKey\TokenConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|