Google Cloud Video Live Stream V1 Client - Class InputAttachment (0.7.5)

Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class InputAttachment.

A group of information for attaching an input resource to this channel.

Generated from protobuf message google.cloud.video.livestream.v1.InputAttachment

Namespace

Google \ Cloud \ Video \ LiveStream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ key string

A unique key for this input attachment.

↳ input string

The resource name of an existing input, in the form of: projects/{project}/locations/{location}/inputs/{inputId}.

↳ automatic_failover Google\Cloud\Video\LiveStream\V1\InputAttachment\AutomaticFailover

Automatic failover configurations.

getKey

A unique key for this input attachment.

Returns
Type Description
string

setKey

A unique key for this input attachment.

Parameter
Name Description
var string
Returns
Type Description
$this

getInput

The resource name of an existing input, in the form of: projects/{project}/locations/{location}/inputs/{inputId}.

Returns
Type Description
string

setInput

The resource name of an existing input, in the form of: projects/{project}/locations/{location}/inputs/{inputId}.

Parameter
Name Description
var string
Returns
Type Description
$this

getAutomaticFailover

Automatic failover configurations.

Returns
Type Description
Google\Cloud\Video\LiveStream\V1\InputAttachment\AutomaticFailover|null

hasAutomaticFailover

clearAutomaticFailover

setAutomaticFailover

Automatic failover configurations.

Parameter
Name Description
var Google\Cloud\Video\LiveStream\V1\InputAttachment\AutomaticFailover
Returns
Type Description
$this