Google Cloud Video Stitcher V1 Client - Class CdnKey (0.6.2)

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

Configuration for a CDN key. Used by the Video Stitcher to sign URIs for fetching video manifests and signing media segments for playback.

Generated from protobuf message google.cloud.video.stitcher.v1.CdnKey

Namespace

Google \ Cloud \ Video \ Stitcher \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ google_cdn_key Google\Cloud\Video\Stitcher\V1\GoogleCdnKey

The configuration for a Google Cloud CDN key.

↳ akamai_cdn_key Google\Cloud\Video\Stitcher\V1\AkamaiCdnKey

The configuration for an Akamai CDN key.

↳ media_cdn_key Google\Cloud\Video\Stitcher\V1\MediaCdnKey

The configuration for a Media CDN key.

↳ 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.

getGoogleCdnKey

The configuration for a Google Cloud CDN key.

Returns
TypeDescription
Google\Cloud\Video\Stitcher\V1\GoogleCdnKey|null

hasGoogleCdnKey

setGoogleCdnKey

The configuration for a Google Cloud CDN key.

Parameter
NameDescription
var Google\Cloud\Video\Stitcher\V1\GoogleCdnKey
Returns
TypeDescription
$this

getAkamaiCdnKey

The configuration for an Akamai CDN key.

Returns
TypeDescription
Google\Cloud\Video\Stitcher\V1\AkamaiCdnKey|null

hasAkamaiCdnKey

setAkamaiCdnKey

The configuration for an Akamai CDN key.

Parameter
NameDescription
var Google\Cloud\Video\Stitcher\V1\AkamaiCdnKey
Returns
TypeDescription
$this

getMediaCdnKey

The configuration for a Media CDN key.

Returns
TypeDescription
Google\Cloud\Video\Stitcher\V1\MediaCdnKey|null

hasMediaCdnKey

setMediaCdnKey

The configuration for a Media CDN key.

Parameter
NameDescription
var Google\Cloud\Video\Stitcher\V1\MediaCdnKey
Returns
TypeDescription
$this

getName

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.

Returns
TypeDescription
string

setName

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getHostname

The hostname this key applies to.

Returns
TypeDescription
string

setHostname

The hostname this key applies to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCdnKeyConfig

Returns
TypeDescription
string