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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ google_cdn_key |
GoogleCdnKey
The configuration for a Google Cloud CDN key. |
↳ akamai_cdn_key |
AkamaiCdnKey
The configuration for an Akamai CDN key. |
↳ media_cdn_key |
MediaCdnKey
The configuration for a Media CDN key. |
↳ name |
string
The resource name of the CDN key, in the form of |
↳ hostname |
string
The hostname this key applies to. |
getGoogleCdnKey
The configuration for a Google Cloud CDN key.
Returns | |
---|---|
Type | Description |
GoogleCdnKey|null |
hasGoogleCdnKey
setGoogleCdnKey
The configuration for a Google Cloud CDN key.
Parameter | |
---|---|
Name | Description |
var |
GoogleCdnKey
|
Returns | |
---|---|
Type | Description |
$this |
getAkamaiCdnKey
The configuration for an Akamai CDN key.
Returns | |
---|---|
Type | Description |
AkamaiCdnKey|null |
hasAkamaiCdnKey
setAkamaiCdnKey
The configuration for an Akamai CDN key.
Parameter | |
---|---|
Name | Description |
var |
AkamaiCdnKey
|
Returns | |
---|---|
Type | Description |
$this |
getMediaCdnKey
The configuration for a Media CDN key.
Returns | |
---|---|
Type | Description |
MediaCdnKey|null |
hasMediaCdnKey
setMediaCdnKey
The configuration for a Media CDN key.
Parameter | |
---|---|
Name | Description |
var |
MediaCdnKey
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getHostname
The hostname this key applies to.
Returns | |
---|---|
Type | Description |
string |
setHostname
The hostname this key applies to.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCdnKeyConfig
Returns | |
---|---|
Type | Description |
string |