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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setKey

A unique key for this input attachment.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInput

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

Returns
TypeDescription
string

setInput

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAutomaticFailover

Automatic failover configurations.

Returns
TypeDescription
Google\Cloud\Video\LiveStream\V1\InputAttachment\AutomaticFailover|null

hasAutomaticFailover

clearAutomaticFailover

setAutomaticFailover

Automatic failover configurations.

Parameter
NameDescription
var Google\Cloud\Video\LiveStream\V1\InputAttachment\AutomaticFailover
Returns
TypeDescription
$this