# Live Stream v1 API - Class LivestreamServiceClient (1.11.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.11.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient)
- [1.10.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.10.0/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient)
- [1.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.9.0/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient)
- [1.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.8.0/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient)
- [1.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.7.0/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient)
- [1.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.6.0/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient)
- [1.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.5.0/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.4.0/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.3.0/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.2.0/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.1.0/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.0.0/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient)

    public abstract class LivestreamServiceClient

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

LivestreamService client wrapper, for convenient use.

## Inheritance

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

## 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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Derived Types

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

## 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)

## Assembly

Google.Cloud.Video.LiveStream.V1.dll

## Remarks

Using Live Stream API, you can generate live streams in the various
renditions and streaming formats. The streaming format include HTTP Live
Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send
a source stream in the various ways, including Real-Time Messaging
Protocol (RTMP) and Secure Reliable Transport (SRT).

## Properties

### CreateAssetOperationsClient

    public virtual OperationsClient CreateAssetOperationsClient { get; }

The long-running operations client for `CreateAsset`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateChannelOperationsClient

    public virtual OperationsClient CreateChannelOperationsClient { get; }

The long-running operations client for `CreateChannel`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateClipOperationsClient

    public virtual OperationsClient CreateClipOperationsClient { get; }

The long-running operations client for `CreateClip`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateDvrSessionOperationsClient

    public virtual OperationsClient CreateDvrSessionOperationsClient { get; }

The long-running operations client for `CreateDvrSession`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateInputOperationsClient

    public virtual OperationsClient CreateInputOperationsClient { get; }

The long-running operations client for `CreateInput`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DefaultEndpoint

    public static string DefaultEndpoint { get; }

The default endpoint for the LivestreamService service, which is a host of "livestream.googleapis.com" and a
port of 443.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DefaultScopes

    public static IReadOnlyList<string> DefaultScopes { get; }

The default LivestreamService scopes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1https://learn.microsoft.com/dotnet/api/system.string` |   |

**Remarks** The default LivestreamService scopes are:

- <https://www.googleapis.com/auth/cloud-platform>

<br />

### DeleteAssetOperationsClient

    public virtual OperationsClient DeleteAssetOperationsClient { get; }

The long-running operations client for `DeleteAsset`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeleteChannelOperationsClient

    public virtual OperationsClient DeleteChannelOperationsClient { get; }

The long-running operations client for `DeleteChannel`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeleteClipOperationsClient

    public virtual OperationsClient DeleteClipOperationsClient { get; }

The long-running operations client for `DeleteClip`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeleteDvrSessionOperationsClient

    public virtual OperationsClient DeleteDvrSessionOperationsClient { get; }

The long-running operations client for `DeleteDvrSession`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeleteInputOperationsClient

    public virtual OperationsClient DeleteInputOperationsClient { get; }

The long-running operations client for `DeleteInput`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### GrpcClient

    public virtual LivestreamService.LivestreamServiceClient GrpcClient { get; }

The underlying gRPC LivestreamService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.LivestreamServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.LivestreamService.LivestreamServiceClient` |   |

### LocationsClient

    public virtual LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

### ServiceMetadata

    public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceMetadata.html` |   |

### StartChannelOperationsClient

    public virtual OperationsClient StartChannelOperationsClient { get; }

The long-running operations client for `StartChannel`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### StartDistributionOperationsClient

    public virtual OperationsClient StartDistributionOperationsClient { get; }

The long-running operations client for `StartDistribution`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### StopChannelOperationsClient

    public virtual OperationsClient StopChannelOperationsClient { get; }

The long-running operations client for `StopChannel`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### StopDistributionOperationsClient

    public virtual OperationsClient StopDistributionOperationsClient { get; }

The long-running operations client for `StopDistribution`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### UpdateChannelOperationsClient

    public virtual OperationsClient UpdateChannelOperationsClient { get; }

The long-running operations client for `UpdateChannel`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### UpdateDvrSessionOperationsClient

    public virtual OperationsClient UpdateDvrSessionOperationsClient { get; }

The long-running operations client for `UpdateDvrSession`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### UpdateInputOperationsClient

    public virtual OperationsClient UpdateInputOperationsClient { get; }

The long-running operations client for `UpdateInput`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### UpdatePoolOperationsClient

    public virtual OperationsClient UpdatePoolOperationsClient { get; }

The long-running operations client for `UpdatePool`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

## Methods

### Create()

    public static LivestreamServiceClient Create()

Synchronously creates a [LivestreamServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient) using the default credentials, endpoint and
settings. To specify custom credentials or other settings, use [LivestreamServiceClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClientBuilder).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient` | The created [LivestreamServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient). |

### CreateAsset(LocationName, Asset, string, CallSettings)

    public virtual Operation<Asset, OperationMetadata> CreateAsset(LocationName parent, Asset asset, string assetId, CallSettings callSettings = null)

Creates a Asset with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `asset` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` Required. The asset resource to be created. |
| `assetId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the asset resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Assethttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Asset asset = new Asset();
    string assetId = "";
    // Make the request
    Operation<Asset, OperationMetadata> response = livestreamServiceClient.CreateAsset(parent, asset, assetId);

    // Poll until the returned long-running operation is complete
    Operation<Asset, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Asset result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Asset, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceCreateAsset(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Asset retrievedResult = retrievedResponse.Result;
    }

### CreateAsset(CreateAssetRequest, CallSettings)

    public virtual Operation<Asset, OperationMetadata> CreateAsset(CreateAssetRequest request, CallSettings callSettings = null)

Creates a Asset with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateAssetRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Assethttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    CreateAssetRequest request = new CreateAssetRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Asset = new Asset(),
        AssetId = "",
        RequestId = "",
    };
    // Make the request
    Operation<Asset, OperationMetadata> response = livestreamServiceClient.CreateAsset(request);

    // Poll until the returned long-running operation is complete
    Operation<Asset, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Asset result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Asset, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceCreateAsset(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Asset retrievedResult = retrievedResponse.Result;
    }

### CreateAsset(string, Asset, string, CallSettings)

    public virtual Operation<Asset, OperationMetadata> CreateAsset(string parent, Asset asset, string assetId, CallSettings callSettings = null)

Creates a Asset with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `asset` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` Required. The asset resource to be created. |
| `assetId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the asset resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Assethttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Asset asset = new Asset();
    string assetId = "";
    // Make the request
    Operation<Asset, OperationMetadata> response = livestreamServiceClient.CreateAsset(parent, asset, assetId);

    // Poll until the returned long-running operation is complete
    Operation<Asset, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Asset result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Asset, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceCreateAsset(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Asset retrievedResult = retrievedResponse.Result;
    }

### CreateAssetAsync(LocationName, Asset, string, CallSettings)

    public virtual Task<Operation<Asset, OperationMetadata>> CreateAssetAsync(LocationName parent, Asset asset, string assetId, CallSettings callSettings = null)

Creates a Asset with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `asset` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` Required. The asset resource to be created. |
| `assetId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the asset resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Assethttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Asset asset = new Asset();
    string assetId = "";
    // Make the request
    Operation<Asset, OperationMetadata> response = await livestreamServiceClient.CreateAssetAsync(parent, asset, assetId);

    // Poll until the returned long-running operation is complete
    Operation<Asset, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Asset result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Asset, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateAssetAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Asset retrievedResult = retrievedResponse.Result;
    }

### CreateAssetAsync(LocationName, Asset, string, CancellationToken)

    public virtual Task<Operation<Asset, OperationMetadata>> CreateAssetAsync(LocationName parent, Asset asset, string assetId, CancellationToken cancellationToken)

Creates a Asset with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `asset` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` Required. The asset resource to be created. |
| `assetId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the asset resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Assethttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Asset asset = new Asset();
    string assetId = "";
    // Make the request
    Operation<Asset, OperationMetadata> response = await livestreamServiceClient.CreateAssetAsync(parent, asset, assetId);

    // Poll until the returned long-running operation is complete
    Operation<Asset, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Asset result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Asset, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateAssetAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Asset retrievedResult = retrievedResponse.Result;
    }

### CreateAssetAsync(CreateAssetRequest, CallSettings)

    public virtual Task<Operation<Asset, OperationMetadata>> CreateAssetAsync(CreateAssetRequest request, CallSettings callSettings = null)

Creates a Asset with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateAssetRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Assethttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateAssetRequest request = new CreateAssetRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Asset = new Asset(),
        AssetId = "",
        RequestId = "",
    };
    // Make the request
    Operation<Asset, OperationMetadata> response = await livestreamServiceClient.CreateAssetAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Asset, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Asset result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Asset, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateAssetAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Asset retrievedResult = retrievedResponse.Result;
    }

### CreateAssetAsync(CreateAssetRequest, CancellationToken)

    public virtual Task<Operation<Asset, OperationMetadata>> CreateAssetAsync(CreateAssetRequest request, CancellationToken cancellationToken)

Creates a Asset with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateAssetRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Assethttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateAssetRequest request = new CreateAssetRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Asset = new Asset(),
        AssetId = "",
        RequestId = "",
    };
    // Make the request
    Operation<Asset, OperationMetadata> response = await livestreamServiceClient.CreateAssetAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Asset, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Asset result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Asset, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateAssetAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Asset retrievedResult = retrievedResponse.Result;
    }

### CreateAssetAsync(string, Asset, string, CallSettings)

    public virtual Task<Operation<Asset, OperationMetadata>> CreateAssetAsync(string parent, Asset asset, string assetId, CallSettings callSettings = null)

Creates a Asset with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `asset` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` Required. The asset resource to be created. |
| `assetId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the asset resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Assethttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Asset asset = new Asset();
    string assetId = "";
    // Make the request
    Operation<Asset, OperationMetadata> response = await livestreamServiceClient.CreateAssetAsync(parent, asset, assetId);

    // Poll until the returned long-running operation is complete
    Operation<Asset, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Asset result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Asset, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateAssetAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Asset retrievedResult = retrievedResponse.Result;
    }

### CreateAssetAsync(string, Asset, string, CancellationToken)

    public virtual Task<Operation<Asset, OperationMetadata>> CreateAssetAsync(string parent, Asset asset, string assetId, CancellationToken cancellationToken)

Creates a Asset with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `asset` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` Required. The asset resource to be created. |
| `assetId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the asset resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Assethttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Asset asset = new Asset();
    string assetId = "";
    // Make the request
    Operation<Asset, OperationMetadata> response = await livestreamServiceClient.CreateAssetAsync(parent, asset, assetId);

    // Poll until the returned long-running operation is complete
    Operation<Asset, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Asset result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Asset, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateAssetAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Asset retrievedResult = retrievedResponse.Result;
    }

### CreateAsync(CancellationToken)

    public static Task<LivestreamServiceClient> CreateAsync(CancellationToken cancellationToken = default)

Asynchronously creates a [LivestreamServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient) using the default credentials, endpoint and
settings. To specify custom credentials or other settings, use [LivestreamServiceClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClientBuilder).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` The [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use while creating the client. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient` | The task representing the created [LivestreamServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient). |

### CreateChannel(LocationName, Channel, string, CallSettings)

    public virtual Operation<Channel, OperationMetadata> CreateChannel(LocationName parent, Channel channel, string channelId, CallSettings callSettings = null)

Creates a channel with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `channel` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` Required. The channel resource to be created. |
| `channelId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the channel resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Channel channel = new Channel();
    string channelId = "";
    // Make the request
    Operation<Channel, OperationMetadata> response = livestreamServiceClient.CreateChannel(parent, channel, channelId);

    // Poll until the returned long-running operation is complete
    Operation<Channel, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Channel result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Channel, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceCreateChannel(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Channel retrievedResult = retrievedResponse.Result;
    }

### CreateChannel(CreateChannelRequest, CallSettings)

    public virtual Operation<Channel, OperationMetadata> CreateChannel(CreateChannelRequest request, CallSettings callSettings = null)

Creates a channel with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateChannelRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    CreateChannelRequest request = new CreateChannelRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Channel = new Channel(),
        ChannelId = "",
        RequestId = "",
    };
    // Make the request
    Operation<Channel, OperationMetadata> response = livestreamServiceClient.CreateChannel(request);

    // Poll until the returned long-running operation is complete
    Operation<Channel, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Channel result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Channel, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceCreateChannel(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Channel retrievedResult = retrievedResponse.Result;
    }

### CreateChannel(string, Channel, string, CallSettings)

    public virtual Operation<Channel, OperationMetadata> CreateChannel(string parent, Channel channel, string channelId, CallSettings callSettings = null)

Creates a channel with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `channel` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` Required. The channel resource to be created. |
| `channelId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the channel resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Channel channel = new Channel();
    string channelId = "";
    // Make the request
    Operation<Channel, OperationMetadata> response = livestreamServiceClient.CreateChannel(parent, channel, channelId);

    // Poll until the returned long-running operation is complete
    Operation<Channel, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Channel result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Channel, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceCreateChannel(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Channel retrievedResult = retrievedResponse.Result;
    }

### CreateChannelAsync(LocationName, Channel, string, CallSettings)

    public virtual Task<Operation<Channel, OperationMetadata>> CreateChannelAsync(LocationName parent, Channel channel, string channelId, CallSettings callSettings = null)

Creates a channel with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `channel` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` Required. The channel resource to be created. |
| `channelId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the channel resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Channel channel = new Channel();
    string channelId = "";
    // Make the request
    Operation<Channel, OperationMetadata> response = await livestreamServiceClient.CreateChannelAsync(parent, channel, channelId);

    // Poll until the returned long-running operation is complete
    Operation<Channel, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Channel result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Channel, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Channel retrievedResult = retrievedResponse.Result;
    }

### CreateChannelAsync(LocationName, Channel, string, CancellationToken)

    public virtual Task<Operation<Channel, OperationMetadata>> CreateChannelAsync(LocationName parent, Channel channel, string channelId, CancellationToken cancellationToken)

Creates a channel with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `channel` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` Required. The channel resource to be created. |
| `channelId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the channel resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Channel channel = new Channel();
    string channelId = "";
    // Make the request
    Operation<Channel, OperationMetadata> response = await livestreamServiceClient.CreateChannelAsync(parent, channel, channelId);

    // Poll until the returned long-running operation is complete
    Operation<Channel, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Channel result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Channel, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Channel retrievedResult = retrievedResponse.Result;
    }

### CreateChannelAsync(CreateChannelRequest, CallSettings)

    public virtual Task<Operation<Channel, OperationMetadata>> CreateChannelAsync(CreateChannelRequest request, CallSettings callSettings = null)

Creates a channel with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateChannelRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateChannelRequest request = new CreateChannelRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Channel = new Channel(),
        ChannelId = "",
        RequestId = "",
    };
    // Make the request
    Operation<Channel, OperationMetadata> response = await livestreamServiceClient.CreateChannelAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Channel, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Channel result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Channel, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Channel retrievedResult = retrievedResponse.Result;
    }

### CreateChannelAsync(CreateChannelRequest, CancellationToken)

    public virtual Task<Operation<Channel, OperationMetadata>> CreateChannelAsync(CreateChannelRequest request, CancellationToken cancellationToken)

Creates a channel with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateChannelRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateChannelRequest request = new CreateChannelRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Channel = new Channel(),
        ChannelId = "",
        RequestId = "",
    };
    // Make the request
    Operation<Channel, OperationMetadata> response = await livestreamServiceClient.CreateChannelAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Channel, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Channel result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Channel, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Channel retrievedResult = retrievedResponse.Result;
    }

### CreateChannelAsync(string, Channel, string, CallSettings)

    public virtual Task<Operation<Channel, OperationMetadata>> CreateChannelAsync(string parent, Channel channel, string channelId, CallSettings callSettings = null)

Creates a channel with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `channel` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` Required. The channel resource to be created. |
| `channelId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the channel resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Channel channel = new Channel();
    string channelId = "";
    // Make the request
    Operation<Channel, OperationMetadata> response = await livestreamServiceClient.CreateChannelAsync(parent, channel, channelId);

    // Poll until the returned long-running operation is complete
    Operation<Channel, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Channel result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Channel, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Channel retrievedResult = retrievedResponse.Result;
    }

### CreateChannelAsync(string, Channel, string, CancellationToken)

    public virtual Task<Operation<Channel, OperationMetadata>> CreateChannelAsync(string parent, Channel channel, string channelId, CancellationToken cancellationToken)

Creates a channel with the provided unique ID in the specified
region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `channel` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` Required. The channel resource to be created. |
| `channelId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the channel resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Channel channel = new Channel();
    string channelId = "";
    // Make the request
    Operation<Channel, OperationMetadata> response = await livestreamServiceClient.CreateChannelAsync(parent, channel, channelId);

    // Poll until the returned long-running operation is complete
    Operation<Channel, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Channel result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Channel, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Channel retrievedResult = retrievedResponse.Result;
    }

### CreateClip(ChannelName, Clip, string, CallSettings)

    public virtual Operation<Clip, OperationMetadata> CreateClip(ChannelName parent, Clip clip, string clipId, CallSettings callSettings = null)

Creates a clip with the provided clip ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The parent resource name, in the following form: `projects/{project}/locations/{location}/channels/{channel}`. |
| `clip` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` Required. The resource being created |
| `clipId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the clip resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Cliphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ChannelName parent = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    Clip clip = new Clip();
    string clipId = "";
    // Make the request
    Operation<Clip, OperationMetadata> response = livestreamServiceClient.CreateClip(parent, clip, clipId);

    // Poll until the returned long-running operation is complete
    Operation<Clip, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Clip result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Clip, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceCreateClip(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Clip retrievedResult = retrievedResponse.Result;
    }

### CreateClip(CreateClipRequest, CallSettings)

    public virtual Operation<Clip, OperationMetadata> CreateClip(CreateClipRequest request, CallSettings callSettings = null)

Creates a clip with the provided clip ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateClipRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Cliphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    CreateClipRequest request = new CreateClipRequest
    {
        ParentAsChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        ClipId = "",
        Clip = new Clip(),
        RequestId = "",
    };
    // Make the request
    Operation<Clip, OperationMetadata> response = livestreamServiceClient.CreateClip(request);

    // Poll until the returned long-running operation is complete
    Operation<Clip, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Clip result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Clip, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceCreateClip(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Clip retrievedResult = retrievedResponse.Result;
    }

### CreateClip(string, Clip, string, CallSettings)

    public virtual Operation<Clip, OperationMetadata> CreateClip(string parent, Clip clip, string clipId, CallSettings callSettings = null)

Creates a clip with the provided clip ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent resource name, in the following form: `projects/{project}/locations/{location}/channels/{channel}`. |
| `clip` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` Required. The resource being created |
| `clipId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the clip resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Cliphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    Clip clip = new Clip();
    string clipId = "";
    // Make the request
    Operation<Clip, OperationMetadata> response = livestreamServiceClient.CreateClip(parent, clip, clipId);

    // Poll until the returned long-running operation is complete
    Operation<Clip, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Clip result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Clip, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceCreateClip(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Clip retrievedResult = retrievedResponse.Result;
    }

### CreateClipAsync(ChannelName, Clip, string, CallSettings)

    public virtual Task<Operation<Clip, OperationMetadata>> CreateClipAsync(ChannelName parent, Clip clip, string clipId, CallSettings callSettings = null)

Creates a clip with the provided clip ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The parent resource name, in the following form: `projects/{project}/locations/{location}/channels/{channel}`. |
| `clip` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` Required. The resource being created |
| `clipId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the clip resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Cliphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName parent = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    Clip clip = new Clip();
    string clipId = "";
    // Make the request
    Operation<Clip, OperationMetadata> response = await livestreamServiceClient.CreateClipAsync(parent, clip, clipId);

    // Poll until the returned long-running operation is complete
    Operation<Clip, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Clip result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Clip, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateClipAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Clip retrievedResult = retrievedResponse.Result;
    }

### CreateClipAsync(ChannelName, Clip, string, CancellationToken)

    public virtual Task<Operation<Clip, OperationMetadata>> CreateClipAsync(ChannelName parent, Clip clip, string clipId, CancellationToken cancellationToken)

Creates a clip with the provided clip ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The parent resource name, in the following form: `projects/{project}/locations/{location}/channels/{channel}`. |
| `clip` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` Required. The resource being created |
| `clipId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the clip resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Cliphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName parent = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    Clip clip = new Clip();
    string clipId = "";
    // Make the request
    Operation<Clip, OperationMetadata> response = await livestreamServiceClient.CreateClipAsync(parent, clip, clipId);

    // Poll until the returned long-running operation is complete
    Operation<Clip, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Clip result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Clip, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateClipAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Clip retrievedResult = retrievedResponse.Result;
    }

### CreateClipAsync(CreateClipRequest, CallSettings)

    public virtual Task<Operation<Clip, OperationMetadata>> CreateClipAsync(CreateClipRequest request, CallSettings callSettings = null)

Creates a clip with the provided clip ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateClipRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Cliphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateClipRequest request = new CreateClipRequest
    {
        ParentAsChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        ClipId = "",
        Clip = new Clip(),
        RequestId = "",
    };
    // Make the request
    Operation<Clip, OperationMetadata> response = await livestreamServiceClient.CreateClipAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Clip, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Clip result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Clip, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateClipAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Clip retrievedResult = retrievedResponse.Result;
    }

### CreateClipAsync(CreateClipRequest, CancellationToken)

    public virtual Task<Operation<Clip, OperationMetadata>> CreateClipAsync(CreateClipRequest request, CancellationToken cancellationToken)

Creates a clip with the provided clip ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateClipRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Cliphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateClipRequest request = new CreateClipRequest
    {
        ParentAsChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        ClipId = "",
        Clip = new Clip(),
        RequestId = "",
    };
    // Make the request
    Operation<Clip, OperationMetadata> response = await livestreamServiceClient.CreateClipAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Clip, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Clip result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Clip, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateClipAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Clip retrievedResult = retrievedResponse.Result;
    }

### CreateClipAsync(string, Clip, string, CallSettings)

    public virtual Task<Operation<Clip, OperationMetadata>> CreateClipAsync(string parent, Clip clip, string clipId, CallSettings callSettings = null)

Creates a clip with the provided clip ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent resource name, in the following form: `projects/{project}/locations/{location}/channels/{channel}`. |
| `clip` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` Required. The resource being created |
| `clipId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the clip resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Cliphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    Clip clip = new Clip();
    string clipId = "";
    // Make the request
    Operation<Clip, OperationMetadata> response = await livestreamServiceClient.CreateClipAsync(parent, clip, clipId);

    // Poll until the returned long-running operation is complete
    Operation<Clip, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Clip result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Clip, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateClipAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Clip retrievedResult = retrievedResponse.Result;
    }

### CreateClipAsync(string, Clip, string, CancellationToken)

    public virtual Task<Operation<Clip, OperationMetadata>> CreateClipAsync(string parent, Clip clip, string clipId, CancellationToken cancellationToken)

Creates a clip with the provided clip ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent resource name, in the following form: `projects/{project}/locations/{location}/channels/{channel}`. |
| `clip` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` Required. The resource being created |
| `clipId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the clip resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Cliphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    Clip clip = new Clip();
    string clipId = "";
    // Make the request
    Operation<Clip, OperationMetadata> response = await livestreamServiceClient.CreateClipAsync(parent, clip, clipId);

    // Poll until the returned long-running operation is complete
    Operation<Clip, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Clip result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Clip, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateClipAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Clip retrievedResult = retrievedResponse.Result;
    }

### CreateDvrSession(ChannelName, DvrSession, string, CallSettings)

    public virtual Operation<DvrSession, OperationMetadata> CreateDvrSession(ChannelName parent, DvrSession dvrSession, string dvrSessionId, CallSettings callSettings = null)

Creates a DVR session with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The parent resource name, in the following form: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `dvrSession` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` Required. The resource being created |
| `dvrSessionId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the DVR session resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ChannelName parent = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    DvrSession dvrSession = new DvrSession();
    string dvrSessionId = "";
    // Make the request
    Operation<DvrSession, OperationMetadata> response = livestreamServiceClient.CreateDvrSession(parent, dvrSession, dvrSessionId);

    // Poll until the returned long-running operation is complete
    Operation<DvrSession, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DvrSession result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DvrSession, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceCreateDvrSession(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DvrSession retrievedResult = retrievedResponse.Result;
    }

### CreateDvrSession(CreateDvrSessionRequest, CallSettings)

    public virtual Operation<DvrSession, OperationMetadata> CreateDvrSession(CreateDvrSessionRequest request, CallSettings callSettings = null)

Creates a DVR session with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateDvrSessionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    CreateDvrSessionRequest request = new CreateDvrSessionRequest
    {
        ParentAsChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        DvrSessionId = "",
        DvrSession = new DvrSession(),
        RequestId = "",
    };
    // Make the request
    Operation<DvrSession, OperationMetadata> response = livestreamServiceClient.CreateDvrSession(request);

    // Poll until the returned long-running operation is complete
    Operation<DvrSession, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DvrSession result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DvrSession, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceCreateDvrSession(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DvrSession retrievedResult = retrievedResponse.Result;
    }

### CreateDvrSession(string, DvrSession, string, CallSettings)

    public virtual Operation<DvrSession, OperationMetadata> CreateDvrSession(string parent, DvrSession dvrSession, string dvrSessionId, CallSettings callSettings = null)

Creates a DVR session with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent resource name, in the following form: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `dvrSession` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` Required. The resource being created |
| `dvrSessionId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the DVR session resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    DvrSession dvrSession = new DvrSession();
    string dvrSessionId = "";
    // Make the request
    Operation<DvrSession, OperationMetadata> response = livestreamServiceClient.CreateDvrSession(parent, dvrSession, dvrSessionId);

    // Poll until the returned long-running operation is complete
    Operation<DvrSession, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DvrSession result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DvrSession, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceCreateDvrSession(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DvrSession retrievedResult = retrievedResponse.Result;
    }

### CreateDvrSessionAsync(ChannelName, DvrSession, string, CallSettings)

    public virtual Task<Operation<DvrSession, OperationMetadata>> CreateDvrSessionAsync(ChannelName parent, DvrSession dvrSession, string dvrSessionId, CallSettings callSettings = null)

Creates a DVR session with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The parent resource name, in the following form: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `dvrSession` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` Required. The resource being created |
| `dvrSessionId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the DVR session resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName parent = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    DvrSession dvrSession = new DvrSession();
    string dvrSessionId = "";
    // Make the request
    Operation<DvrSession, OperationMetadata> response = await livestreamServiceClient.CreateDvrSessionAsync(parent, dvrSession, dvrSessionId);

    // Poll until the returned long-running operation is complete
    Operation<DvrSession, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DvrSession result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DvrSession, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateDvrSessionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DvrSession retrievedResult = retrievedResponse.Result;
    }

### CreateDvrSessionAsync(ChannelName, DvrSession, string, CancellationToken)

    public virtual Task<Operation<DvrSession, OperationMetadata>> CreateDvrSessionAsync(ChannelName parent, DvrSession dvrSession, string dvrSessionId, CancellationToken cancellationToken)

Creates a DVR session with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The parent resource name, in the following form: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `dvrSession` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` Required. The resource being created |
| `dvrSessionId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the DVR session resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName parent = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    DvrSession dvrSession = new DvrSession();
    string dvrSessionId = "";
    // Make the request
    Operation<DvrSession, OperationMetadata> response = await livestreamServiceClient.CreateDvrSessionAsync(parent, dvrSession, dvrSessionId);

    // Poll until the returned long-running operation is complete
    Operation<DvrSession, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DvrSession result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DvrSession, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateDvrSessionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DvrSession retrievedResult = retrievedResponse.Result;
    }

### CreateDvrSessionAsync(CreateDvrSessionRequest, CallSettings)

    public virtual Task<Operation<DvrSession, OperationMetadata>> CreateDvrSessionAsync(CreateDvrSessionRequest request, CallSettings callSettings = null)

Creates a DVR session with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateDvrSessionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateDvrSessionRequest request = new CreateDvrSessionRequest
    {
        ParentAsChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        DvrSessionId = "",
        DvrSession = new DvrSession(),
        RequestId = "",
    };
    // Make the request
    Operation<DvrSession, OperationMetadata> response = await livestreamServiceClient.CreateDvrSessionAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DvrSession, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DvrSession result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DvrSession, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateDvrSessionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DvrSession retrievedResult = retrievedResponse.Result;
    }

### CreateDvrSessionAsync(CreateDvrSessionRequest, CancellationToken)

    public virtual Task<Operation<DvrSession, OperationMetadata>> CreateDvrSessionAsync(CreateDvrSessionRequest request, CancellationToken cancellationToken)

Creates a DVR session with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateDvrSessionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateDvrSessionRequest request = new CreateDvrSessionRequest
    {
        ParentAsChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        DvrSessionId = "",
        DvrSession = new DvrSession(),
        RequestId = "",
    };
    // Make the request
    Operation<DvrSession, OperationMetadata> response = await livestreamServiceClient.CreateDvrSessionAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DvrSession, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DvrSession result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DvrSession, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateDvrSessionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DvrSession retrievedResult = retrievedResponse.Result;
    }

### CreateDvrSessionAsync(string, DvrSession, string, CallSettings)

    public virtual Task<Operation<DvrSession, OperationMetadata>> CreateDvrSessionAsync(string parent, DvrSession dvrSession, string dvrSessionId, CallSettings callSettings = null)

Creates a DVR session with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent resource name, in the following form: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `dvrSession` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` Required. The resource being created |
| `dvrSessionId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the DVR session resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    DvrSession dvrSession = new DvrSession();
    string dvrSessionId = "";
    // Make the request
    Operation<DvrSession, OperationMetadata> response = await livestreamServiceClient.CreateDvrSessionAsync(parent, dvrSession, dvrSessionId);

    // Poll until the returned long-running operation is complete
    Operation<DvrSession, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DvrSession result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DvrSession, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateDvrSessionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DvrSession retrievedResult = retrievedResponse.Result;
    }

### CreateDvrSessionAsync(string, DvrSession, string, CancellationToken)

    public virtual Task<Operation<DvrSession, OperationMetadata>> CreateDvrSessionAsync(string parent, DvrSession dvrSession, string dvrSessionId, CancellationToken cancellationToken)

Creates a DVR session with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent resource name, in the following form: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `dvrSession` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` Required. The resource being created |
| `dvrSessionId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the DVR session resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    DvrSession dvrSession = new DvrSession();
    string dvrSessionId = "";
    // Make the request
    Operation<DvrSession, OperationMetadata> response = await livestreamServiceClient.CreateDvrSessionAsync(parent, dvrSession, dvrSessionId);

    // Poll until the returned long-running operation is complete
    Operation<DvrSession, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DvrSession result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DvrSession, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateDvrSessionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DvrSession retrievedResult = retrievedResponse.Result;
    }

### CreateEvent(ChannelName, Event, string, CallSettings)

    public virtual Event CreateEvent(ChannelName parent, Event @event, string eventId, CallSettings callSettings = null)

Creates an event with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The parent channel for the resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `event` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` Required. The event resource to be created. |
| `eventId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the event resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ChannelName parent = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    Event @event = new Event();
    string eventId = "";
    // Make the request
    Event response = livestreamServiceClient.CreateEvent(parent, @event, eventId);

### CreateEvent(CreateEventRequest, CallSettings)

    public virtual Event CreateEvent(CreateEventRequest request, CallSettings callSettings = null)

Creates an event with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateEventRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    CreateEventRequest request = new CreateEventRequest
    {
        ParentAsChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        Event = new Event(),
        EventId = "",
        RequestId = "",
    };
    // Make the request
    Event response = livestreamServiceClient.CreateEvent(request);

### CreateEvent(string, Event, string, CallSettings)

    public virtual Event CreateEvent(string parent, Event @event, string eventId, CallSettings callSettings = null)

Creates an event with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent channel for the resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `event` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` Required. The event resource to be created. |
| `eventId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the event resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    Event @event = new Event();
    string eventId = "";
    // Make the request
    Event response = livestreamServiceClient.CreateEvent(parent, @event, eventId);

### CreateEventAsync(ChannelName, Event, string, CallSettings)

    public virtual Task<Event> CreateEventAsync(ChannelName parent, Event @event, string eventId, CallSettings callSettings = null)

Creates an event with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The parent channel for the resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `event` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` Required. The event resource to be created. |
| `eventId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the event resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName parent = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    Event @event = new Event();
    string eventId = "";
    // Make the request
    Event response = await livestreamServiceClient.CreateEventAsync(parent, @event, eventId);

### CreateEventAsync(ChannelName, Event, string, CancellationToken)

    public virtual Task<Event> CreateEventAsync(ChannelName parent, Event @event, string eventId, CancellationToken cancellationToken)

Creates an event with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The parent channel for the resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `event` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` Required. The event resource to be created. |
| `eventId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the event resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName parent = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    Event @event = new Event();
    string eventId = "";
    // Make the request
    Event response = await livestreamServiceClient.CreateEventAsync(parent, @event, eventId);

### CreateEventAsync(CreateEventRequest, CallSettings)

    public virtual Task<Event> CreateEventAsync(CreateEventRequest request, CallSettings callSettings = null)

Creates an event with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateEventRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateEventRequest request = new CreateEventRequest
    {
        ParentAsChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        Event = new Event(),
        EventId = "",
        RequestId = "",
    };
    // Make the request
    Event response = await livestreamServiceClient.CreateEventAsync(request);

### CreateEventAsync(CreateEventRequest, CancellationToken)

    public virtual Task<Event> CreateEventAsync(CreateEventRequest request, CancellationToken cancellationToken)

Creates an event with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateEventRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateEventRequest request = new CreateEventRequest
    {
        ParentAsChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        Event = new Event(),
        EventId = "",
        RequestId = "",
    };
    // Make the request
    Event response = await livestreamServiceClient.CreateEventAsync(request);

### CreateEventAsync(string, Event, string, CallSettings)

    public virtual Task<Event> CreateEventAsync(string parent, Event @event, string eventId, CallSettings callSettings = null)

Creates an event with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent channel for the resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `event` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` Required. The event resource to be created. |
| `eventId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the event resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    Event @event = new Event();
    string eventId = "";
    // Make the request
    Event response = await livestreamServiceClient.CreateEventAsync(parent, @event, eventId);

### CreateEventAsync(string, Event, string, CancellationToken)

    public virtual Task<Event> CreateEventAsync(string parent, Event @event, string eventId, CancellationToken cancellationToken)

Creates an event with the provided unique ID in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent channel for the resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `event` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` Required. The event resource to be created. |
| `eventId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the event resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    Event @event = new Event();
    string eventId = "";
    // Make the request
    Event response = await livestreamServiceClient.CreateEventAsync(parent, @event, eventId);

### CreateInput(LocationName, Input, string, CallSettings)

    public virtual Operation<Input, OperationMetadata> CreateInput(LocationName parent, Input input, string inputId, CallSettings callSettings = null)

Creates an input with the provided unique ID in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `input` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` Required. The input resource to be created. |
| `inputId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the input resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Input input = new Input();
    string inputId = "";
    // Make the request
    Operation<Input, OperationMetadata> response = livestreamServiceClient.CreateInput(parent, input, inputId);

    // Poll until the returned long-running operation is complete
    Operation<Input, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Input result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Input, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceCreateInput(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Input retrievedResult = retrievedResponse.Result;
    }

### CreateInput(CreateInputRequest, CallSettings)

    public virtual Operation<Input, OperationMetadata> CreateInput(CreateInputRequest request, CallSettings callSettings = null)

Creates an input with the provided unique ID in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateInputRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    CreateInputRequest request = new CreateInputRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Input = new Input(),
        InputId = "",
        RequestId = "",
    };
    // Make the request
    Operation<Input, OperationMetadata> response = livestreamServiceClient.CreateInput(request);

    // Poll until the returned long-running operation is complete
    Operation<Input, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Input result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Input, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceCreateInput(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Input retrievedResult = retrievedResponse.Result;
    }

### CreateInput(string, Input, string, CallSettings)

    public virtual Operation<Input, OperationMetadata> CreateInput(string parent, Input input, string inputId, CallSettings callSettings = null)

Creates an input with the provided unique ID in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `input` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` Required. The input resource to be created. |
| `inputId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the input resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Input input = new Input();
    string inputId = "";
    // Make the request
    Operation<Input, OperationMetadata> response = livestreamServiceClient.CreateInput(parent, input, inputId);

    // Poll until the returned long-running operation is complete
    Operation<Input, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Input result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Input, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceCreateInput(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Input retrievedResult = retrievedResponse.Result;
    }

### CreateInputAsync(LocationName, Input, string, CallSettings)

    public virtual Task<Operation<Input, OperationMetadata>> CreateInputAsync(LocationName parent, Input input, string inputId, CallSettings callSettings = null)

Creates an input with the provided unique ID in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `input` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` Required. The input resource to be created. |
| `inputId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the input resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Input input = new Input();
    string inputId = "";
    // Make the request
    Operation<Input, OperationMetadata> response = await livestreamServiceClient.CreateInputAsync(parent, input, inputId);

    // Poll until the returned long-running operation is complete
    Operation<Input, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Input result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Input, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateInputAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Input retrievedResult = retrievedResponse.Result;
    }

### CreateInputAsync(LocationName, Input, string, CancellationToken)

    public virtual Task<Operation<Input, OperationMetadata>> CreateInputAsync(LocationName parent, Input input, string inputId, CancellationToken cancellationToken)

Creates an input with the provided unique ID in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `input` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` Required. The input resource to be created. |
| `inputId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the input resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Input input = new Input();
    string inputId = "";
    // Make the request
    Operation<Input, OperationMetadata> response = await livestreamServiceClient.CreateInputAsync(parent, input, inputId);

    // Poll until the returned long-running operation is complete
    Operation<Input, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Input result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Input, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateInputAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Input retrievedResult = retrievedResponse.Result;
    }

### CreateInputAsync(CreateInputRequest, CallSettings)

    public virtual Task<Operation<Input, OperationMetadata>> CreateInputAsync(CreateInputRequest request, CallSettings callSettings = null)

Creates an input with the provided unique ID in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateInputRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateInputRequest request = new CreateInputRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Input = new Input(),
        InputId = "",
        RequestId = "",
    };
    // Make the request
    Operation<Input, OperationMetadata> response = await livestreamServiceClient.CreateInputAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Input, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Input result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Input, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateInputAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Input retrievedResult = retrievedResponse.Result;
    }

### CreateInputAsync(CreateInputRequest, CancellationToken)

    public virtual Task<Operation<Input, OperationMetadata>> CreateInputAsync(CreateInputRequest request, CancellationToken cancellationToken)

Creates an input with the provided unique ID in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.CreateInputRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateInputRequest request = new CreateInputRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Input = new Input(),
        InputId = "",
        RequestId = "",
    };
    // Make the request
    Operation<Input, OperationMetadata> response = await livestreamServiceClient.CreateInputAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Input, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Input result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Input, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateInputAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Input retrievedResult = retrievedResponse.Result;
    }

### CreateInputAsync(string, Input, string, CallSettings)

    public virtual Task<Operation<Input, OperationMetadata>> CreateInputAsync(string parent, Input input, string inputId, CallSettings callSettings = null)

Creates an input with the provided unique ID in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `input` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` Required. The input resource to be created. |
| `inputId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the input resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Input input = new Input();
    string inputId = "";
    // Make the request
    Operation<Input, OperationMetadata> response = await livestreamServiceClient.CreateInputAsync(parent, input, inputId);

    // Poll until the returned long-running operation is complete
    Operation<Input, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Input result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Input, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateInputAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Input retrievedResult = retrievedResponse.Result;
    }

### CreateInputAsync(string, Input, string, CancellationToken)

    public virtual Task<Operation<Input, OperationMetadata>> CreateInputAsync(string parent, Input input, string inputId, CancellationToken cancellationToken)

Creates an input with the provided unique ID in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `input` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` Required. The input resource to be created. |
| `inputId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID of the input resource to be created. This value must be 1-63 characters, begin and end with a lower-case letter or a number, and consist of only lower-case letters, numbers, and hyphens. In other words, it must match the following regex: `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Input input = new Input();
    string inputId = "";
    // Make the request
    Operation<Input, OperationMetadata> response = await livestreamServiceClient.CreateInputAsync(parent, input, inputId);

    // Poll until the returned long-running operation is complete
    Operation<Input, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Input result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Input, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceCreateInputAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Input retrievedResult = retrievedResponse.Result;
    }

### DeleteAsset(AssetName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteAsset(AssetName name, CallSettings callSettings = null)

Deletes the specified asset if it is not used.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.AssetName` Required. The name of the asset resource, in the form of: `projects/{project}/locations/{location}/assets/{assetId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    AssetName name = AssetName.FromProjectLocationAsset("[PROJECT]", "[LOCATION]", "[ASSET]");
    // Make the request
    Operation<Empty, OperationMetadata> response = livestreamServiceClient.DeleteAsset(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceDeleteAsset(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteAsset(DeleteAssetRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteAsset(DeleteAssetRequest request, CallSettings callSettings = null)

Deletes the specified asset if it is not used.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteAssetRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    DeleteAssetRequest request = new DeleteAssetRequest
    {
        AssetName = AssetName.FromProjectLocationAsset("[PROJECT]", "[LOCATION]", "[ASSET]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = livestreamServiceClient.DeleteAsset(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceDeleteAsset(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteAsset(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteAsset(string name, CallSettings callSettings = null)

Deletes the specified asset if it is not used.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the asset resource, in the form of: `projects/{project}/locations/{location}/assets/{assetId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/assets/[ASSET]";
    // Make the request
    Operation<Empty, OperationMetadata> response = livestreamServiceClient.DeleteAsset(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceDeleteAsset(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteAssetAsync(AssetName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAssetAsync(AssetName name, CallSettings callSettings = null)

Deletes the specified asset if it is not used.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.AssetName` Required. The name of the asset resource, in the form of: `projects/{project}/locations/{location}/assets/{assetId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    AssetName name = AssetName.FromProjectLocationAsset("[PROJECT]", "[LOCATION]", "[ASSET]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteAssetAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteAssetAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteAssetAsync(AssetName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAssetAsync(AssetName name, CancellationToken cancellationToken)

Deletes the specified asset if it is not used.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.AssetName` Required. The name of the asset resource, in the form of: `projects/{project}/locations/{location}/assets/{assetId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    AssetName name = AssetName.FromProjectLocationAsset("[PROJECT]", "[LOCATION]", "[ASSET]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteAssetAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteAssetAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteAssetAsync(DeleteAssetRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAssetAsync(DeleteAssetRequest request, CallSettings callSettings = null)

Deletes the specified asset if it is not used.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteAssetRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DeleteAssetRequest request = new DeleteAssetRequest
    {
        AssetName = AssetName.FromProjectLocationAsset("[PROJECT]", "[LOCATION]", "[ASSET]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteAssetAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteAssetAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteAssetAsync(DeleteAssetRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAssetAsync(DeleteAssetRequest request, CancellationToken cancellationToken)

Deletes the specified asset if it is not used.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteAssetRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DeleteAssetRequest request = new DeleteAssetRequest
    {
        AssetName = AssetName.FromProjectLocationAsset("[PROJECT]", "[LOCATION]", "[ASSET]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteAssetAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteAssetAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteAssetAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAssetAsync(string name, CallSettings callSettings = null)

Deletes the specified asset if it is not used.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the asset resource, in the form of: `projects/{project}/locations/{location}/assets/{assetId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/assets/[ASSET]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteAssetAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteAssetAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteAssetAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAssetAsync(string name, CancellationToken cancellationToken)

Deletes the specified asset if it is not used.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the asset resource, in the form of: `projects/{project}/locations/{location}/assets/{assetId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/assets/[ASSET]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteAssetAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteAssetAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteChannel(ChannelName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteChannel(ChannelName name, CallSettings callSettings = null)

Deletes the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    Operation<Empty, OperationMetadata> response = livestreamServiceClient.DeleteChannel(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceDeleteChannel(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteChannel(DeleteChannelRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteChannel(DeleteChannelRequest request, CallSettings callSettings = null)

Deletes the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteChannelRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    DeleteChannelRequest request = new DeleteChannelRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        RequestId = "",
        Force = false,
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = livestreamServiceClient.DeleteChannel(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceDeleteChannel(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteChannel(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteChannel(string name, CallSettings callSettings = null)

Deletes the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    Operation<Empty, OperationMetadata> response = livestreamServiceClient.DeleteChannel(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceDeleteChannel(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteChannelAsync(ChannelName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteChannelAsync(ChannelName name, CallSettings callSettings = null)

Deletes the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteChannelAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteChannelAsync(ChannelName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteChannelAsync(ChannelName name, CancellationToken cancellationToken)

Deletes the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteChannelAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteChannelAsync(DeleteChannelRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteChannelAsync(DeleteChannelRequest request, CallSettings callSettings = null)

Deletes the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteChannelRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DeleteChannelRequest request = new DeleteChannelRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        RequestId = "",
        Force = false,
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteChannelAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteChannelAsync(DeleteChannelRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteChannelAsync(DeleteChannelRequest request, CancellationToken cancellationToken)

Deletes the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteChannelRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DeleteChannelRequest request = new DeleteChannelRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        RequestId = "",
        Force = false,
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteChannelAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteChannelAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteChannelAsync(string name, CallSettings callSettings = null)

Deletes the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteChannelAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteChannelAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteChannelAsync(string name, CancellationToken cancellationToken)

Deletes the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteChannelAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteClip(ClipName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteClip(ClipName name, CallSettings callSettings = null)

Deletes the specified clip job resource. This method only deletes the clip
job and does not delete the VOD clip stored in Cloud Storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ClipName` Required. The name of the clip resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ClipName name = ClipName.FromProjectLocationChannelClip("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[CLIP]");
    // Make the request
    Operation<Empty, OperationMetadata> response = livestreamServiceClient.DeleteClip(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceDeleteClip(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteClip(DeleteClipRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteClip(DeleteClipRequest request, CallSettings callSettings = null)

Deletes the specified clip job resource. This method only deletes the clip
job and does not delete the VOD clip stored in Cloud Storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteClipRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    DeleteClipRequest request = new DeleteClipRequest
    {
        ClipName = ClipName.FromProjectLocationChannelClip("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[CLIP]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = livestreamServiceClient.DeleteClip(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceDeleteClip(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteClip(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteClip(string name, CallSettings callSettings = null)

Deletes the specified clip job resource. This method only deletes the clip
job and does not delete the VOD clip stored in Cloud Storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the clip resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/clips/[CLIP]";
    // Make the request
    Operation<Empty, OperationMetadata> response = livestreamServiceClient.DeleteClip(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceDeleteClip(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteClipAsync(ClipName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteClipAsync(ClipName name, CallSettings callSettings = null)

Deletes the specified clip job resource. This method only deletes the clip
job and does not delete the VOD clip stored in Cloud Storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ClipName` Required. The name of the clip resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ClipName name = ClipName.FromProjectLocationChannelClip("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[CLIP]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteClipAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteClipAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteClipAsync(ClipName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteClipAsync(ClipName name, CancellationToken cancellationToken)

Deletes the specified clip job resource. This method only deletes the clip
job and does not delete the VOD clip stored in Cloud Storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ClipName` Required. The name of the clip resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ClipName name = ClipName.FromProjectLocationChannelClip("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[CLIP]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteClipAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteClipAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteClipAsync(DeleteClipRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteClipAsync(DeleteClipRequest request, CallSettings callSettings = null)

Deletes the specified clip job resource. This method only deletes the clip
job and does not delete the VOD clip stored in Cloud Storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteClipRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DeleteClipRequest request = new DeleteClipRequest
    {
        ClipName = ClipName.FromProjectLocationChannelClip("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[CLIP]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteClipAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteClipAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteClipAsync(DeleteClipRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteClipAsync(DeleteClipRequest request, CancellationToken cancellationToken)

Deletes the specified clip job resource. This method only deletes the clip
job and does not delete the VOD clip stored in Cloud Storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteClipRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DeleteClipRequest request = new DeleteClipRequest
    {
        ClipName = ClipName.FromProjectLocationChannelClip("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[CLIP]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteClipAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteClipAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteClipAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteClipAsync(string name, CallSettings callSettings = null)

Deletes the specified clip job resource. This method only deletes the clip
job and does not delete the VOD clip stored in Cloud Storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the clip resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/clips/[CLIP]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteClipAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteClipAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteClipAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteClipAsync(string name, CancellationToken cancellationToken)

Deletes the specified clip job resource. This method only deletes the clip
job and does not delete the VOD clip stored in Cloud Storage.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the clip resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/clips/[CLIP]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteClipAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteClipAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDvrSession(DeleteDvrSessionRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDvrSession(DeleteDvrSessionRequest request, CallSettings callSettings = null)

Deletes the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteDvrSessionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    DeleteDvrSessionRequest request = new DeleteDvrSessionRequest
    {
        DvrSessionName = DvrSessionName.FromProjectLocationChannelDvrSession("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[DVR_SESSION]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = livestreamServiceClient.DeleteDvrSession(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceDeleteDvrSession(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDvrSession(DvrSessionName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDvrSession(DvrSessionName name, CallSettings callSettings = null)

Deletes the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionName` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    DvrSessionName name = DvrSessionName.FromProjectLocationChannelDvrSession("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[DVR_SESSION]");
    // Make the request
    Operation<Empty, OperationMetadata> response = livestreamServiceClient.DeleteDvrSession(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceDeleteDvrSession(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDvrSession(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteDvrSession(string name, CallSettings callSettings = null)

Deletes the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/dvrSessions/[DVR_SESSION]";
    // Make the request
    Operation<Empty, OperationMetadata> response = livestreamServiceClient.DeleteDvrSession(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceDeleteDvrSession(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDvrSessionAsync(DeleteDvrSessionRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDvrSessionAsync(DeleteDvrSessionRequest request, CallSettings callSettings = null)

Deletes the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteDvrSessionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DeleteDvrSessionRequest request = new DeleteDvrSessionRequest
    {
        DvrSessionName = DvrSessionName.FromProjectLocationChannelDvrSession("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[DVR_SESSION]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteDvrSessionAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteDvrSessionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDvrSessionAsync(DeleteDvrSessionRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDvrSessionAsync(DeleteDvrSessionRequest request, CancellationToken cancellationToken)

Deletes the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteDvrSessionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DeleteDvrSessionRequest request = new DeleteDvrSessionRequest
    {
        DvrSessionName = DvrSessionName.FromProjectLocationChannelDvrSession("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[DVR_SESSION]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteDvrSessionAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteDvrSessionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDvrSessionAsync(DvrSessionName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDvrSessionAsync(DvrSessionName name, CallSettings callSettings = null)

Deletes the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionName` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DvrSessionName name = DvrSessionName.FromProjectLocationChannelDvrSession("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[DVR_SESSION]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteDvrSessionAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteDvrSessionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDvrSessionAsync(DvrSessionName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDvrSessionAsync(DvrSessionName name, CancellationToken cancellationToken)

Deletes the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionName` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DvrSessionName name = DvrSessionName.FromProjectLocationChannelDvrSession("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[DVR_SESSION]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteDvrSessionAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteDvrSessionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDvrSessionAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDvrSessionAsync(string name, CallSettings callSettings = null)

Deletes the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/dvrSessions/[DVR_SESSION]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteDvrSessionAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteDvrSessionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteDvrSessionAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteDvrSessionAsync(string name, CancellationToken cancellationToken)

Deletes the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/dvrSessions/[DVR_SESSION]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteDvrSessionAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteDvrSessionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteEvent(DeleteEventRequest, CallSettings)

    public virtual void DeleteEvent(DeleteEventRequest request, CallSettings callSettings = null)

Deletes the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteEventRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    DeleteEventRequest request = new DeleteEventRequest
    {
        EventName = EventName.FromProjectLocationChannelEvent("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[EVENT]"),
        RequestId = "",
    };
    // Make the request
    livestreamServiceClient.DeleteEvent(request);

### DeleteEvent(EventName, CallSettings)

    public virtual void DeleteEvent(EventName name, CallSettings callSettings = null)

Deletes the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.EventName` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    EventName name = EventName.FromProjectLocationChannelEvent("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[EVENT]");
    // Make the request
    livestreamServiceClient.DeleteEvent(name);

### DeleteEvent(string, CallSettings)

    public virtual void DeleteEvent(string name, CallSettings callSettings = null)

Deletes the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/events/[EVENT]";
    // Make the request
    livestreamServiceClient.DeleteEvent(name);

### DeleteEventAsync(DeleteEventRequest, CallSettings)

    public virtual Task DeleteEventAsync(DeleteEventRequest request, CallSettings callSettings = null)

Deletes the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteEventRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DeleteEventRequest request = new DeleteEventRequest
    {
        EventName = EventName.FromProjectLocationChannelEvent("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[EVENT]"),
        RequestId = "",
    };
    // Make the request
    await livestreamServiceClient.DeleteEventAsync(request);

### DeleteEventAsync(DeleteEventRequest, CancellationToken)

    public virtual Task DeleteEventAsync(DeleteEventRequest request, CancellationToken cancellationToken)

Deletes the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteEventRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DeleteEventRequest request = new DeleteEventRequest
    {
        EventName = EventName.FromProjectLocationChannelEvent("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[EVENT]"),
        RequestId = "",
    };
    // Make the request
    await livestreamServiceClient.DeleteEventAsync(request);

### DeleteEventAsync(EventName, CallSettings)

    public virtual Task DeleteEventAsync(EventName name, CallSettings callSettings = null)

Deletes the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.EventName` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    EventName name = EventName.FromProjectLocationChannelEvent("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[EVENT]");
    // Make the request
    await livestreamServiceClient.DeleteEventAsync(name);

### DeleteEventAsync(EventName, CancellationToken)

    public virtual Task DeleteEventAsync(EventName name, CancellationToken cancellationToken)

Deletes the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.EventName` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    EventName name = EventName.FromProjectLocationChannelEvent("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[EVENT]");
    // Make the request
    await livestreamServiceClient.DeleteEventAsync(name);

### DeleteEventAsync(string, CallSettings)

    public virtual Task DeleteEventAsync(string name, CallSettings callSettings = null)

Deletes the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/events/[EVENT]";
    // Make the request
    await livestreamServiceClient.DeleteEventAsync(name);

### DeleteEventAsync(string, CancellationToken)

    public virtual Task DeleteEventAsync(string name, CancellationToken cancellationToken)

Deletes the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/events/[EVENT]";
    // Make the request
    await livestreamServiceClient.DeleteEventAsync(name);

### DeleteInput(DeleteInputRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteInput(DeleteInputRequest request, CallSettings callSettings = null)

Deletes the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteInputRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    DeleteInputRequest request = new DeleteInputRequest
    {
        InputName = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = livestreamServiceClient.DeleteInput(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceDeleteInput(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteInput(InputName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteInput(InputName name, CallSettings callSettings = null)

Deletes the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.InputName` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    InputName name = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]");
    // Make the request
    Operation<Empty, OperationMetadata> response = livestreamServiceClient.DeleteInput(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceDeleteInput(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteInput(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteInput(string name, CallSettings callSettings = null)

Deletes the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/inputs/[INPUT]";
    // Make the request
    Operation<Empty, OperationMetadata> response = livestreamServiceClient.DeleteInput(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceDeleteInput(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteInputAsync(DeleteInputRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteInputAsync(DeleteInputRequest request, CallSettings callSettings = null)

Deletes the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteInputRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DeleteInputRequest request = new DeleteInputRequest
    {
        InputName = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteInputAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteInputAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteInputAsync(DeleteInputRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteInputAsync(DeleteInputRequest request, CancellationToken cancellationToken)

Deletes the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DeleteInputRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DeleteInputRequest request = new DeleteInputRequest
    {
        InputName = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]"),
        RequestId = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteInputAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteInputAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteInputAsync(InputName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteInputAsync(InputName name, CallSettings callSettings = null)

Deletes the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.InputName` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    InputName name = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteInputAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteInputAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteInputAsync(InputName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteInputAsync(InputName name, CancellationToken cancellationToken)

Deletes the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.InputName` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    InputName name = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteInputAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteInputAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteInputAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteInputAsync(string name, CallSettings callSettings = null)

Deletes the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/inputs/[INPUT]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteInputAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteInputAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteInputAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteInputAsync(string name, CancellationToken cancellationToken)

Deletes the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/inputs/[INPUT]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await livestreamServiceClient.DeleteInputAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceDeleteInputAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### GetAsset(AssetName, CallSettings)

    public virtual Asset GetAsset(AssetName name, CallSettings callSettings = null)

Returns the specified asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.AssetName` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/assets/{asset}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    AssetName name = AssetName.FromProjectLocationAsset("[PROJECT]", "[LOCATION]", "[ASSET]");
    // Make the request
    Asset response = livestreamServiceClient.GetAsset(name);

### GetAsset(GetAssetRequest, CallSettings)

    public virtual Asset GetAsset(GetAssetRequest request, CallSettings callSettings = null)

Returns the specified asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetAssetRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    GetAssetRequest request = new GetAssetRequest
    {
        AssetName = AssetName.FromProjectLocationAsset("[PROJECT]", "[LOCATION]", "[ASSET]"),
    };
    // Make the request
    Asset response = livestreamServiceClient.GetAsset(request);

### GetAsset(string, CallSettings)

    public virtual Asset GetAsset(string name, CallSettings callSettings = null)

Returns the specified asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/assets/{asset}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/assets/[ASSET]";
    // Make the request
    Asset response = livestreamServiceClient.GetAsset(name);

### GetAssetAsync(AssetName, CallSettings)

    public virtual Task<Asset> GetAssetAsync(AssetName name, CallSettings callSettings = null)

Returns the specified asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.AssetName` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/assets/{asset}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    AssetName name = AssetName.FromProjectLocationAsset("[PROJECT]", "[LOCATION]", "[ASSET]");
    // Make the request
    Asset response = await livestreamServiceClient.GetAssetAsync(name);

### GetAssetAsync(AssetName, CancellationToken)

    public virtual Task<Asset> GetAssetAsync(AssetName name, CancellationToken cancellationToken)

Returns the specified asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.AssetName` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/assets/{asset}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    AssetName name = AssetName.FromProjectLocationAsset("[PROJECT]", "[LOCATION]", "[ASSET]");
    // Make the request
    Asset response = await livestreamServiceClient.GetAssetAsync(name);

### GetAssetAsync(GetAssetRequest, CallSettings)

    public virtual Task<Asset> GetAssetAsync(GetAssetRequest request, CallSettings callSettings = null)

Returns the specified asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetAssetRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetAssetRequest request = new GetAssetRequest
    {
        AssetName = AssetName.FromProjectLocationAsset("[PROJECT]", "[LOCATION]", "[ASSET]"),
    };
    // Make the request
    Asset response = await livestreamServiceClient.GetAssetAsync(request);

### GetAssetAsync(GetAssetRequest, CancellationToken)

    public virtual Task<Asset> GetAssetAsync(GetAssetRequest request, CancellationToken cancellationToken)

Returns the specified asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetAssetRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetAssetRequest request = new GetAssetRequest
    {
        AssetName = AssetName.FromProjectLocationAsset("[PROJECT]", "[LOCATION]", "[ASSET]"),
    };
    // Make the request
    Asset response = await livestreamServiceClient.GetAssetAsync(request);

### GetAssetAsync(string, CallSettings)

    public virtual Task<Asset> GetAssetAsync(string name, CallSettings callSettings = null)

Returns the specified asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/assets/{asset}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/assets/[ASSET]";
    // Make the request
    Asset response = await livestreamServiceClient.GetAssetAsync(name);

### GetAssetAsync(string, CancellationToken)

    public virtual Task<Asset> GetAssetAsync(string name, CancellationToken cancellationToken)

Returns the specified asset.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/assets/{asset}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/assets/[ASSET]";
    // Make the request
    Asset response = await livestreamServiceClient.GetAssetAsync(name);

### GetChannel(ChannelName, CallSettings)

    public virtual Channel GetChannel(ChannelName name, CallSettings callSettings = null)

Returns the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    Channel response = livestreamServiceClient.GetChannel(name);

### GetChannel(GetChannelRequest, CallSettings)

    public virtual Channel GetChannel(GetChannelRequest request, CallSettings callSettings = null)

Returns the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetChannelRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    GetChannelRequest request = new GetChannelRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
    };
    // Make the request
    Channel response = livestreamServiceClient.GetChannel(request);

### GetChannel(string, CallSettings)

    public virtual Channel GetChannel(string name, CallSettings callSettings = null)

Returns the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    Channel response = livestreamServiceClient.GetChannel(name);

### GetChannelAsync(ChannelName, CallSettings)

    public virtual Task<Channel> GetChannelAsync(ChannelName name, CallSettings callSettings = null)

Returns the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    Channel response = await livestreamServiceClient.GetChannelAsync(name);

### GetChannelAsync(ChannelName, CancellationToken)

    public virtual Task<Channel> GetChannelAsync(ChannelName name, CancellationToken cancellationToken)

Returns the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    Channel response = await livestreamServiceClient.GetChannelAsync(name);

### GetChannelAsync(GetChannelRequest, CallSettings)

    public virtual Task<Channel> GetChannelAsync(GetChannelRequest request, CallSettings callSettings = null)

Returns the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetChannelRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetChannelRequest request = new GetChannelRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
    };
    // Make the request
    Channel response = await livestreamServiceClient.GetChannelAsync(request);

### GetChannelAsync(GetChannelRequest, CancellationToken)

    public virtual Task<Channel> GetChannelAsync(GetChannelRequest request, CancellationToken cancellationToken)

Returns the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetChannelRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetChannelRequest request = new GetChannelRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
    };
    // Make the request
    Channel response = await livestreamServiceClient.GetChannelAsync(request);

### GetChannelAsync(string, CallSettings)

    public virtual Task<Channel> GetChannelAsync(string name, CallSettings callSettings = null)

Returns the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    Channel response = await livestreamServiceClient.GetChannelAsync(name);

### GetChannelAsync(string, CancellationToken)

    public virtual Task<Channel> GetChannelAsync(string name, CancellationToken cancellationToken)

Returns the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    Channel response = await livestreamServiceClient.GetChannelAsync(name);

### GetClip(ClipName, CallSettings)

    public virtual Clip GetClip(ClipName name, CallSettings callSettings = null)

Returns the specified clip.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ClipName` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/channels/{channel}/clips/{clip}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ClipName name = ClipName.FromProjectLocationChannelClip("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[CLIP]");
    // Make the request
    Clip response = livestreamServiceClient.GetClip(name);

### GetClip(GetClipRequest, CallSettings)

    public virtual Clip GetClip(GetClipRequest request, CallSettings callSettings = null)

Returns the specified clip.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetClipRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    GetClipRequest request = new GetClipRequest
    {
        ClipName = ClipName.FromProjectLocationChannelClip("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[CLIP]"),
    };
    // Make the request
    Clip response = livestreamServiceClient.GetClip(request);

### GetClip(string, CallSettings)

    public virtual Clip GetClip(string name, CallSettings callSettings = null)

Returns the specified clip.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/channels/{channel}/clips/{clip}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/clips/[CLIP]";
    // Make the request
    Clip response = livestreamServiceClient.GetClip(name);

### GetClipAsync(ClipName, CallSettings)

    public virtual Task<Clip> GetClipAsync(ClipName name, CallSettings callSettings = null)

Returns the specified clip.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ClipName` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/channels/{channel}/clips/{clip}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ClipName name = ClipName.FromProjectLocationChannelClip("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[CLIP]");
    // Make the request
    Clip response = await livestreamServiceClient.GetClipAsync(name);

### GetClipAsync(ClipName, CancellationToken)

    public virtual Task<Clip> GetClipAsync(ClipName name, CancellationToken cancellationToken)

Returns the specified clip.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ClipName` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/channels/{channel}/clips/{clip}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ClipName name = ClipName.FromProjectLocationChannelClip("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[CLIP]");
    // Make the request
    Clip response = await livestreamServiceClient.GetClipAsync(name);

### GetClipAsync(GetClipRequest, CallSettings)

    public virtual Task<Clip> GetClipAsync(GetClipRequest request, CallSettings callSettings = null)

Returns the specified clip.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetClipRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetClipRequest request = new GetClipRequest
    {
        ClipName = ClipName.FromProjectLocationChannelClip("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[CLIP]"),
    };
    // Make the request
    Clip response = await livestreamServiceClient.GetClipAsync(request);

### GetClipAsync(GetClipRequest, CancellationToken)

    public virtual Task<Clip> GetClipAsync(GetClipRequest request, CancellationToken cancellationToken)

Returns the specified clip.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetClipRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetClipRequest request = new GetClipRequest
    {
        ClipName = ClipName.FromProjectLocationChannelClip("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[CLIP]"),
    };
    // Make the request
    Clip response = await livestreamServiceClient.GetClipAsync(request);

### GetClipAsync(string, CallSettings)

    public virtual Task<Clip> GetClipAsync(string name, CallSettings callSettings = null)

Returns the specified clip.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/channels/{channel}/clips/{clip}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/clips/[CLIP]";
    // Make the request
    Clip response = await livestreamServiceClient.GetClipAsync(name);

### GetClipAsync(string, CancellationToken)

    public virtual Task<Clip> GetClipAsync(string name, CancellationToken cancellationToken)

Returns the specified clip.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/channels/{channel}/clips/{clip}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/clips/[CLIP]";
    // Make the request
    Clip response = await livestreamServiceClient.GetClipAsync(name);

### GetDvrSession(DvrSessionName, CallSettings)

    public virtual DvrSession GetDvrSession(DvrSessionName name, CallSettings callSettings = null)

Returns the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionName` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    DvrSessionName name = DvrSessionName.FromProjectLocationChannelDvrSession("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[DVR_SESSION]");
    // Make the request
    DvrSession response = livestreamServiceClient.GetDvrSession(name);

### GetDvrSession(GetDvrSessionRequest, CallSettings)

    public virtual DvrSession GetDvrSession(GetDvrSessionRequest request, CallSettings callSettings = null)

Returns the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetDvrSessionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    GetDvrSessionRequest request = new GetDvrSessionRequest
    {
        DvrSessionName = DvrSessionName.FromProjectLocationChannelDvrSession("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[DVR_SESSION]"),
    };
    // Make the request
    DvrSession response = livestreamServiceClient.GetDvrSession(request);

### GetDvrSession(string, CallSettings)

    public virtual DvrSession GetDvrSession(string name, CallSettings callSettings = null)

Returns the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/dvrSessions/[DVR_SESSION]";
    // Make the request
    DvrSession response = livestreamServiceClient.GetDvrSession(name);

### GetDvrSessionAsync(DvrSessionName, CallSettings)

    public virtual Task<DvrSession> GetDvrSessionAsync(DvrSessionName name, CallSettings callSettings = null)

Returns the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionName` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DvrSessionName name = DvrSessionName.FromProjectLocationChannelDvrSession("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[DVR_SESSION]");
    // Make the request
    DvrSession response = await livestreamServiceClient.GetDvrSessionAsync(name);

### GetDvrSessionAsync(DvrSessionName, CancellationToken)

    public virtual Task<DvrSession> GetDvrSessionAsync(DvrSessionName name, CancellationToken cancellationToken)

Returns the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionName` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DvrSessionName name = DvrSessionName.FromProjectLocationChannelDvrSession("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[DVR_SESSION]");
    // Make the request
    DvrSession response = await livestreamServiceClient.GetDvrSessionAsync(name);

### GetDvrSessionAsync(GetDvrSessionRequest, CallSettings)

    public virtual Task<DvrSession> GetDvrSessionAsync(GetDvrSessionRequest request, CallSettings callSettings = null)

Returns the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetDvrSessionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetDvrSessionRequest request = new GetDvrSessionRequest
    {
        DvrSessionName = DvrSessionName.FromProjectLocationChannelDvrSession("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[DVR_SESSION]"),
    };
    // Make the request
    DvrSession response = await livestreamServiceClient.GetDvrSessionAsync(request);

### GetDvrSessionAsync(GetDvrSessionRequest, CancellationToken)

    public virtual Task<DvrSession> GetDvrSessionAsync(GetDvrSessionRequest request, CancellationToken cancellationToken)

Returns the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetDvrSessionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetDvrSessionRequest request = new GetDvrSessionRequest
    {
        DvrSessionName = DvrSessionName.FromProjectLocationChannelDvrSession("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[DVR_SESSION]"),
    };
    // Make the request
    DvrSession response = await livestreamServiceClient.GetDvrSessionAsync(request);

### GetDvrSessionAsync(string, CallSettings)

    public virtual Task<DvrSession> GetDvrSessionAsync(string name, CallSettings callSettings = null)

Returns the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/dvrSessions/[DVR_SESSION]";
    // Make the request
    DvrSession response = await livestreamServiceClient.GetDvrSessionAsync(name);

### GetDvrSessionAsync(string, CancellationToken)

    public virtual Task<DvrSession> GetDvrSessionAsync(string name, CancellationToken cancellationToken)

Returns the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource, in the following form: `projects/{project}/locations/{location}/channels/{channelId}/dvrSessions/{dvrSessionId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/dvrSessions/[DVR_SESSION]";
    // Make the request
    DvrSession response = await livestreamServiceClient.GetDvrSessionAsync(name);

### GetEvent(EventName, CallSettings)

    public virtual Event GetEvent(EventName name, CallSettings callSettings = null)

Returns the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.EventName` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    EventName name = EventName.FromProjectLocationChannelEvent("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[EVENT]");
    // Make the request
    Event response = livestreamServiceClient.GetEvent(name);

### GetEvent(GetEventRequest, CallSettings)

    public virtual Event GetEvent(GetEventRequest request, CallSettings callSettings = null)

Returns the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetEventRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    GetEventRequest request = new GetEventRequest
    {
        EventName = EventName.FromProjectLocationChannelEvent("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[EVENT]"),
    };
    // Make the request
    Event response = livestreamServiceClient.GetEvent(request);

### GetEvent(string, CallSettings)

    public virtual Event GetEvent(string name, CallSettings callSettings = null)

Returns the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/events/[EVENT]";
    // Make the request
    Event response = livestreamServiceClient.GetEvent(name);

### GetEventAsync(EventName, CallSettings)

    public virtual Task<Event> GetEventAsync(EventName name, CallSettings callSettings = null)

Returns the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.EventName` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    EventName name = EventName.FromProjectLocationChannelEvent("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[EVENT]");
    // Make the request
    Event response = await livestreamServiceClient.GetEventAsync(name);

### GetEventAsync(EventName, CancellationToken)

    public virtual Task<Event> GetEventAsync(EventName name, CancellationToken cancellationToken)

Returns the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.EventName` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    EventName name = EventName.FromProjectLocationChannelEvent("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[EVENT]");
    // Make the request
    Event response = await livestreamServiceClient.GetEventAsync(name);

### GetEventAsync(GetEventRequest, CallSettings)

    public virtual Task<Event> GetEventAsync(GetEventRequest request, CallSettings callSettings = null)

Returns the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetEventRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetEventRequest request = new GetEventRequest
    {
        EventName = EventName.FromProjectLocationChannelEvent("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[EVENT]"),
    };
    // Make the request
    Event response = await livestreamServiceClient.GetEventAsync(request);

### GetEventAsync(GetEventRequest, CancellationToken)

    public virtual Task<Event> GetEventAsync(GetEventRequest request, CancellationToken cancellationToken)

Returns the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetEventRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetEventRequest request = new GetEventRequest
    {
        EventName = EventName.FromProjectLocationChannelEvent("[PROJECT]", "[LOCATION]", "[CHANNEL]", "[EVENT]"),
    };
    // Make the request
    Event response = await livestreamServiceClient.GetEventAsync(request);

### GetEventAsync(string, CallSettings)

    public virtual Task<Event> GetEventAsync(string name, CallSettings callSettings = null)

Returns the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/events/[EVENT]";
    // Make the request
    Event response = await livestreamServiceClient.GetEventAsync(name);

### GetEventAsync(string, CancellationToken)

    public virtual Task<Event> GetEventAsync(string name, CancellationToken cancellationToken)

Returns the specified event.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the event resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}/events/{eventId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]/events/[EVENT]";
    // Make the request
    Event response = await livestreamServiceClient.GetEventAsync(name);

### GetInput(GetInputRequest, CallSettings)

    public virtual Input GetInput(GetInputRequest request, CallSettings callSettings = null)

Returns the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetInputRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    GetInputRequest request = new GetInputRequest
    {
        InputName = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]"),
    };
    // Make the request
    Input response = livestreamServiceClient.GetInput(request);

### GetInput(InputName, CallSettings)

    public virtual Input GetInput(InputName name, CallSettings callSettings = null)

Returns the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.InputName` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    InputName name = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]");
    // Make the request
    Input response = livestreamServiceClient.GetInput(name);

### GetInput(string, CallSettings)

    public virtual Input GetInput(string name, CallSettings callSettings = null)

Returns the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/inputs/[INPUT]";
    // Make the request
    Input response = livestreamServiceClient.GetInput(name);

### GetInputAsync(GetInputRequest, CallSettings)

    public virtual Task<Input> GetInputAsync(GetInputRequest request, CallSettings callSettings = null)

Returns the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetInputRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetInputRequest request = new GetInputRequest
    {
        InputName = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]"),
    };
    // Make the request
    Input response = await livestreamServiceClient.GetInputAsync(request);

### GetInputAsync(GetInputRequest, CancellationToken)

    public virtual Task<Input> GetInputAsync(GetInputRequest request, CancellationToken cancellationToken)

Returns the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetInputRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetInputRequest request = new GetInputRequest
    {
        InputName = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]"),
    };
    // Make the request
    Input response = await livestreamServiceClient.GetInputAsync(request);

### GetInputAsync(InputName, CallSettings)

    public virtual Task<Input> GetInputAsync(InputName name, CallSettings callSettings = null)

Returns the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.InputName` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    InputName name = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]");
    // Make the request
    Input response = await livestreamServiceClient.GetInputAsync(name);

### GetInputAsync(InputName, CancellationToken)

    public virtual Task<Input> GetInputAsync(InputName name, CancellationToken cancellationToken)

Returns the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.InputName` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    InputName name = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]");
    // Make the request
    Input response = await livestreamServiceClient.GetInputAsync(name);

### GetInputAsync(string, CallSettings)

    public virtual Task<Input> GetInputAsync(string name, CallSettings callSettings = null)

Returns the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/inputs/[INPUT]";
    // Make the request
    Input response = await livestreamServiceClient.GetInputAsync(name);

### GetInputAsync(string, CancellationToken)

    public virtual Task<Input> GetInputAsync(string name, CancellationToken cancellationToken)

Returns the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/inputs/[INPUT]";
    // Make the request
    Input response = await livestreamServiceClient.GetInputAsync(name);

### GetPool(GetPoolRequest, CallSettings)

    public virtual Pool GetPool(GetPoolRequest request, CallSettings callSettings = null)

Returns the specified pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetPoolRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Pool` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    GetPoolRequest request = new GetPoolRequest
    {
        PoolName = PoolName.FromProjectLocationPool("[PROJECT]", "[LOCATION]", "[POOL]"),
    };
    // Make the request
    Pool response = livestreamServiceClient.GetPool(request);

### GetPool(PoolName, CallSettings)

    public virtual Pool GetPool(PoolName name, CallSettings callSettings = null)

Returns the specified pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.PoolName` Required. The name of the pool resource, in the form of: `projects/{project}/locations/{location}/pools/{poolId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Pool` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    PoolName name = PoolName.FromProjectLocationPool("[PROJECT]", "[LOCATION]", "[POOL]");
    // Make the request
    Pool response = livestreamServiceClient.GetPool(name);

### GetPool(string, CallSettings)

    public virtual Pool GetPool(string name, CallSettings callSettings = null)

Returns the specified pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the pool resource, in the form of: `projects/{project}/locations/{location}/pools/{poolId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Pool` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/pools/[POOL]";
    // Make the request
    Pool response = livestreamServiceClient.GetPool(name);

### GetPoolAsync(GetPoolRequest, CallSettings)

    public virtual Task<Pool> GetPoolAsync(GetPoolRequest request, CallSettings callSettings = null)

Returns the specified pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetPoolRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Pool` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetPoolRequest request = new GetPoolRequest
    {
        PoolName = PoolName.FromProjectLocationPool("[PROJECT]", "[LOCATION]", "[POOL]"),
    };
    // Make the request
    Pool response = await livestreamServiceClient.GetPoolAsync(request);

### GetPoolAsync(GetPoolRequest, CancellationToken)

    public virtual Task<Pool> GetPoolAsync(GetPoolRequest request, CancellationToken cancellationToken)

Returns the specified pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.GetPoolRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Pool` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    GetPoolRequest request = new GetPoolRequest
    {
        PoolName = PoolName.FromProjectLocationPool("[PROJECT]", "[LOCATION]", "[POOL]"),
    };
    // Make the request
    Pool response = await livestreamServiceClient.GetPoolAsync(request);

### GetPoolAsync(PoolName, CallSettings)

    public virtual Task<Pool> GetPoolAsync(PoolName name, CallSettings callSettings = null)

Returns the specified pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.PoolName` Required. The name of the pool resource, in the form of: `projects/{project}/locations/{location}/pools/{poolId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Pool` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    PoolName name = PoolName.FromProjectLocationPool("[PROJECT]", "[LOCATION]", "[POOL]");
    // Make the request
    Pool response = await livestreamServiceClient.GetPoolAsync(name);

### GetPoolAsync(PoolName, CancellationToken)

    public virtual Task<Pool> GetPoolAsync(PoolName name, CancellationToken cancellationToken)

Returns the specified pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.PoolName` Required. The name of the pool resource, in the form of: `projects/{project}/locations/{location}/pools/{poolId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Pool` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    PoolName name = PoolName.FromProjectLocationPool("[PROJECT]", "[LOCATION]", "[POOL]");
    // Make the request
    Pool response = await livestreamServiceClient.GetPoolAsync(name);

### GetPoolAsync(string, CallSettings)

    public virtual Task<Pool> GetPoolAsync(string name, CallSettings callSettings = null)

Returns the specified pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the pool resource, in the form of: `projects/{project}/locations/{location}/pools/{poolId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Pool` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/pools/[POOL]";
    // Make the request
    Pool response = await livestreamServiceClient.GetPoolAsync(name);

### GetPoolAsync(string, CancellationToken)

    public virtual Task<Pool> GetPoolAsync(string name, CancellationToken cancellationToken)

Returns the specified pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the pool resource, in the form of: `projects/{project}/locations/{location}/pools/{poolId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Pool` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/pools/[POOL]";
    // Make the request
    Pool response = await livestreamServiceClient.GetPoolAsync(name);

### ListAssets(LocationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListAssetsResponse, Asset> ListAssets(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all assets in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListAssetsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` | A pageable sequence of [Asset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedEnumerable<ListAssetsResponse, Asset> response = livestreamServiceClient.ListAssets(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Asset item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListAssetsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Asset item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Asset> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Asset item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListAssets(ListAssetsRequest, CallSettings)

    public virtual PagedEnumerable<ListAssetsResponse, Asset> ListAssets(ListAssetsRequest request, CallSettings callSettings = null)

Returns a list of all assets in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListAssetsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListAssetsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` | A pageable sequence of [Asset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ListAssetsRequest request = new ListAssetsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListAssetsResponse, Asset> response = livestreamServiceClient.ListAssets(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Asset item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListAssetsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Asset item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Asset> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Asset item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListAssets(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListAssetsResponse, Asset> ListAssets(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all assets in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListAssetsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` | A pageable sequence of [Asset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedEnumerable<ListAssetsResponse, Asset> response = livestreamServiceClient.ListAssets(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Asset item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListAssetsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Asset item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Asset> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Asset item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListAssetsAsync(LocationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListAssetsResponse, Asset> ListAssetsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all assets in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListAssetsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` | A pageable asynchronous sequence of [Asset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedAsyncEnumerable<ListAssetsResponse, Asset> response = livestreamServiceClient.ListAssetsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Asset item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListAssetsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Asset item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Asset> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Asset item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListAssetsAsync(ListAssetsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListAssetsResponse, Asset> ListAssetsAsync(ListAssetsRequest request, CallSettings callSettings = null)

Returns a list of all assets in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListAssetsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListAssetsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` | A pageable asynchronous sequence of [Asset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ListAssetsRequest request = new ListAssetsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListAssetsResponse, Asset> response = livestreamServiceClient.ListAssetsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Asset item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListAssetsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Asset item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Asset> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Asset item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListAssetsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListAssetsResponse, Asset> ListAssetsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all assets in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListAssetsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset` | A pageable asynchronous sequence of [Asset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Asset) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedAsyncEnumerable<ListAssetsResponse, Asset> response = livestreamServiceClient.ListAssetsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Asset item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListAssetsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Asset item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Asset> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Asset item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListChannels(LocationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListChannelsResponse, Channel> ListChannels(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all channels in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListChannelsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` | A pageable sequence of [Channel](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedEnumerable<ListChannelsResponse, Channel> response = livestreamServiceClient.ListChannels(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Channel item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListChannelsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Channel item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Channel> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Channel item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListChannels(ListChannelsRequest, CallSettings)

    public virtual PagedEnumerable<ListChannelsResponse, Channel> ListChannels(ListChannelsRequest request, CallSettings callSettings = null)

Returns a list of all channels in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListChannelsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListChannelsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` | A pageable sequence of [Channel](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ListChannelsRequest request = new ListChannelsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListChannelsResponse, Channel> response = livestreamServiceClient.ListChannels(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Channel item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListChannelsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Channel item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Channel> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Channel item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListChannels(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListChannelsResponse, Channel> ListChannels(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all channels in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListChannelsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` | A pageable sequence of [Channel](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedEnumerable<ListChannelsResponse, Channel> response = livestreamServiceClient.ListChannels(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Channel item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListChannelsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Channel item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Channel> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Channel item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListChannelsAsync(LocationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListChannelsResponse, Channel> ListChannelsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all channels in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListChannelsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` | A pageable asynchronous sequence of [Channel](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedAsyncEnumerable<ListChannelsResponse, Channel> response = livestreamServiceClient.ListChannelsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Channel item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListChannelsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Channel item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Channel> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Channel item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListChannelsAsync(ListChannelsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListChannelsResponse, Channel> ListChannelsAsync(ListChannelsRequest request, CallSettings callSettings = null)

Returns a list of all channels in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListChannelsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListChannelsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` | A pageable asynchronous sequence of [Channel](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ListChannelsRequest request = new ListChannelsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListChannelsResponse, Channel> response = livestreamServiceClient.ListChannelsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Channel item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListChannelsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Channel item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Channel> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Channel item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListChannelsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListChannelsResponse, Channel> ListChannelsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all channels in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListChannelsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` | A pageable asynchronous sequence of [Channel](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedAsyncEnumerable<ListChannelsResponse, Channel> response = livestreamServiceClient.ListChannelsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Channel item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListChannelsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Channel item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Channel> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Channel item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListClips(ChannelName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListClipsResponse, Clip> ListClips(ChannelName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all clips in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. Parent value for ListClipsRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListClipsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` | A pageable sequence of [Clip](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ChannelName parent = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    PagedEnumerable<ListClipsResponse, Clip> response = livestreamServiceClient.ListClips(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Clip item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListClipsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Clip item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Clip> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Clip item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListClips(ListClipsRequest, CallSettings)

    public virtual PagedEnumerable<ListClipsResponse, Clip> ListClips(ListClipsRequest request, CallSettings callSettings = null)

Returns a list of all clips in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListClipsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListClipsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` | A pageable sequence of [Clip](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ListClipsRequest request = new ListClipsRequest
    {
        ParentAsChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListClipsResponse, Clip> response = livestreamServiceClient.ListClips(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Clip item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListClipsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Clip item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Clip> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Clip item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListClips(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListClipsResponse, Clip> ListClips(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all clips in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Parent value for ListClipsRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListClipsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` | A pageable sequence of [Clip](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    PagedEnumerable<ListClipsResponse, Clip> response = livestreamServiceClient.ListClips(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Clip item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListClipsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Clip item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Clip> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Clip item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListClipsAsync(ChannelName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListClipsResponse, Clip> ListClipsAsync(ChannelName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all clips in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. Parent value for ListClipsRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListClipsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` | A pageable asynchronous sequence of [Clip](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName parent = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    PagedAsyncEnumerable<ListClipsResponse, Clip> response = livestreamServiceClient.ListClipsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Clip item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListClipsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Clip item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Clip> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Clip item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListClipsAsync(ListClipsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListClipsResponse, Clip> ListClipsAsync(ListClipsRequest request, CallSettings callSettings = null)

Returns a list of all clips in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListClipsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListClipsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` | A pageable asynchronous sequence of [Clip](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ListClipsRequest request = new ListClipsRequest
    {
        ParentAsChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListClipsResponse, Clip> response = livestreamServiceClient.ListClipsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Clip item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListClipsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Clip item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Clip> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Clip item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListClipsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListClipsResponse, Clip> ListClipsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all clips in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Parent value for ListClipsRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListClipsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip` | A pageable asynchronous sequence of [Clip](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Clip) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    PagedAsyncEnumerable<ListClipsResponse, Clip> response = livestreamServiceClient.ListClipsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Clip item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListClipsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Clip item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Clip> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Clip item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDvrSessions(ChannelName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListDvrSessionsResponse, DvrSession> ListDvrSessions(ChannelName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all DVR sessions in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. Parent value for ListDvrSessionsRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListDvrSessionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` | A pageable sequence of [DvrSession](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ChannelName parent = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    PagedEnumerable<ListDvrSessionsResponse, DvrSession> response = livestreamServiceClient.ListDvrSessions(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (DvrSession item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListDvrSessionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DvrSession item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DvrSession> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DvrSession item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDvrSessions(ListDvrSessionsRequest, CallSettings)

    public virtual PagedEnumerable<ListDvrSessionsResponse, DvrSession> ListDvrSessions(ListDvrSessionsRequest request, CallSettings callSettings = null)

Returns a list of all DVR sessions in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListDvrSessionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListDvrSessionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` | A pageable sequence of [DvrSession](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ListDvrSessionsRequest request = new ListDvrSessionsRequest
    {
        ParentAsChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListDvrSessionsResponse, DvrSession> response = livestreamServiceClient.ListDvrSessions(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (DvrSession item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListDvrSessionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DvrSession item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DvrSession> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DvrSession item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDvrSessions(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListDvrSessionsResponse, DvrSession> ListDvrSessions(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all DVR sessions in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Parent value for ListDvrSessionsRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListDvrSessionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` | A pageable sequence of [DvrSession](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    PagedEnumerable<ListDvrSessionsResponse, DvrSession> response = livestreamServiceClient.ListDvrSessions(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (DvrSession item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListDvrSessionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DvrSession item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DvrSession> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DvrSession item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDvrSessionsAsync(ChannelName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListDvrSessionsResponse, DvrSession> ListDvrSessionsAsync(ChannelName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all DVR sessions in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. Parent value for ListDvrSessionsRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListDvrSessionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` | A pageable asynchronous sequence of [DvrSession](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName parent = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    PagedAsyncEnumerable<ListDvrSessionsResponse, DvrSession> response = livestreamServiceClient.ListDvrSessionsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((DvrSession item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListDvrSessionsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DvrSession item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DvrSession> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DvrSession item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDvrSessionsAsync(ListDvrSessionsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListDvrSessionsResponse, DvrSession> ListDvrSessionsAsync(ListDvrSessionsRequest request, CallSettings callSettings = null)

Returns a list of all DVR sessions in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListDvrSessionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListDvrSessionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` | A pageable asynchronous sequence of [DvrSession](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ListDvrSessionsRequest request = new ListDvrSessionsRequest
    {
        ParentAsChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListDvrSessionsResponse, DvrSession> response = livestreamServiceClient.ListDvrSessionsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((DvrSession item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListDvrSessionsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DvrSession item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DvrSession> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DvrSession item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListDvrSessionsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListDvrSessionsResponse, DvrSession> ListDvrSessionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all DVR sessions in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Parent value for ListDvrSessionsRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListDvrSessionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` | A pageable asynchronous sequence of [DvrSession](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    PagedAsyncEnumerable<ListDvrSessionsResponse, DvrSession> response = livestreamServiceClient.ListDvrSessionsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((DvrSession item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListDvrSessionsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (DvrSession item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<DvrSession> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (DvrSession item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListEvents(ChannelName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListEventsResponse, Event> ListEvents(ChannelName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all events in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The parent channel for the resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListEventsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A pageable sequence of [Event](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ChannelName parent = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    PagedEnumerable<ListEventsResponse, Event> response = livestreamServiceClient.ListEvents(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Event item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListEventsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Event item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Event> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Event item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListEvents(ListEventsRequest, CallSettings)

    public virtual PagedEnumerable<ListEventsResponse, Event> ListEvents(ListEventsRequest request, CallSettings callSettings = null)

Returns a list of all events in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListEventsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListEventsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A pageable sequence of [Event](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ListEventsRequest request = new ListEventsRequest
    {
        ParentAsChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListEventsResponse, Event> response = livestreamServiceClient.ListEvents(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Event item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListEventsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Event item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Event> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Event item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListEvents(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListEventsResponse, Event> ListEvents(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all events in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent channel for the resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListEventsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A pageable sequence of [Event](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    PagedEnumerable<ListEventsResponse, Event> response = livestreamServiceClient.ListEvents(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Event item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListEventsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Event item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Event> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Event item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListEventsAsync(ChannelName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListEventsResponse, Event> ListEventsAsync(ChannelName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all events in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The parent channel for the resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListEventsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A pageable asynchronous sequence of [Event](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName parent = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    PagedAsyncEnumerable<ListEventsResponse, Event> response = livestreamServiceClient.ListEventsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Event item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListEventsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Event item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Event> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Event item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListEventsAsync(ListEventsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListEventsResponse, Event> ListEventsAsync(ListEventsRequest request, CallSettings callSettings = null)

Returns a list of all events in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListEventsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListEventsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A pageable asynchronous sequence of [Event](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ListEventsRequest request = new ListEventsRequest
    {
        ParentAsChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListEventsResponse, Event> response = livestreamServiceClient.ListEventsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Event item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListEventsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Event item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Event> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Event item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListEventsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListEventsResponse, Event> ListEventsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all events in the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent channel for the resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListEventsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event` | A pageable asynchronous sequence of [Event](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Event) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    PagedAsyncEnumerable<ListEventsResponse, Event> response = livestreamServiceClient.ListEventsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Event item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListEventsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Event item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Event> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Event item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListInputs(LocationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListInputsResponse, Input> ListInputs(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all inputs in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListInputsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` | A pageable sequence of [Input](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedEnumerable<ListInputsResponse, Input> response = livestreamServiceClient.ListInputs(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Input item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListInputsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Input item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Input> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Input item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListInputs(ListInputsRequest, CallSettings)

    public virtual PagedEnumerable<ListInputsResponse, Input> ListInputs(ListInputsRequest request, CallSettings callSettings = null)

Returns a list of all inputs in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListInputsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListInputsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` | A pageable sequence of [Input](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ListInputsRequest request = new ListInputsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListInputsResponse, Input> response = livestreamServiceClient.ListInputs(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Input item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListInputsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Input item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Input> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Input item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListInputs(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListInputsResponse, Input> ListInputs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all inputs in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListInputsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` | A pageable sequence of [Input](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedEnumerable<ListInputsResponse, Input> response = livestreamServiceClient.ListInputs(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Input item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListInputsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Input item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Input> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Input item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListInputsAsync(LocationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListInputsResponse, Input> ListInputsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all inputs in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListInputsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` | A pageable asynchronous sequence of [Input](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedAsyncEnumerable<ListInputsResponse, Input> response = livestreamServiceClient.ListInputsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Input item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListInputsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Input item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Input> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Input item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListInputsAsync(ListInputsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListInputsResponse, Input> ListInputsAsync(ListInputsRequest request, CallSettings callSettings = null)

Returns a list of all inputs in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListInputsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListInputsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` | A pageable asynchronous sequence of [Input](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ListInputsRequest request = new ListInputsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListInputsResponse, Input> response = livestreamServiceClient.ListInputsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Input item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListInputsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Input item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Input> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Input item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListInputsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListInputsResponse, Input> ListInputsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Returns a list of all inputs in the specified region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The parent location for the resource, in the form of: `projects/{project}/locations/{location}`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ListInputsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` | A pageable asynchronous sequence of [Input](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input) resources. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedAsyncEnumerable<ListInputsResponse, Input> response = livestreamServiceClient.ListInputsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await response.ForEachAsync((Input item) =>
    {
        // Do something with each item
        Console.WriteLine(item);
    });

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await response.AsRawResponses().ForEachAsync((ListInputsResponse page) =>
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Input item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    });

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Input> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Input item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### PollOnceCreateAsset(string, CallSettings)

    public virtual Operation<Asset, OperationMetadata> PollOnceCreateAsset(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateAsset`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Assethttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateAssetAsync(string, CallSettings)

    public virtual Task<Operation<Asset, OperationMetadata>> PollOnceCreateAssetAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateAsset`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Assethttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateChannel(string, CallSettings)

    public virtual Operation<Channel, OperationMetadata> PollOnceCreateChannel(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateChannel`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateChannelAsync(string, CallSettings)

    public virtual Task<Operation<Channel, OperationMetadata>> PollOnceCreateChannelAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateChannel`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateClip(string, CallSettings)

    public virtual Operation<Clip, OperationMetadata> PollOnceCreateClip(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateClip`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Cliphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateClipAsync(string, CallSettings)

    public virtual Task<Operation<Clip, OperationMetadata>> PollOnceCreateClipAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateClip`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Cliphttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateDvrSession(string, CallSettings)

    public virtual Operation<DvrSession, OperationMetadata> PollOnceCreateDvrSession(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateDvrSession`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateDvrSessionAsync(string, CallSettings)

    public virtual Task<Operation<DvrSession, OperationMetadata>> PollOnceCreateDvrSessionAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateDvrSession`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateInput(string, CallSettings)

    public virtual Operation<Input, OperationMetadata> PollOnceCreateInput(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateInput`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateInputAsync(string, CallSettings)

    public virtual Task<Operation<Input, OperationMetadata>> PollOnceCreateInputAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateInput`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteAsset(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAsset(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteAsset`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteAssetAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAssetAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteAsset`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteChannel(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteChannel(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteChannel`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteChannelAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteChannelAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteChannel`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteClip(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteClip(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteClip`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteClipAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteClipAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteClip`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteDvrSession(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteDvrSession(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteDvrSession`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteDvrSessionAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteDvrSessionAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteDvrSession`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteInput(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteInput(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteInput`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteInputAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteInputAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteInput`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceStartChannel(string, CallSettings)

    public virtual Operation<ChannelOperationResponse, OperationMetadata> PollOnceStartChannel(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `StartChannel`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceStartChannelAsync(string, CallSettings)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> PollOnceStartChannelAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`StartChannel`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceStartDistribution(string, CallSettings)

    public virtual Operation<ChannelOperationResponse, OperationMetadata> PollOnceStartDistribution(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `StartDistribution`
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceStartDistributionAsync(string, CallSettings)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> PollOnceStartDistributionAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`StartDistribution`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceStopChannel(string, CallSettings)

    public virtual Operation<ChannelOperationResponse, OperationMetadata> PollOnceStopChannel(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `StopChannel`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceStopChannelAsync(string, CallSettings)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> PollOnceStopChannelAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`StopChannel`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceStopDistribution(string, CallSettings)

    public virtual Operation<ChannelOperationResponse, OperationMetadata> PollOnceStopDistribution(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `StopDistribution`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceStopDistributionAsync(string, CallSettings)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> PollOnceStopDistributionAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`StopDistribution`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateChannel(string, CallSettings)

    public virtual Operation<Channel, OperationMetadata> PollOnceUpdateChannel(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `UpdateChannel`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceUpdateChannelAsync(string, CallSettings)

    public virtual Task<Operation<Channel, OperationMetadata>> PollOnceUpdateChannelAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateChannel`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateDvrSession(string, CallSettings)

    public virtual Operation<DvrSession, OperationMetadata> PollOnceUpdateDvrSession(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `UpdateDvrSession`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceUpdateDvrSessionAsync(string, CallSettings)

    public virtual Task<Operation<DvrSession, OperationMetadata>> PollOnceUpdateDvrSessionAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateDvrSession`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateInput(string, CallSettings)

    public virtual Operation<Input, OperationMetadata> PollOnceUpdateInput(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `UpdateInput`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceUpdateInputAsync(string, CallSettings)

    public virtual Task<Operation<Input, OperationMetadata>> PollOnceUpdateInputAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateInput`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdatePool(string, CallSettings)

    public virtual Operation<Pool, OperationMetadata> PollOnceUpdatePool(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `UpdatePool`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Poolhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceUpdatePoolAsync(string, CallSettings)

    public virtual Task<Operation<Pool, OperationMetadata>> PollOnceUpdatePoolAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdatePool`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Poolhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PreviewInput(InputName, CallSettings)

    public virtual PreviewInputResponse PreviewInput(InputName name, CallSettings callSettings = null)

Preview the streaming content of the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.InputName` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.PreviewInputResponse` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    InputName name = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]");
    // Make the request
    PreviewInputResponse response = livestreamServiceClient.PreviewInput(name);

### PreviewInput(PreviewInputRequest, CallSettings)

    public virtual PreviewInputResponse PreviewInput(PreviewInputRequest request, CallSettings callSettings = null)

Preview the streaming content of the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.PreviewInputRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.PreviewInputResponse` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    PreviewInputRequest request = new PreviewInputRequest
    {
        InputName = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]"),
    };
    // Make the request
    PreviewInputResponse response = livestreamServiceClient.PreviewInput(request);

### PreviewInput(string, CallSettings)

    public virtual PreviewInputResponse PreviewInput(string name, CallSettings callSettings = null)

Preview the streaming content of the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.PreviewInputResponse` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/inputs/[INPUT]";
    // Make the request
    PreviewInputResponse response = livestreamServiceClient.PreviewInput(name);

### PreviewInputAsync(InputName, CallSettings)

    public virtual Task<PreviewInputResponse> PreviewInputAsync(InputName name, CallSettings callSettings = null)

Preview the streaming content of the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.InputName` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.PreviewInputResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    InputName name = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]");
    // Make the request
    PreviewInputResponse response = await livestreamServiceClient.PreviewInputAsync(name);

### PreviewInputAsync(InputName, CancellationToken)

    public virtual Task<PreviewInputResponse> PreviewInputAsync(InputName name, CancellationToken cancellationToken)

Preview the streaming content of the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.InputName` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.PreviewInputResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    InputName name = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]");
    // Make the request
    PreviewInputResponse response = await livestreamServiceClient.PreviewInputAsync(name);

### PreviewInputAsync(PreviewInputRequest, CallSettings)

    public virtual Task<PreviewInputResponse> PreviewInputAsync(PreviewInputRequest request, CallSettings callSettings = null)

Preview the streaming content of the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.PreviewInputRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.PreviewInputResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    PreviewInputRequest request = new PreviewInputRequest
    {
        InputName = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]"),
    };
    // Make the request
    PreviewInputResponse response = await livestreamServiceClient.PreviewInputAsync(request);

### PreviewInputAsync(PreviewInputRequest, CancellationToken)

    public virtual Task<PreviewInputResponse> PreviewInputAsync(PreviewInputRequest request, CancellationToken cancellationToken)

Preview the streaming content of the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.PreviewInputRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.PreviewInputResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    PreviewInputRequest request = new PreviewInputRequest
    {
        InputName = InputName.FromProjectLocationInput("[PROJECT]", "[LOCATION]", "[INPUT]"),
    };
    // Make the request
    PreviewInputResponse response = await livestreamServiceClient.PreviewInputAsync(request);

### PreviewInputAsync(string, CallSettings)

    public virtual Task<PreviewInputResponse> PreviewInputAsync(string name, CallSettings callSettings = null)

Preview the streaming content of the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.PreviewInputResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/inputs/[INPUT]";
    // Make the request
    PreviewInputResponse response = await livestreamServiceClient.PreviewInputAsync(name);

### PreviewInputAsync(string, CancellationToken)

    public virtual Task<PreviewInputResponse> PreviewInputAsync(string name, CancellationToken cancellationToken)

Preview the streaming content of the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the input resource, in the form of: `projects/{project}/locations/{location}/inputs/{inputId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.PreviewInputResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/inputs/[INPUT]";
    // Make the request
    PreviewInputResponse response = await livestreamServiceClient.PreviewInputAsync(name);

### ShutdownDefaultChannelsAsync()

    public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient#Google_Cloud_Video_LiveStream_V1_LivestreamServiceClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient#Google_Cloud_Video_LiveStream_V1_LivestreamServiceClient_CreateAsync_System_Threading_CancellationToken_). Channels which weren't automatically created are not
affected.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A task representing the asynchronous shutdown operation. |

**Remarks** After calling this method, further calls to [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient#Google_Cloud_Video_LiveStream_V1_LivestreamServiceClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.LivestreamServiceClient#Google_Cloud_Video_LiveStream_V1_LivestreamServiceClient_CreateAsync_System_Threading_CancellationToken_) will create new channels, which could in turn be shut down
by another call to this method.

### StartChannel(ChannelName, CallSettings)

    public virtual Operation<ChannelOperationResponse, OperationMetadata> StartChannel(ChannelName name, CallSettings callSettings = null)

Starts the specified channel. Part of the video pipeline will be created
only when the StartChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = livestreamServiceClient.StartChannel(name);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceStartChannel(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartChannel(StartChannelRequest, CallSettings)

    public virtual Operation<ChannelOperationResponse, OperationMetadata> StartChannel(StartChannelRequest request, CallSettings callSettings = null)

Starts the specified channel. Part of the video pipeline will be created
only when the StartChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StartChannelRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    StartChannelRequest request = new StartChannelRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        RequestId = "",
    };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = livestreamServiceClient.StartChannel(request);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceStartChannel(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartChannel(string, CallSettings)

    public virtual Operation<ChannelOperationResponse, OperationMetadata> StartChannel(string name, CallSettings callSettings = null)

Starts the specified channel. Part of the video pipeline will be created
only when the StartChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = livestreamServiceClient.StartChannel(name);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceStartChannel(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartChannelAsync(ChannelName, CallSettings)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StartChannelAsync(ChannelName name, CallSettings callSettings = null)

Starts the specified channel. Part of the video pipeline will be created
only when the StartChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StartChannelAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStartChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartChannelAsync(ChannelName, CancellationToken)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StartChannelAsync(ChannelName name, CancellationToken cancellationToken)

Starts the specified channel. Part of the video pipeline will be created
only when the StartChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StartChannelAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStartChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartChannelAsync(StartChannelRequest, CallSettings)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StartChannelAsync(StartChannelRequest request, CallSettings callSettings = null)

Starts the specified channel. Part of the video pipeline will be created
only when the StartChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StartChannelRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    StartChannelRequest request = new StartChannelRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        RequestId = "",
    };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StartChannelAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStartChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartChannelAsync(StartChannelRequest, CancellationToken)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StartChannelAsync(StartChannelRequest request, CancellationToken cancellationToken)

Starts the specified channel. Part of the video pipeline will be created
only when the StartChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StartChannelRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    StartChannelRequest request = new StartChannelRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        RequestId = "",
    };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StartChannelAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStartChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartChannelAsync(string, CallSettings)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StartChannelAsync(string name, CallSettings callSettings = null)

Starts the specified channel. Part of the video pipeline will be created
only when the StartChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StartChannelAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStartChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartChannelAsync(string, CancellationToken)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StartChannelAsync(string name, CancellationToken cancellationToken)

Starts the specified channel. Part of the video pipeline will be created
only when the StartChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StartChannelAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStartChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartDistribution(ChannelName, IEnumerable\<string\>, CallSettings)

    public virtual Operation<ChannelOperationResponse, OperationMetadata> StartDistribution(ChannelName name, IEnumerable<string> distributionKeys, CallSettings callSettings = null)

Starts distribution which delivers outputs to the destination indicated by
the Distribution configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `distributionKeys` | `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1https://learn.microsoft.com/dotnet/api/system.string` Optional. A list of keys to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be started. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    IEnumerable<string> distributionKeys = new string[] { "", };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = livestreamServiceClient.StartDistribution(name, distributionKeys);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceStartDistribution(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartDistribution(StartDistributionRequest, CallSettings)

    public virtual Operation<ChannelOperationResponse, OperationMetadata> StartDistribution(StartDistributionRequest request, CallSettings callSettings = null)

Starts distribution which delivers outputs to the destination indicated by
the Distribution configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StartDistributionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    StartDistributionRequest request = new StartDistributionRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        DistributionKeys = { "", },
        RequestId = "",
    };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = livestreamServiceClient.StartDistribution(request);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceStartDistribution(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartDistribution(string, IEnumerable\<string\>, CallSettings)

    public virtual Operation<ChannelOperationResponse, OperationMetadata> StartDistribution(string name, IEnumerable<string> distributionKeys, CallSettings callSettings = null)

Starts distribution which delivers outputs to the destination indicated by
the Distribution configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `distributionKeys` | `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1https://learn.microsoft.com/dotnet/api/system.string` Optional. A list of keys to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be started. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    IEnumerable<string> distributionKeys = new string[] { "", };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = livestreamServiceClient.StartDistribution(name, distributionKeys);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceStartDistribution(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartDistributionAsync(ChannelName, IEnumerable\<string\>, CallSettings)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StartDistributionAsync(ChannelName name, IEnumerable<string> distributionKeys, CallSettings callSettings = null)

Starts distribution which delivers outputs to the destination indicated by
the Distribution configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `distributionKeys` | `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1https://learn.microsoft.com/dotnet/api/system.string` Optional. A list of keys to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be started. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    IEnumerable<string> distributionKeys = new string[] { "", };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StartDistributionAsync(name, distributionKeys);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStartDistributionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartDistributionAsync(ChannelName, IEnumerable\<string\>, CancellationToken)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StartDistributionAsync(ChannelName name, IEnumerable<string> distributionKeys, CancellationToken cancellationToken)

Starts distribution which delivers outputs to the destination indicated by
the Distribution configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `distributionKeys` | `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1https://learn.microsoft.com/dotnet/api/system.string` Optional. A list of keys to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be started. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    IEnumerable<string> distributionKeys = new string[] { "", };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StartDistributionAsync(name, distributionKeys);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStartDistributionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartDistributionAsync(StartDistributionRequest, CallSettings)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StartDistributionAsync(StartDistributionRequest request, CallSettings callSettings = null)

Starts distribution which delivers outputs to the destination indicated by
the Distribution configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StartDistributionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    StartDistributionRequest request = new StartDistributionRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        DistributionKeys = { "", },
        RequestId = "",
    };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StartDistributionAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStartDistributionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartDistributionAsync(StartDistributionRequest, CancellationToken)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StartDistributionAsync(StartDistributionRequest request, CancellationToken cancellationToken)

Starts distribution which delivers outputs to the destination indicated by
the Distribution configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StartDistributionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    StartDistributionRequest request = new StartDistributionRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        DistributionKeys = { "", },
        RequestId = "",
    };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StartDistributionAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStartDistributionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartDistributionAsync(string, IEnumerable\<string\>, CallSettings)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StartDistributionAsync(string name, IEnumerable<string> distributionKeys, CallSettings callSettings = null)

Starts distribution which delivers outputs to the destination indicated by
the Distribution configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `distributionKeys` | `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1https://learn.microsoft.com/dotnet/api/system.string` Optional. A list of keys to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be started. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    IEnumerable<string> distributionKeys = new string[] { "", };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StartDistributionAsync(name, distributionKeys);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStartDistributionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StartDistributionAsync(string, IEnumerable\<string\>, CancellationToken)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StartDistributionAsync(string name, IEnumerable<string> distributionKeys, CancellationToken cancellationToken)

Starts distribution which delivers outputs to the destination indicated by
the Distribution configuration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `distributionKeys` | `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1https://learn.microsoft.com/dotnet/api/system.string` Optional. A list of keys to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be started. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    IEnumerable<string> distributionKeys = new string[] { "", };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StartDistributionAsync(name, distributionKeys);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStartDistributionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopChannel(ChannelName, CallSettings)

    public virtual Operation<ChannelOperationResponse, OperationMetadata> StopChannel(ChannelName name, CallSettings callSettings = null)

Stops the specified channel. Part of the video pipeline will be released
when the StopChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = livestreamServiceClient.StopChannel(name);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceStopChannel(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopChannel(StopChannelRequest, CallSettings)

    public virtual Operation<ChannelOperationResponse, OperationMetadata> StopChannel(StopChannelRequest request, CallSettings callSettings = null)

Stops the specified channel. Part of the video pipeline will be released
when the StopChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StopChannelRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    StopChannelRequest request = new StopChannelRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        RequestId = "",
    };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = livestreamServiceClient.StopChannel(request);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceStopChannel(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopChannel(string, CallSettings)

    public virtual Operation<ChannelOperationResponse, OperationMetadata> StopChannel(string name, CallSettings callSettings = null)

Stops the specified channel. Part of the video pipeline will be released
when the StopChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = livestreamServiceClient.StopChannel(name);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceStopChannel(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopChannelAsync(ChannelName, CallSettings)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StopChannelAsync(ChannelName name, CallSettings callSettings = null)

Stops the specified channel. Part of the video pipeline will be released
when the StopChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StopChannelAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStopChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopChannelAsync(ChannelName, CancellationToken)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StopChannelAsync(ChannelName name, CancellationToken cancellationToken)

Stops the specified channel. Part of the video pipeline will be released
when the StopChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StopChannelAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStopChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopChannelAsync(StopChannelRequest, CallSettings)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StopChannelAsync(StopChannelRequest request, CallSettings callSettings = null)

Stops the specified channel. Part of the video pipeline will be released
when the StopChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StopChannelRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    StopChannelRequest request = new StopChannelRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        RequestId = "",
    };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StopChannelAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStopChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopChannelAsync(StopChannelRequest, CancellationToken)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StopChannelAsync(StopChannelRequest request, CancellationToken cancellationToken)

Stops the specified channel. Part of the video pipeline will be released
when the StopChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StopChannelRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    StopChannelRequest request = new StopChannelRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        RequestId = "",
    };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StopChannelAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStopChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopChannelAsync(string, CallSettings)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StopChannelAsync(string name, CallSettings callSettings = null)

Stops the specified channel. Part of the video pipeline will be released
when the StopChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StopChannelAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStopChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopChannelAsync(string, CancellationToken)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StopChannelAsync(string name, CancellationToken cancellationToken)

Stops the specified channel. Part of the video pipeline will be released
when the StopChannel request is received by the server.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StopChannelAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStopChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopDistribution(ChannelName, IEnumerable\<string\>, CallSettings)

    public virtual Operation<ChannelOperationResponse, OperationMetadata> StopDistribution(ChannelName name, IEnumerable<string> distributionKeys, CallSettings callSettings = null)

Stops the specified distribution.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `distributionKeys` | `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1https://learn.microsoft.com/dotnet/api/system.string` Optional. A list of key to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be stopped. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    IEnumerable<string> distributionKeys = new string[] { "", };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = livestreamServiceClient.StopDistribution(name, distributionKeys);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceStopDistribution(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopDistribution(StopDistributionRequest, CallSettings)

    public virtual Operation<ChannelOperationResponse, OperationMetadata> StopDistribution(StopDistributionRequest request, CallSettings callSettings = null)

Stops the specified distribution.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StopDistributionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    StopDistributionRequest request = new StopDistributionRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        DistributionKeys = { "", },
        RequestId = "",
    };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = livestreamServiceClient.StopDistribution(request);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceStopDistribution(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopDistribution(string, IEnumerable\<string\>, CallSettings)

    public virtual Operation<ChannelOperationResponse, OperationMetadata> StopDistribution(string name, IEnumerable<string> distributionKeys, CallSettings callSettings = null)

Stops the specified distribution.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `distributionKeys` | `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1https://learn.microsoft.com/dotnet/api/system.string` Optional. A list of key to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be stopped. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    IEnumerable<string> distributionKeys = new string[] { "", };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = livestreamServiceClient.StopDistribution(name, distributionKeys);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceStopDistribution(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopDistributionAsync(ChannelName, IEnumerable\<string\>, CallSettings)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StopDistributionAsync(ChannelName name, IEnumerable<string> distributionKeys, CallSettings callSettings = null)

Stops the specified distribution.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `distributionKeys` | `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1https://learn.microsoft.com/dotnet/api/system.string` Optional. A list of key to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be stopped. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    IEnumerable<string> distributionKeys = new string[] { "", };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StopDistributionAsync(name, distributionKeys);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStopDistributionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopDistributionAsync(ChannelName, IEnumerable\<string\>, CancellationToken)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StopDistributionAsync(ChannelName name, IEnumerable<string> distributionKeys, CancellationToken cancellationToken)

Stops the specified distribution.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelName` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `distributionKeys` | `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1https://learn.microsoft.com/dotnet/api/system.string` Optional. A list of key to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be stopped. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    ChannelName name = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]");
    IEnumerable<string> distributionKeys = new string[] { "", };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StopDistributionAsync(name, distributionKeys);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStopDistributionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopDistributionAsync(StopDistributionRequest, CallSettings)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StopDistributionAsync(StopDistributionRequest request, CallSettings callSettings = null)

Stops the specified distribution.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StopDistributionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    StopDistributionRequest request = new StopDistributionRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        DistributionKeys = { "", },
        RequestId = "",
    };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StopDistributionAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStopDistributionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopDistributionAsync(StopDistributionRequest, CancellationToken)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StopDistributionAsync(StopDistributionRequest request, CancellationToken cancellationToken)

Stops the specified distribution.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StopDistributionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    StopDistributionRequest request = new StopDistributionRequest
    {
        ChannelName = ChannelName.FromProjectLocationChannel("[PROJECT]", "[LOCATION]", "[CHANNEL]"),
        DistributionKeys = { "", },
        RequestId = "",
    };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StopDistributionAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStopDistributionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopDistributionAsync(string, IEnumerable\<string\>, CallSettings)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StopDistributionAsync(string name, IEnumerable<string> distributionKeys, CallSettings callSettings = null)

Stops the specified distribution.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `distributionKeys` | `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1https://learn.microsoft.com/dotnet/api/system.string` Optional. A list of key to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be stopped. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    IEnumerable<string> distributionKeys = new string[] { "", };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StopDistributionAsync(name, distributionKeys);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStopDistributionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### StopDistributionAsync(string, IEnumerable\<string\>, CancellationToken)

    public virtual Task<Operation<ChannelOperationResponse, OperationMetadata>> StopDistributionAsync(string name, IEnumerable<string> distributionKeys, CancellationToken cancellationToken)

Stops the specified distribution.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the channel resource, in the form of: `projects/{project}/locations/{location}/channels/{channelId}`. |
| `distributionKeys` | `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1https://learn.microsoft.com/dotnet/api/system.string` Optional. A list of key to identify the distribution configuration in the channel resource. If left empty, all the distributions in the channel specification will be stopped. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.ChannelOperationResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/channels/[CHANNEL]";
    IEnumerable<string> distributionKeys = new string[] { "", };
    // Make the request
    Operation<ChannelOperationResponse, OperationMetadata> response = await livestreamServiceClient.StopDistributionAsync(name, distributionKeys);

    // Poll until the returned long-running operation is complete
    Operation<ChannelOperationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    ChannelOperationResponse result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<ChannelOperationResponse, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceStopDistributionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        ChannelOperationResponse retrievedResult = retrievedResponse.Result;
    }

### UpdateChannel(Channel, FieldMask, CallSettings)

    public virtual Operation<Channel, OperationMetadata> UpdateChannel(Channel channel, FieldMask updateMask, CallSettings callSettings = null)

Updates the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `channel` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` Required. The channel resource to be updated. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the Channel resource by the update. You can only update the following fields: - [`inputAttachments`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputattachment) - [`inputConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputconfig) - [`output`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#output) - [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#elementarystream) - [`muxStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#muxstream) - [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#manifest) - [`spriteSheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet) - [`logConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#logconfig) - [`timecodeConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#timecodeconfig) - [`encryptions`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#encryption) The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the mask is not present, then each field from the list above is updated if the field appears in the request payload. To unset a field, add the field to the update mask and remove it from the request payload. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    Channel channel = new Channel();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Channel, OperationMetadata> response = livestreamServiceClient.UpdateChannel(channel, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Channel, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Channel result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Channel, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceUpdateChannel(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Channel retrievedResult = retrievedResponse.Result;
    }

### UpdateChannel(UpdateChannelRequest, CallSettings)

    public virtual Operation<Channel, OperationMetadata> UpdateChannel(UpdateChannelRequest request, CallSettings callSettings = null)

Updates the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.UpdateChannelRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    UpdateChannelRequest request = new UpdateChannelRequest
    {
        UpdateMask = new FieldMask(),
        Channel = new Channel(),
        RequestId = "",
    };
    // Make the request
    Operation<Channel, OperationMetadata> response = livestreamServiceClient.UpdateChannel(request);

    // Poll until the returned long-running operation is complete
    Operation<Channel, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Channel result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Channel, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceUpdateChannel(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Channel retrievedResult = retrievedResponse.Result;
    }

### UpdateChannelAsync(Channel, FieldMask, CallSettings)

    public virtual Task<Operation<Channel, OperationMetadata>> UpdateChannelAsync(Channel channel, FieldMask updateMask, CallSettings callSettings = null)

Updates the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `channel` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` Required. The channel resource to be updated. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the Channel resource by the update. You can only update the following fields: - [`inputAttachments`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputattachment) - [`inputConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputconfig) - [`output`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#output) - [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#elementarystream) - [`muxStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#muxstream) - [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#manifest) - [`spriteSheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet) - [`logConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#logconfig) - [`timecodeConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#timecodeconfig) - [`encryptions`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#encryption) The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the mask is not present, then each field from the list above is updated if the field appears in the request payload. To unset a field, add the field to the update mask and remove it from the request payload. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    Channel channel = new Channel();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Channel, OperationMetadata> response = await livestreamServiceClient.UpdateChannelAsync(channel, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Channel, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Channel result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Channel, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceUpdateChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Channel retrievedResult = retrievedResponse.Result;
    }

### UpdateChannelAsync(Channel, FieldMask, CancellationToken)

    public virtual Task<Operation<Channel, OperationMetadata>> UpdateChannelAsync(Channel channel, FieldMask updateMask, CancellationToken cancellationToken)

Updates the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `channel` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channel` Required. The channel resource to be updated. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the Channel resource by the update. You can only update the following fields: - [`inputAttachments`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputattachment) - [`inputConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputconfig) - [`output`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#output) - [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#elementarystream) - [`muxStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#muxstream) - [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#manifest) - [`spriteSheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet) - [`logConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#logconfig) - [`timecodeConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#timecodeconfig) - [`encryptions`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#encryption) The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the mask is not present, then each field from the list above is updated if the field appears in the request payload. To unset a field, add the field to the update mask and remove it from the request payload. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    Channel channel = new Channel();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Channel, OperationMetadata> response = await livestreamServiceClient.UpdateChannelAsync(channel, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Channel, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Channel result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Channel, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceUpdateChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Channel retrievedResult = retrievedResponse.Result;
    }

### UpdateChannelAsync(UpdateChannelRequest, CallSettings)

    public virtual Task<Operation<Channel, OperationMetadata>> UpdateChannelAsync(UpdateChannelRequest request, CallSettings callSettings = null)

Updates the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.UpdateChannelRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    UpdateChannelRequest request = new UpdateChannelRequest
    {
        UpdateMask = new FieldMask(),
        Channel = new Channel(),
        RequestId = "",
    };
    // Make the request
    Operation<Channel, OperationMetadata> response = await livestreamServiceClient.UpdateChannelAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Channel, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Channel result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Channel, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceUpdateChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Channel retrievedResult = retrievedResponse.Result;
    }

### UpdateChannelAsync(UpdateChannelRequest, CancellationToken)

    public virtual Task<Operation<Channel, OperationMetadata>> UpdateChannelAsync(UpdateChannelRequest request, CancellationToken cancellationToken)

Updates the specified channel.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.UpdateChannelRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Channelhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    UpdateChannelRequest request = new UpdateChannelRequest
    {
        UpdateMask = new FieldMask(),
        Channel = new Channel(),
        RequestId = "",
    };
    // Make the request
    Operation<Channel, OperationMetadata> response = await livestreamServiceClient.UpdateChannelAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Channel, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Channel result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Channel, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceUpdateChannelAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Channel retrievedResult = retrievedResponse.Result;
    }

### UpdateDvrSession(DvrSession, FieldMask, CallSettings)

    public virtual Operation<DvrSession, OperationMetadata> UpdateDvrSession(DvrSession dvrSession, FieldMask updateMask, CallSettings callSettings = null)

Updates the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `dvrSession` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` Required. The DVR session resource to be updated. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Required. Field mask is used to specify the fields to be overwritten in the DvrSession resource by the update. You can only update the following fields: - `dvrWindows` The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    DvrSession dvrSession = new DvrSession();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<DvrSession, OperationMetadata> response = livestreamServiceClient.UpdateDvrSession(dvrSession, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<DvrSession, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DvrSession result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DvrSession, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceUpdateDvrSession(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DvrSession retrievedResult = retrievedResponse.Result;
    }

### UpdateDvrSession(UpdateDvrSessionRequest, CallSettings)

    public virtual Operation<DvrSession, OperationMetadata> UpdateDvrSession(UpdateDvrSessionRequest request, CallSettings callSettings = null)

Updates the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.UpdateDvrSessionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    UpdateDvrSessionRequest request = new UpdateDvrSessionRequest
    {
        UpdateMask = new FieldMask(),
        DvrSession = new DvrSession(),
        RequestId = "",
    };
    // Make the request
    Operation<DvrSession, OperationMetadata> response = livestreamServiceClient.UpdateDvrSession(request);

    // Poll until the returned long-running operation is complete
    Operation<DvrSession, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    DvrSession result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DvrSession, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceUpdateDvrSession(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DvrSession retrievedResult = retrievedResponse.Result;
    }

### UpdateDvrSessionAsync(DvrSession, FieldMask, CallSettings)

    public virtual Task<Operation<DvrSession, OperationMetadata>> UpdateDvrSessionAsync(DvrSession dvrSession, FieldMask updateMask, CallSettings callSettings = null)

Updates the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `dvrSession` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` Required. The DVR session resource to be updated. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Required. Field mask is used to specify the fields to be overwritten in the DvrSession resource by the update. You can only update the following fields: - `dvrWindows` The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DvrSession dvrSession = new DvrSession();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<DvrSession, OperationMetadata> response = await livestreamServiceClient.UpdateDvrSessionAsync(dvrSession, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<DvrSession, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DvrSession result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DvrSession, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceUpdateDvrSessionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DvrSession retrievedResult = retrievedResponse.Result;
    }

### UpdateDvrSessionAsync(DvrSession, FieldMask, CancellationToken)

    public virtual Task<Operation<DvrSession, OperationMetadata>> UpdateDvrSessionAsync(DvrSession dvrSession, FieldMask updateMask, CancellationToken cancellationToken)

Updates the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `dvrSession` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSession` Required. The DVR session resource to be updated. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Required. Field mask is used to specify the fields to be overwritten in the DvrSession resource by the update. You can only update the following fields: - `dvrWindows` The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    DvrSession dvrSession = new DvrSession();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<DvrSession, OperationMetadata> response = await livestreamServiceClient.UpdateDvrSessionAsync(dvrSession, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<DvrSession, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DvrSession result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DvrSession, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceUpdateDvrSessionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DvrSession retrievedResult = retrievedResponse.Result;
    }

### UpdateDvrSessionAsync(UpdateDvrSessionRequest, CallSettings)

    public virtual Task<Operation<DvrSession, OperationMetadata>> UpdateDvrSessionAsync(UpdateDvrSessionRequest request, CallSettings callSettings = null)

Updates the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.UpdateDvrSessionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    UpdateDvrSessionRequest request = new UpdateDvrSessionRequest
    {
        UpdateMask = new FieldMask(),
        DvrSession = new DvrSession(),
        RequestId = "",
    };
    // Make the request
    Operation<DvrSession, OperationMetadata> response = await livestreamServiceClient.UpdateDvrSessionAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DvrSession, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DvrSession result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DvrSession, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceUpdateDvrSessionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DvrSession retrievedResult = retrievedResponse.Result;
    }

### UpdateDvrSessionAsync(UpdateDvrSessionRequest, CancellationToken)

    public virtual Task<Operation<DvrSession, OperationMetadata>> UpdateDvrSessionAsync(UpdateDvrSessionRequest request, CancellationToken cancellationToken)

Updates the specified DVR session.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.UpdateDvrSessionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.DvrSessionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    UpdateDvrSessionRequest request = new UpdateDvrSessionRequest
    {
        UpdateMask = new FieldMask(),
        DvrSession = new DvrSession(),
        RequestId = "",
    };
    // Make the request
    Operation<DvrSession, OperationMetadata> response = await livestreamServiceClient.UpdateDvrSessionAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<DvrSession, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    DvrSession result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<DvrSession, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceUpdateDvrSessionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        DvrSession retrievedResult = retrievedResponse.Result;
    }

### UpdateInput(Input, FieldMask, CallSettings)

    public virtual Operation<Input, OperationMetadata> UpdateInput(Input input, FieldMask updateMask, CallSettings callSettings = null)

Updates the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `input` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` Required. The input resource to be updated. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the Input resource by the update. You can only update the following fields: - [`tier`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#Tier) - [`preprocessingConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#PreprocessingConfig) - [`securityRules`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#SecurityRule) The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the mask is not present, then each field from the list above is updated if the field appears in the request payload. To unset a field, add the field to the update mask and remove it from the request payload. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    Input input = new Input();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Input, OperationMetadata> response = livestreamServiceClient.UpdateInput(input, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Input, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Input result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Input, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceUpdateInput(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Input retrievedResult = retrievedResponse.Result;
    }

### UpdateInput(UpdateInputRequest, CallSettings)

    public virtual Operation<Input, OperationMetadata> UpdateInput(UpdateInputRequest request, CallSettings callSettings = null)

Updates the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.UpdateInputRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    UpdateInputRequest request = new UpdateInputRequest
    {
        UpdateMask = new FieldMask(),
        Input = new Input(),
        RequestId = "",
    };
    // Make the request
    Operation<Input, OperationMetadata> response = livestreamServiceClient.UpdateInput(request);

    // Poll until the returned long-running operation is complete
    Operation<Input, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Input result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Input, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceUpdateInput(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Input retrievedResult = retrievedResponse.Result;
    }

### UpdateInputAsync(Input, FieldMask, CallSettings)

    public virtual Task<Operation<Input, OperationMetadata>> UpdateInputAsync(Input input, FieldMask updateMask, CallSettings callSettings = null)

Updates the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `input` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` Required. The input resource to be updated. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the Input resource by the update. You can only update the following fields: - [`tier`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#Tier) - [`preprocessingConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#PreprocessingConfig) - [`securityRules`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#SecurityRule) The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the mask is not present, then each field from the list above is updated if the field appears in the request payload. To unset a field, add the field to the update mask and remove it from the request payload. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    Input input = new Input();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Input, OperationMetadata> response = await livestreamServiceClient.UpdateInputAsync(input, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Input, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Input result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Input, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceUpdateInputAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Input retrievedResult = retrievedResponse.Result;
    }

### UpdateInputAsync(Input, FieldMask, CancellationToken)

    public virtual Task<Operation<Input, OperationMetadata>> UpdateInputAsync(Input input, FieldMask updateMask, CancellationToken cancellationToken)

Updates the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `input` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Input` Required. The input resource to be updated. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the Input resource by the update. You can only update the following fields: - [`tier`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#Tier) - [`preprocessingConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#PreprocessingConfig) - [`securityRules`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.inputs#SecurityRule) The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the mask is not present, then each field from the list above is updated if the field appears in the request payload. To unset a field, add the field to the update mask and remove it from the request payload. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    Input input = new Input();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Input, OperationMetadata> response = await livestreamServiceClient.UpdateInputAsync(input, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Input, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Input result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Input, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceUpdateInputAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Input retrievedResult = retrievedResponse.Result;
    }

### UpdateInputAsync(UpdateInputRequest, CallSettings)

    public virtual Task<Operation<Input, OperationMetadata>> UpdateInputAsync(UpdateInputRequest request, CallSettings callSettings = null)

Updates the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.UpdateInputRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    UpdateInputRequest request = new UpdateInputRequest
    {
        UpdateMask = new FieldMask(),
        Input = new Input(),
        RequestId = "",
    };
    // Make the request
    Operation<Input, OperationMetadata> response = await livestreamServiceClient.UpdateInputAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Input, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Input result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Input, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceUpdateInputAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Input retrievedResult = retrievedResponse.Result;
    }

### UpdateInputAsync(UpdateInputRequest, CancellationToken)

    public virtual Task<Operation<Input, OperationMetadata>> UpdateInputAsync(UpdateInputRequest request, CancellationToken cancellationToken)

Updates the specified input.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.UpdateInputRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Inputhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    UpdateInputRequest request = new UpdateInputRequest
    {
        UpdateMask = new FieldMask(),
        Input = new Input(),
        RequestId = "",
    };
    // Make the request
    Operation<Input, OperationMetadata> response = await livestreamServiceClient.UpdateInputAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Input, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Input result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Input, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceUpdateInputAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Input retrievedResult = retrievedResponse.Result;
    }

### UpdatePool(Pool, FieldMask, CallSettings)

    public virtual Operation<Pool, OperationMetadata> UpdatePool(Pool pool, FieldMask updateMask, CallSettings callSettings = null)

Updates the specified pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `pool` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Pool` Required. The pool resource to be updated. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the Pool resource by the update. You can only update the following fields: - `networkConfig` The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Poolhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    Pool pool = new Pool();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Pool, OperationMetadata> response = livestreamServiceClient.UpdatePool(pool, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Pool, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Pool result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Pool, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceUpdatePool(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Pool retrievedResult = retrievedResponse.Result;
    }

### UpdatePool(UpdatePoolRequest, CallSettings)

    public virtual Operation<Pool, OperationMetadata> UpdatePool(UpdatePoolRequest request, CallSettings callSettings = null)

Updates the specified pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.UpdatePoolRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Poolhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = LivestreamServiceClient.Create();
    // Initialize request argument(s)
    UpdatePoolRequest request = new UpdatePoolRequest
    {
        UpdateMask = new FieldMask(),
        Pool = new Pool(),
        RequestId = "",
    };
    // Make the request
    Operation<Pool, OperationMetadata> response = livestreamServiceClient.UpdatePool(request);

    // Poll until the returned long-running operation is complete
    Operation<Pool, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Pool result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Pool, OperationMetadata> retrievedResponse = livestreamServiceClient.PollOnceUpdatePool(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Pool retrievedResult = retrievedResponse.Result;
    }

### UpdatePoolAsync(Pool, FieldMask, CallSettings)

    public virtual Task<Operation<Pool, OperationMetadata>> UpdatePoolAsync(Pool pool, FieldMask updateMask, CallSettings callSettings = null)

Updates the specified pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `pool` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Pool` Required. The pool resource to be updated. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the Pool resource by the update. You can only update the following fields: - `networkConfig` The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Poolhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    Pool pool = new Pool();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Pool, OperationMetadata> response = await livestreamServiceClient.UpdatePoolAsync(pool, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Pool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Pool result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Pool, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceUpdatePoolAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Pool retrievedResult = retrievedResponse.Result;
    }

### UpdatePoolAsync(Pool, FieldMask, CancellationToken)

    public virtual Task<Operation<Pool, OperationMetadata>> UpdatePoolAsync(Pool pool, FieldMask updateMask, CancellationToken cancellationToken)

Updates the specified pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `pool` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Pool` Required. The pool resource to be updated. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Field mask is used to specify the fields to be overwritten in the Pool resource by the update. You can only update the following fields: - `networkConfig` The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Poolhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    Pool pool = new Pool();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Pool, OperationMetadata> response = await livestreamServiceClient.UpdatePoolAsync(pool, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Pool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Pool result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Pool, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceUpdatePoolAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Pool retrievedResult = retrievedResponse.Result;
    }

### UpdatePoolAsync(UpdatePoolRequest, CallSettings)

    public virtual Task<Operation<Pool, OperationMetadata>> UpdatePoolAsync(UpdatePoolRequest request, CallSettings callSettings = null)

Updates the specified pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.UpdatePoolRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Poolhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    UpdatePoolRequest request = new UpdatePoolRequest
    {
        UpdateMask = new FieldMask(),
        Pool = new Pool(),
        RequestId = "",
    };
    // Make the request
    Operation<Pool, OperationMetadata> response = await livestreamServiceClient.UpdatePoolAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Pool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Pool result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Pool, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceUpdatePoolAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Pool retrievedResult = retrievedResponse.Result;
    }

### UpdatePoolAsync(UpdatePoolRequest, CancellationToken)

    public virtual Task<Operation<Pool, OperationMetadata>> UpdatePoolAsync(UpdatePoolRequest request, CancellationToken cancellationToken)

Updates the specified pool.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.UpdatePoolRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.Poolhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    LivestreamServiceClient livestreamServiceClient = await LivestreamServiceClient.CreateAsync();
    // Initialize request argument(s)
    UpdatePoolRequest request = new UpdatePoolRequest
    {
        UpdateMask = new FieldMask(),
        Pool = new Pool(),
        RequestId = "",
    };
    // Make the request
    Operation<Pool, OperationMetadata> response = await livestreamServiceClient.UpdatePoolAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Pool, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Pool result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Pool, OperationMetadata> retrievedResponse = await livestreamServiceClient.PollOnceUpdatePoolAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Pool retrievedResult = retrievedResponse.Result;
    }