Live Stream v1 API - Class LivestreamService.LivestreamServiceBase (1.4.0)

[BindServiceMethod(typeof(LivestreamService), "BindService")]
public abstract class LivestreamService.LivestreamServiceBase

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

Base class for server-side implementations of LivestreamService

Inheritance

object > LivestreamService.LivestreamServiceBase

Namespace

Google.Cloud.Video.LiveStream.V1

Assembly

Google.Cloud.Video.LiveStream.V1.dll

Methods

CreateAsset(CreateAssetRequest, ServerCallContext)

public virtual Task<Operation> CreateAsset(CreateAssetRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestCreateAssetRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

CreateChannel(CreateChannelRequest, ServerCallContext)

public virtual Task<Operation> CreateChannel(CreateChannelRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestCreateChannelRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

CreateEvent(CreateEventRequest, ServerCallContext)

public virtual Task<Event> CreateEvent(CreateEventRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestCreateEventRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEvent

The response to send back to the client (wrapped by a task).

CreateInput(CreateInputRequest, ServerCallContext)

public virtual Task<Operation> CreateInput(CreateInputRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestCreateInputRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteAsset(DeleteAssetRequest, ServerCallContext)

public virtual Task<Operation> DeleteAsset(DeleteAssetRequest request, ServerCallContext context)

Deletes the specified asset if it is not used.

Parameters
NameDescription
requestDeleteAssetRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteChannel(DeleteChannelRequest, ServerCallContext)

public virtual Task<Operation> DeleteChannel(DeleteChannelRequest request, ServerCallContext context)

Deletes the specified channel.

Parameters
NameDescription
requestDeleteChannelRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteEvent(DeleteEventRequest, ServerCallContext)

public virtual Task<Empty> DeleteEvent(DeleteEventRequest request, ServerCallContext context)

Deletes the specified event.

Parameters
NameDescription
requestDeleteEventRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEmpty

The response to send back to the client (wrapped by a task).

DeleteInput(DeleteInputRequest, ServerCallContext)

public virtual Task<Operation> DeleteInput(DeleteInputRequest request, ServerCallContext context)

Deletes the specified input.

Parameters
NameDescription
requestDeleteInputRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

GetAsset(GetAssetRequest, ServerCallContext)

public virtual Task<Asset> GetAsset(GetAssetRequest request, ServerCallContext context)

Returns the specified asset.

Parameters
NameDescription
requestGetAssetRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskAsset

The response to send back to the client (wrapped by a task).

GetChannel(GetChannelRequest, ServerCallContext)

public virtual Task<Channel> GetChannel(GetChannelRequest request, ServerCallContext context)

Returns the specified channel.

Parameters
NameDescription
requestGetChannelRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskChannel

The response to send back to the client (wrapped by a task).

GetEvent(GetEventRequest, ServerCallContext)

public virtual Task<Event> GetEvent(GetEventRequest request, ServerCallContext context)

Returns the specified event.

Parameters
NameDescription
requestGetEventRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEvent

The response to send back to the client (wrapped by a task).

GetInput(GetInputRequest, ServerCallContext)

public virtual Task<Input> GetInput(GetInputRequest request, ServerCallContext context)

Returns the specified input.

Parameters
NameDescription
requestGetInputRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskInput

The response to send back to the client (wrapped by a task).

GetPool(GetPoolRequest, ServerCallContext)

public virtual Task<Pool> GetPool(GetPoolRequest request, ServerCallContext context)

Returns the specified pool.

Parameters
NameDescription
requestGetPoolRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskPool

The response to send back to the client (wrapped by a task).

ListAssets(ListAssetsRequest, ServerCallContext)

public virtual Task<ListAssetsResponse> ListAssets(ListAssetsRequest request, ServerCallContext context)

Returns a list of all assets in the specified region.

Parameters
NameDescription
requestListAssetsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListAssetsResponse

The response to send back to the client (wrapped by a task).

ListChannels(ListChannelsRequest, ServerCallContext)

public virtual Task<ListChannelsResponse> ListChannels(ListChannelsRequest request, ServerCallContext context)

Returns a list of all channels in the specified region.

Parameters
NameDescription
requestListChannelsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListChannelsResponse

The response to send back to the client (wrapped by a task).

ListEvents(ListEventsRequest, ServerCallContext)

public virtual Task<ListEventsResponse> ListEvents(ListEventsRequest request, ServerCallContext context)

Returns a list of all events in the specified channel.

Parameters
NameDescription
requestListEventsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListEventsResponse

The response to send back to the client (wrapped by a task).

ListInputs(ListInputsRequest, ServerCallContext)

public virtual Task<ListInputsResponse> ListInputs(ListInputsRequest request, ServerCallContext context)

Returns a list of all inputs in the specified region.

Parameters
NameDescription
requestListInputsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListInputsResponse

The response to send back to the client (wrapped by a task).

StartChannel(StartChannelRequest, ServerCallContext)

public virtual Task<Operation> StartChannel(StartChannelRequest request, ServerCallContext context)

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 received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

StopChannel(StopChannelRequest, ServerCallContext)

public virtual Task<Operation> StopChannel(StopChannelRequest request, ServerCallContext context)

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 received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateChannel(UpdateChannelRequest, ServerCallContext)

public virtual Task<Operation> UpdateChannel(UpdateChannelRequest request, ServerCallContext context)

Updates the specified channel.

Parameters
NameDescription
requestUpdateChannelRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateInput(UpdateInputRequest, ServerCallContext)

public virtual Task<Operation> UpdateInput(UpdateInputRequest request, ServerCallContext context)

Updates the specified input.

Parameters
NameDescription
requestUpdateInputRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

UpdatePool(UpdatePoolRequest, ServerCallContext)

public virtual Task<Operation> UpdatePool(UpdatePoolRequest request, ServerCallContext context)

Updates the specified pool.

Parameters
NameDescription
requestUpdatePoolRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).