Live Stream v1 API - Class LivestreamServiceClientImpl (1.1.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(LivestreamService.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
grpcClientLivestreamService.LivestreamServiceClient

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
LivestreamService.LivestreamServiceClient
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
Operation<Channel, OperationMetadata>

The RPC response.

Overrides

CreateChannelAsync(CreateChannelRequest, CallSettings)

public override async 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
Task<Operation<Channel, OperationMetadata>>

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
Task<Event>

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
Operation<Input, OperationMetadata>

The RPC response.

Overrides

CreateInputAsync(CreateInputRequest, CallSettings)

public override async 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
Task<Operation<Input, OperationMetadata>>

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
Operation<Empty, OperationMetadata>

The RPC response.

Overrides

DeleteChannelAsync(DeleteChannelRequest, CallSettings)

public override async 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
Task<Operation<Empty, OperationMetadata>>

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
Operation<Empty, OperationMetadata>

The RPC response.

Overrides

DeleteInputAsync(DeleteInputRequest, CallSettings)

public override async 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
Task<Operation<Empty, OperationMetadata>>

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
Task<Channel>

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
Task<Event>

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
Task<Input>

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
PagedEnumerable<ListChannelsResponse, Channel>

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
PagedAsyncEnumerable<ListChannelsResponse, Channel>

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
PagedEnumerable<ListEventsResponse, Event>

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
PagedAsyncEnumerable<ListEventsResponse, Event>

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
PagedEnumerable<ListInputsResponse, Input>

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
PagedAsyncEnumerable<ListInputsResponse, Input>

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
Operation<ChannelOperationResponse, OperationMetadata>

The RPC response.

Overrides

StartChannelAsync(StartChannelRequest, CallSettings)

public override async 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
Task<Operation<ChannelOperationResponse, OperationMetadata>>

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
Operation<ChannelOperationResponse, OperationMetadata>

The RPC response.

Overrides

StopChannelAsync(StopChannelRequest, CallSettings)

public override async 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
Task<Operation<ChannelOperationResponse, OperationMetadata>>

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
Operation<Channel, OperationMetadata>

The RPC response.

Overrides

UpdateChannelAsync(UpdateChannelRequest, CallSettings)

public override async 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
Task<Operation<Channel, OperationMetadata>>

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
Operation<Input, OperationMetadata>

The RPC response.

Overrides

UpdateInputAsync(UpdateInputRequest, CallSettings)

public override async 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
Task<Operation<Input, OperationMetadata>>

A Task containing the RPC response.

Overrides