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.
Namespace
Google.Cloud.Video.LiveStream.V1Assembly
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 | |
---|---|
Name | Description |
grpcClient | LivestreamService.LivestreamServiceClient The underlying gRPC client. |
settings | LivestreamServiceSettings The base LivestreamServiceSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
CreateChannelOperationsClient
public override OperationsClient CreateChannelOperationsClient { get; }
The long-running operations client for CreateChannel
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateInputOperationsClient
public override OperationsClient CreateInputOperationsClient { get; }
The long-running operations client for CreateInput
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteChannelOperationsClient
public override OperationsClient DeleteChannelOperationsClient { get; }
The long-running operations client for DeleteChannel
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteInputOperationsClient
public override OperationsClient DeleteInputOperationsClient { get; }
The long-running operations client for DeleteInput
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override LivestreamService.LivestreamServiceClient GrpcClient { get; }
The underlying gRPC LivestreamService client
Property Value | |
---|---|
Type | Description |
LivestreamService.LivestreamServiceClient |
StartChannelOperationsClient
public override OperationsClient StartChannelOperationsClient { get; }
The long-running operations client for StartChannel
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
StopChannelOperationsClient
public override OperationsClient StopChannelOperationsClient { get; }
The long-running operations client for StopChannel
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateChannelOperationsClient
public override OperationsClient UpdateChannelOperationsClient { get; }
The long-running operations client for UpdateChannel
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateInputOperationsClient
public override OperationsClient UpdateInputOperationsClient { get; }
The long-running operations client for UpdateInput
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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 | |
---|---|
Name | Description |
request | CreateChannelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Channel, OperationMetadata> | The RPC response. |
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 | |
---|---|
Name | Description |
request | CreateChannelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Channel, OperationMetadata>> | A Task containing the RPC response. |
CreateEvent(CreateEventRequest, CallSettings)
public override Event CreateEvent(CreateEventRequest request, CallSettings callSettings = null)
Creates an event with the provided unique ID in the specified channel.
Parameters | |
---|---|
Name | Description |
request | CreateEventRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Event | The RPC response. |
CreateEventAsync(CreateEventRequest, CallSettings)
public override Task<Event> CreateEventAsync(CreateEventRequest request, CallSettings callSettings = null)
Creates an event with the provided unique ID in the specified channel.
Parameters | |
---|---|
Name | Description |
request | CreateEventRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Event> | A Task containing the RPC response. |
CreateInput(CreateInputRequest, CallSettings)
public override Operation<Input, OperationMetadata> CreateInput(CreateInputRequest request, CallSettings callSettings = null)
Creates an input with the provided unique ID in the specified region.
Parameters | |
---|---|
Name | Description |
request | CreateInputRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Input, OperationMetadata> | The RPC response. |
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 | |
---|---|
Name | Description |
request | CreateInputRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Input, OperationMetadata>> | A Task containing the RPC response. |
DeleteChannel(DeleteChannelRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteChannel(DeleteChannelRequest request, CallSettings callSettings = null)
Deletes the specified channel.
Parameters | |
---|---|
Name | Description |
request | DeleteChannelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, OperationMetadata> | The RPC response. |
DeleteChannelAsync(DeleteChannelRequest, CallSettings)
public override async Task<Operation<Empty, OperationMetadata>> DeleteChannelAsync(DeleteChannelRequest request, CallSettings callSettings = null)
Deletes the specified channel.
Parameters | |
---|---|
Name | Description |
request | DeleteChannelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
DeleteEvent(DeleteEventRequest, CallSettings)
public override void DeleteEvent(DeleteEventRequest request, CallSettings callSettings = null)
Deletes the specified event.
Parameters | |
---|---|
Name | Description |
request | DeleteEventRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteEventAsync(DeleteEventRequest, CallSettings)
public override Task DeleteEventAsync(DeleteEventRequest request, CallSettings callSettings = null)
Deletes the specified event.
Parameters | |
---|---|
Name | Description |
request | DeleteEventRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
DeleteInput(DeleteInputRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteInput(DeleteInputRequest request, CallSettings callSettings = null)
Deletes the specified input.
Parameters | |
---|---|
Name | Description |
request | DeleteInputRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, OperationMetadata> | The RPC response. |
DeleteInputAsync(DeleteInputRequest, CallSettings)
public override async Task<Operation<Empty, OperationMetadata>> DeleteInputAsync(DeleteInputRequest request, CallSettings callSettings = null)
Deletes the specified input.
Parameters | |
---|---|
Name | Description |
request | DeleteInputRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
GetChannel(GetChannelRequest, CallSettings)
public override Channel GetChannel(GetChannelRequest request, CallSettings callSettings = null)
Returns the specified channel.
Parameters | |
---|---|
Name | Description |
request | GetChannelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Channel | The RPC response. |
GetChannelAsync(GetChannelRequest, CallSettings)
public override Task<Channel> GetChannelAsync(GetChannelRequest request, CallSettings callSettings = null)
Returns the specified channel.
Parameters | |
---|---|
Name | Description |
request | GetChannelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Channel> | A Task containing the RPC response. |
GetEvent(GetEventRequest, CallSettings)
public override Event GetEvent(GetEventRequest request, CallSettings callSettings = null)
Returns the specified event.
Parameters | |
---|---|
Name | Description |
request | GetEventRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Event | The RPC response. |
GetEventAsync(GetEventRequest, CallSettings)
public override Task<Event> GetEventAsync(GetEventRequest request, CallSettings callSettings = null)
Returns the specified event.
Parameters | |
---|---|
Name | Description |
request | GetEventRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Event> | A Task containing the RPC response. |
GetInput(GetInputRequest, CallSettings)
public override Input GetInput(GetInputRequest request, CallSettings callSettings = null)
Returns the specified input.
Parameters | |
---|---|
Name | Description |
request | GetInputRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Input | The RPC response. |
GetInputAsync(GetInputRequest, CallSettings)
public override Task<Input> GetInputAsync(GetInputRequest request, CallSettings callSettings = null)
Returns the specified input.
Parameters | |
---|---|
Name | Description |
request | GetInputRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Input> | A Task containing the RPC response. |
ListChannels(ListChannelsRequest, CallSettings)
public override PagedEnumerable<ListChannelsResponse, Channel> ListChannels(ListChannelsRequest request, CallSettings callSettings = null)
Returns a list of all channels in the specified region.
Parameters | |
---|---|
Name | Description |
request | ListChannelsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListChannelsResponse, Channel> | A pageable sequence of Channel resources. |
ListChannelsAsync(ListChannelsRequest, CallSettings)
public override PagedAsyncEnumerable<ListChannelsResponse, Channel> ListChannelsAsync(ListChannelsRequest request, CallSettings callSettings = null)
Returns a list of all channels in the specified region.
Parameters | |
---|---|
Name | Description |
request | ListChannelsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListChannelsResponse, Channel> | A pageable asynchronous sequence of Channel resources. |
ListEvents(ListEventsRequest, CallSettings)
public override PagedEnumerable<ListEventsResponse, Event> ListEvents(ListEventsRequest request, CallSettings callSettings = null)
Returns a list of all events in the specified channel.
Parameters | |
---|---|
Name | Description |
request | ListEventsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListEventsResponse, Event> | A pageable sequence of Event resources. |
ListEventsAsync(ListEventsRequest, CallSettings)
public override PagedAsyncEnumerable<ListEventsResponse, Event> ListEventsAsync(ListEventsRequest request, CallSettings callSettings = null)
Returns a list of all events in the specified channel.
Parameters | |
---|---|
Name | Description |
request | ListEventsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListEventsResponse, Event> | A pageable asynchronous sequence of Event resources. |
ListInputs(ListInputsRequest, CallSettings)
public override PagedEnumerable<ListInputsResponse, Input> ListInputs(ListInputsRequest request, CallSettings callSettings = null)
Returns a list of all inputs in the specified region.
Parameters | |
---|---|
Name | Description |
request | ListInputsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListInputsResponse, Input> | A pageable sequence of Input resources. |
ListInputsAsync(ListInputsRequest, CallSettings)
public override PagedAsyncEnumerable<ListInputsResponse, Input> ListInputsAsync(ListInputsRequest request, CallSettings callSettings = null)
Returns a list of all inputs in the specified region.
Parameters | |
---|---|
Name | Description |
request | ListInputsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListInputsResponse, Input> | A pageable asynchronous sequence of Input resources. |
StartChannel(StartChannelRequest, CallSettings)
public override Operation<ChannelOperationResponse, OperationMetadata> StartChannel(StartChannelRequest request, CallSettings callSettings = null)
Starts the specified channel. Part of the video pipeline will be created only when the StartChannel request is received by the server.
Parameters | |
---|---|
Name | Description |
request | StartChannelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<ChannelOperationResponse, OperationMetadata> | The RPC response. |
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 | |
---|---|
Name | Description |
request | StartChannelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<ChannelOperationResponse, OperationMetadata>> | A Task containing the RPC response. |
StopChannel(StopChannelRequest, CallSettings)
public override Operation<ChannelOperationResponse, OperationMetadata> StopChannel(StopChannelRequest request, CallSettings callSettings = null)
Stops the specified channel. Part of the video pipeline will be released when the StopChannel request is received by the server.
Parameters | |
---|---|
Name | Description |
request | StopChannelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<ChannelOperationResponse, OperationMetadata> | The RPC response. |
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 | |
---|---|
Name | Description |
request | StopChannelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<ChannelOperationResponse, OperationMetadata>> | A Task containing the RPC response. |
UpdateChannel(UpdateChannelRequest, CallSettings)
public override Operation<Channel, OperationMetadata> UpdateChannel(UpdateChannelRequest request, CallSettings callSettings = null)
Updates the specified channel.
Parameters | |
---|---|
Name | Description |
request | UpdateChannelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Channel, OperationMetadata> | The RPC response. |
UpdateChannelAsync(UpdateChannelRequest, CallSettings)
public override async Task<Operation<Channel, OperationMetadata>> UpdateChannelAsync(UpdateChannelRequest request, CallSettings callSettings = null)
Updates the specified channel.
Parameters | |
---|---|
Name | Description |
request | UpdateChannelRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Channel, OperationMetadata>> | A Task containing the RPC response. |
UpdateInput(UpdateInputRequest, CallSettings)
public override Operation<Input, OperationMetadata> UpdateInput(UpdateInputRequest request, CallSettings callSettings = null)
Updates the specified input.
Parameters | |
---|---|
Name | Description |
request | UpdateInputRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Input, OperationMetadata> | The RPC response. |
UpdateInputAsync(UpdateInputRequest, CallSettings)
public override async Task<Operation<Input, OperationMetadata>> UpdateInputAsync(UpdateInputRequest request, CallSettings callSettings = null)
Updates the specified input.
Parameters | |
---|---|
Name | Description |
request | UpdateInputRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Input, OperationMetadata>> | A Task containing the RPC response. |