# Live Stream V1 API - Class Google::Cloud::Video::LiveStream::V1::InputAttachment (v2.7.0)

2.7.0 (latest) 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.0 2.0.1 1.3.0 1.2.0 1.1.1 1.0.0 0.9.0 0.8.2 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::InputAttachment.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #automatic_failover

    def automatic_failover() -> ::Google::Cloud::Video::LiveStream::V1::InputAttachment::AutomaticFailover

**Returns**

- ([::Google::Cloud::Video::LiveStream::V1::InputAttachment::AutomaticFailover](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-live_stream-v1/latest/Google-Cloud-Video-LiveStream-V1-InputAttachment-AutomaticFailover)) --- Automatic failover configurations.

### #automatic_failover=

    def automatic_failover=(value) -> ::Google::Cloud::Video::LiveStream::V1::InputAttachment::AutomaticFailover

**Parameter**

- **value** ([::Google::Cloud::Video::LiveStream::V1::InputAttachment::AutomaticFailover](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-live_stream-v1/latest/Google-Cloud-Video-LiveStream-V1-InputAttachment-AutomaticFailover)) --- Automatic failover configurations.
**Returns**

- ([::Google::Cloud::Video::LiveStream::V1::InputAttachment::AutomaticFailover](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-live_stream-v1/latest/Google-Cloud-Video-LiveStream-V1-InputAttachment-AutomaticFailover)) --- Automatic failover configurations.

### #input

    def input() -> ::String

**Returns**

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

### #input=

    def input=(value) -> ::String

**Parameter**

- **value** (::String) --- The resource name of an existing input, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`.
**Returns**

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

### #key

    def key() -> ::String

**Returns**

- (::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.

### #key=

    def key=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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.