Live Stream v1 API - Class LivestreamServiceClientImpl (1.6.0)

public sealed class LivestreamServiceClientImpl : LivestreamServiceClient

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

LivestreamService client wrapper implementation, for convenient use.

Inheritance

object > LivestreamServiceClient > LivestreamServiceClientImpl

Namespace

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

Constructors

LivestreamServiceClientImpl(LivestreamServiceClient, LivestreamServiceSettings, ILogger)

public LivestreamServiceClientImpl(LivestreamService.LivestreamServiceClient grpcClient, LivestreamServiceSettings settings, ILogger logger)

Constructs a client wrapper for the LivestreamService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient LivestreamServiceLivestreamServiceClient

The underlying gRPC client.

settings LivestreamServiceSettings

The base LivestreamServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CreateAssetOperationsClient

public override OperationsClient CreateAssetOperationsClient { get; }

The long-running operations client for CreateAsset.

Property Value
Type Description
OperationsClient
Overrides

CreateChannelOperationsClient

public override OperationsClient CreateChannelOperationsClient { get; }

The long-running operations client for CreateChannel.

Property Value
Type Description
OperationsClient
Overrides

CreateInputOperationsClient

public override OperationsClient CreateInputOperationsClient { get; }

The long-running operations client for CreateInput.

Property Value
Type Description
OperationsClient
Overrides

DeleteAssetOperationsClient

public override OperationsClient DeleteAssetOperationsClient { get; }

The long-running operations client for DeleteAsset.

Property Value
Type Description
OperationsClient
Overrides

DeleteChannelOperationsClient

public override OperationsClient DeleteChannelOperationsClient { get; }

The long-running operations client for DeleteChannel.

Property Value
Type Description
OperationsClient
Overrides

DeleteInputOperationsClient

public override OperationsClient DeleteInputOperationsClient { get; }

The long-running operations client for DeleteInput.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override LivestreamService.LivestreamServiceClient GrpcClient { get; }

The underlying gRPC LivestreamService client

Property Value
Type Description
LivestreamServiceLivestreamServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

StartChannelOperationsClient

public override OperationsClient StartChannelOperationsClient { get; }

The long-running operations client for StartChannel.

Property Value
Type Description
OperationsClient
Overrides

StopChannelOperationsClient

public override OperationsClient StopChannelOperationsClient { get; }

The long-running operations client for StopChannel.

Property Value
Type Description
OperationsClient
Overrides

UpdateChannelOperationsClient

public override OperationsClient UpdateChannelOperationsClient { get; }

The long-running operations client for UpdateChannel.

Property Value
Type Description
OperationsClient
Overrides

UpdateInputOperationsClient

public override OperationsClient UpdateInputOperationsClient { get; }

The long-running operations client for UpdateInput.

Property Value
Type Description
OperationsClient
Overrides

UpdatePoolOperationsClient

public override OperationsClient UpdatePoolOperationsClient { get; }

The long-running operations client for UpdatePool.

Property Value
Type Description
OperationsClient
Overrides

Methods

CreateAsset(CreateAssetRequest, CallSettings)

public override 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 CreateAssetRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationAssetOperationMetadata

The RPC response.

Overrides

CreateAssetAsync(CreateAssetRequest, CallSettings)

public override 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 CreateAssetRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationAssetOperationMetadata

A Task containing the RPC response.

Overrides

CreateChannel(CreateChannelRequest, CallSettings)

public override 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 CreateChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationChannelOperationMetadata

The RPC response.

Overrides

CreateChannelAsync(CreateChannelRequest, CallSettings)

public override 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 CreateChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationChannelOperationMetadata

A Task containing the RPC response.

Overrides

CreateEvent(CreateEventRequest, CallSettings)

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

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

Parameters
Name Description
request CreateEventRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Event

The RPC response.

Overrides

CreateEventAsync(CreateEventRequest, CallSettings)

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

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

Parameters
Name Description
request CreateEventRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEvent

A Task containing the RPC response.

Overrides

CreateInput(CreateInputRequest, CallSettings)

public override 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 CreateInputRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInputOperationMetadata

The RPC response.

Overrides

CreateInputAsync(CreateInputRequest, CallSettings)

public override 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 CreateInputRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInputOperationMetadata

A Task containing the RPC response.

Overrides

DeleteAsset(DeleteAssetRequest, CallSettings)

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

Deletes the specified asset if it is not used.

Parameters
Name Description
request DeleteAssetRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteAssetAsync(DeleteAssetRequest, CallSettings)

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

Deletes the specified asset if it is not used.

Parameters
Name Description
request DeleteAssetRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

DeleteChannel(DeleteChannelRequest, CallSettings)

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

Deletes the specified channel.

Parameters
Name Description
request DeleteChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteChannelAsync(DeleteChannelRequest, CallSettings)

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

Deletes the specified channel.

Parameters
Name Description
request DeleteChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

DeleteEvent(DeleteEventRequest, CallSettings)

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

Deletes the specified event.

Parameters
Name Description
request DeleteEventRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteEventAsync(DeleteEventRequest, CallSettings)

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

Deletes the specified event.

Parameters
Name Description
request DeleteEventRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

DeleteInput(DeleteInputRequest, CallSettings)

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

Deletes the specified input.

Parameters
Name Description
request DeleteInputRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteInputAsync(DeleteInputRequest, CallSettings)

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

Deletes the specified input.

Parameters
Name Description
request DeleteInputRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

GetAsset(GetAssetRequest, CallSettings)

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

Returns the specified asset.

Parameters
Name Description
request GetAssetRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Asset

The RPC response.

Overrides

GetAssetAsync(GetAssetRequest, CallSettings)

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

Returns the specified asset.

Parameters
Name Description
request GetAssetRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskAsset

A Task containing the RPC response.

Overrides

GetChannel(GetChannelRequest, CallSettings)

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

Returns the specified channel.

Parameters
Name Description
request GetChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Channel

The RPC response.

Overrides

GetChannelAsync(GetChannelRequest, CallSettings)

public override Task<Channel> GetChannelAsync(GetChannelRequest request, CallSettings callSettings = null)

Returns the specified channel.

Parameters
Name Description
request GetChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskChannel

A Task containing the RPC response.

Overrides

GetEvent(GetEventRequest, CallSettings)

public override Event GetEvent(GetEventRequest request, CallSettings callSettings = null)

Returns the specified event.

Parameters
Name Description
request GetEventRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Event

The RPC response.

Overrides

GetEventAsync(GetEventRequest, CallSettings)

public override Task<Event> GetEventAsync(GetEventRequest request, CallSettings callSettings = null)

Returns the specified event.

Parameters
Name Description
request GetEventRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEvent

A Task containing the RPC response.

Overrides

GetInput(GetInputRequest, CallSettings)

public override Input GetInput(GetInputRequest request, CallSettings callSettings = null)

Returns the specified input.

Parameters
Name Description
request GetInputRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Input

The RPC response.

Overrides

GetInputAsync(GetInputRequest, CallSettings)

public override Task<Input> GetInputAsync(GetInputRequest request, CallSettings callSettings = null)

Returns the specified input.

Parameters
Name Description
request GetInputRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInput

A Task containing the RPC response.

Overrides

GetPool(GetPoolRequest, CallSettings)

public override Pool GetPool(GetPoolRequest request, CallSettings callSettings = null)

Returns the specified pool.

Parameters
Name Description
request GetPoolRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Pool

The RPC response.

Overrides

GetPoolAsync(GetPoolRequest, CallSettings)

public override Task<Pool> GetPoolAsync(GetPoolRequest request, CallSettings callSettings = null)

Returns the specified pool.

Parameters
Name Description
request GetPoolRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPool

A Task containing the RPC response.

Overrides

ListAssets(ListAssetsRequest, CallSettings)

public override PagedEnumerable<ListAssetsResponse, Asset> ListAssets(ListAssetsRequest request, CallSettings callSettings = null)

Returns a list of all assets in the specified region.

Parameters
Name Description
request ListAssetsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListAssetsResponseAsset

A pageable sequence of Asset resources.

Overrides

ListAssetsAsync(ListAssetsRequest, CallSettings)

public override PagedAsyncEnumerable<ListAssetsResponse, Asset> ListAssetsAsync(ListAssetsRequest request, CallSettings callSettings = null)

Returns a list of all assets in the specified region.

Parameters
Name Description
request ListAssetsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListAssetsResponseAsset

A pageable asynchronous sequence of Asset resources.

Overrides

ListChannels(ListChannelsRequest, CallSettings)

public override PagedEnumerable<ListChannelsResponse, Channel> ListChannels(ListChannelsRequest request, CallSettings callSettings = null)

Returns a list of all channels in the specified region.

Parameters
Name Description
request ListChannelsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListChannelsResponseChannel

A pageable sequence of Channel resources.

Overrides

ListChannelsAsync(ListChannelsRequest, CallSettings)

public override PagedAsyncEnumerable<ListChannelsResponse, Channel> ListChannelsAsync(ListChannelsRequest request, CallSettings callSettings = null)

Returns a list of all channels in the specified region.

Parameters
Name Description
request ListChannelsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListChannelsResponseChannel

A pageable asynchronous sequence of Channel resources.

Overrides

ListEvents(ListEventsRequest, CallSettings)

public override PagedEnumerable<ListEventsResponse, Event> ListEvents(ListEventsRequest request, CallSettings callSettings = null)

Returns a list of all events in the specified channel.

Parameters
Name Description
request ListEventsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListEventsResponseEvent

A pageable sequence of Event resources.

Overrides

ListEventsAsync(ListEventsRequest, CallSettings)

public override PagedAsyncEnumerable<ListEventsResponse, Event> ListEventsAsync(ListEventsRequest request, CallSettings callSettings = null)

Returns a list of all events in the specified channel.

Parameters
Name Description
request ListEventsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListEventsResponseEvent

A pageable asynchronous sequence of Event resources.

Overrides

ListInputs(ListInputsRequest, CallSettings)

public override PagedEnumerable<ListInputsResponse, Input> ListInputs(ListInputsRequest request, CallSettings callSettings = null)

Returns a list of all inputs in the specified region.

Parameters
Name Description
request ListInputsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListInputsResponseInput

A pageable sequence of Input resources.

Overrides

ListInputsAsync(ListInputsRequest, CallSettings)

public override PagedAsyncEnumerable<ListInputsResponse, Input> ListInputsAsync(ListInputsRequest request, CallSettings callSettings = null)

Returns a list of all inputs in the specified region.

Parameters
Name Description
request ListInputsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListInputsResponseInput

A pageable asynchronous sequence of Input resources.

Overrides

StartChannel(StartChannelRequest, CallSettings)

public override 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 StartChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationChannelOperationResponseOperationMetadata

The RPC response.

Overrides

StartChannelAsync(StartChannelRequest, CallSettings)

public override 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 StartChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationChannelOperationResponseOperationMetadata

A Task containing the RPC response.

Overrides

StopChannel(StopChannelRequest, CallSettings)

public override 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 StopChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationChannelOperationResponseOperationMetadata

The RPC response.

Overrides

StopChannelAsync(StopChannelRequest, CallSettings)

public override 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 StopChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationChannelOperationResponseOperationMetadata

A Task containing the RPC response.

Overrides

UpdateChannel(UpdateChannelRequest, CallSettings)

public override Operation<Channel, OperationMetadata> UpdateChannel(UpdateChannelRequest request, CallSettings callSettings = null)

Updates the specified channel.

Parameters
Name Description
request UpdateChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationChannelOperationMetadata

The RPC response.

Overrides

UpdateChannelAsync(UpdateChannelRequest, CallSettings)

public override Task<Operation<Channel, OperationMetadata>> UpdateChannelAsync(UpdateChannelRequest request, CallSettings callSettings = null)

Updates the specified channel.

Parameters
Name Description
request UpdateChannelRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationChannelOperationMetadata

A Task containing the RPC response.

Overrides

UpdateInput(UpdateInputRequest, CallSettings)

public override Operation<Input, OperationMetadata> UpdateInput(UpdateInputRequest request, CallSettings callSettings = null)

Updates the specified input.

Parameters
Name Description
request UpdateInputRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInputOperationMetadata

The RPC response.

Overrides

UpdateInputAsync(UpdateInputRequest, CallSettings)

public override Task<Operation<Input, OperationMetadata>> UpdateInputAsync(UpdateInputRequest request, CallSettings callSettings = null)

Updates the specified input.

Parameters
Name Description
request UpdateInputRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInputOperationMetadata

A Task containing the RPC response.

Overrides

UpdatePool(UpdatePoolRequest, CallSettings)

public override Operation<Pool, OperationMetadata> UpdatePool(UpdatePoolRequest request, CallSettings callSettings = null)

Updates the specified pool.

Parameters
Name Description
request UpdatePoolRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationPoolOperationMetadata

The RPC response.

Overrides

UpdatePoolAsync(UpdatePoolRequest, CallSettings)

public override Task<Operation<Pool, OperationMetadata>> UpdatePoolAsync(UpdatePoolRequest request, CallSettings callSettings = null)

Updates the specified pool.

Parameters
Name Description
request UpdatePoolRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationPoolOperationMetadata

A Task containing the RPC response.

Overrides