Video Stitcher v1 API - Class VideoStitcherServiceClientImpl (1.1.0)

public sealed class VideoStitcherServiceClientImpl : VideoStitcherServiceClient

Reference documentation and code samples for the Video Stitcher v1 API class VideoStitcherServiceClientImpl.

VideoStitcherService client wrapper implementation, for convenient use.

Inheritance

Object > VideoStitcherServiceClient > VideoStitcherServiceClientImpl

Namespace

Google.Cloud.Video.Stitcher.V1

Assembly

Google.Cloud.Video.Stitcher.V1.dll

Remarks

Video-On-Demand content stitching API allows you to insert ads into (VoD) video on demand files. You will be able to render custom scrubber bars with highlighted ads, enforce ad policies, allow seamless playback and tracking on native players and monetize content with any standard VMAP compliant ad server.

Constructors

VideoStitcherServiceClientImpl(VideoStitcherService.VideoStitcherServiceClient, VideoStitcherServiceSettings, ILogger)

public VideoStitcherServiceClientImpl(VideoStitcherService.VideoStitcherServiceClient grpcClient, VideoStitcherServiceSettings settings, ILogger logger)

Constructs a client wrapper for the VideoStitcherService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient VideoStitcherService.VideoStitcherServiceClient

The underlying gRPC client.

settings VideoStitcherServiceSettings

The base VideoStitcherServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override VideoStitcherService.VideoStitcherServiceClient GrpcClient { get; }

The underlying gRPC VideoStitcherService client

Property Value
Type Description
VideoStitcherService.VideoStitcherServiceClient
Overrides

Methods

CreateCdnKey(CreateCdnKeyRequest, CallSettings)

public override CdnKey CreateCdnKey(CreateCdnKeyRequest request, CallSettings callSettings = null)

Creates a new CDN key.

Parameters
Name Description
request CreateCdnKeyRequest

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
CdnKey

The RPC response.

Overrides

CreateCdnKeyAsync(CreateCdnKeyRequest, CallSettings)

public override Task<CdnKey> CreateCdnKeyAsync(CreateCdnKeyRequest request, CallSettings callSettings = null)

Creates a new CDN key.

Parameters
Name Description
request CreateCdnKeyRequest

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<CdnKey>

A Task containing the RPC response.

Overrides

CreateLiveSession(CreateLiveSessionRequest, CallSettings)

public override LiveSession CreateLiveSession(CreateLiveSessionRequest request, CallSettings callSettings = null)

Creates a new live session.

Parameters
Name Description
request CreateLiveSessionRequest

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
LiveSession

The RPC response.

Overrides

CreateLiveSessionAsync(CreateLiveSessionRequest, CallSettings)

public override Task<LiveSession> CreateLiveSessionAsync(CreateLiveSessionRequest request, CallSettings callSettings = null)

Creates a new live session.

Parameters
Name Description
request CreateLiveSessionRequest

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<LiveSession>

A Task containing the RPC response.

Overrides

CreateSlate(CreateSlateRequest, CallSettings)

public override Slate CreateSlate(CreateSlateRequest request, CallSettings callSettings = null)

Creates a slate.

Parameters
Name Description
request CreateSlateRequest

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
Slate

The RPC response.

Overrides

CreateSlateAsync(CreateSlateRequest, CallSettings)

public override Task<Slate> CreateSlateAsync(CreateSlateRequest request, CallSettings callSettings = null)

Creates a slate.

Parameters
Name Description
request CreateSlateRequest

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<Slate>

A Task containing the RPC response.

Overrides

CreateVodSession(CreateVodSessionRequest, CallSettings)

public override VodSession CreateVodSession(CreateVodSessionRequest request, CallSettings callSettings = null)

Creates a client side playback VOD session and returns the full tracking and playback metadata of the session.

Parameters
Name Description
request CreateVodSessionRequest

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
VodSession

The RPC response.

Overrides

CreateVodSessionAsync(CreateVodSessionRequest, CallSettings)

public override Task<VodSession> CreateVodSessionAsync(CreateVodSessionRequest request, CallSettings callSettings = null)

Creates a client side playback VOD session and returns the full tracking and playback metadata of the session.

Parameters
Name Description
request CreateVodSessionRequest

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<VodSession>

A Task containing the RPC response.

Overrides

DeleteCdnKey(DeleteCdnKeyRequest, CallSettings)

public override void DeleteCdnKey(DeleteCdnKeyRequest request, CallSettings callSettings = null)

Deletes the specified CDN key.

Parameters
Name Description
request DeleteCdnKeyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteCdnKeyAsync(DeleteCdnKeyRequest, CallSettings)

public override Task DeleteCdnKeyAsync(DeleteCdnKeyRequest request, CallSettings callSettings = null)

Deletes the specified CDN key.

Parameters
Name Description
request DeleteCdnKeyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

DeleteSlate(DeleteSlateRequest, CallSettings)

public override void DeleteSlate(DeleteSlateRequest request, CallSettings callSettings = null)

Deletes the specified slate.

Parameters
Name Description
request DeleteSlateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteSlateAsync(DeleteSlateRequest, CallSettings)

public override Task DeleteSlateAsync(DeleteSlateRequest request, CallSettings callSettings = null)

Deletes the specified slate.

Parameters
Name Description
request DeleteSlateRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

GetCdnKey(GetCdnKeyRequest, CallSettings)

public override CdnKey GetCdnKey(GetCdnKeyRequest request, CallSettings callSettings = null)

Returns the specified CDN key.

Parameters
Name Description
request GetCdnKeyRequest

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
CdnKey

The RPC response.

Overrides

GetCdnKeyAsync(GetCdnKeyRequest, CallSettings)

public override Task<CdnKey> GetCdnKeyAsync(GetCdnKeyRequest request, CallSettings callSettings = null)

Returns the specified CDN key.

Parameters
Name Description
request GetCdnKeyRequest

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<CdnKey>

A Task containing the RPC response.

Overrides

GetLiveAdTagDetail(GetLiveAdTagDetailRequest, CallSettings)

public override LiveAdTagDetail GetLiveAdTagDetail(GetLiveAdTagDetailRequest request, CallSettings callSettings = null)

Returns the specified ad tag detail for the specified live session.

Parameters
Name Description
request GetLiveAdTagDetailRequest

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
LiveAdTagDetail

The RPC response.

Overrides

GetLiveAdTagDetailAsync(GetLiveAdTagDetailRequest, CallSettings)

public override Task<LiveAdTagDetail> GetLiveAdTagDetailAsync(GetLiveAdTagDetailRequest request, CallSettings callSettings = null)

Returns the specified ad tag detail for the specified live session.

Parameters
Name Description
request GetLiveAdTagDetailRequest

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<LiveAdTagDetail>

A Task containing the RPC response.

Overrides

GetLiveSession(GetLiveSessionRequest, CallSettings)

public override LiveSession GetLiveSession(GetLiveSessionRequest request, CallSettings callSettings = null)

Returns the details for the specified live session.

Parameters
Name Description
request GetLiveSessionRequest

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
LiveSession

The RPC response.

Overrides

GetLiveSessionAsync(GetLiveSessionRequest, CallSettings)

public override Task<LiveSession> GetLiveSessionAsync(GetLiveSessionRequest request, CallSettings callSettings = null)

Returns the details for the specified live session.

Parameters
Name Description
request GetLiveSessionRequest

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<LiveSession>

A Task containing the RPC response.

Overrides

GetSlate(GetSlateRequest, CallSettings)

public override Slate GetSlate(GetSlateRequest request, CallSettings callSettings = null)

Returns the specified slate.

Parameters
Name Description
request GetSlateRequest

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
Slate

The RPC response.

Overrides

GetSlateAsync(GetSlateRequest, CallSettings)

public override Task<Slate> GetSlateAsync(GetSlateRequest request, CallSettings callSettings = null)

Returns the specified slate.

Parameters
Name Description
request GetSlateRequest

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<Slate>

A Task containing the RPC response.

Overrides

GetVodAdTagDetail(GetVodAdTagDetailRequest, CallSettings)

public override VodAdTagDetail GetVodAdTagDetail(GetVodAdTagDetailRequest request, CallSettings callSettings = null)

Returns the specified ad tag detail for the specified VOD session.

Parameters
Name Description
request GetVodAdTagDetailRequest

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
VodAdTagDetail

The RPC response.

Overrides

GetVodAdTagDetailAsync(GetVodAdTagDetailRequest, CallSettings)

public override Task<VodAdTagDetail> GetVodAdTagDetailAsync(GetVodAdTagDetailRequest request, CallSettings callSettings = null)

Returns the specified ad tag detail for the specified VOD session.

Parameters
Name Description
request GetVodAdTagDetailRequest

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<VodAdTagDetail>

A Task containing the RPC response.

Overrides

GetVodSession(GetVodSessionRequest, CallSettings)

public override VodSession GetVodSession(GetVodSessionRequest request, CallSettings callSettings = null)

Returns the full tracking, playback metadata, and relevant ad-ops logs for the specified VOD session.

Parameters
Name Description
request GetVodSessionRequest

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
VodSession

The RPC response.

Overrides

GetVodSessionAsync(GetVodSessionRequest, CallSettings)

public override Task<VodSession> GetVodSessionAsync(GetVodSessionRequest request, CallSettings callSettings = null)

Returns the full tracking, playback metadata, and relevant ad-ops logs for the specified VOD session.

Parameters
Name Description
request GetVodSessionRequest

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<VodSession>

A Task containing the RPC response.

Overrides

GetVodStitchDetail(GetVodStitchDetailRequest, CallSettings)

public override VodStitchDetail GetVodStitchDetail(GetVodStitchDetailRequest request, CallSettings callSettings = null)

Returns the specified stitching information for the specified VOD session.

Parameters
Name Description
request GetVodStitchDetailRequest

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
VodStitchDetail

The RPC response.

Overrides

GetVodStitchDetailAsync(GetVodStitchDetailRequest, CallSettings)

public override Task<VodStitchDetail> GetVodStitchDetailAsync(GetVodStitchDetailRequest request, CallSettings callSettings = null)

Returns the specified stitching information for the specified VOD session.

Parameters
Name Description
request GetVodStitchDetailRequest

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<VodStitchDetail>

A Task containing the RPC response.

Overrides

ListCdnKeys(ListCdnKeysRequest, CallSettings)

public override PagedEnumerable<ListCdnKeysResponse, CdnKey> ListCdnKeys(ListCdnKeysRequest request, CallSettings callSettings = null)

Lists all CDN keys in the specified project and ___location.

Parameters
Name Description
request ListCdnKeysRequest

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<ListCdnKeysResponse, CdnKey>

A pageable sequence of CdnKey resources.

Overrides

ListCdnKeysAsync(ListCdnKeysRequest, CallSettings)

public override PagedAsyncEnumerable<ListCdnKeysResponse, CdnKey> ListCdnKeysAsync(ListCdnKeysRequest request, CallSettings callSettings = null)

Lists all CDN keys in the specified project and ___location.

Parameters
Name Description
request ListCdnKeysRequest

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<ListCdnKeysResponse, CdnKey>

A pageable asynchronous sequence of CdnKey resources.

Overrides

ListLiveAdTagDetails(ListLiveAdTagDetailsRequest, CallSettings)

public override PagedEnumerable<ListLiveAdTagDetailsResponse, LiveAdTagDetail> ListLiveAdTagDetails(ListLiveAdTagDetailsRequest request, CallSettings callSettings = null)

Return the list of ad tag details for the specified live session.

Parameters
Name Description
request ListLiveAdTagDetailsRequest

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<ListLiveAdTagDetailsResponse, LiveAdTagDetail>

A pageable sequence of LiveAdTagDetail resources.

Overrides

ListLiveAdTagDetailsAsync(ListLiveAdTagDetailsRequest, CallSettings)

public override PagedAsyncEnumerable<ListLiveAdTagDetailsResponse, LiveAdTagDetail> ListLiveAdTagDetailsAsync(ListLiveAdTagDetailsRequest request, CallSettings callSettings = null)

Return the list of ad tag details for the specified live session.

Parameters
Name Description
request ListLiveAdTagDetailsRequest

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<ListLiveAdTagDetailsResponse, LiveAdTagDetail>

A pageable asynchronous sequence of LiveAdTagDetail resources.

Overrides

ListSlates(ListSlatesRequest, CallSettings)

public override PagedEnumerable<ListSlatesResponse, Slate> ListSlates(ListSlatesRequest request, CallSettings callSettings = null)

Lists all slates in the specified project and ___location.

Parameters
Name Description
request ListSlatesRequest

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<ListSlatesResponse, Slate>

A pageable sequence of Slate resources.

Overrides

ListSlatesAsync(ListSlatesRequest, CallSettings)

public override PagedAsyncEnumerable<ListSlatesResponse, Slate> ListSlatesAsync(ListSlatesRequest request, CallSettings callSettings = null)

Lists all slates in the specified project and ___location.

Parameters
Name Description
request ListSlatesRequest

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<ListSlatesResponse, Slate>

A pageable asynchronous sequence of Slate resources.

Overrides

ListVodAdTagDetails(ListVodAdTagDetailsRequest, CallSettings)

public override PagedEnumerable<ListVodAdTagDetailsResponse, VodAdTagDetail> ListVodAdTagDetails(ListVodAdTagDetailsRequest request, CallSettings callSettings = null)

Return the list of ad tag details for the specified VOD session.

Parameters
Name Description
request ListVodAdTagDetailsRequest

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<ListVodAdTagDetailsResponse, VodAdTagDetail>

A pageable sequence of VodAdTagDetail resources.

Overrides

ListVodAdTagDetailsAsync(ListVodAdTagDetailsRequest, CallSettings)

public override PagedAsyncEnumerable<ListVodAdTagDetailsResponse, VodAdTagDetail> ListVodAdTagDetailsAsync(ListVodAdTagDetailsRequest request, CallSettings callSettings = null)

Return the list of ad tag details for the specified VOD session.

Parameters
Name Description
request ListVodAdTagDetailsRequest

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<ListVodAdTagDetailsResponse, VodAdTagDetail>

A pageable asynchronous sequence of VodAdTagDetail resources.

Overrides

ListVodStitchDetails(ListVodStitchDetailsRequest, CallSettings)

public override PagedEnumerable<ListVodStitchDetailsResponse, VodStitchDetail> ListVodStitchDetails(ListVodStitchDetailsRequest request, CallSettings callSettings = null)

Returns a list of detailed stitching information of the specified VOD session.

Parameters
Name Description
request ListVodStitchDetailsRequest

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<ListVodStitchDetailsResponse, VodStitchDetail>

A pageable sequence of VodStitchDetail resources.

Overrides

ListVodStitchDetailsAsync(ListVodStitchDetailsRequest, CallSettings)

public override PagedAsyncEnumerable<ListVodStitchDetailsResponse, VodStitchDetail> ListVodStitchDetailsAsync(ListVodStitchDetailsRequest request, CallSettings callSettings = null)

Returns a list of detailed stitching information of the specified VOD session.

Parameters
Name Description
request ListVodStitchDetailsRequest

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<ListVodStitchDetailsResponse, VodStitchDetail>

A pageable asynchronous sequence of VodStitchDetail resources.

Overrides

UpdateCdnKey(UpdateCdnKeyRequest, CallSettings)

public override CdnKey UpdateCdnKey(UpdateCdnKeyRequest request, CallSettings callSettings = null)

Updates the specified CDN key. Only update fields specified in the call method body.

Parameters
Name Description
request UpdateCdnKeyRequest

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
CdnKey

The RPC response.

Overrides

UpdateCdnKeyAsync(UpdateCdnKeyRequest, CallSettings)

public override Task<CdnKey> UpdateCdnKeyAsync(UpdateCdnKeyRequest request, CallSettings callSettings = null)

Updates the specified CDN key. Only update fields specified in the call method body.

Parameters
Name Description
request UpdateCdnKeyRequest

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<CdnKey>

A Task containing the RPC response.

Overrides

UpdateSlate(UpdateSlateRequest, CallSettings)

public override Slate UpdateSlate(UpdateSlateRequest request, CallSettings callSettings = null)

Updates the specified slate.

Parameters
Name Description
request UpdateSlateRequest

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
Slate

The RPC response.

Overrides

UpdateSlateAsync(UpdateSlateRequest, CallSettings)

public override Task<Slate> UpdateSlateAsync(UpdateSlateRequest request, CallSettings callSettings = null)

Updates the specified slate.

Parameters
Name Description
request UpdateSlateRequest

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<Slate>

A Task containing the RPC response.

Overrides