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.LivestreamServiceClientNamespace
Google.Cloud.Video.LiveStream.V1Assembly
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 | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
LivestreamServiceClient(ChannelBase)
public LivestreamServiceClient(ChannelBase channel)
Creates a new client for LivestreamService
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
LivestreamServiceClient(ClientBaseConfiguration)
protected LivestreamServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration 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 | |
---|---|
Name | Description |
request |
CreateAssetRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateAssetRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateAssetRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateAssetRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateChannelRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateChannelRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateChannelRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateChannelRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateEventRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateEventRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateEventRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateEventRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateInputRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateInputRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateInputRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
CreateInputRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteAssetRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteAssetRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteAssetRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteAssetRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteChannel(DeleteChannelRequest, CallOptions)
public virtual Operation DeleteChannel(DeleteChannelRequest request, CallOptions options)
Deletes the specified channel.
Parameters | |
---|---|
Name | Description |
request |
DeleteChannelRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteChannelRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteChannelAsync(DeleteChannelRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteChannelAsync(DeleteChannelRequest request, CallOptions options)
Deletes the specified channel.
Parameters | |
---|---|
Name | Description |
request |
DeleteChannelRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteChannelRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteEvent(DeleteEventRequest, CallOptions)
public virtual Empty DeleteEvent(DeleteEventRequest request, CallOptions options)
Deletes the specified event.
Parameters | |
---|---|
Name | Description |
request |
DeleteEventRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteEventRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Empty |
The response received from the server. |
DeleteEventAsync(DeleteEventRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteEventAsync(DeleteEventRequest request, CallOptions options)
Deletes the specified event.
Parameters | |
---|---|
Name | Description |
request |
DeleteEventRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteEventRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty |
The call object. |
DeleteInput(DeleteInputRequest, CallOptions)
public virtual Operation DeleteInput(DeleteInputRequest request, CallOptions options)
Deletes the specified input.
Parameters | |
---|---|
Name | Description |
request |
DeleteInputRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteInputRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteInputAsync(DeleteInputRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteInputAsync(DeleteInputRequest request, CallOptions options)
Deletes the specified input.
Parameters | |
---|---|
Name | Description |
request |
DeleteInputRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteInputRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
GetAsset(GetAssetRequest, CallOptions)
public virtual Asset GetAsset(GetAssetRequest request, CallOptions options)
Returns the specified asset.
Parameters | |
---|---|
Name | Description |
request |
GetAssetRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetAssetRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Asset |
The response received from the server. |
GetAssetAsync(GetAssetRequest, CallOptions)
public virtual AsyncUnaryCall<Asset> GetAssetAsync(GetAssetRequest request, CallOptions options)
Returns the specified asset.
Parameters | |
---|---|
Name | Description |
request |
GetAssetRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetAssetRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAsset |
The call object. |
GetChannel(GetChannelRequest, CallOptions)
public virtual Channel GetChannel(GetChannelRequest request, CallOptions options)
Returns the specified channel.
Parameters | |
---|---|
Name | Description |
request |
GetChannelRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetChannelRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Channel |
The response received from the server. |
GetChannelAsync(GetChannelRequest, CallOptions)
public virtual AsyncUnaryCall<Channel> GetChannelAsync(GetChannelRequest request, CallOptions options)
Returns the specified channel.
Parameters | |
---|---|
Name | Description |
request |
GetChannelRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetChannelRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallChannel |
The call object. |
GetEvent(GetEventRequest, CallOptions)
public virtual Event GetEvent(GetEventRequest request, CallOptions options)
Returns the specified event.
Parameters | |
---|---|
Name | Description |
request |
GetEventRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetEventRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Event |
The response received from the server. |
GetEventAsync(GetEventRequest, CallOptions)
public virtual AsyncUnaryCall<Event> GetEventAsync(GetEventRequest request, CallOptions options)
Returns the specified event.
Parameters | |
---|---|
Name | Description |
request |
GetEventRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetEventRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEvent |
The call object. |
GetInput(GetInputRequest, CallOptions)
public virtual Input GetInput(GetInputRequest request, CallOptions options)
Returns the specified input.
Parameters | |
---|---|
Name | Description |
request |
GetInputRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetInputRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Input |
The response received from the server. |
GetInputAsync(GetInputRequest, CallOptions)
public virtual AsyncUnaryCall<Input> GetInputAsync(GetInputRequest request, CallOptions options)
Returns the specified input.
Parameters | |
---|---|
Name | Description |
request |
GetInputRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetInputRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallInput |
The call object. |
GetPool(GetPoolRequest, CallOptions)
public virtual Pool GetPool(GetPoolRequest request, CallOptions options)
Returns the specified pool.
Parameters | |
---|---|
Name | Description |
request |
GetPoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetPoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Pool |
The response received from the server. |
GetPoolAsync(GetPoolRequest, CallOptions)
public virtual AsyncUnaryCall<Pool> GetPoolAsync(GetPoolRequest request, CallOptions options)
Returns the specified pool.
Parameters | |
---|---|
Name | Description |
request |
GetPoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetPoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListAssetsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListAssetsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListAssetsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListAssetsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListChannelsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListChannelsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListChannelsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListChannelsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListEventsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListEventsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListEventsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListEventsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListInputsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListInputsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListInputsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListInputsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListInputsResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override LivestreamService.LivestreamServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
LivestreamServiceLivestreamServiceClient |
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 | |
---|---|
Name | Description |
request |
StartChannelRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
StartChannelRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
StartChannelRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
StartChannelRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
StopChannelRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
StopChannelRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
StopChannelRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
StopChannelRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateChannel(UpdateChannelRequest, CallOptions)
public virtual Operation UpdateChannel(UpdateChannelRequest request, CallOptions options)
Updates the specified channel.
Parameters | |
---|---|
Name | Description |
request |
UpdateChannelRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdateChannelRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateChannelAsync(UpdateChannelRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateChannelAsync(UpdateChannelRequest request, CallOptions options)
Updates the specified channel.
Parameters | |
---|---|
Name | Description |
request |
UpdateChannelRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdateChannelRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateInput(UpdateInputRequest, CallOptions)
public virtual Operation UpdateInput(UpdateInputRequest request, CallOptions options)
Updates the specified input.
Parameters | |
---|---|
Name | Description |
request |
UpdateInputRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdateInputRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateInputAsync(UpdateInputRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateInputAsync(UpdateInputRequest request, CallOptions options)
Updates the specified input.
Parameters | |
---|---|
Name | Description |
request |
UpdateInputRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdateInputRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdatePool(UpdatePoolRequest, CallOptions)
public virtual Operation UpdatePool(UpdatePoolRequest request, CallOptions options)
Updates the specified pool.
Parameters | |
---|---|
Name | Description |
request |
UpdatePoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdatePoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdatePoolAsync(UpdatePoolRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdatePoolAsync(UpdatePoolRequest request, CallOptions options)
Updates the specified pool.
Parameters | |
---|---|
Name | Description |
request |
UpdatePoolRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdatePoolRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |