Class LiveStreamServiceClientImpl
LiveStreamService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class LiveStreamServiceClientImpl : LiveStreamServiceClient
Remarks
Provides methods for handling LiveStream objects.
Constructors
LiveStreamServiceClientImpl(LiveStreamServiceClient, LiveStreamServiceSettings, ILogger)
Constructs a client wrapper for the LiveStreamService service, with the specified gRPC client and settings.
Declaration
public LiveStreamServiceClientImpl(LiveStreamService.LiveStreamServiceClient grpcClient, LiveStreamServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| LiveStreamService.LiveStreamServiceClient | grpcClient | The underlying gRPC client. |
| LiveStreamServiceSettings | settings | The base LiveStreamServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC LiveStreamService client
Declaration
public override LiveStreamService.LiveStreamServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| LiveStreamService.LiveStreamServiceClient |
Overrides
Methods
BatchActivateLiveStreams(BatchActivateLiveStreamsRequest, CallSettings)
Batch activates LiveStream objects.
Declaration
public override BatchActivateLiveStreamsResponse BatchActivateLiveStreams(BatchActivateLiveStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateLiveStreamsRequest | request | 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 |
|---|---|
| BatchActivateLiveStreamsResponse | The RPC response. |
Overrides
BatchActivateLiveStreamsAsync(BatchActivateLiveStreamsRequest, CallSettings)
Batch activates LiveStream objects.
Declaration
public override Task<BatchActivateLiveStreamsResponse> BatchActivateLiveStreamsAsync(BatchActivateLiveStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateLiveStreamsRequest | request | 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<BatchActivateLiveStreamsResponse> | A Task containing the RPC response. |
Overrides
BatchArchiveLiveStreams(BatchArchiveLiveStreamsRequest, CallSettings)
Batch archives LiveStream objects.
Declaration
public override BatchArchiveLiveStreamsResponse BatchArchiveLiveStreams(BatchArchiveLiveStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveLiveStreamsRequest | request | 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 |
|---|---|
| BatchArchiveLiveStreamsResponse | The RPC response. |
Overrides
BatchArchiveLiveStreamsAsync(BatchArchiveLiveStreamsRequest, CallSettings)
Batch archives LiveStream objects.
Declaration
public override Task<BatchArchiveLiveStreamsResponse> BatchArchiveLiveStreamsAsync(BatchArchiveLiveStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveLiveStreamsRequest | request | 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<BatchArchiveLiveStreamsResponse> | A Task containing the RPC response. |
Overrides
BatchCreateLiveStreams(BatchCreateLiveStreamsRequest, CallSettings)
Batch creates LiveStream objects.
Declaration
public override BatchCreateLiveStreamsResponse BatchCreateLiveStreams(BatchCreateLiveStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateLiveStreamsRequest | request | 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 |
|---|---|
| BatchCreateLiveStreamsResponse | The RPC response. |
Overrides
BatchCreateLiveStreamsAsync(BatchCreateLiveStreamsRequest, CallSettings)
Batch creates LiveStream objects.
Declaration
public override Task<BatchCreateLiveStreamsResponse> BatchCreateLiveStreamsAsync(BatchCreateLiveStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateLiveStreamsRequest | request | 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<BatchCreateLiveStreamsResponse> | A Task containing the RPC response. |
Overrides
BatchPauseAdsLiveStreams(BatchPauseAdsLiveStreamsRequest, CallSettings)
Batch pauses ads on LiveStream objects.
Declaration
public override BatchPauseAdsLiveStreamsResponse BatchPauseAdsLiveStreams(BatchPauseAdsLiveStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseAdsLiveStreamsRequest | request | 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 |
|---|---|
| BatchPauseAdsLiveStreamsResponse | The RPC response. |
Overrides
BatchPauseAdsLiveStreamsAsync(BatchPauseAdsLiveStreamsRequest, CallSettings)
Batch pauses ads on LiveStream objects.
Declaration
public override Task<BatchPauseAdsLiveStreamsResponse> BatchPauseAdsLiveStreamsAsync(BatchPauseAdsLiveStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseAdsLiveStreamsRequest | request | 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<BatchPauseAdsLiveStreamsResponse> | A Task containing the RPC response. |
Overrides
BatchPauseLiveStreams(BatchPauseLiveStreamsRequest, CallSettings)
Batch pauses LiveStream objects.
Declaration
public override BatchPauseLiveStreamsResponse BatchPauseLiveStreams(BatchPauseLiveStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseLiveStreamsRequest | request | 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 |
|---|---|
| BatchPauseLiveStreamsResponse | The RPC response. |
Overrides
BatchPauseLiveStreamsAsync(BatchPauseLiveStreamsRequest, CallSettings)
Batch pauses LiveStream objects.
Declaration
public override Task<BatchPauseLiveStreamsResponse> BatchPauseLiveStreamsAsync(BatchPauseLiveStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseLiveStreamsRequest | request | 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<BatchPauseLiveStreamsResponse> | A Task containing the RPC response. |
Overrides
BatchRefreshMasterPlaylists(BatchRefreshMasterPlaylistsRequest, CallSettings)
Batch refreshes master playlists on LiveStream objects.
Declaration
public override BatchRefreshMasterPlaylistsResponse BatchRefreshMasterPlaylists(BatchRefreshMasterPlaylistsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRefreshMasterPlaylistsRequest | request | 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 |
|---|---|
| BatchRefreshMasterPlaylistsResponse | The RPC response. |
Overrides
BatchRefreshMasterPlaylistsAsync(BatchRefreshMasterPlaylistsRequest, CallSettings)
Batch refreshes master playlists on LiveStream objects.
Declaration
public override Task<BatchRefreshMasterPlaylistsResponse> BatchRefreshMasterPlaylistsAsync(BatchRefreshMasterPlaylistsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRefreshMasterPlaylistsRequest | request | 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<BatchRefreshMasterPlaylistsResponse> | A Task containing the RPC response. |
Overrides
BatchUpdateLiveStreams(BatchUpdateLiveStreamsRequest, CallSettings)
Batch updates LiveStream objects.
Declaration
public override BatchUpdateLiveStreamsResponse BatchUpdateLiveStreams(BatchUpdateLiveStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateLiveStreamsRequest | request | 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 |
|---|---|
| BatchUpdateLiveStreamsResponse | The RPC response. |
Overrides
BatchUpdateLiveStreamsAsync(BatchUpdateLiveStreamsRequest, CallSettings)
Batch updates LiveStream objects.
Declaration
public override Task<BatchUpdateLiveStreamsResponse> BatchUpdateLiveStreamsAsync(BatchUpdateLiveStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateLiveStreamsRequest | request | 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<BatchUpdateLiveStreamsResponse> | A Task containing the RPC response. |
Overrides
CreateLiveStream(CreateLiveStreamRequest, CallSettings)
Creates a LiveStream object.
Declaration
public override LiveStream CreateLiveStream(CreateLiveStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateLiveStreamRequest | request | 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 |
|---|---|
| LiveStream | The RPC response. |
Overrides
CreateLiveStreamAsync(CreateLiveStreamRequest, CallSettings)
Creates a LiveStream object.
Declaration
public override Task<LiveStream> CreateLiveStreamAsync(CreateLiveStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateLiveStreamRequest | request | 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<LiveStream> | A Task containing the RPC response. |
Overrides
GetLiveStream(GetLiveStreamRequest, CallSettings)
Retrieves a LiveStream object.
Declaration
public override LiveStream GetLiveStream(GetLiveStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLiveStreamRequest | request | 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 |
|---|---|
| LiveStream | The RPC response. |
Overrides
GetLiveStreamAsync(GetLiveStreamRequest, CallSettings)
Retrieves a LiveStream object.
Declaration
public override Task<LiveStream> GetLiveStreamAsync(GetLiveStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLiveStreamRequest | request | 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<LiveStream> | A Task containing the RPC response. |
Overrides
ListLiveStreams(ListLiveStreamsRequest, CallSettings)
Lists LiveStream objects.
Declaration
public override PagedEnumerable<ListLiveStreamsResponse, LiveStream> ListLiveStreams(ListLiveStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListLiveStreamsRequest | request | 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<ListLiveStreamsResponse, LiveStream> | A pageable sequence of LiveStream resources. |
Overrides
ListLiveStreamsAsync(ListLiveStreamsRequest, CallSettings)
Lists LiveStream objects.
Declaration
public override PagedAsyncEnumerable<ListLiveStreamsResponse, LiveStream> ListLiveStreamsAsync(ListLiveStreamsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListLiveStreamsRequest | request | 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<ListLiveStreamsResponse, LiveStream> | A pageable asynchronous sequence of LiveStream resources. |
Overrides
UpdateLiveStream(UpdateLiveStreamRequest, CallSettings)
Updates a LiveStream object.
Declaration
public override LiveStream UpdateLiveStream(UpdateLiveStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateLiveStreamRequest | request | 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 |
|---|---|
| LiveStream | The RPC response. |
Overrides
UpdateLiveStreamAsync(UpdateLiveStreamRequest, CallSettings)
Updates a LiveStream object.
Declaration
public override Task<LiveStream> UpdateLiveStreamAsync(UpdateLiveStreamRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateLiveStreamRequest | request | 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<LiveStream> | A Task containing the RPC response. |