Live Stream v1 API - Class LivestreamService.LivestreamServiceClient (1.3.0)

public class LivestreamService.LivestreamServiceClient : ClientBase<LivestreamService.LivestreamServiceClient>

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

Client for LivestreamService

Inheritance

object > ClientBase > ClientBaseLivestreamServiceLivestreamServiceClient > LivestreamService.LivestreamServiceClient

Namespace

Google.Cloud.Video.LiveStream.V1

Assembly

Google.Cloud.Video.LiveStream.V1.dll

Constructors

LivestreamServiceClient()

protected LivestreamServiceClient()

Protected parameterless constructor to allow creation of test doubles.

LivestreamServiceClient(CallInvoker)

public LivestreamServiceClient(CallInvoker callInvoker)

Creates a new client for LivestreamService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

LivestreamServiceClient(ChannelBase)

public LivestreamServiceClient(ChannelBase channel)

Creates a new client for LivestreamService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

LivestreamServiceClient(ClientBaseConfiguration)

protected LivestreamServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateAsset(CreateAssetRequest, CallOptions)

public virtual Operation CreateAsset(CreateAssetRequest request, CallOptions options)

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

Parameters
NameDescription
requestCreateAssetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateAsset(CreateAssetRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateAsset(CreateAssetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestCreateAssetRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateAssetAsync(CreateAssetRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateAssetAsync(CreateAssetRequest request, CallOptions options)

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

Parameters
NameDescription
requestCreateAssetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateAssetAsync(CreateAssetRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateAssetAsync(CreateAssetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestCreateAssetRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateChannel(CreateChannelRequest, CallOptions)

public virtual Operation CreateChannel(CreateChannelRequest request, CallOptions options)

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

Parameters
NameDescription
requestCreateChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateChannel(CreateChannelRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateChannel(CreateChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestCreateChannelRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateChannelAsync(CreateChannelRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateChannelAsync(CreateChannelRequest request, CallOptions options)

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

Parameters
NameDescription
requestCreateChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateChannelAsync(CreateChannelRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateChannelAsync(CreateChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestCreateChannelRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateEvent(CreateEventRequest, CallOptions)

public virtual Event CreateEvent(CreateEventRequest request, CallOptions options)

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

Parameters
NameDescription
requestCreateEventRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Event

The response received from the server.

CreateEvent(CreateEventRequest, Metadata, DateTime?, CancellationToken)

public virtual Event CreateEvent(CreateEventRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestCreateEventRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Event

The response received from the server.

CreateEventAsync(CreateEventRequest, CallOptions)

public virtual AsyncUnaryCall<Event> CreateEventAsync(CreateEventRequest request, CallOptions options)

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

Parameters
NameDescription
requestCreateEventRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEvent

The call object.

CreateEventAsync(CreateEventRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Event> CreateEventAsync(CreateEventRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestCreateEventRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEvent

The call object.

CreateInput(CreateInputRequest, CallOptions)

public virtual Operation CreateInput(CreateInputRequest request, CallOptions options)

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

Parameters
NameDescription
requestCreateInputRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateInput(CreateInputRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateInput(CreateInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestCreateInputRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateInputAsync(CreateInputRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateInputAsync(CreateInputRequest request, CallOptions options)

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

Parameters
NameDescription
requestCreateInputRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateInputAsync(CreateInputRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateInputAsync(CreateInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestCreateInputRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
TypeDescription
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

DeleteAsset(DeleteAssetRequest, CallOptions)

public virtual Operation DeleteAsset(DeleteAssetRequest request, CallOptions options)

Deletes the specified asset if it is not used.

Parameters
NameDescription
requestDeleteAssetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteAsset(DeleteAssetRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteAsset(DeleteAssetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified asset if it is not used.

Parameters
NameDescription
requestDeleteAssetRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteAssetAsync(DeleteAssetRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAssetAsync(DeleteAssetRequest request, CallOptions options)

Deletes the specified asset if it is not used.

Parameters
NameDescription
requestDeleteAssetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteAssetAsync(DeleteAssetRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAssetAsync(DeleteAssetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified asset if it is not used.

Parameters
NameDescription
requestDeleteAssetRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteChannel(DeleteChannelRequest, CallOptions)

public virtual Operation DeleteChannel(DeleteChannelRequest request, CallOptions options)

Deletes the specified channel.

Parameters
NameDescription
requestDeleteChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteChannel(DeleteChannelRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteChannel(DeleteChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified channel.

Parameters
NameDescription
requestDeleteChannelRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteChannelAsync(DeleteChannelRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteChannelAsync(DeleteChannelRequest request, CallOptions options)

Deletes the specified channel.

Parameters
NameDescription
requestDeleteChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteChannelAsync(DeleteChannelRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteChannelAsync(DeleteChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified channel.

Parameters
NameDescription
requestDeleteChannelRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteEvent(DeleteEventRequest, CallOptions)

public virtual Empty DeleteEvent(DeleteEventRequest request, CallOptions options)

Deletes the specified event.

Parameters
NameDescription
requestDeleteEventRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteEvent(DeleteEventRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteEvent(DeleteEventRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified event.

Parameters
NameDescription
requestDeleteEventRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteEventAsync(DeleteEventRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteEventAsync(DeleteEventRequest request, CallOptions options)

Deletes the specified event.

Parameters
NameDescription
requestDeleteEventRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteEventAsync(DeleteEventRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteEventAsync(DeleteEventRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified event.

Parameters
NameDescription
requestDeleteEventRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteInput(DeleteInputRequest, CallOptions)

public virtual Operation DeleteInput(DeleteInputRequest request, CallOptions options)

Deletes the specified input.

Parameters
NameDescription
requestDeleteInputRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteInput(DeleteInputRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteInput(DeleteInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified input.

Parameters
NameDescription
requestDeleteInputRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteInputAsync(DeleteInputRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteInputAsync(DeleteInputRequest request, CallOptions options)

Deletes the specified input.

Parameters
NameDescription
requestDeleteInputRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteInputAsync(DeleteInputRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteInputAsync(DeleteInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified input.

Parameters
NameDescription
requestDeleteInputRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

GetAsset(GetAssetRequest, CallOptions)

public virtual Asset GetAsset(GetAssetRequest request, CallOptions options)

Returns the specified asset.

Parameters
NameDescription
requestGetAssetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Asset

The response received from the server.

GetAsset(GetAssetRequest, Metadata, DateTime?, CancellationToken)

public virtual Asset GetAsset(GetAssetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified asset.

Parameters
NameDescription
requestGetAssetRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Asset

The response received from the server.

GetAssetAsync(GetAssetRequest, CallOptions)

public virtual AsyncUnaryCall<Asset> GetAssetAsync(GetAssetRequest request, CallOptions options)

Returns the specified asset.

Parameters
NameDescription
requestGetAssetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallAsset

The call object.

GetAssetAsync(GetAssetRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Asset> GetAssetAsync(GetAssetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified asset.

Parameters
NameDescription
requestGetAssetRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallAsset

The call object.

GetChannel(GetChannelRequest, CallOptions)

public virtual Channel GetChannel(GetChannelRequest request, CallOptions options)

Returns the specified channel.

Parameters
NameDescription
requestGetChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Channel

The response received from the server.

GetChannel(GetChannelRequest, Metadata, DateTime?, CancellationToken)

public virtual Channel GetChannel(GetChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified channel.

Parameters
NameDescription
requestGetChannelRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Channel

The response received from the server.

GetChannelAsync(GetChannelRequest, CallOptions)

public virtual AsyncUnaryCall<Channel> GetChannelAsync(GetChannelRequest request, CallOptions options)

Returns the specified channel.

Parameters
NameDescription
requestGetChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallChannel

The call object.

GetChannelAsync(GetChannelRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Channel> GetChannelAsync(GetChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified channel.

Parameters
NameDescription
requestGetChannelRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallChannel

The call object.

GetEvent(GetEventRequest, CallOptions)

public virtual Event GetEvent(GetEventRequest request, CallOptions options)

Returns the specified event.

Parameters
NameDescription
requestGetEventRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Event

The response received from the server.

GetEvent(GetEventRequest, Metadata, DateTime?, CancellationToken)

public virtual Event GetEvent(GetEventRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified event.

Parameters
NameDescription
requestGetEventRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Event

The response received from the server.

GetEventAsync(GetEventRequest, CallOptions)

public virtual AsyncUnaryCall<Event> GetEventAsync(GetEventRequest request, CallOptions options)

Returns the specified event.

Parameters
NameDescription
requestGetEventRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEvent

The call object.

GetEventAsync(GetEventRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Event> GetEventAsync(GetEventRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified event.

Parameters
NameDescription
requestGetEventRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEvent

The call object.

GetInput(GetInputRequest, CallOptions)

public virtual Input GetInput(GetInputRequest request, CallOptions options)

Returns the specified input.

Parameters
NameDescription
requestGetInputRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Input

The response received from the server.

GetInput(GetInputRequest, Metadata, DateTime?, CancellationToken)

public virtual Input GetInput(GetInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified input.

Parameters
NameDescription
requestGetInputRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Input

The response received from the server.

GetInputAsync(GetInputRequest, CallOptions)

public virtual AsyncUnaryCall<Input> GetInputAsync(GetInputRequest request, CallOptions options)

Returns the specified input.

Parameters
NameDescription
requestGetInputRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallInput

The call object.

GetInputAsync(GetInputRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Input> GetInputAsync(GetInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified input.

Parameters
NameDescription
requestGetInputRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallInput

The call object.

GetPool(GetPoolRequest, CallOptions)

public virtual Pool GetPool(GetPoolRequest request, CallOptions options)

Returns the specified pool.

Parameters
NameDescription
requestGetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Pool

The response received from the server.

GetPool(GetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual Pool GetPool(GetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified pool.

Parameters
NameDescription
requestGetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Pool

The response received from the server.

GetPoolAsync(GetPoolRequest, CallOptions)

public virtual AsyncUnaryCall<Pool> GetPoolAsync(GetPoolRequest request, CallOptions options)

Returns the specified pool.

Parameters
NameDescription
requestGetPoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallPool

The call object.

GetPoolAsync(GetPoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Pool> GetPoolAsync(GetPoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified pool.

Parameters
NameDescription
requestGetPoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallPool

The call object.

ListAssets(ListAssetsRequest, CallOptions)

public virtual ListAssetsResponse ListAssets(ListAssetsRequest request, CallOptions options)

Returns a list of all assets in the specified region.

Parameters
NameDescription
requestListAssetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListAssetsResponse

The response received from the server.

ListAssets(ListAssetsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListAssetsResponse ListAssets(ListAssetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a list of all assets in the specified region.

Parameters
NameDescription
requestListAssetsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListAssetsResponse

The response received from the server.

ListAssetsAsync(ListAssetsRequest, CallOptions)

public virtual AsyncUnaryCall<ListAssetsResponse> ListAssetsAsync(ListAssetsRequest request, CallOptions options)

Returns a list of all assets in the specified region.

Parameters
NameDescription
requestListAssetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListAssetsResponse

The call object.

ListAssetsAsync(ListAssetsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListAssetsResponse> ListAssetsAsync(ListAssetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a list of all assets in the specified region.

Parameters
NameDescription
requestListAssetsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListAssetsResponse

The call object.

ListChannels(ListChannelsRequest, CallOptions)

public virtual ListChannelsResponse ListChannels(ListChannelsRequest request, CallOptions options)

Returns a list of all channels in the specified region.

Parameters
NameDescription
requestListChannelsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListChannelsResponse

The response received from the server.

ListChannels(ListChannelsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListChannelsResponse ListChannels(ListChannelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a list of all channels in the specified region.

Parameters
NameDescription
requestListChannelsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListChannelsResponse

The response received from the server.

ListChannelsAsync(ListChannelsRequest, CallOptions)

public virtual AsyncUnaryCall<ListChannelsResponse> ListChannelsAsync(ListChannelsRequest request, CallOptions options)

Returns a list of all channels in the specified region.

Parameters
NameDescription
requestListChannelsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListChannelsResponse

The call object.

ListChannelsAsync(ListChannelsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListChannelsResponse> ListChannelsAsync(ListChannelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a list of all channels in the specified region.

Parameters
NameDescription
requestListChannelsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListChannelsResponse

The call object.

ListEvents(ListEventsRequest, CallOptions)

public virtual ListEventsResponse ListEvents(ListEventsRequest request, CallOptions options)

Returns a list of all events in the specified channel.

Parameters
NameDescription
requestListEventsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListEventsResponse

The response received from the server.

ListEvents(ListEventsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListEventsResponse ListEvents(ListEventsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a list of all events in the specified channel.

Parameters
NameDescription
requestListEventsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListEventsResponse

The response received from the server.

ListEventsAsync(ListEventsRequest, CallOptions)

public virtual AsyncUnaryCall<ListEventsResponse> ListEventsAsync(ListEventsRequest request, CallOptions options)

Returns a list of all events in the specified channel.

Parameters
NameDescription
requestListEventsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListEventsResponse

The call object.

ListEventsAsync(ListEventsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListEventsResponse> ListEventsAsync(ListEventsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a list of all events in the specified channel.

Parameters
NameDescription
requestListEventsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListEventsResponse

The call object.

ListInputs(ListInputsRequest, CallOptions)

public virtual ListInputsResponse ListInputs(ListInputsRequest request, CallOptions options)

Returns a list of all inputs in the specified region.

Parameters
NameDescription
requestListInputsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListInputsResponse

The response received from the server.

ListInputs(ListInputsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListInputsResponse ListInputs(ListInputsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a list of all inputs in the specified region.

Parameters
NameDescription
requestListInputsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListInputsResponse

The response received from the server.

ListInputsAsync(ListInputsRequest, CallOptions)

public virtual AsyncUnaryCall<ListInputsResponse> ListInputsAsync(ListInputsRequest request, CallOptions options)

Returns a list of all inputs in the specified region.

Parameters
NameDescription
requestListInputsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListInputsResponse

The call object.

ListInputsAsync(ListInputsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListInputsResponse> ListInputsAsync(ListInputsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a list of all inputs in the specified region.

Parameters
NameDescription
requestListInputsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListInputsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override LivestreamService.LivestreamServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
LivestreamServiceLivestreamServiceClient
Overrides

StartChannel(StartChannelRequest, CallOptions)

public virtual Operation StartChannel(StartChannelRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

StartChannel(StartChannelRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation StartChannel(StartChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

StartChannelAsync(StartChannelRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> StartChannelAsync(StartChannelRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

StartChannelAsync(StartChannelRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> StartChannelAsync(StartChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

StopChannel(StopChannelRequest, CallOptions)

public virtual Operation StopChannel(StopChannelRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

StopChannel(StopChannelRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation StopChannel(StopChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

StopChannelAsync(StopChannelRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> StopChannelAsync(StopChannelRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

StopChannelAsync(StopChannelRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> StopChannelAsync(StopChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateChannel(UpdateChannelRequest, CallOptions)

public virtual Operation UpdateChannel(UpdateChannelRequest request, CallOptions options)

Updates the specified channel.

Parameters
NameDescription
requestUpdateChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateChannel(UpdateChannelRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateChannel(UpdateChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified channel.

Parameters
NameDescription
requestUpdateChannelRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateChannelAsync(UpdateChannelRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateChannelAsync(UpdateChannelRequest request, CallOptions options)

Updates the specified channel.

Parameters
NameDescription
requestUpdateChannelRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateChannelAsync(UpdateChannelRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateChannelAsync(UpdateChannelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified channel.

Parameters
NameDescription
requestUpdateChannelRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateInput(UpdateInputRequest, CallOptions)

public virtual Operation UpdateInput(UpdateInputRequest request, CallOptions options)

Updates the specified input.

Parameters
NameDescription
requestUpdateInputRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateInput(UpdateInputRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateInput(UpdateInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified input.

Parameters
NameDescription
requestUpdateInputRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateInputAsync(UpdateInputRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateInputAsync(UpdateInputRequest request, CallOptions options)

Updates the specified input.

Parameters
NameDescription
requestUpdateInputRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateInputAsync(UpdateInputRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateInputAsync(UpdateInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified input.

Parameters
NameDescription
requestUpdateInputRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdatePool(UpdatePoolRequest, CallOptions)

public virtual Operation UpdatePool(UpdatePoolRequest request, CallOptions options)

Updates the specified pool.

Parameters
NameDescription
requestUpdatePoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdatePool(UpdatePoolRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdatePool(UpdatePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified pool.

Parameters
NameDescription
requestUpdatePoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdatePoolAsync(UpdatePoolRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdatePoolAsync(UpdatePoolRequest request, CallOptions options)

Updates the specified pool.

Parameters
NameDescription
requestUpdatePoolRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdatePoolAsync(UpdatePoolRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdatePoolAsync(UpdatePoolRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified pool.

Parameters
NameDescription
requestUpdatePoolRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.