1.11.0 (latest) 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class Event.Types.InputSwitchTask : IMessage<Event.Types.InputSwitchTask>, IEquatable<Event.Types.InputSwitchTask>, IDeepCloneable<Event.Types.InputSwitchTask>, IBufferMessage, IMessage

Reference documentation and code samples for the Live Stream v1 API class Event.Types.InputSwitchTask.

Switches to another input stream. Automatic failover is then disabled.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Event.Types.InputSwitchTask

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Event](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event.Types.md.txt)[InputSwitchTask](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event.Types.InputSwitchTask.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Event](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event.Types.md.txt)[InputSwitchTask](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event.Types.InputSwitchTask.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Event](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event.Types.md.txt)[InputSwitchTask](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event.Types.InputSwitchTask.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Video.LiveStream.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.md.txt)

## Assembly

Google.Cloud.Video.LiveStream.V1.dll

## Constructors

### InputSwitchTask()

    public InputSwitchTask()

### InputSwitchTask(InputSwitchTask)

    public InputSwitchTask(Event.Types.InputSwitchTask other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `EventTypesInputSwitchTask` |

## Properties

### InputKey

    public string InputKey { get; set; }

The
\[InputAttachment.key\]\[google.cloud.video.livestream.v1.InputAttachment.key\]
of the input to switch to.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |