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 Distribution : IMessage<Distribution>, IEquatable<Distribution>, IDeepCloneable<Distribution>, IBufferMessage, IMessage

Reference documentation and code samples for the Live Stream v1 API class Distribution.

Distribution configuration.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Distribution](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Distribution.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Distribution](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Distribution.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Distribution](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Distribution.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

### Distribution()

    public Distribution()

### Distribution(Distribution)

    public Distribution(Distribution other)

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

## Properties

### DistributionStream

    public string DistributionStream { get; set; }

Required. `DistributionStream`
\[key\]\[google.cloud.video.livestream.v1.DistributionStream.key\]s that should
appear in this distribution output.

- For SRT protocol, only `ts` distribution streams can be specified.
- For RTMP protocol, only `flv` distribution streams can be specified.

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

### EndpointCase

    public Distribution.EndpointOneofCase EndpointCase { get; }

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

### Error

    public Status Error { get; set; }

Output only. Only present when the `state` is `ERROR`. The reason for the
error state of the distribution.

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

### Key

    public string Key { get; set; }

Required. A unique key for this distribution. 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.

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

### RtmpPush

    public RtmpPushOutputEndpoint RtmpPush { get; set; }

Output endpoint using RTMP_PUSH.

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

### SrtPush

    public SrtPushOutputEndpoint SrtPush { get; set; }

Output endpoint using SRT_PUSH.

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

### State

    public Distribution.Types.State State { get; set; }

Output only. State of the distribution.

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