Google Cloud Video Stitcher V1 Client - Class TokenConfig (1.0.0)

Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class TokenConfig.

Configuration for a Media CDN token.

Generated from protobuf message google.cloud.video.stitcher.v1.MediaCdnKey.TokenConfig

Namespace

Google \ Cloud \ Video \ Stitcher \ V1 \ MediaCdnKey

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ query_parameter string

Optional. The query parameter in which to find the token. The name must be 1-64 characters long and match the regular expression [a-zA-Z]([a-zA-Z0-9_-])* which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit. Defaults to edge-cache-token.

getQueryParameter

Optional. The query parameter in which to find the token.

The name must be 1-64 characters long and match the regular expression [a-zA-Z]([a-zA-Z0-9_-])* which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit. Defaults to edge-cache-token.

Returns
Type Description
string

setQueryParameter

Optional. The query parameter in which to find the token.

The name must be 1-64 characters long and match the regular expression [a-zA-Z]([a-zA-Z0-9_-])* which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit. Defaults to edge-cache-token.

Parameter
Name Description
var string
Returns
Type Description
$this