Class LiveStreamService.LiveStreamServiceClient
Client for LiveStreamService
Inheritance
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class LiveStreamService.LiveStreamServiceClient : ClientBase<LiveStreamService.LiveStreamServiceClient>
Constructors
LiveStreamServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected LiveStreamServiceClient()
LiveStreamServiceClient(CallInvoker)
Creates a new client for LiveStreamService that uses a custom CallInvoker.
Declaration
public LiveStreamServiceClient(CallInvoker callInvoker)
Parameters
| Type | Name | Description |
|---|---|---|
| CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
LiveStreamServiceClient(ChannelBase)
Creates a new client for LiveStreamService
Declaration
public LiveStreamServiceClient(ChannelBase channel)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelBase | channel | The channel to use to make remote calls. |
LiveStreamServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected LiveStreamServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
BatchActivateLiveStreams(BatchActivateLiveStreamsRequest, CallOptions)
Batch activates LiveStream objects.
Declaration
public virtual BatchActivateLiveStreamsResponse BatchActivateLiveStreams(BatchActivateLiveStreamsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateLiveStreamsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchActivateLiveStreamsResponse | The response received from the server. |
BatchActivateLiveStreams(BatchActivateLiveStreamsRequest, Metadata, DateTime?, CancellationToken)
Batch activates LiveStream objects.
Declaration
public virtual BatchActivateLiveStreamsResponse BatchActivateLiveStreams(BatchActivateLiveStreamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateLiveStreamsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| BatchActivateLiveStreamsResponse | The response received from the server. |
BatchActivateLiveStreamsAsync(BatchActivateLiveStreamsRequest, CallOptions)
Batch activates LiveStream objects.
Declaration
public virtual AsyncUnaryCall<BatchActivateLiveStreamsResponse> BatchActivateLiveStreamsAsync(BatchActivateLiveStreamsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateLiveStreamsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchActivateLiveStreamsResponse> | The call object. |
BatchActivateLiveStreamsAsync(BatchActivateLiveStreamsRequest, Metadata, DateTime?, CancellationToken)
Batch activates LiveStream objects.
Declaration
public virtual AsyncUnaryCall<BatchActivateLiveStreamsResponse> BatchActivateLiveStreamsAsync(BatchActivateLiveStreamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateLiveStreamsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| AsyncUnaryCall<BatchActivateLiveStreamsResponse> | The call object. |
BatchArchiveLiveStreams(BatchArchiveLiveStreamsRequest, CallOptions)
Batch archives LiveStream objects.
Declaration
public virtual BatchArchiveLiveStreamsResponse BatchArchiveLiveStreams(BatchArchiveLiveStreamsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveLiveStreamsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchArchiveLiveStreamsResponse | The response received from the server. |
BatchArchiveLiveStreams(BatchArchiveLiveStreamsRequest, Metadata, DateTime?, CancellationToken)
Batch archives LiveStream objects.
Declaration
public virtual BatchArchiveLiveStreamsResponse BatchArchiveLiveStreams(BatchArchiveLiveStreamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveLiveStreamsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| BatchArchiveLiveStreamsResponse | The response received from the server. |
BatchArchiveLiveStreamsAsync(BatchArchiveLiveStreamsRequest, CallOptions)
Batch archives LiveStream objects.
Declaration
public virtual AsyncUnaryCall<BatchArchiveLiveStreamsResponse> BatchArchiveLiveStreamsAsync(BatchArchiveLiveStreamsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveLiveStreamsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchArchiveLiveStreamsResponse> | The call object. |
BatchArchiveLiveStreamsAsync(BatchArchiveLiveStreamsRequest, Metadata, DateTime?, CancellationToken)
Batch archives LiveStream objects.
Declaration
public virtual AsyncUnaryCall<BatchArchiveLiveStreamsResponse> BatchArchiveLiveStreamsAsync(BatchArchiveLiveStreamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveLiveStreamsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| AsyncUnaryCall<BatchArchiveLiveStreamsResponse> | The call object. |
BatchCreateLiveStreams(BatchCreateLiveStreamsRequest, CallOptions)
Batch creates LiveStream objects.
Declaration
public virtual BatchCreateLiveStreamsResponse BatchCreateLiveStreams(BatchCreateLiveStreamsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateLiveStreamsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchCreateLiveStreamsResponse | The response received from the server. |
BatchCreateLiveStreams(BatchCreateLiveStreamsRequest, Metadata, DateTime?, CancellationToken)
Batch creates LiveStream objects.
Declaration
public virtual BatchCreateLiveStreamsResponse BatchCreateLiveStreams(BatchCreateLiveStreamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateLiveStreamsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| BatchCreateLiveStreamsResponse | The response received from the server. |
BatchCreateLiveStreamsAsync(BatchCreateLiveStreamsRequest, CallOptions)
Batch creates LiveStream objects.
Declaration
public virtual AsyncUnaryCall<BatchCreateLiveStreamsResponse> BatchCreateLiveStreamsAsync(BatchCreateLiveStreamsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateLiveStreamsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchCreateLiveStreamsResponse> | The call object. |
BatchCreateLiveStreamsAsync(BatchCreateLiveStreamsRequest, Metadata, DateTime?, CancellationToken)
Batch creates LiveStream objects.
Declaration
public virtual AsyncUnaryCall<BatchCreateLiveStreamsResponse> BatchCreateLiveStreamsAsync(BatchCreateLiveStreamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateLiveStreamsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| AsyncUnaryCall<BatchCreateLiveStreamsResponse> | The call object. |
BatchPauseAdsLiveStreams(BatchPauseAdsLiveStreamsRequest, CallOptions)
Batch pauses ads on LiveStream objects.
Declaration
public virtual BatchPauseAdsLiveStreamsResponse BatchPauseAdsLiveStreams(BatchPauseAdsLiveStreamsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseAdsLiveStreamsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchPauseAdsLiveStreamsResponse | The response received from the server. |
BatchPauseAdsLiveStreams(BatchPauseAdsLiveStreamsRequest, Metadata, DateTime?, CancellationToken)
Batch pauses ads on LiveStream objects.
Declaration
public virtual BatchPauseAdsLiveStreamsResponse BatchPauseAdsLiveStreams(BatchPauseAdsLiveStreamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseAdsLiveStreamsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| BatchPauseAdsLiveStreamsResponse | The response received from the server. |
BatchPauseAdsLiveStreamsAsync(BatchPauseAdsLiveStreamsRequest, CallOptions)
Batch pauses ads on LiveStream objects.
Declaration
public virtual AsyncUnaryCall<BatchPauseAdsLiveStreamsResponse> BatchPauseAdsLiveStreamsAsync(BatchPauseAdsLiveStreamsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseAdsLiveStreamsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchPauseAdsLiveStreamsResponse> | The call object. |
BatchPauseAdsLiveStreamsAsync(BatchPauseAdsLiveStreamsRequest, Metadata, DateTime?, CancellationToken)
Batch pauses ads on LiveStream objects.
Declaration
public virtual AsyncUnaryCall<BatchPauseAdsLiveStreamsResponse> BatchPauseAdsLiveStreamsAsync(BatchPauseAdsLiveStreamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseAdsLiveStreamsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| AsyncUnaryCall<BatchPauseAdsLiveStreamsResponse> | The call object. |
BatchPauseLiveStreams(BatchPauseLiveStreamsRequest, CallOptions)
Batch pauses LiveStream objects.
Declaration
public virtual BatchPauseLiveStreamsResponse BatchPauseLiveStreams(BatchPauseLiveStreamsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseLiveStreamsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchPauseLiveStreamsResponse | The response received from the server. |
BatchPauseLiveStreams(BatchPauseLiveStreamsRequest, Metadata, DateTime?, CancellationToken)
Batch pauses LiveStream objects.
Declaration
public virtual BatchPauseLiveStreamsResponse BatchPauseLiveStreams(BatchPauseLiveStreamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseLiveStreamsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| BatchPauseLiveStreamsResponse | The response received from the server. |
BatchPauseLiveStreamsAsync(BatchPauseLiveStreamsRequest, CallOptions)
Batch pauses LiveStream objects.
Declaration
public virtual AsyncUnaryCall<BatchPauseLiveStreamsResponse> BatchPauseLiveStreamsAsync(BatchPauseLiveStreamsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseLiveStreamsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchPauseLiveStreamsResponse> | The call object. |
BatchPauseLiveStreamsAsync(BatchPauseLiveStreamsRequest, Metadata, DateTime?, CancellationToken)
Batch pauses LiveStream objects.
Declaration
public virtual AsyncUnaryCall<BatchPauseLiveStreamsResponse> BatchPauseLiveStreamsAsync(BatchPauseLiveStreamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseLiveStreamsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| AsyncUnaryCall<BatchPauseLiveStreamsResponse> | The call object. |
BatchRefreshMasterPlaylists(BatchRefreshMasterPlaylistsRequest, CallOptions)
Batch refreshes master playlists on LiveStream objects.
Declaration
public virtual BatchRefreshMasterPlaylistsResponse BatchRefreshMasterPlaylists(BatchRefreshMasterPlaylistsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRefreshMasterPlaylistsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchRefreshMasterPlaylistsResponse | The response received from the server. |
BatchRefreshMasterPlaylists(BatchRefreshMasterPlaylistsRequest, Metadata, DateTime?, CancellationToken)
Batch refreshes master playlists on LiveStream objects.
Declaration
public virtual BatchRefreshMasterPlaylistsResponse BatchRefreshMasterPlaylists(BatchRefreshMasterPlaylistsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRefreshMasterPlaylistsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| BatchRefreshMasterPlaylistsResponse | The response received from the server. |
BatchRefreshMasterPlaylistsAsync(BatchRefreshMasterPlaylistsRequest, CallOptions)
Batch refreshes master playlists on LiveStream objects.
Declaration
public virtual AsyncUnaryCall<BatchRefreshMasterPlaylistsResponse> BatchRefreshMasterPlaylistsAsync(BatchRefreshMasterPlaylistsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRefreshMasterPlaylistsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchRefreshMasterPlaylistsResponse> | The call object. |
BatchRefreshMasterPlaylistsAsync(BatchRefreshMasterPlaylistsRequest, Metadata, DateTime?, CancellationToken)
Batch refreshes master playlists on LiveStream objects.
Declaration
public virtual AsyncUnaryCall<BatchRefreshMasterPlaylistsResponse> BatchRefreshMasterPlaylistsAsync(BatchRefreshMasterPlaylistsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRefreshMasterPlaylistsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| AsyncUnaryCall<BatchRefreshMasterPlaylistsResponse> | The call object. |
BatchUpdateLiveStreams(BatchUpdateLiveStreamsRequest, CallOptions)
Batch updates LiveStream objects.
Declaration
public virtual BatchUpdateLiveStreamsResponse BatchUpdateLiveStreams(BatchUpdateLiveStreamsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateLiveStreamsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchUpdateLiveStreamsResponse | The response received from the server. |
BatchUpdateLiveStreams(BatchUpdateLiveStreamsRequest, Metadata, DateTime?, CancellationToken)
Batch updates LiveStream objects.
Declaration
public virtual BatchUpdateLiveStreamsResponse BatchUpdateLiveStreams(BatchUpdateLiveStreamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateLiveStreamsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| BatchUpdateLiveStreamsResponse | The response received from the server. |
BatchUpdateLiveStreamsAsync(BatchUpdateLiveStreamsRequest, CallOptions)
Batch updates LiveStream objects.
Declaration
public virtual AsyncUnaryCall<BatchUpdateLiveStreamsResponse> BatchUpdateLiveStreamsAsync(BatchUpdateLiveStreamsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateLiveStreamsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchUpdateLiveStreamsResponse> | The call object. |
BatchUpdateLiveStreamsAsync(BatchUpdateLiveStreamsRequest, Metadata, DateTime?, CancellationToken)
Batch updates LiveStream objects.
Declaration
public virtual AsyncUnaryCall<BatchUpdateLiveStreamsResponse> BatchUpdateLiveStreamsAsync(BatchUpdateLiveStreamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateLiveStreamsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| AsyncUnaryCall<BatchUpdateLiveStreamsResponse> | The call object. |
CreateLiveStream(CreateLiveStreamRequest, CallOptions)
Creates a LiveStream object.
Declaration
public virtual LiveStream CreateLiveStream(CreateLiveStreamRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateLiveStreamRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| LiveStream | The response received from the server. |
CreateLiveStream(CreateLiveStreamRequest, Metadata, DateTime?, CancellationToken)
Creates a LiveStream object.
Declaration
public virtual LiveStream CreateLiveStream(CreateLiveStreamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateLiveStreamRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| LiveStream | The response received from the server. |
CreateLiveStreamAsync(CreateLiveStreamRequest, CallOptions)
Creates a LiveStream object.
Declaration
public virtual AsyncUnaryCall<LiveStream> CreateLiveStreamAsync(CreateLiveStreamRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateLiveStreamRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<LiveStream> | The call object. |
CreateLiveStreamAsync(CreateLiveStreamRequest, Metadata, DateTime?, CancellationToken)
Creates a LiveStream object.
Declaration
public virtual AsyncUnaryCall<LiveStream> CreateLiveStreamAsync(CreateLiveStreamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateLiveStreamRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| AsyncUnaryCall<LiveStream> | The call object. |
GetLiveStream(GetLiveStreamRequest, CallOptions)
Retrieves a LiveStream object.
Declaration
public virtual LiveStream GetLiveStream(GetLiveStreamRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLiveStreamRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| LiveStream | The response received from the server. |
GetLiveStream(GetLiveStreamRequest, Metadata, DateTime?, CancellationToken)
Retrieves a LiveStream object.
Declaration
public virtual LiveStream GetLiveStream(GetLiveStreamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLiveStreamRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| LiveStream | The response received from the server. |
GetLiveStreamAsync(GetLiveStreamRequest, CallOptions)
Retrieves a LiveStream object.
Declaration
public virtual AsyncUnaryCall<LiveStream> GetLiveStreamAsync(GetLiveStreamRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLiveStreamRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<LiveStream> | The call object. |
GetLiveStreamAsync(GetLiveStreamRequest, Metadata, DateTime?, CancellationToken)
Retrieves a LiveStream object.
Declaration
public virtual AsyncUnaryCall<LiveStream> GetLiveStreamAsync(GetLiveStreamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLiveStreamRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| AsyncUnaryCall<LiveStream> | The call object. |
ListLiveStreams(ListLiveStreamsRequest, CallOptions)
Lists LiveStream objects.
Declaration
public virtual ListLiveStreamsResponse ListLiveStreams(ListLiveStreamsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListLiveStreamsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListLiveStreamsResponse | The response received from the server. |
ListLiveStreams(ListLiveStreamsRequest, Metadata, DateTime?, CancellationToken)
Lists LiveStream objects.
Declaration
public virtual ListLiveStreamsResponse ListLiveStreams(ListLiveStreamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListLiveStreamsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| ListLiveStreamsResponse | The response received from the server. |
ListLiveStreamsAsync(ListLiveStreamsRequest, CallOptions)
Lists LiveStream objects.
Declaration
public virtual AsyncUnaryCall<ListLiveStreamsResponse> ListLiveStreamsAsync(ListLiveStreamsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListLiveStreamsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListLiveStreamsResponse> | The call object. |
ListLiveStreamsAsync(ListLiveStreamsRequest, Metadata, DateTime?, CancellationToken)
Lists LiveStream objects.
Declaration
public virtual AsyncUnaryCall<ListLiveStreamsResponse> ListLiveStreamsAsync(ListLiveStreamsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListLiveStreamsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| AsyncUnaryCall<ListLiveStreamsResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
Declaration
protected override LiveStreamService.LiveStreamServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| LiveStreamService.LiveStreamServiceClient |
Overrides
UpdateLiveStream(UpdateLiveStreamRequest, CallOptions)
Updates a LiveStream object.
Declaration
public virtual LiveStream UpdateLiveStream(UpdateLiveStreamRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateLiveStreamRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| LiveStream | The response received from the server. |
UpdateLiveStream(UpdateLiveStreamRequest, Metadata, DateTime?, CancellationToken)
Updates a LiveStream object.
Declaration
public virtual LiveStream UpdateLiveStream(UpdateLiveStreamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateLiveStreamRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| LiveStream | The response received from the server. |
UpdateLiveStreamAsync(UpdateLiveStreamRequest, CallOptions)
Updates a LiveStream object.
Declaration
public virtual AsyncUnaryCall<LiveStream> UpdateLiveStreamAsync(UpdateLiveStreamRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateLiveStreamRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<LiveStream> | The call object. |
UpdateLiveStreamAsync(UpdateLiveStreamRequest, Metadata, DateTime?, CancellationToken)
Updates a LiveStream object.
Declaration
public virtual AsyncUnaryCall<LiveStream> UpdateLiveStreamAsync(UpdateLiveStreamRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateLiveStreamRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | 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 |
|---|---|
| AsyncUnaryCall<LiveStream> | The call object. |