Google Cloud Video Stitcher V1 Client - Class MediaCdnKey (0.9.1)

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 \ V1

Methods

__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 Google\Cloud\Video\Stitcher\V1\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
Google\Cloud\Video\Stitcher\V1\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 Google\Cloud\Video\Stitcher\V1\MediaCdnKey\TokenConfig
Returns
Type Description
$this