Live Stream v1 API - Class LivestreamServiceClientImpl (1.2.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

GoogleCloudGoogle.Cloud.VideoGoogle.Cloud.Video.LiveStreamV1

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
NameDescription
grpcClientLivestreamServiceLivestreamServiceClient

The underlying gRPC client.

settingsLivestreamServiceSettings

The base LivestreamServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateChannelOperationsClient

public override OperationsClient CreateChannelOperationsClient { get; }

The long-running operations client for CreateChannel.

Property Value
TypeDescription
OperationsClient
Overrides

CreateInputOperationsClient

public override OperationsClient CreateInputOperationsClient { get; }

The long-running operations client for CreateInput.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteChannelOperationsClient

public override OperationsClient DeleteChannelOperationsClient { get; }

The long-running operations client for DeleteChannel.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteInputOperationsClient

public override OperationsClient DeleteInputOperationsClient { get; }

The long-running operations client for DeleteInput.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override LivestreamService.LivestreamServiceClient GrpcClient { get; }

The underlying gRPC LivestreamService client

Property Value
TypeDescription
LivestreamServiceLivestreamServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

StartChannelOperationsClient

public override OperationsClient StartChannelOperationsClient { get; }

The long-running operations client for StartChannel.

Property Value
TypeDescription
OperationsClient
Overrides

StopChannelOperationsClient

public override OperationsClient StopChannelOperationsClient { get; }

The long-running operations client for StopChannel.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateChannelOperationsClient

public override OperationsClient UpdateChannelOperationsClient { get; }

The long-running operations client for UpdateChannel.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateInputOperationsClient

public override OperationsClient UpdateInputOperationsClient { get; }

The long-running operations client for UpdateInput.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

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
NameDescription
requestCreateChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateEventRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateEventRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateInputRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestCreateInputRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationInputOperationMetadata

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
NameDescription
requestDeleteChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteEventRequest

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

callSettingsCallSettings

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
NameDescription
requestDeleteEventRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteInputRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteInputRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

GetChannel(GetChannelRequest, CallSettings)

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

Returns the specified channel.

Parameters
NameDescription
requestGetChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Channel

The RPC response.

Overrides

GetChannelAsync(GetChannelRequest, CallSettings)

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

Returns the specified channel.

Parameters
NameDescription
requestGetChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetEventRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Event

The RPC response.

Overrides

GetEventAsync(GetEventRequest, CallSettings)

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

Returns the specified event.

Parameters
NameDescription
requestGetEventRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetInputRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Input

The RPC response.

Overrides

GetInputAsync(GetInputRequest, CallSettings)

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

Returns the specified input.

Parameters
NameDescription
requestGetInputRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskInput

A Task containing the RPC response.

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
NameDescription
requestListChannelsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListChannelsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListEventsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListEventsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListInputsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListInputsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestStartChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestStartChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestStopChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestStopChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateChannelRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateInputRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateInputRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationInputOperationMetadata

A Task containing the RPC response.

Overrides