public abstract class VideoStitcherServiceClient
Reference documentation and code samples for the Video Stitcher v1 API class VideoStitcherServiceClient.
VideoStitcherService client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.Video.Stitcher.V1Assembly
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.
Properties
DefaultEndpoint
public static string DefaultEndpoint { get; }
The default endpoint for the VideoStitcherService service, which is a host of "videostitcher.googleapis.com" and a port of 443.
Property Value | |
---|---|
Type | Description |
String |
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }
The default VideoStitcherService scopes.
Property Value | |
---|---|
Type | Description |
IReadOnlyList<String> |
The default VideoStitcherService scopes are:
GrpcClient
public virtual VideoStitcherService.VideoStitcherServiceClient GrpcClient { get; }
The underlying gRPC VideoStitcherService client
Property Value | |
---|---|
Type | Description |
VideoStitcherService.VideoStitcherServiceClient |
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }
The service metadata associated with this client type.
Property Value | |
---|---|
Type | Description |
ServiceMetadata |
Methods
Create()
public static VideoStitcherServiceClient Create()
Synchronously creates a VideoStitcherServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use VideoStitcherServiceClientBuilder.
Returns | |
---|---|
Type | Description |
VideoStitcherServiceClient | The created VideoStitcherServiceClient. |
CreateAsync(CancellationToken)
public static Task<VideoStitcherServiceClient> CreateAsync(CancellationToken cancellationToken = default(CancellationToken))
Asynchronously creates a VideoStitcherServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use VideoStitcherServiceClientBuilder.
Parameter | |
---|---|
Name | Description |
cancellationToken | CancellationToken The CancellationToken to use while creating the client. |
Returns | |
---|---|
Type | Description |
Task<VideoStitcherServiceClient> | The task representing the created VideoStitcherServiceClient. |
CreateCdnKey(LocationName, CdnKey, String, CallSettings)
public virtual CdnKey CreateCdnKey(LocationName parent, CdnKey cdnKey, string cdnKeyId, CallSettings callSettings = null)
Creates a new CDN key.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project in which the CDN key should be created, in the form of
|
cdnKey | CdnKey Required. The CDN key resource to create. |
cdnKeyId | String Required. The ID to use for the CDN key, which will become the final component of the CDN key's resource name. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CdnKey | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CdnKey cdnKey = new CdnKey();
string cdnKeyId = "";
// Make the request
CdnKey response = videoStitcherServiceClient.CreateCdnKey(parent, cdnKey, cdnKeyId);
CreateCdnKey(CreateCdnKeyRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
CreateCdnKeyRequest request = new CreateCdnKeyRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
CdnKey = new CdnKey(),
CdnKeyId = "",
};
// Make the request
CdnKey response = videoStitcherServiceClient.CreateCdnKey(request);
CreateCdnKey(String, CdnKey, String, CallSettings)
public virtual CdnKey CreateCdnKey(string parent, CdnKey cdnKey, string cdnKeyId, CallSettings callSettings = null)
Creates a new CDN key.
Parameters | |
---|---|
Name | Description |
parent | String Required. The project in which the CDN key should be created, in the form of
|
cdnKey | CdnKey Required. The CDN key resource to create. |
cdnKeyId | String Required. The ID to use for the CDN key, which will become the final component of the CDN key's resource name. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CdnKey | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CdnKey cdnKey = new CdnKey();
string cdnKeyId = "";
// Make the request
CdnKey response = videoStitcherServiceClient.CreateCdnKey(parent, cdnKey, cdnKeyId);
CreateCdnKeyAsync(LocationName, CdnKey, String, CallSettings)
public virtual Task<CdnKey> CreateCdnKeyAsync(LocationName parent, CdnKey cdnKey, string cdnKeyId, CallSettings callSettings = null)
Creates a new CDN key.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project in which the CDN key should be created, in the form of
|
cdnKey | CdnKey Required. The CDN key resource to create. |
cdnKeyId | String Required. The ID to use for the CDN key, which will become the final component of the CDN key's resource name. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<CdnKey> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CdnKey cdnKey = new CdnKey();
string cdnKeyId = "";
// Make the request
CdnKey response = await videoStitcherServiceClient.CreateCdnKeyAsync(parent, cdnKey, cdnKeyId);
CreateCdnKeyAsync(LocationName, CdnKey, String, CancellationToken)
public virtual Task<CdnKey> CreateCdnKeyAsync(LocationName parent, CdnKey cdnKey, string cdnKeyId, CancellationToken cancellationToken)
Creates a new CDN key.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project in which the CDN key should be created, in the form of
|
cdnKey | CdnKey Required. The CDN key resource to create. |
cdnKeyId | String Required. The ID to use for the CDN key, which will become the final component of the CDN key's resource name. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<CdnKey> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
CdnKey cdnKey = new CdnKey();
string cdnKeyId = "";
// Make the request
CdnKey response = await videoStitcherServiceClient.CreateCdnKeyAsync(parent, cdnKey, cdnKeyId);
CreateCdnKeyAsync(CreateCdnKeyRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CreateCdnKeyRequest request = new CreateCdnKeyRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
CdnKey = new CdnKey(),
CdnKeyId = "",
};
// Make the request
CdnKey response = await videoStitcherServiceClient.CreateCdnKeyAsync(request);
CreateCdnKeyAsync(CreateCdnKeyRequest, CancellationToken)
public virtual Task<CdnKey> CreateCdnKeyAsync(CreateCdnKeyRequest request, CancellationToken cancellationToken)
Creates a new CDN key.
Parameters | |
---|---|
Name | Description |
request | CreateCdnKeyRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<CdnKey> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CreateCdnKeyRequest request = new CreateCdnKeyRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
CdnKey = new CdnKey(),
CdnKeyId = "",
};
// Make the request
CdnKey response = await videoStitcherServiceClient.CreateCdnKeyAsync(request);
CreateCdnKeyAsync(String, CdnKey, String, CallSettings)
public virtual Task<CdnKey> CreateCdnKeyAsync(string parent, CdnKey cdnKey, string cdnKeyId, CallSettings callSettings = null)
Creates a new CDN key.
Parameters | |
---|---|
Name | Description |
parent | String Required. The project in which the CDN key should be created, in the form of
|
cdnKey | CdnKey Required. The CDN key resource to create. |
cdnKeyId | String Required. The ID to use for the CDN key, which will become the final component of the CDN key's resource name. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<CdnKey> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CdnKey cdnKey = new CdnKey();
string cdnKeyId = "";
// Make the request
CdnKey response = await videoStitcherServiceClient.CreateCdnKeyAsync(parent, cdnKey, cdnKeyId);
CreateCdnKeyAsync(String, CdnKey, String, CancellationToken)
public virtual Task<CdnKey> CreateCdnKeyAsync(string parent, CdnKey cdnKey, string cdnKeyId, CancellationToken cancellationToken)
Creates a new CDN key.
Parameters | |
---|---|
Name | Description |
parent | String Required. The project in which the CDN key should be created, in the form of
|
cdnKey | CdnKey Required. The CDN key resource to create. |
cdnKeyId | String Required. The ID to use for the CDN key, which will become the final component of the CDN key's resource name. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<CdnKey> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
CdnKey cdnKey = new CdnKey();
string cdnKeyId = "";
// Make the request
CdnKey response = await videoStitcherServiceClient.CreateCdnKeyAsync(parent, cdnKey, cdnKeyId);
CreateLiveSession(CreateLiveSessionRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
CreateLiveSessionRequest request = new CreateLiveSessionRequest
{
ParentAsLiveSessionName = LiveSessionName.FromProjectLocationLiveSession("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]"),
LiveSession = new LiveSession(),
};
// Make the request
LiveSession response = videoStitcherServiceClient.CreateLiveSession(request);
CreateLiveSession(LiveSessionName, LiveSession, CallSettings)
public virtual LiveSession CreateLiveSession(LiveSessionName parent, LiveSession liveSession, CallSettings callSettings = null)
Creates a new live session.
Parameters | |
---|---|
Name | Description |
parent | LiveSessionName Required. The project and location in which the live session should be created,
in the form of |
liveSession | LiveSession Required. Parameters for creating a live session. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LiveSession | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
LiveSessionName parent = LiveSessionName.FromProjectLocationLiveSession("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]");
LiveSession liveSession = new LiveSession();
// Make the request
LiveSession response = videoStitcherServiceClient.CreateLiveSession(parent, liveSession);
CreateLiveSession(String, LiveSession, CallSettings)
public virtual LiveSession CreateLiveSession(string parent, LiveSession liveSession, CallSettings callSettings = null)
Creates a new live session.
Parameters | |
---|---|
Name | Description |
parent | String Required. The project and location in which the live session should be created,
in the form of |
liveSession | LiveSession Required. Parameters for creating a live session. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LiveSession | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/liveSessions/[LIVE_SESSION]";
LiveSession liveSession = new LiveSession();
// Make the request
LiveSession response = videoStitcherServiceClient.CreateLiveSession(parent, liveSession);
CreateLiveSessionAsync(CreateLiveSessionRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CreateLiveSessionRequest request = new CreateLiveSessionRequest
{
ParentAsLiveSessionName = LiveSessionName.FromProjectLocationLiveSession("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]"),
LiveSession = new LiveSession(),
};
// Make the request
LiveSession response = await videoStitcherServiceClient.CreateLiveSessionAsync(request);
CreateLiveSessionAsync(CreateLiveSessionRequest, CancellationToken)
public virtual Task<LiveSession> CreateLiveSessionAsync(CreateLiveSessionRequest request, CancellationToken cancellationToken)
Creates a new live session.
Parameters | |
---|---|
Name | Description |
request | CreateLiveSessionRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<LiveSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CreateLiveSessionRequest request = new CreateLiveSessionRequest
{
ParentAsLiveSessionName = LiveSessionName.FromProjectLocationLiveSession("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]"),
LiveSession = new LiveSession(),
};
// Make the request
LiveSession response = await videoStitcherServiceClient.CreateLiveSessionAsync(request);
CreateLiveSessionAsync(LiveSessionName, LiveSession, CallSettings)
public virtual Task<LiveSession> CreateLiveSessionAsync(LiveSessionName parent, LiveSession liveSession, CallSettings callSettings = null)
Creates a new live session.
Parameters | |
---|---|
Name | Description |
parent | LiveSessionName Required. The project and location in which the live session should be created,
in the form of |
liveSession | LiveSession Required. Parameters for creating a live session. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LiveSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LiveSessionName parent = LiveSessionName.FromProjectLocationLiveSession("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]");
LiveSession liveSession = new LiveSession();
// Make the request
LiveSession response = await videoStitcherServiceClient.CreateLiveSessionAsync(parent, liveSession);
CreateLiveSessionAsync(LiveSessionName, LiveSession, CancellationToken)
public virtual Task<LiveSession> CreateLiveSessionAsync(LiveSessionName parent, LiveSession liveSession, CancellationToken cancellationToken)
Creates a new live session.
Parameters | |
---|---|
Name | Description |
parent | LiveSessionName Required. The project and location in which the live session should be created,
in the form of |
liveSession | LiveSession Required. Parameters for creating a live session. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<LiveSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LiveSessionName parent = LiveSessionName.FromProjectLocationLiveSession("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]");
LiveSession liveSession = new LiveSession();
// Make the request
LiveSession response = await videoStitcherServiceClient.CreateLiveSessionAsync(parent, liveSession);
CreateLiveSessionAsync(String, LiveSession, CallSettings)
public virtual Task<LiveSession> CreateLiveSessionAsync(string parent, LiveSession liveSession, CallSettings callSettings = null)
Creates a new live session.
Parameters | |
---|---|
Name | Description |
parent | String Required. The project and location in which the live session should be created,
in the form of |
liveSession | LiveSession Required. Parameters for creating a live session. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LiveSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/liveSessions/[LIVE_SESSION]";
LiveSession liveSession = new LiveSession();
// Make the request
LiveSession response = await videoStitcherServiceClient.CreateLiveSessionAsync(parent, liveSession);
CreateLiveSessionAsync(String, LiveSession, CancellationToken)
public virtual Task<LiveSession> CreateLiveSessionAsync(string parent, LiveSession liveSession, CancellationToken cancellationToken)
Creates a new live session.
Parameters | |
---|---|
Name | Description |
parent | String Required. The project and location in which the live session should be created,
in the form of |
liveSession | LiveSession Required. Parameters for creating a live session. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<LiveSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/liveSessions/[LIVE_SESSION]";
LiveSession liveSession = new LiveSession();
// Make the request
LiveSession response = await videoStitcherServiceClient.CreateLiveSessionAsync(parent, liveSession);
CreateSlate(LocationName, Slate, String, CallSettings)
public virtual Slate CreateSlate(LocationName parent, Slate slate, string slateId, CallSettings callSettings = null)
Creates a slate.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project in which the slate should be created, in the form of
|
slate | Slate Required. The slate to create. |
slateId | String Required. The unique identifier for the slate. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Slate | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Slate slate = new Slate();
string slateId = "";
// Make the request
Slate response = videoStitcherServiceClient.CreateSlate(parent, slate, slateId);
CreateSlate(CreateSlateRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
CreateSlateRequest request = new CreateSlateRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
SlateId = "",
Slate = new Slate(),
};
// Make the request
Slate response = videoStitcherServiceClient.CreateSlate(request);
CreateSlate(String, Slate, String, CallSettings)
public virtual Slate CreateSlate(string parent, Slate slate, string slateId, CallSettings callSettings = null)
Creates a slate.
Parameters | |
---|---|
Name | Description |
parent | String Required. The project in which the slate should be created, in the form of
|
slate | Slate Required. The slate to create. |
slateId | String Required. The unique identifier for the slate. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Slate | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Slate slate = new Slate();
string slateId = "";
// Make the request
Slate response = videoStitcherServiceClient.CreateSlate(parent, slate, slateId);
CreateSlateAsync(LocationName, Slate, String, CallSettings)
public virtual Task<Slate> CreateSlateAsync(LocationName parent, Slate slate, string slateId, CallSettings callSettings = null)
Creates a slate.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project in which the slate should be created, in the form of
|
slate | Slate Required. The slate to create. |
slateId | String Required. The unique identifier for the slate. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Slate> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Slate slate = new Slate();
string slateId = "";
// Make the request
Slate response = await videoStitcherServiceClient.CreateSlateAsync(parent, slate, slateId);
CreateSlateAsync(LocationName, Slate, String, CancellationToken)
public virtual Task<Slate> CreateSlateAsync(LocationName parent, Slate slate, string slateId, CancellationToken cancellationToken)
Creates a slate.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project in which the slate should be created, in the form of
|
slate | Slate Required. The slate to create. |
slateId | String Required. The unique identifier for the slate. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Slate> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Slate slate = new Slate();
string slateId = "";
// Make the request
Slate response = await videoStitcherServiceClient.CreateSlateAsync(parent, slate, slateId);
CreateSlateAsync(CreateSlateRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CreateSlateRequest request = new CreateSlateRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
SlateId = "",
Slate = new Slate(),
};
// Make the request
Slate response = await videoStitcherServiceClient.CreateSlateAsync(request);
CreateSlateAsync(CreateSlateRequest, CancellationToken)
public virtual Task<Slate> CreateSlateAsync(CreateSlateRequest request, CancellationToken cancellationToken)
Creates a slate.
Parameters | |
---|---|
Name | Description |
request | CreateSlateRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Slate> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CreateSlateRequest request = new CreateSlateRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
SlateId = "",
Slate = new Slate(),
};
// Make the request
Slate response = await videoStitcherServiceClient.CreateSlateAsync(request);
CreateSlateAsync(String, Slate, String, CallSettings)
public virtual Task<Slate> CreateSlateAsync(string parent, Slate slate, string slateId, CallSettings callSettings = null)
Creates a slate.
Parameters | |
---|---|
Name | Description |
parent | String Required. The project in which the slate should be created, in the form of
|
slate | Slate Required. The slate to create. |
slateId | String Required. The unique identifier for the slate. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Slate> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Slate slate = new Slate();
string slateId = "";
// Make the request
Slate response = await videoStitcherServiceClient.CreateSlateAsync(parent, slate, slateId);
CreateSlateAsync(String, Slate, String, CancellationToken)
public virtual Task<Slate> CreateSlateAsync(string parent, Slate slate, string slateId, CancellationToken cancellationToken)
Creates a slate.
Parameters | |
---|---|
Name | Description |
parent | String Required. The project in which the slate should be created, in the form of
|
slate | Slate Required. The slate to create. |
slateId | String Required. The unique identifier for the slate. This value should conform to RFC-1034, which restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Slate> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Slate slate = new Slate();
string slateId = "";
// Make the request
Slate response = await videoStitcherServiceClient.CreateSlateAsync(parent, slate, slateId);
CreateVodSession(LocationName, VodSession, CallSettings)
public virtual VodSession CreateVodSession(LocationName parent, VodSession vodSession, CallSettings callSettings = null)
Creates a client side playback VOD session and returns the full tracking and playback metadata of the session.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project and location in which the VOD session should be created, in the
form of |
vodSession | VodSession Required. Parameters for creating a session. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
VodSession | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
VodSession vodSession = new VodSession();
// Make the request
VodSession response = videoStitcherServiceClient.CreateVodSession(parent, vodSession);
CreateVodSession(CreateVodSessionRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
CreateVodSessionRequest request = new CreateVodSessionRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
VodSession = new VodSession(),
};
// Make the request
VodSession response = videoStitcherServiceClient.CreateVodSession(request);
CreateVodSession(String, VodSession, CallSettings)
public virtual VodSession CreateVodSession(string parent, VodSession vodSession, CallSettings callSettings = null)
Creates a client side playback VOD session and returns the full tracking and playback metadata of the session.
Parameters | |
---|---|
Name | Description |
parent | String Required. The project and location in which the VOD session should be created, in the
form of |
vodSession | VodSession Required. Parameters for creating a session. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
VodSession | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
VodSession vodSession = new VodSession();
// Make the request
VodSession response = videoStitcherServiceClient.CreateVodSession(parent, vodSession);
CreateVodSessionAsync(LocationName, VodSession, CallSettings)
public virtual Task<VodSession> CreateVodSessionAsync(LocationName parent, VodSession vodSession, CallSettings callSettings = null)
Creates a client side playback VOD session and returns the full tracking and playback metadata of the session.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project and location in which the VOD session should be created, in the
form of |
vodSession | VodSession Required. Parameters for creating a session. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<VodSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
VodSession vodSession = new VodSession();
// Make the request
VodSession response = await videoStitcherServiceClient.CreateVodSessionAsync(parent, vodSession);
CreateVodSessionAsync(LocationName, VodSession, CancellationToken)
public virtual Task<VodSession> CreateVodSessionAsync(LocationName parent, VodSession vodSession, CancellationToken cancellationToken)
Creates a client side playback VOD session and returns the full tracking and playback metadata of the session.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project and location in which the VOD session should be created, in the
form of |
vodSession | VodSession Required. Parameters for creating a session. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<VodSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
VodSession vodSession = new VodSession();
// Make the request
VodSession response = await videoStitcherServiceClient.CreateVodSessionAsync(parent, vodSession);
CreateVodSessionAsync(CreateVodSessionRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CreateVodSessionRequest request = new CreateVodSessionRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
VodSession = new VodSession(),
};
// Make the request
VodSession response = await videoStitcherServiceClient.CreateVodSessionAsync(request);
CreateVodSessionAsync(CreateVodSessionRequest, CancellationToken)
public virtual Task<VodSession> CreateVodSessionAsync(CreateVodSessionRequest request, CancellationToken cancellationToken)
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. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<VodSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CreateVodSessionRequest request = new CreateVodSessionRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
VodSession = new VodSession(),
};
// Make the request
VodSession response = await videoStitcherServiceClient.CreateVodSessionAsync(request);
CreateVodSessionAsync(String, VodSession, CallSettings)
public virtual Task<VodSession> CreateVodSessionAsync(string parent, VodSession vodSession, CallSettings callSettings = null)
Creates a client side playback VOD session and returns the full tracking and playback metadata of the session.
Parameters | |
---|---|
Name | Description |
parent | String Required. The project and location in which the VOD session should be created, in the
form of |
vodSession | VodSession Required. Parameters for creating a session. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<VodSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
VodSession vodSession = new VodSession();
// Make the request
VodSession response = await videoStitcherServiceClient.CreateVodSessionAsync(parent, vodSession);
CreateVodSessionAsync(String, VodSession, CancellationToken)
public virtual Task<VodSession> CreateVodSessionAsync(string parent, VodSession vodSession, CancellationToken cancellationToken)
Creates a client side playback VOD session and returns the full tracking and playback metadata of the session.
Parameters | |
---|---|
Name | Description |
parent | String Required. The project and location in which the VOD session should be created, in the
form of |
vodSession | VodSession Required. Parameters for creating a session. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<VodSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
VodSession vodSession = new VodSession();
// Make the request
VodSession response = await videoStitcherServiceClient.CreateVodSessionAsync(parent, vodSession);
DeleteCdnKey(CdnKeyName, CallSettings)
public virtual void DeleteCdnKey(CdnKeyName name, CallSettings callSettings = null)
Deletes the specified CDN key.
Parameters | |
---|---|
Name | Description |
name | CdnKeyName Required. The name of the CDN key to be deleted, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
CdnKeyName name = CdnKeyName.FromProjectLocationCdnKey("[PROJECT]", "[LOCATION]", "[CDN_KEY]");
// Make the request
videoStitcherServiceClient.DeleteCdnKey(name);
DeleteCdnKey(DeleteCdnKeyRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
DeleteCdnKeyRequest request = new DeleteCdnKeyRequest
{
CdnKeyName = CdnKeyName.FromProjectLocationCdnKey("[PROJECT]", "[LOCATION]", "[CDN_KEY]"),
};
// Make the request
videoStitcherServiceClient.DeleteCdnKey(request);
DeleteCdnKey(String, CallSettings)
public virtual void DeleteCdnKey(string name, CallSettings callSettings = null)
Deletes the specified CDN key.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the CDN key to be deleted, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cdnKeys/[CDN_KEY]";
// Make the request
videoStitcherServiceClient.DeleteCdnKey(name);
DeleteCdnKeyAsync(CdnKeyName, CallSettings)
public virtual Task DeleteCdnKeyAsync(CdnKeyName name, CallSettings callSettings = null)
Deletes the specified CDN key.
Parameters | |
---|---|
Name | Description |
name | CdnKeyName Required. The name of the CDN key to be deleted, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CdnKeyName name = CdnKeyName.FromProjectLocationCdnKey("[PROJECT]", "[LOCATION]", "[CDN_KEY]");
// Make the request
await videoStitcherServiceClient.DeleteCdnKeyAsync(name);
DeleteCdnKeyAsync(CdnKeyName, CancellationToken)
public virtual Task DeleteCdnKeyAsync(CdnKeyName name, CancellationToken cancellationToken)
Deletes the specified CDN key.
Parameters | |
---|---|
Name | Description |
name | CdnKeyName Required. The name of the CDN key to be deleted, in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CdnKeyName name = CdnKeyName.FromProjectLocationCdnKey("[PROJECT]", "[LOCATION]", "[CDN_KEY]");
// Make the request
await videoStitcherServiceClient.DeleteCdnKeyAsync(name);
DeleteCdnKeyAsync(DeleteCdnKeyRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteCdnKeyRequest request = new DeleteCdnKeyRequest
{
CdnKeyName = CdnKeyName.FromProjectLocationCdnKey("[PROJECT]", "[LOCATION]", "[CDN_KEY]"),
};
// Make the request
await videoStitcherServiceClient.DeleteCdnKeyAsync(request);
DeleteCdnKeyAsync(DeleteCdnKeyRequest, CancellationToken)
public virtual Task DeleteCdnKeyAsync(DeleteCdnKeyRequest request, CancellationToken cancellationToken)
Deletes the specified CDN key.
Parameters | |
---|---|
Name | Description |
request | DeleteCdnKeyRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteCdnKeyRequest request = new DeleteCdnKeyRequest
{
CdnKeyName = CdnKeyName.FromProjectLocationCdnKey("[PROJECT]", "[LOCATION]", "[CDN_KEY]"),
};
// Make the request
await videoStitcherServiceClient.DeleteCdnKeyAsync(request);
DeleteCdnKeyAsync(String, CallSettings)
public virtual Task DeleteCdnKeyAsync(string name, CallSettings callSettings = null)
Deletes the specified CDN key.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the CDN key to be deleted, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cdnKeys/[CDN_KEY]";
// Make the request
await videoStitcherServiceClient.DeleteCdnKeyAsync(name);
DeleteCdnKeyAsync(String, CancellationToken)
public virtual Task DeleteCdnKeyAsync(string name, CancellationToken cancellationToken)
Deletes the specified CDN key.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the CDN key to be deleted, in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cdnKeys/[CDN_KEY]";
// Make the request
await videoStitcherServiceClient.DeleteCdnKeyAsync(name);
DeleteSlate(DeleteSlateRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
DeleteSlateRequest request = new DeleteSlateRequest
{
SlateName = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]"),
};
// Make the request
videoStitcherServiceClient.DeleteSlate(request);
DeleteSlate(SlateName, CallSettings)
public virtual void DeleteSlate(SlateName name, CallSettings callSettings = null)
Deletes the specified slate.
Parameters | |
---|---|
Name | Description |
name | SlateName Required. The name of the slate to be deleted, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
SlateName name = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]");
// Make the request
videoStitcherServiceClient.DeleteSlate(name);
DeleteSlate(String, CallSettings)
public virtual void DeleteSlate(string name, CallSettings callSettings = null)
Deletes the specified slate.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the slate to be deleted, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/slates/[SLATE]";
// Make the request
videoStitcherServiceClient.DeleteSlate(name);
DeleteSlateAsync(DeleteSlateRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteSlateRequest request = new DeleteSlateRequest
{
SlateName = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]"),
};
// Make the request
await videoStitcherServiceClient.DeleteSlateAsync(request);
DeleteSlateAsync(DeleteSlateRequest, CancellationToken)
public virtual Task DeleteSlateAsync(DeleteSlateRequest request, CancellationToken cancellationToken)
Deletes the specified slate.
Parameters | |
---|---|
Name | Description |
request | DeleteSlateRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteSlateRequest request = new DeleteSlateRequest
{
SlateName = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]"),
};
// Make the request
await videoStitcherServiceClient.DeleteSlateAsync(request);
DeleteSlateAsync(SlateName, CallSettings)
public virtual Task DeleteSlateAsync(SlateName name, CallSettings callSettings = null)
Deletes the specified slate.
Parameters | |
---|---|
Name | Description |
name | SlateName Required. The name of the slate to be deleted, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
SlateName name = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]");
// Make the request
await videoStitcherServiceClient.DeleteSlateAsync(name);
DeleteSlateAsync(SlateName, CancellationToken)
public virtual Task DeleteSlateAsync(SlateName name, CancellationToken cancellationToken)
Deletes the specified slate.
Parameters | |
---|---|
Name | Description |
name | SlateName Required. The name of the slate to be deleted, in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
SlateName name = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]");
// Make the request
await videoStitcherServiceClient.DeleteSlateAsync(name);
DeleteSlateAsync(String, CallSettings)
public virtual Task DeleteSlateAsync(string name, CallSettings callSettings = null)
Deletes the specified slate.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the slate to be deleted, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/slates/[SLATE]";
// Make the request
await videoStitcherServiceClient.DeleteSlateAsync(name);
DeleteSlateAsync(String, CancellationToken)
public virtual Task DeleteSlateAsync(string name, CancellationToken cancellationToken)
Deletes the specified slate.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the slate to be deleted, in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/slates/[SLATE]";
// Make the request
await videoStitcherServiceClient.DeleteSlateAsync(name);
GetCdnKey(CdnKeyName, CallSettings)
public virtual CdnKey GetCdnKey(CdnKeyName name, CallSettings callSettings = null)
Returns the specified CDN key.
Parameters | |
---|---|
Name | Description |
name | CdnKeyName Required. The name of the CDN key to be retrieved, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CdnKey | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
CdnKeyName name = CdnKeyName.FromProjectLocationCdnKey("[PROJECT]", "[LOCATION]", "[CDN_KEY]");
// Make the request
CdnKey response = videoStitcherServiceClient.GetCdnKey(name);
GetCdnKey(GetCdnKeyRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
GetCdnKeyRequest request = new GetCdnKeyRequest
{
CdnKeyName = CdnKeyName.FromProjectLocationCdnKey("[PROJECT]", "[LOCATION]", "[CDN_KEY]"),
};
// Make the request
CdnKey response = videoStitcherServiceClient.GetCdnKey(request);
GetCdnKey(String, CallSettings)
public virtual CdnKey GetCdnKey(string name, CallSettings callSettings = null)
Returns the specified CDN key.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the CDN key to be retrieved, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CdnKey | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cdnKeys/[CDN_KEY]";
// Make the request
CdnKey response = videoStitcherServiceClient.GetCdnKey(name);
GetCdnKeyAsync(CdnKeyName, CallSettings)
public virtual Task<CdnKey> GetCdnKeyAsync(CdnKeyName name, CallSettings callSettings = null)
Returns the specified CDN key.
Parameters | |
---|---|
Name | Description |
name | CdnKeyName Required. The name of the CDN key to be retrieved, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<CdnKey> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CdnKeyName name = CdnKeyName.FromProjectLocationCdnKey("[PROJECT]", "[LOCATION]", "[CDN_KEY]");
// Make the request
CdnKey response = await videoStitcherServiceClient.GetCdnKeyAsync(name);
GetCdnKeyAsync(CdnKeyName, CancellationToken)
public virtual Task<CdnKey> GetCdnKeyAsync(CdnKeyName name, CancellationToken cancellationToken)
Returns the specified CDN key.
Parameters | |
---|---|
Name | Description |
name | CdnKeyName Required. The name of the CDN key to be retrieved, in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<CdnKey> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CdnKeyName name = CdnKeyName.FromProjectLocationCdnKey("[PROJECT]", "[LOCATION]", "[CDN_KEY]");
// Make the request
CdnKey response = await videoStitcherServiceClient.GetCdnKeyAsync(name);
GetCdnKeyAsync(GetCdnKeyRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
GetCdnKeyRequest request = new GetCdnKeyRequest
{
CdnKeyName = CdnKeyName.FromProjectLocationCdnKey("[PROJECT]", "[LOCATION]", "[CDN_KEY]"),
};
// Make the request
CdnKey response = await videoStitcherServiceClient.GetCdnKeyAsync(request);
GetCdnKeyAsync(GetCdnKeyRequest, CancellationToken)
public virtual Task<CdnKey> GetCdnKeyAsync(GetCdnKeyRequest request, CancellationToken cancellationToken)
Returns the specified CDN key.
Parameters | |
---|---|
Name | Description |
request | GetCdnKeyRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<CdnKey> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
GetCdnKeyRequest request = new GetCdnKeyRequest
{
CdnKeyName = CdnKeyName.FromProjectLocationCdnKey("[PROJECT]", "[LOCATION]", "[CDN_KEY]"),
};
// Make the request
CdnKey response = await videoStitcherServiceClient.GetCdnKeyAsync(request);
GetCdnKeyAsync(String, CallSettings)
public virtual Task<CdnKey> GetCdnKeyAsync(string name, CallSettings callSettings = null)
Returns the specified CDN key.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the CDN key to be retrieved, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<CdnKey> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cdnKeys/[CDN_KEY]";
// Make the request
CdnKey response = await videoStitcherServiceClient.GetCdnKeyAsync(name);
GetCdnKeyAsync(String, CancellationToken)
public virtual Task<CdnKey> GetCdnKeyAsync(string name, CancellationToken cancellationToken)
Returns the specified CDN key.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the CDN key to be retrieved, in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<CdnKey> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cdnKeys/[CDN_KEY]";
// Make the request
CdnKey response = await videoStitcherServiceClient.GetCdnKeyAsync(name);
GetLiveAdTagDetail(GetLiveAdTagDetailRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
GetLiveAdTagDetailRequest request = new GetLiveAdTagDetailRequest
{
LiveAdTagDetailName = LiveAdTagDetailName.FromProjectLocationLiveSessionLiveAdTagDetail("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]", "[LIVE_AD_TAG_DETAIL]"),
};
// Make the request
LiveAdTagDetail response = videoStitcherServiceClient.GetLiveAdTagDetail(request);
GetLiveAdTagDetail(LiveAdTagDetailName, CallSettings)
public virtual LiveAdTagDetail GetLiveAdTagDetail(LiveAdTagDetailName name, CallSettings callSettings = null)
Returns the specified ad tag detail for the specified live session.
Parameters | |
---|---|
Name | Description |
name | LiveAdTagDetailName Required. The resource name in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LiveAdTagDetail | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
LiveAdTagDetailName name = LiveAdTagDetailName.FromProjectLocationLiveSessionLiveAdTagDetail("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]", "[LIVE_AD_TAG_DETAIL]");
// Make the request
LiveAdTagDetail response = videoStitcherServiceClient.GetLiveAdTagDetail(name);
GetLiveAdTagDetail(String, CallSettings)
public virtual LiveAdTagDetail GetLiveAdTagDetail(string name, CallSettings callSettings = null)
Returns the specified ad tag detail for the specified live session.
Parameters | |
---|---|
Name | Description |
name | String Required. The resource name in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LiveAdTagDetail | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/liveSessions/[LIVE_SESSION]/liveAdTagDetails/[LIVE_AD_TAG_DETAIL]";
// Make the request
LiveAdTagDetail response = videoStitcherServiceClient.GetLiveAdTagDetail(name);
GetLiveAdTagDetailAsync(GetLiveAdTagDetailRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
GetLiveAdTagDetailRequest request = new GetLiveAdTagDetailRequest
{
LiveAdTagDetailName = LiveAdTagDetailName.FromProjectLocationLiveSessionLiveAdTagDetail("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]", "[LIVE_AD_TAG_DETAIL]"),
};
// Make the request
LiveAdTagDetail response = await videoStitcherServiceClient.GetLiveAdTagDetailAsync(request);
GetLiveAdTagDetailAsync(GetLiveAdTagDetailRequest, CancellationToken)
public virtual Task<LiveAdTagDetail> GetLiveAdTagDetailAsync(GetLiveAdTagDetailRequest request, CancellationToken cancellationToken)
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. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<LiveAdTagDetail> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
GetLiveAdTagDetailRequest request = new GetLiveAdTagDetailRequest
{
LiveAdTagDetailName = LiveAdTagDetailName.FromProjectLocationLiveSessionLiveAdTagDetail("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]", "[LIVE_AD_TAG_DETAIL]"),
};
// Make the request
LiveAdTagDetail response = await videoStitcherServiceClient.GetLiveAdTagDetailAsync(request);
GetLiveAdTagDetailAsync(LiveAdTagDetailName, CallSettings)
public virtual Task<LiveAdTagDetail> GetLiveAdTagDetailAsync(LiveAdTagDetailName name, CallSettings callSettings = null)
Returns the specified ad tag detail for the specified live session.
Parameters | |
---|---|
Name | Description |
name | LiveAdTagDetailName Required. The resource name in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LiveAdTagDetail> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LiveAdTagDetailName name = LiveAdTagDetailName.FromProjectLocationLiveSessionLiveAdTagDetail("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]", "[LIVE_AD_TAG_DETAIL]");
// Make the request
LiveAdTagDetail response = await videoStitcherServiceClient.GetLiveAdTagDetailAsync(name);
GetLiveAdTagDetailAsync(LiveAdTagDetailName, CancellationToken)
public virtual Task<LiveAdTagDetail> GetLiveAdTagDetailAsync(LiveAdTagDetailName name, CancellationToken cancellationToken)
Returns the specified ad tag detail for the specified live session.
Parameters | |
---|---|
Name | Description |
name | LiveAdTagDetailName Required. The resource name in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<LiveAdTagDetail> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LiveAdTagDetailName name = LiveAdTagDetailName.FromProjectLocationLiveSessionLiveAdTagDetail("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]", "[LIVE_AD_TAG_DETAIL]");
// Make the request
LiveAdTagDetail response = await videoStitcherServiceClient.GetLiveAdTagDetailAsync(name);
GetLiveAdTagDetailAsync(String, CallSettings)
public virtual Task<LiveAdTagDetail> GetLiveAdTagDetailAsync(string name, CallSettings callSettings = null)
Returns the specified ad tag detail for the specified live session.
Parameters | |
---|---|
Name | Description |
name | String Required. The resource name in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LiveAdTagDetail> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/liveSessions/[LIVE_SESSION]/liveAdTagDetails/[LIVE_AD_TAG_DETAIL]";
// Make the request
LiveAdTagDetail response = await videoStitcherServiceClient.GetLiveAdTagDetailAsync(name);
GetLiveAdTagDetailAsync(String, CancellationToken)
public virtual Task<LiveAdTagDetail> GetLiveAdTagDetailAsync(string name, CancellationToken cancellationToken)
Returns the specified ad tag detail for the specified live session.
Parameters | |
---|---|
Name | Description |
name | String Required. The resource name in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<LiveAdTagDetail> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/liveSessions/[LIVE_SESSION]/liveAdTagDetails/[LIVE_AD_TAG_DETAIL]";
// Make the request
LiveAdTagDetail response = await videoStitcherServiceClient.GetLiveAdTagDetailAsync(name);
GetLiveSession(GetLiveSessionRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
GetLiveSessionRequest request = new GetLiveSessionRequest
{
LiveSessionName = LiveSessionName.FromProjectLocationLiveSession("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]"),
};
// Make the request
LiveSession response = videoStitcherServiceClient.GetLiveSession(request);
GetLiveSession(LiveSessionName, CallSettings)
public virtual LiveSession GetLiveSession(LiveSessionName name, CallSettings callSettings = null)
Returns the details for the specified live session.
Parameters | |
---|---|
Name | Description |
name | LiveSessionName Required. The name of the live session, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LiveSession | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
LiveSessionName name = LiveSessionName.FromProjectLocationLiveSession("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]");
// Make the request
LiveSession response = videoStitcherServiceClient.GetLiveSession(name);
GetLiveSession(String, CallSettings)
public virtual LiveSession GetLiveSession(string name, CallSettings callSettings = null)
Returns the details for the specified live session.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the live session, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
LiveSession | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/liveSessions/[LIVE_SESSION]";
// Make the request
LiveSession response = videoStitcherServiceClient.GetLiveSession(name);
GetLiveSessionAsync(GetLiveSessionRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
GetLiveSessionRequest request = new GetLiveSessionRequest
{
LiveSessionName = LiveSessionName.FromProjectLocationLiveSession("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]"),
};
// Make the request
LiveSession response = await videoStitcherServiceClient.GetLiveSessionAsync(request);
GetLiveSessionAsync(GetLiveSessionRequest, CancellationToken)
public virtual Task<LiveSession> GetLiveSessionAsync(GetLiveSessionRequest request, CancellationToken cancellationToken)
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. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<LiveSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
GetLiveSessionRequest request = new GetLiveSessionRequest
{
LiveSessionName = LiveSessionName.FromProjectLocationLiveSession("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]"),
};
// Make the request
LiveSession response = await videoStitcherServiceClient.GetLiveSessionAsync(request);
GetLiveSessionAsync(LiveSessionName, CallSettings)
public virtual Task<LiveSession> GetLiveSessionAsync(LiveSessionName name, CallSettings callSettings = null)
Returns the details for the specified live session.
Parameters | |
---|---|
Name | Description |
name | LiveSessionName Required. The name of the live session, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LiveSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LiveSessionName name = LiveSessionName.FromProjectLocationLiveSession("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]");
// Make the request
LiveSession response = await videoStitcherServiceClient.GetLiveSessionAsync(name);
GetLiveSessionAsync(LiveSessionName, CancellationToken)
public virtual Task<LiveSession> GetLiveSessionAsync(LiveSessionName name, CancellationToken cancellationToken)
Returns the details for the specified live session.
Parameters | |
---|---|
Name | Description |
name | LiveSessionName Required. The name of the live session, in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<LiveSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LiveSessionName name = LiveSessionName.FromProjectLocationLiveSession("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]");
// Make the request
LiveSession response = await videoStitcherServiceClient.GetLiveSessionAsync(name);
GetLiveSessionAsync(String, CallSettings)
public virtual Task<LiveSession> GetLiveSessionAsync(string name, CallSettings callSettings = null)
Returns the details for the specified live session.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the live session, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<LiveSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/liveSessions/[LIVE_SESSION]";
// Make the request
LiveSession response = await videoStitcherServiceClient.GetLiveSessionAsync(name);
GetLiveSessionAsync(String, CancellationToken)
public virtual Task<LiveSession> GetLiveSessionAsync(string name, CancellationToken cancellationToken)
Returns the details for the specified live session.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the live session, in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<LiveSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/liveSessions/[LIVE_SESSION]";
// Make the request
LiveSession response = await videoStitcherServiceClient.GetLiveSessionAsync(name);
GetSlate(GetSlateRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
GetSlateRequest request = new GetSlateRequest
{
SlateName = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]"),
};
// Make the request
Slate response = videoStitcherServiceClient.GetSlate(request);
GetSlate(SlateName, CallSettings)
public virtual Slate GetSlate(SlateName name, CallSettings callSettings = null)
Returns the specified slate.
Parameters | |
---|---|
Name | Description |
name | SlateName Required. The name of the slate to be retrieved, of the slate, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Slate | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
SlateName name = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]");
// Make the request
Slate response = videoStitcherServiceClient.GetSlate(name);
GetSlate(String, CallSettings)
public virtual Slate GetSlate(string name, CallSettings callSettings = null)
Returns the specified slate.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the slate to be retrieved, of the slate, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Slate | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/slates/[SLATE]";
// Make the request
Slate response = videoStitcherServiceClient.GetSlate(name);
GetSlateAsync(GetSlateRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
GetSlateRequest request = new GetSlateRequest
{
SlateName = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]"),
};
// Make the request
Slate response = await videoStitcherServiceClient.GetSlateAsync(request);
GetSlateAsync(GetSlateRequest, CancellationToken)
public virtual Task<Slate> GetSlateAsync(GetSlateRequest request, CancellationToken cancellationToken)
Returns the specified slate.
Parameters | |
---|---|
Name | Description |
request | GetSlateRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Slate> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
GetSlateRequest request = new GetSlateRequest
{
SlateName = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]"),
};
// Make the request
Slate response = await videoStitcherServiceClient.GetSlateAsync(request);
GetSlateAsync(SlateName, CallSettings)
public virtual Task<Slate> GetSlateAsync(SlateName name, CallSettings callSettings = null)
Returns the specified slate.
Parameters | |
---|---|
Name | Description |
name | SlateName Required. The name of the slate to be retrieved, of the slate, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Slate> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
SlateName name = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]");
// Make the request
Slate response = await videoStitcherServiceClient.GetSlateAsync(name);
GetSlateAsync(SlateName, CancellationToken)
public virtual Task<Slate> GetSlateAsync(SlateName name, CancellationToken cancellationToken)
Returns the specified slate.
Parameters | |
---|---|
Name | Description |
name | SlateName Required. The name of the slate to be retrieved, of the slate, in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Slate> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
SlateName name = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]");
// Make the request
Slate response = await videoStitcherServiceClient.GetSlateAsync(name);
GetSlateAsync(String, CallSettings)
public virtual Task<Slate> GetSlateAsync(string name, CallSettings callSettings = null)
Returns the specified slate.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the slate to be retrieved, of the slate, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Slate> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/slates/[SLATE]";
// Make the request
Slate response = await videoStitcherServiceClient.GetSlateAsync(name);
GetSlateAsync(String, CancellationToken)
public virtual Task<Slate> GetSlateAsync(string name, CancellationToken cancellationToken)
Returns the specified slate.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the slate to be retrieved, of the slate, in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Slate> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/slates/[SLATE]";
// Make the request
Slate response = await videoStitcherServiceClient.GetSlateAsync(name);
GetVodAdTagDetail(GetVodAdTagDetailRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
GetVodAdTagDetailRequest request = new GetVodAdTagDetailRequest
{
VodAdTagDetailName = VodAdTagDetailName.FromProjectLocationVodSessionVodAdTagDetail("[PROJECT]", "[LOCATION]", "[VOD_SESSION]", "[VOD_AD_TAG_DETAIL]"),
};
// Make the request
VodAdTagDetail response = videoStitcherServiceClient.GetVodAdTagDetail(request);
GetVodAdTagDetail(VodAdTagDetailName, CallSettings)
public virtual VodAdTagDetail GetVodAdTagDetail(VodAdTagDetailName name, CallSettings callSettings = null)
Returns the specified ad tag detail for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | VodAdTagDetailName Required. The name of the ad tag detail for the specified VOD session, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
VodAdTagDetail | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
VodAdTagDetailName name = VodAdTagDetailName.FromProjectLocationVodSessionVodAdTagDetail("[PROJECT]", "[LOCATION]", "[VOD_SESSION]", "[VOD_AD_TAG_DETAIL]");
// Make the request
VodAdTagDetail response = videoStitcherServiceClient.GetVodAdTagDetail(name);
GetVodAdTagDetail(String, CallSettings)
public virtual VodAdTagDetail GetVodAdTagDetail(string name, CallSettings callSettings = null)
Returns the specified ad tag detail for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the ad tag detail for the specified VOD session, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
VodAdTagDetail | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/vodSessions/[VOD_SESSION]/vodAdTagDetails/[VOD_AD_TAG_DETAIL]";
// Make the request
VodAdTagDetail response = videoStitcherServiceClient.GetVodAdTagDetail(name);
GetVodAdTagDetailAsync(GetVodAdTagDetailRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
GetVodAdTagDetailRequest request = new GetVodAdTagDetailRequest
{
VodAdTagDetailName = VodAdTagDetailName.FromProjectLocationVodSessionVodAdTagDetail("[PROJECT]", "[LOCATION]", "[VOD_SESSION]", "[VOD_AD_TAG_DETAIL]"),
};
// Make the request
VodAdTagDetail response = await videoStitcherServiceClient.GetVodAdTagDetailAsync(request);
GetVodAdTagDetailAsync(GetVodAdTagDetailRequest, CancellationToken)
public virtual Task<VodAdTagDetail> GetVodAdTagDetailAsync(GetVodAdTagDetailRequest request, CancellationToken cancellationToken)
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. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<VodAdTagDetail> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
GetVodAdTagDetailRequest request = new GetVodAdTagDetailRequest
{
VodAdTagDetailName = VodAdTagDetailName.FromProjectLocationVodSessionVodAdTagDetail("[PROJECT]", "[LOCATION]", "[VOD_SESSION]", "[VOD_AD_TAG_DETAIL]"),
};
// Make the request
VodAdTagDetail response = await videoStitcherServiceClient.GetVodAdTagDetailAsync(request);
GetVodAdTagDetailAsync(VodAdTagDetailName, CallSettings)
public virtual Task<VodAdTagDetail> GetVodAdTagDetailAsync(VodAdTagDetailName name, CallSettings callSettings = null)
Returns the specified ad tag detail for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | VodAdTagDetailName Required. The name of the ad tag detail for the specified VOD session, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<VodAdTagDetail> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
VodAdTagDetailName name = VodAdTagDetailName.FromProjectLocationVodSessionVodAdTagDetail("[PROJECT]", "[LOCATION]", "[VOD_SESSION]", "[VOD_AD_TAG_DETAIL]");
// Make the request
VodAdTagDetail response = await videoStitcherServiceClient.GetVodAdTagDetailAsync(name);
GetVodAdTagDetailAsync(VodAdTagDetailName, CancellationToken)
public virtual Task<VodAdTagDetail> GetVodAdTagDetailAsync(VodAdTagDetailName name, CancellationToken cancellationToken)
Returns the specified ad tag detail for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | VodAdTagDetailName Required. The name of the ad tag detail for the specified VOD session, in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<VodAdTagDetail> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
VodAdTagDetailName name = VodAdTagDetailName.FromProjectLocationVodSessionVodAdTagDetail("[PROJECT]", "[LOCATION]", "[VOD_SESSION]", "[VOD_AD_TAG_DETAIL]");
// Make the request
VodAdTagDetail response = await videoStitcherServiceClient.GetVodAdTagDetailAsync(name);
GetVodAdTagDetailAsync(String, CallSettings)
public virtual Task<VodAdTagDetail> GetVodAdTagDetailAsync(string name, CallSettings callSettings = null)
Returns the specified ad tag detail for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the ad tag detail for the specified VOD session, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<VodAdTagDetail> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/vodSessions/[VOD_SESSION]/vodAdTagDetails/[VOD_AD_TAG_DETAIL]";
// Make the request
VodAdTagDetail response = await videoStitcherServiceClient.GetVodAdTagDetailAsync(name);
GetVodAdTagDetailAsync(String, CancellationToken)
public virtual Task<VodAdTagDetail> GetVodAdTagDetailAsync(string name, CancellationToken cancellationToken)
Returns the specified ad tag detail for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the ad tag detail for the specified VOD session, in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<VodAdTagDetail> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/vodSessions/[VOD_SESSION]/vodAdTagDetails/[VOD_AD_TAG_DETAIL]";
// Make the request
VodAdTagDetail response = await videoStitcherServiceClient.GetVodAdTagDetailAsync(name);
GetVodSession(GetVodSessionRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
GetVodSessionRequest request = new GetVodSessionRequest
{
VodSessionName = VodSessionName.FromProjectLocationVodSession("[PROJECT]", "[LOCATION]", "[VOD_SESSION]"),
};
// Make the request
VodSession response = videoStitcherServiceClient.GetVodSession(request);
GetVodSession(VodSessionName, CallSettings)
public virtual VodSession GetVodSession(VodSessionName name, CallSettings callSettings = null)
Returns the full tracking, playback metadata, and relevant ad-ops logs for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | VodSessionName Required. The name of the VOD session to be retrieved, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
VodSession | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
VodSessionName name = VodSessionName.FromProjectLocationVodSession("[PROJECT]", "[LOCATION]", "[VOD_SESSION]");
// Make the request
VodSession response = videoStitcherServiceClient.GetVodSession(name);
GetVodSession(String, CallSettings)
public virtual VodSession GetVodSession(string name, CallSettings callSettings = null)
Returns the full tracking, playback metadata, and relevant ad-ops logs for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the VOD session to be retrieved, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
VodSession | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/vodSessions/[VOD_SESSION]";
// Make the request
VodSession response = videoStitcherServiceClient.GetVodSession(name);
GetVodSessionAsync(GetVodSessionRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
GetVodSessionRequest request = new GetVodSessionRequest
{
VodSessionName = VodSessionName.FromProjectLocationVodSession("[PROJECT]", "[LOCATION]", "[VOD_SESSION]"),
};
// Make the request
VodSession response = await videoStitcherServiceClient.GetVodSessionAsync(request);
GetVodSessionAsync(GetVodSessionRequest, CancellationToken)
public virtual Task<VodSession> GetVodSessionAsync(GetVodSessionRequest request, CancellationToken cancellationToken)
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. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<VodSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
GetVodSessionRequest request = new GetVodSessionRequest
{
VodSessionName = VodSessionName.FromProjectLocationVodSession("[PROJECT]", "[LOCATION]", "[VOD_SESSION]"),
};
// Make the request
VodSession response = await videoStitcherServiceClient.GetVodSessionAsync(request);
GetVodSessionAsync(VodSessionName, CallSettings)
public virtual Task<VodSession> GetVodSessionAsync(VodSessionName name, CallSettings callSettings = null)
Returns the full tracking, playback metadata, and relevant ad-ops logs for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | VodSessionName Required. The name of the VOD session to be retrieved, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<VodSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
VodSessionName name = VodSessionName.FromProjectLocationVodSession("[PROJECT]", "[LOCATION]", "[VOD_SESSION]");
// Make the request
VodSession response = await videoStitcherServiceClient.GetVodSessionAsync(name);
GetVodSessionAsync(VodSessionName, CancellationToken)
public virtual Task<VodSession> GetVodSessionAsync(VodSessionName name, CancellationToken cancellationToken)
Returns the full tracking, playback metadata, and relevant ad-ops logs for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | VodSessionName Required. The name of the VOD session to be retrieved, in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<VodSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
VodSessionName name = VodSessionName.FromProjectLocationVodSession("[PROJECT]", "[LOCATION]", "[VOD_SESSION]");
// Make the request
VodSession response = await videoStitcherServiceClient.GetVodSessionAsync(name);
GetVodSessionAsync(String, CallSettings)
public virtual Task<VodSession> GetVodSessionAsync(string name, CallSettings callSettings = null)
Returns the full tracking, playback metadata, and relevant ad-ops logs for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the VOD session to be retrieved, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<VodSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/vodSessions/[VOD_SESSION]";
// Make the request
VodSession response = await videoStitcherServiceClient.GetVodSessionAsync(name);
GetVodSessionAsync(String, CancellationToken)
public virtual Task<VodSession> GetVodSessionAsync(string name, CancellationToken cancellationToken)
Returns the full tracking, playback metadata, and relevant ad-ops logs for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the VOD session to be retrieved, in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<VodSession> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/vodSessions/[VOD_SESSION]";
// Make the request
VodSession response = await videoStitcherServiceClient.GetVodSessionAsync(name);
GetVodStitchDetail(GetVodStitchDetailRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
GetVodStitchDetailRequest request = new GetVodStitchDetailRequest
{
VodStitchDetailName = VodStitchDetailName.FromProjectLocationVodSessionVodStitchDetail("[PROJECT]", "[LOCATION]", "[VOD_SESSION]", "[VOD_STITCH_DETAIL]"),
};
// Make the request
VodStitchDetail response = videoStitcherServiceClient.GetVodStitchDetail(request);
GetVodStitchDetail(VodStitchDetailName, CallSettings)
public virtual VodStitchDetail GetVodStitchDetail(VodStitchDetailName name, CallSettings callSettings = null)
Returns the specified stitching information for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | VodStitchDetailName Required. The name of the stitch detail in the specified VOD session, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
VodStitchDetail | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
VodStitchDetailName name = VodStitchDetailName.FromProjectLocationVodSessionVodStitchDetail("[PROJECT]", "[LOCATION]", "[VOD_SESSION]", "[VOD_STITCH_DETAIL]");
// Make the request
VodStitchDetail response = videoStitcherServiceClient.GetVodStitchDetail(name);
GetVodStitchDetail(String, CallSettings)
public virtual VodStitchDetail GetVodStitchDetail(string name, CallSettings callSettings = null)
Returns the specified stitching information for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the stitch detail in the specified VOD session, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
VodStitchDetail | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/vodSessions/[VOD_SESSION]/vodStitchDetails/[VOD_STITCH_DETAIL]";
// Make the request
VodStitchDetail response = videoStitcherServiceClient.GetVodStitchDetail(name);
GetVodStitchDetailAsync(GetVodStitchDetailRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
GetVodStitchDetailRequest request = new GetVodStitchDetailRequest
{
VodStitchDetailName = VodStitchDetailName.FromProjectLocationVodSessionVodStitchDetail("[PROJECT]", "[LOCATION]", "[VOD_SESSION]", "[VOD_STITCH_DETAIL]"),
};
// Make the request
VodStitchDetail response = await videoStitcherServiceClient.GetVodStitchDetailAsync(request);
GetVodStitchDetailAsync(GetVodStitchDetailRequest, CancellationToken)
public virtual Task<VodStitchDetail> GetVodStitchDetailAsync(GetVodStitchDetailRequest request, CancellationToken cancellationToken)
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. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<VodStitchDetail> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
GetVodStitchDetailRequest request = new GetVodStitchDetailRequest
{
VodStitchDetailName = VodStitchDetailName.FromProjectLocationVodSessionVodStitchDetail("[PROJECT]", "[LOCATION]", "[VOD_SESSION]", "[VOD_STITCH_DETAIL]"),
};
// Make the request
VodStitchDetail response = await videoStitcherServiceClient.GetVodStitchDetailAsync(request);
GetVodStitchDetailAsync(VodStitchDetailName, CallSettings)
public virtual Task<VodStitchDetail> GetVodStitchDetailAsync(VodStitchDetailName name, CallSettings callSettings = null)
Returns the specified stitching information for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | VodStitchDetailName Required. The name of the stitch detail in the specified VOD session, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<VodStitchDetail> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
VodStitchDetailName name = VodStitchDetailName.FromProjectLocationVodSessionVodStitchDetail("[PROJECT]", "[LOCATION]", "[VOD_SESSION]", "[VOD_STITCH_DETAIL]");
// Make the request
VodStitchDetail response = await videoStitcherServiceClient.GetVodStitchDetailAsync(name);
GetVodStitchDetailAsync(VodStitchDetailName, CancellationToken)
public virtual Task<VodStitchDetail> GetVodStitchDetailAsync(VodStitchDetailName name, CancellationToken cancellationToken)
Returns the specified stitching information for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | VodStitchDetailName Required. The name of the stitch detail in the specified VOD session, in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<VodStitchDetail> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
VodStitchDetailName name = VodStitchDetailName.FromProjectLocationVodSessionVodStitchDetail("[PROJECT]", "[LOCATION]", "[VOD_SESSION]", "[VOD_STITCH_DETAIL]");
// Make the request
VodStitchDetail response = await videoStitcherServiceClient.GetVodStitchDetailAsync(name);
GetVodStitchDetailAsync(String, CallSettings)
public virtual Task<VodStitchDetail> GetVodStitchDetailAsync(string name, CallSettings callSettings = null)
Returns the specified stitching information for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the stitch detail in the specified VOD session, in the form of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<VodStitchDetail> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/vodSessions/[VOD_SESSION]/vodStitchDetails/[VOD_STITCH_DETAIL]";
// Make the request
VodStitchDetail response = await videoStitcherServiceClient.GetVodStitchDetailAsync(name);
GetVodStitchDetailAsync(String, CancellationToken)
public virtual Task<VodStitchDetail> GetVodStitchDetailAsync(string name, CancellationToken cancellationToken)
Returns the specified stitching information for the specified VOD session.
Parameters | |
---|---|
Name | Description |
name | String Required. The name of the stitch detail in the specified VOD session, in the form of
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<VodStitchDetail> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/vodSessions/[VOD_SESSION]/vodStitchDetails/[VOD_STITCH_DETAIL]";
// Make the request
VodStitchDetail response = await videoStitcherServiceClient.GetVodStitchDetailAsync(name);
ListCdnKeys(LocationName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListCdnKeysResponse, CdnKey> ListCdnKeys(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all CDN keys in the specified project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project that contains the list of CDN keys, in the form of
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListCdnKeysResponse, CdnKey> | A pageable sequence of CdnKey resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListCdnKeysResponse, CdnKey> response = videoStitcherServiceClient.ListCdnKeys(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CdnKey item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCdnKeysResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CdnKey item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CdnKey> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CdnKey item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCdnKeys(ListCdnKeysRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
ListCdnKeysRequest request = new ListCdnKeysRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListCdnKeysResponse, CdnKey> response = videoStitcherServiceClient.ListCdnKeys(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (CdnKey item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCdnKeysResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CdnKey item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CdnKey> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CdnKey item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCdnKeys(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListCdnKeysResponse, CdnKey> ListCdnKeys(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all CDN keys in the specified project and location.
Parameters | |
---|---|
Name | Description |
parent | String Required. The project that contains the list of CDN keys, in the form of
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListCdnKeysResponse, CdnKey> | A pageable sequence of CdnKey resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListCdnKeysResponse, CdnKey> response = videoStitcherServiceClient.ListCdnKeys(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (CdnKey item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListCdnKeysResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CdnKey item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CdnKey> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CdnKey item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCdnKeysAsync(LocationName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListCdnKeysResponse, CdnKey> ListCdnKeysAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all CDN keys in the specified project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project that contains the list of CDN keys, in the form of
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListCdnKeysResponse, CdnKey> | A pageable asynchronous sequence of CdnKey resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListCdnKeysResponse, CdnKey> response = videoStitcherServiceClient.ListCdnKeysAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CdnKey item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCdnKeysResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CdnKey item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CdnKey> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CdnKey item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCdnKeysAsync(ListCdnKeysRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
ListCdnKeysRequest request = new ListCdnKeysRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListCdnKeysResponse, CdnKey> response = videoStitcherServiceClient.ListCdnKeysAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CdnKey item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCdnKeysResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CdnKey item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CdnKey> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CdnKey item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCdnKeysAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListCdnKeysResponse, CdnKey> ListCdnKeysAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all CDN keys in the specified project and location.
Parameters | |
---|---|
Name | Description |
parent | String Required. The project that contains the list of CDN keys, in the form of
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListCdnKeysResponse, CdnKey> | A pageable asynchronous sequence of CdnKey resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListCdnKeysResponse, CdnKey> response = videoStitcherServiceClient.ListCdnKeysAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CdnKey item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCdnKeysResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (CdnKey item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<CdnKey> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (CdnKey item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLiveAdTagDetails(ListLiveAdTagDetailsRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
ListLiveAdTagDetailsRequest request = new ListLiveAdTagDetailsRequest
{
ParentAsLiveSessionName = LiveSessionName.FromProjectLocationLiveSession("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]"),
};
// Make the request
PagedEnumerable<ListLiveAdTagDetailsResponse, LiveAdTagDetail> response = videoStitcherServiceClient.ListLiveAdTagDetails(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (LiveAdTagDetail item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListLiveAdTagDetailsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LiveAdTagDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LiveAdTagDetail> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LiveAdTagDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLiveAdTagDetails(LiveSessionName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListLiveAdTagDetailsResponse, LiveAdTagDetail> ListLiveAdTagDetails(LiveSessionName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Return the list of ad tag details for the specified live session.
Parameters | |
---|---|
Name | Description |
parent | LiveSessionName Required. The resource parent in the form of
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListLiveAdTagDetailsResponse, LiveAdTagDetail> | A pageable sequence of LiveAdTagDetail resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
LiveSessionName parent = LiveSessionName.FromProjectLocationLiveSession("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]");
// Make the request
PagedEnumerable<ListLiveAdTagDetailsResponse, LiveAdTagDetail> response = videoStitcherServiceClient.ListLiveAdTagDetails(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (LiveAdTagDetail item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListLiveAdTagDetailsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LiveAdTagDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LiveAdTagDetail> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LiveAdTagDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLiveAdTagDetails(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListLiveAdTagDetailsResponse, LiveAdTagDetail> ListLiveAdTagDetails(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Return the list of ad tag details for the specified live session.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource parent in the form of
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListLiveAdTagDetailsResponse, LiveAdTagDetail> | A pageable sequence of LiveAdTagDetail resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/liveSessions/[LIVE_SESSION]";
// Make the request
PagedEnumerable<ListLiveAdTagDetailsResponse, LiveAdTagDetail> response = videoStitcherServiceClient.ListLiveAdTagDetails(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (LiveAdTagDetail item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListLiveAdTagDetailsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LiveAdTagDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LiveAdTagDetail> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LiveAdTagDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLiveAdTagDetailsAsync(ListLiveAdTagDetailsRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
ListLiveAdTagDetailsRequest request = new ListLiveAdTagDetailsRequest
{
ParentAsLiveSessionName = LiveSessionName.FromProjectLocationLiveSession("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]"),
};
// Make the request
PagedAsyncEnumerable<ListLiveAdTagDetailsResponse, LiveAdTagDetail> response = videoStitcherServiceClient.ListLiveAdTagDetailsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LiveAdTagDetail item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListLiveAdTagDetailsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LiveAdTagDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LiveAdTagDetail> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LiveAdTagDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLiveAdTagDetailsAsync(LiveSessionName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListLiveAdTagDetailsResponse, LiveAdTagDetail> ListLiveAdTagDetailsAsync(LiveSessionName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Return the list of ad tag details for the specified live session.
Parameters | |
---|---|
Name | Description |
parent | LiveSessionName Required. The resource parent in the form of
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListLiveAdTagDetailsResponse, LiveAdTagDetail> | A pageable asynchronous sequence of LiveAdTagDetail resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LiveSessionName parent = LiveSessionName.FromProjectLocationLiveSession("[PROJECT]", "[LOCATION]", "[LIVE_SESSION]");
// Make the request
PagedAsyncEnumerable<ListLiveAdTagDetailsResponse, LiveAdTagDetail> response = videoStitcherServiceClient.ListLiveAdTagDetailsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LiveAdTagDetail item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListLiveAdTagDetailsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LiveAdTagDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LiveAdTagDetail> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LiveAdTagDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListLiveAdTagDetailsAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListLiveAdTagDetailsResponse, LiveAdTagDetail> ListLiveAdTagDetailsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Return the list of ad tag details for the specified live session.
Parameters | |
---|---|
Name | Description |
parent | String Required. The resource parent in the form of
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListLiveAdTagDetailsResponse, LiveAdTagDetail> | A pageable asynchronous sequence of LiveAdTagDetail resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/liveSessions/[LIVE_SESSION]";
// Make the request
PagedAsyncEnumerable<ListLiveAdTagDetailsResponse, LiveAdTagDetail> response = videoStitcherServiceClient.ListLiveAdTagDetailsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LiveAdTagDetail item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListLiveAdTagDetailsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (LiveAdTagDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<LiveAdTagDetail> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (LiveAdTagDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSlates(LocationName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListSlatesResponse, Slate> ListSlates(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all slates in the specified project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project to list slates, in the form of |
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListSlatesResponse, Slate> | A pageable sequence of Slate resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListSlatesResponse, Slate> response = videoStitcherServiceClient.ListSlates(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Slate item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListSlatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Slate item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Slate> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Slate item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSlates(ListSlatesRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
ListSlatesRequest request = new ListSlatesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedEnumerable<ListSlatesResponse, Slate> response = videoStitcherServiceClient.ListSlates(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (Slate item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListSlatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Slate item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Slate> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Slate item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSlates(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListSlatesResponse, Slate> ListSlates(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all slates in the specified project and location.
Parameters | |
---|---|
Name | Description |
parent | String Required. The project to list slates, in the form of |
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListSlatesResponse, Slate> | A pageable sequence of Slate resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListSlatesResponse, Slate> response = videoStitcherServiceClient.ListSlates(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (Slate item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListSlatesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Slate item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Slate> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Slate item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSlatesAsync(LocationName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListSlatesResponse, Slate> ListSlatesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all slates in the specified project and location.
Parameters | |
---|---|
Name | Description |
parent | LocationName Required. The project to list slates, in the form of |
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListSlatesResponse, Slate> | A pageable asynchronous sequence of Slate resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListSlatesResponse, Slate> response = videoStitcherServiceClient.ListSlatesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Slate item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListSlatesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Slate item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Slate> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Slate item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSlatesAsync(ListSlatesRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
ListSlatesRequest request = new ListSlatesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Filter = "",
OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListSlatesResponse, Slate> response = videoStitcherServiceClient.ListSlatesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Slate item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListSlatesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Slate item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Slate> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Slate item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListSlatesAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListSlatesResponse, Slate> ListSlatesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists all slates in the specified project and location.
Parameters | |
---|---|
Name | Description |
parent | String Required. The project to list slates, in the form of |
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListSlatesResponse, Slate> | A pageable asynchronous sequence of Slate resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListSlatesResponse, Slate> response = videoStitcherServiceClient.ListSlatesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Slate item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListSlatesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (Slate item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<Slate> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (Slate item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListVodAdTagDetails(ListVodAdTagDetailsRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
ListVodAdTagDetailsRequest request = new ListVodAdTagDetailsRequest
{
ParentAsVodSessionName = VodSessionName.FromProjectLocationVodSession("[PROJECT]", "[LOCATION]", "[VOD_SESSION]"),
};
// Make the request
PagedEnumerable<ListVodAdTagDetailsResponse, VodAdTagDetail> response = videoStitcherServiceClient.ListVodAdTagDetails(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (VodAdTagDetail item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListVodAdTagDetailsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (VodAdTagDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<VodAdTagDetail> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (VodAdTagDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListVodAdTagDetails(VodSessionName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListVodAdTagDetailsResponse, VodAdTagDetail> ListVodAdTagDetails(VodSessionName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Return the list of ad tag details for the specified VOD session.
Parameters | |
---|---|
Name | Description |
parent | VodSessionName Required. The VOD session which the ad tag details belong to, in the form of
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListVodAdTagDetailsResponse, VodAdTagDetail> | A pageable sequence of VodAdTagDetail resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
VodSessionName parent = VodSessionName.FromProjectLocationVodSession("[PROJECT]", "[LOCATION]", "[VOD_SESSION]");
// Make the request
PagedEnumerable<ListVodAdTagDetailsResponse, VodAdTagDetail> response = videoStitcherServiceClient.ListVodAdTagDetails(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (VodAdTagDetail item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListVodAdTagDetailsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (VodAdTagDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<VodAdTagDetail> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (VodAdTagDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListVodAdTagDetails(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListVodAdTagDetailsResponse, VodAdTagDetail> ListVodAdTagDetails(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Return the list of ad tag details for the specified VOD session.
Parameters | |
---|---|
Name | Description |
parent | String Required. The VOD session which the ad tag details belong to, in the form of
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListVodAdTagDetailsResponse, VodAdTagDetail> | A pageable sequence of VodAdTagDetail resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/vodSessions/[VOD_SESSION]";
// Make the request
PagedEnumerable<ListVodAdTagDetailsResponse, VodAdTagDetail> response = videoStitcherServiceClient.ListVodAdTagDetails(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (VodAdTagDetail item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListVodAdTagDetailsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (VodAdTagDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<VodAdTagDetail> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (VodAdTagDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListVodAdTagDetailsAsync(ListVodAdTagDetailsRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
ListVodAdTagDetailsRequest request = new ListVodAdTagDetailsRequest
{
ParentAsVodSessionName = VodSessionName.FromProjectLocationVodSession("[PROJECT]", "[LOCATION]", "[VOD_SESSION]"),
};
// Make the request
PagedAsyncEnumerable<ListVodAdTagDetailsResponse, VodAdTagDetail> response = videoStitcherServiceClient.ListVodAdTagDetailsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((VodAdTagDetail item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListVodAdTagDetailsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (VodAdTagDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<VodAdTagDetail> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (VodAdTagDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListVodAdTagDetailsAsync(VodSessionName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListVodAdTagDetailsResponse, VodAdTagDetail> ListVodAdTagDetailsAsync(VodSessionName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Return the list of ad tag details for the specified VOD session.
Parameters | |
---|---|
Name | Description |
parent | VodSessionName Required. The VOD session which the ad tag details belong to, in the form of
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListVodAdTagDetailsResponse, VodAdTagDetail> | A pageable asynchronous sequence of VodAdTagDetail resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
VodSessionName parent = VodSessionName.FromProjectLocationVodSession("[PROJECT]", "[LOCATION]", "[VOD_SESSION]");
// Make the request
PagedAsyncEnumerable<ListVodAdTagDetailsResponse, VodAdTagDetail> response = videoStitcherServiceClient.ListVodAdTagDetailsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((VodAdTagDetail item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListVodAdTagDetailsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (VodAdTagDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<VodAdTagDetail> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (VodAdTagDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListVodAdTagDetailsAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListVodAdTagDetailsResponse, VodAdTagDetail> ListVodAdTagDetailsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Return the list of ad tag details for the specified VOD session.
Parameters | |
---|---|
Name | Description |
parent | String Required. The VOD session which the ad tag details belong to, in the form of
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListVodAdTagDetailsResponse, VodAdTagDetail> | A pageable asynchronous sequence of VodAdTagDetail resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/vodSessions/[VOD_SESSION]";
// Make the request
PagedAsyncEnumerable<ListVodAdTagDetailsResponse, VodAdTagDetail> response = videoStitcherServiceClient.ListVodAdTagDetailsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((VodAdTagDetail item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListVodAdTagDetailsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (VodAdTagDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<VodAdTagDetail> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (VodAdTagDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListVodStitchDetails(ListVodStitchDetailsRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
ListVodStitchDetailsRequest request = new ListVodStitchDetailsRequest
{
ParentAsVodSessionName = VodSessionName.FromProjectLocationVodSession("[PROJECT]", "[LOCATION]", "[VOD_SESSION]"),
};
// Make the request
PagedEnumerable<ListVodStitchDetailsResponse, VodStitchDetail> response = videoStitcherServiceClient.ListVodStitchDetails(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (VodStitchDetail item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListVodStitchDetailsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (VodStitchDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<VodStitchDetail> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (VodStitchDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListVodStitchDetails(VodSessionName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListVodStitchDetailsResponse, VodStitchDetail> ListVodStitchDetails(VodSessionName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Returns a list of detailed stitching information of the specified VOD session.
Parameters | |
---|---|
Name | Description |
parent | VodSessionName Required. The VOD session where the stitch details belong to, in the form of
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListVodStitchDetailsResponse, VodStitchDetail> | A pageable sequence of VodStitchDetail resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
VodSessionName parent = VodSessionName.FromProjectLocationVodSession("[PROJECT]", "[LOCATION]", "[VOD_SESSION]");
// Make the request
PagedEnumerable<ListVodStitchDetailsResponse, VodStitchDetail> response = videoStitcherServiceClient.ListVodStitchDetails(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (VodStitchDetail item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListVodStitchDetailsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (VodStitchDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<VodStitchDetail> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (VodStitchDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListVodStitchDetails(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListVodStitchDetailsResponse, VodStitchDetail> ListVodStitchDetails(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Returns a list of detailed stitching information of the specified VOD session.
Parameters | |
---|---|
Name | Description |
parent | String Required. The VOD session where the stitch details belong to, in the form of
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListVodStitchDetailsResponse, VodStitchDetail> | A pageable sequence of VodStitchDetail resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/vodSessions/[VOD_SESSION]";
// Make the request
PagedEnumerable<ListVodStitchDetailsResponse, VodStitchDetail> response = videoStitcherServiceClient.ListVodStitchDetails(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (VodStitchDetail item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListVodStitchDetailsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (VodStitchDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<VodStitchDetail> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (VodStitchDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListVodStitchDetailsAsync(ListVodStitchDetailsRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
ListVodStitchDetailsRequest request = new ListVodStitchDetailsRequest
{
ParentAsVodSessionName = VodSessionName.FromProjectLocationVodSession("[PROJECT]", "[LOCATION]", "[VOD_SESSION]"),
};
// Make the request
PagedAsyncEnumerable<ListVodStitchDetailsResponse, VodStitchDetail> response = videoStitcherServiceClient.ListVodStitchDetailsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((VodStitchDetail item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListVodStitchDetailsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (VodStitchDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<VodStitchDetail> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (VodStitchDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListVodStitchDetailsAsync(VodSessionName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListVodStitchDetailsResponse, VodStitchDetail> ListVodStitchDetailsAsync(VodSessionName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Returns a list of detailed stitching information of the specified VOD session.
Parameters | |
---|---|
Name | Description |
parent | VodSessionName Required. The VOD session where the stitch details belong to, in the form of
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListVodStitchDetailsResponse, VodStitchDetail> | A pageable asynchronous sequence of VodStitchDetail resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
VodSessionName parent = VodSessionName.FromProjectLocationVodSession("[PROJECT]", "[LOCATION]", "[VOD_SESSION]");
// Make the request
PagedAsyncEnumerable<ListVodStitchDetailsResponse, VodStitchDetail> response = videoStitcherServiceClient.ListVodStitchDetailsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((VodStitchDetail item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListVodStitchDetailsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (VodStitchDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<VodStitchDetail> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (VodStitchDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListVodStitchDetailsAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListVodStitchDetailsResponse, VodStitchDetail> ListVodStitchDetailsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Returns a list of detailed stitching information of the specified VOD session.
Parameters | |
---|---|
Name | Description |
parent | String Required. The VOD session where the stitch details belong to, in the form of
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListVodStitchDetailsResponse, VodStitchDetail> | A pageable asynchronous sequence of VodStitchDetail resources. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/vodSessions/[VOD_SESSION]";
// Make the request
PagedAsyncEnumerable<ListVodStitchDetailsResponse, VodStitchDetail> response = videoStitcherServiceClient.ListVodStitchDetailsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((VodStitchDetail item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListVodStitchDetailsResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (VodStitchDetail item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<VodStitchDetail> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (VodStitchDetail item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ShutdownDefaultChannelsAsync()
public static Task ShutdownDefaultChannelsAsync()
Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
Returns | |
---|---|
Type | Description |
Task | A task representing the asynchronous shutdown operation. |
After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.
UpdateCdnKey(CdnKey, FieldMask, CallSettings)
public virtual CdnKey UpdateCdnKey(CdnKey cdnKey, FieldMask updateMask, CallSettings callSettings = null)
Updates the specified CDN key. Only update fields specified in the call method body.
Parameters | |
---|---|
Name | Description |
cdnKey | CdnKey Required. The CDN key resource which replaces the resource on the server. |
updateMask | FieldMask Required. The update mask applies to the resource.
For the |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CdnKey | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
CdnKey cdnKey = new CdnKey();
FieldMask updateMask = new FieldMask();
// Make the request
CdnKey response = videoStitcherServiceClient.UpdateCdnKey(cdnKey, updateMask);
UpdateCdnKey(UpdateCdnKeyRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
UpdateCdnKeyRequest request = new UpdateCdnKeyRequest
{
CdnKey = new CdnKey(),
UpdateMask = new FieldMask(),
};
// Make the request
CdnKey response = videoStitcherServiceClient.UpdateCdnKey(request);
UpdateCdnKeyAsync(CdnKey, FieldMask, CallSettings)
public virtual Task<CdnKey> UpdateCdnKeyAsync(CdnKey cdnKey, FieldMask updateMask, CallSettings callSettings = null)
Updates the specified CDN key. Only update fields specified in the call method body.
Parameters | |
---|---|
Name | Description |
cdnKey | CdnKey Required. The CDN key resource which replaces the resource on the server. |
updateMask | FieldMask Required. The update mask applies to the resource.
For the |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<CdnKey> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CdnKey cdnKey = new CdnKey();
FieldMask updateMask = new FieldMask();
// Make the request
CdnKey response = await videoStitcherServiceClient.UpdateCdnKeyAsync(cdnKey, updateMask);
UpdateCdnKeyAsync(CdnKey, FieldMask, CancellationToken)
public virtual Task<CdnKey> UpdateCdnKeyAsync(CdnKey cdnKey, FieldMask updateMask, CancellationToken cancellationToken)
Updates the specified CDN key. Only update fields specified in the call method body.
Parameters | |
---|---|
Name | Description |
cdnKey | CdnKey Required. The CDN key resource which replaces the resource on the server. |
updateMask | FieldMask Required. The update mask applies to the resource.
For the |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<CdnKey> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CdnKey cdnKey = new CdnKey();
FieldMask updateMask = new FieldMask();
// Make the request
CdnKey response = await videoStitcherServiceClient.UpdateCdnKeyAsync(cdnKey, updateMask);
UpdateCdnKeyAsync(UpdateCdnKeyRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateCdnKeyRequest request = new UpdateCdnKeyRequest
{
CdnKey = new CdnKey(),
UpdateMask = new FieldMask(),
};
// Make the request
CdnKey response = await videoStitcherServiceClient.UpdateCdnKeyAsync(request);
UpdateCdnKeyAsync(UpdateCdnKeyRequest, CancellationToken)
public virtual Task<CdnKey> UpdateCdnKeyAsync(UpdateCdnKeyRequest request, CancellationToken cancellationToken)
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. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<CdnKey> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateCdnKeyRequest request = new UpdateCdnKeyRequest
{
CdnKey = new CdnKey(),
UpdateMask = new FieldMask(),
};
// Make the request
CdnKey response = await videoStitcherServiceClient.UpdateCdnKeyAsync(request);
UpdateSlate(Slate, FieldMask, CallSettings)
public virtual Slate UpdateSlate(Slate slate, FieldMask updateMask, CallSettings callSettings = null)
Updates the specified slate.
Parameters | |
---|---|
Name | Description |
slate | Slate Required. The resource with updated fields. |
updateMask | FieldMask Required. The update mask which specifies fields which should be updated. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Slate | The RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
Slate slate = new Slate();
FieldMask updateMask = new FieldMask();
// Make the request
Slate response = videoStitcherServiceClient.UpdateSlate(slate, updateMask);
UpdateSlate(UpdateSlateRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
UpdateSlateRequest request = new UpdateSlateRequest
{
Slate = new Slate(),
UpdateMask = new FieldMask(),
};
// Make the request
Slate response = videoStitcherServiceClient.UpdateSlate(request);
UpdateSlateAsync(Slate, FieldMask, CallSettings)
public virtual Task<Slate> UpdateSlateAsync(Slate slate, FieldMask updateMask, CallSettings callSettings = null)
Updates the specified slate.
Parameters | |
---|---|
Name | Description |
slate | Slate Required. The resource with updated fields. |
updateMask | FieldMask Required. The update mask which specifies fields which should be updated. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Slate> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
Slate slate = new Slate();
FieldMask updateMask = new FieldMask();
// Make the request
Slate response = await videoStitcherServiceClient.UpdateSlateAsync(slate, updateMask);
UpdateSlateAsync(Slate, FieldMask, CancellationToken)
public virtual Task<Slate> UpdateSlateAsync(Slate slate, FieldMask updateMask, CancellationToken cancellationToken)
Updates the specified slate.
Parameters | |
---|---|
Name | Description |
slate | Slate Required. The resource with updated fields. |
updateMask | FieldMask Required. The update mask which specifies fields which should be updated. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Slate> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
Slate slate = new Slate();
FieldMask updateMask = new FieldMask();
// Make the request
Slate response = await videoStitcherServiceClient.UpdateSlateAsync(slate, updateMask);
UpdateSlateAsync(UpdateSlateRequest, CallSettings)
public virtual 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. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateSlateRequest request = new UpdateSlateRequest
{
Slate = new Slate(),
UpdateMask = new FieldMask(),
};
// Make the request
Slate response = await videoStitcherServiceClient.UpdateSlateAsync(request);
UpdateSlateAsync(UpdateSlateRequest, CancellationToken)
public virtual Task<Slate> UpdateSlateAsync(UpdateSlateRequest request, CancellationToken cancellationToken)
Updates the specified slate.
Parameters | |
---|---|
Name | Description |
request | UpdateSlateRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Slate> | A Task containing the RPC response. |
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateSlateRequest request = new UpdateSlateRequest
{
Slate = new Slate(),
UpdateMask = new FieldMask(),
};
// Make the request
Slate response = await videoStitcherServiceClient.UpdateSlateAsync(request);