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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ key |
string
A unique key for this input attachment. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between. |
↳ input |
string
The resource name of an existing input, in the form of: |
↳ automatic_failover |
InputAttachment\AutomaticFailover
Automatic failover configurations. |
getKey
A unique key for this input attachment. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
Returns | |
---|---|
Type | Description |
string |
setKey
A unique key for this input attachment. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
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 |
InputAttachment\AutomaticFailover|null |
hasAutomaticFailover
clearAutomaticFailover
setAutomaticFailover
Automatic failover configurations.
Parameter | |
---|---|
Name | Description |
var |
InputAttachment\AutomaticFailover
|
Returns | |
---|---|
Type | Description |
$this |