Video Stitcher v1 API - Class VideoStitcherServiceClient (3.2.0)

public abstract class VideoStitcherServiceClient

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

VideoStitcherService client wrapper, for convenient use.

Inheritance

object > VideoStitcherServiceClient

Namespace

Google.Cloud.Video.Stitcher.V1

Assembly

Google.Cloud.Video.Stitcher.V1.dll

Remarks

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

Properties

CreateCdnKeyOperationsClient

public virtual OperationsClient CreateCdnKeyOperationsClient { get; }

The long-running operations client for CreateCdnKey.

Property Value
Type Description
OperationsClient

CreateLiveConfigOperationsClient

public virtual OperationsClient CreateLiveConfigOperationsClient { get; }

The long-running operations client for CreateLiveConfig.

Property Value
Type Description
OperationsClient

CreateSlateOperationsClient

public virtual OperationsClient CreateSlateOperationsClient { get; }

The long-running operations client for CreateSlate.

Property Value
Type Description
OperationsClient

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
IReadOnlyListstring
Remarks

The default VideoStitcherService scopes are:

DeleteCdnKeyOperationsClient

public virtual OperationsClient DeleteCdnKeyOperationsClient { get; }

The long-running operations client for DeleteCdnKey.

Property Value
Type Description
OperationsClient

DeleteLiveConfigOperationsClient

public virtual OperationsClient DeleteLiveConfigOperationsClient { get; }

The long-running operations client for DeleteLiveConfig.

Property Value
Type Description
OperationsClient

DeleteSlateOperationsClient

public virtual OperationsClient DeleteSlateOperationsClient { get; }

The long-running operations client for DeleteSlate.

Property Value
Type Description
OperationsClient

GrpcClient

public virtual VideoStitcherService.VideoStitcherServiceClient GrpcClient { get; }

The underlying gRPC VideoStitcherService client

Property Value
Type Description
VideoStitcherServiceVideoStitcherServiceClient

ServiceMetadata

public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

Property Value
Type Description
ServiceMetadata

UpdateCdnKeyOperationsClient

public virtual OperationsClient UpdateCdnKeyOperationsClient { get; }

The long-running operations client for UpdateCdnKey.

Property Value
Type Description
OperationsClient

UpdateSlateOperationsClient

public virtual OperationsClient UpdateSlateOperationsClient { get; }

The long-running operations client for UpdateSlate.

Property Value
Type Description
OperationsClient

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)

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
TaskVideoStitcherServiceClient

The task representing the created VideoStitcherServiceClient.

CreateCdnKey(LocationName, CdnKey, string, CallSettings)

public virtual Operation<CdnKey, OperationMetadata> 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 projects/{project_number}/locations/{location}.

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
OperationCdnKeyOperationMetadata

The RPC response.

Example
// 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
Operation<CdnKey, OperationMetadata> response = videoStitcherServiceClient.CreateCdnKey(parent, cdnKey, cdnKeyId);

// Poll until the returned long-running operation is complete
Operation<CdnKey, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CdnKey result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CdnKey, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceCreateCdnKey(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CdnKey retrievedResult = retrievedResponse.Result;
}

CreateCdnKey(CreateCdnKeyRequest, CallSettings)

public virtual Operation<CdnKey, OperationMetadata> 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
OperationCdnKeyOperationMetadata

The RPC response.

Example
// 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
Operation<CdnKey, OperationMetadata> response = videoStitcherServiceClient.CreateCdnKey(request);

// Poll until the returned long-running operation is complete
Operation<CdnKey, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CdnKey result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CdnKey, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceCreateCdnKey(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CdnKey retrievedResult = retrievedResponse.Result;
}

CreateCdnKey(string, CdnKey, string, CallSettings)

public virtual Operation<CdnKey, OperationMetadata> 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 projects/{project_number}/locations/{location}.

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
OperationCdnKeyOperationMetadata

The RPC response.

Example
// 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
Operation<CdnKey, OperationMetadata> response = videoStitcherServiceClient.CreateCdnKey(parent, cdnKey, cdnKeyId);

// Poll until the returned long-running operation is complete
Operation<CdnKey, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CdnKey result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CdnKey, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceCreateCdnKey(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CdnKey retrievedResult = retrievedResponse.Result;
}

CreateCdnKeyAsync(LocationName, CdnKey, string, CallSettings)

public virtual Task<Operation<CdnKey, OperationMetadata>> 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 projects/{project_number}/locations/{location}.

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
TaskOperationCdnKeyOperationMetadata

A Task containing the RPC response.

Example
// 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
Operation<CdnKey, OperationMetadata> response = await videoStitcherServiceClient.CreateCdnKeyAsync(parent, cdnKey, cdnKeyId);

// Poll until the returned long-running operation is complete
Operation<CdnKey, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CdnKey result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CdnKey, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateCdnKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CdnKey retrievedResult = retrievedResponse.Result;
}

CreateCdnKeyAsync(LocationName, CdnKey, string, CancellationToken)

public virtual Task<Operation<CdnKey, OperationMetadata>> 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 projects/{project_number}/locations/{location}.

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
TaskOperationCdnKeyOperationMetadata

A Task containing the RPC response.

Example
// 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
Operation<CdnKey, OperationMetadata> response = await videoStitcherServiceClient.CreateCdnKeyAsync(parent, cdnKey, cdnKeyId);

// Poll until the returned long-running operation is complete
Operation<CdnKey, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CdnKey result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CdnKey, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateCdnKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CdnKey retrievedResult = retrievedResponse.Result;
}

CreateCdnKeyAsync(CreateCdnKeyRequest, CallSettings)

public virtual Task<Operation<CdnKey, OperationMetadata>> 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
TaskOperationCdnKeyOperationMetadata

A Task containing the RPC response.

Example
// 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
Operation<CdnKey, OperationMetadata> response = await videoStitcherServiceClient.CreateCdnKeyAsync(request);

// Poll until the returned long-running operation is complete
Operation<CdnKey, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CdnKey result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CdnKey, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateCdnKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CdnKey retrievedResult = retrievedResponse.Result;
}

CreateCdnKeyAsync(CreateCdnKeyRequest, CancellationToken)

public virtual Task<Operation<CdnKey, OperationMetadata>> 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
TaskOperationCdnKeyOperationMetadata

A Task containing the RPC response.

Example
// 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
Operation<CdnKey, OperationMetadata> response = await videoStitcherServiceClient.CreateCdnKeyAsync(request);

// Poll until the returned long-running operation is complete
Operation<CdnKey, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CdnKey result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CdnKey, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateCdnKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CdnKey retrievedResult = retrievedResponse.Result;
}

CreateCdnKeyAsync(string, CdnKey, string, CallSettings)

public virtual Task<Operation<CdnKey, OperationMetadata>> 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 projects/{project_number}/locations/{location}.

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
TaskOperationCdnKeyOperationMetadata

A Task containing the RPC response.

Example
// 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
Operation<CdnKey, OperationMetadata> response = await videoStitcherServiceClient.CreateCdnKeyAsync(parent, cdnKey, cdnKeyId);

// Poll until the returned long-running operation is complete
Operation<CdnKey, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CdnKey result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CdnKey, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateCdnKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CdnKey retrievedResult = retrievedResponse.Result;
}

CreateCdnKeyAsync(string, CdnKey, string, CancellationToken)

public virtual Task<Operation<CdnKey, OperationMetadata>> 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 projects/{project_number}/locations/{location}.

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
TaskOperationCdnKeyOperationMetadata

A Task containing the RPC response.

Example
// 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
Operation<CdnKey, OperationMetadata> response = await videoStitcherServiceClient.CreateCdnKeyAsync(parent, cdnKey, cdnKeyId);

// Poll until the returned long-running operation is complete
Operation<CdnKey, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CdnKey result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CdnKey, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateCdnKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CdnKey retrievedResult = retrievedResponse.Result;
}

CreateLiveConfig(LocationName, LiveConfig, string, CallSettings)

public virtual Operation<LiveConfig, OperationMetadata> CreateLiveConfig(LocationName parent, LiveConfig liveConfig, string liveConfigId, CallSettings callSettings = null)

Registers the live config with the provided unique ID in the specified region.

Parameters
Name Description
parent LocationName

Required. The project in which the live config should be created, in the form of projects/{project_number}/locations/{location}.

liveConfig LiveConfig

Required. The live config resource to create.

liveConfigId string

Required. The unique identifier ID to use for the live config.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationLiveConfigOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
LiveConfig liveConfig = new LiveConfig();
string liveConfigId = "";
// Make the request
Operation<LiveConfig, OperationMetadata> response = videoStitcherServiceClient.CreateLiveConfig(parent, liveConfig, liveConfigId);

// Poll until the returned long-running operation is complete
Operation<LiveConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LiveConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LiveConfig, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceCreateLiveConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LiveConfig retrievedResult = retrievedResponse.Result;
}

CreateLiveConfig(CreateLiveConfigRequest, CallSettings)

public virtual Operation<LiveConfig, OperationMetadata> CreateLiveConfig(CreateLiveConfigRequest request, CallSettings callSettings = null)

Registers the live config with the provided unique ID in the specified region.

Parameters
Name Description
request CreateLiveConfigRequest

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
OperationLiveConfigOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
CreateLiveConfigRequest request = new CreateLiveConfigRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    LiveConfigId = "",
    LiveConfig = new LiveConfig(),
    RequestId = "",
};
// Make the request
Operation<LiveConfig, OperationMetadata> response = videoStitcherServiceClient.CreateLiveConfig(request);

// Poll until the returned long-running operation is complete
Operation<LiveConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LiveConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LiveConfig, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceCreateLiveConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LiveConfig retrievedResult = retrievedResponse.Result;
}

CreateLiveConfig(string, LiveConfig, string, CallSettings)

public virtual Operation<LiveConfig, OperationMetadata> CreateLiveConfig(string parent, LiveConfig liveConfig, string liveConfigId, CallSettings callSettings = null)

Registers the live config with the provided unique ID in the specified region.

Parameters
Name Description
parent string

Required. The project in which the live config should be created, in the form of projects/{project_number}/locations/{location}.

liveConfig LiveConfig

Required. The live config resource to create.

liveConfigId string

Required. The unique identifier ID to use for the live config.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationLiveConfigOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
LiveConfig liveConfig = new LiveConfig();
string liveConfigId = "";
// Make the request
Operation<LiveConfig, OperationMetadata> response = videoStitcherServiceClient.CreateLiveConfig(parent, liveConfig, liveConfigId);

// Poll until the returned long-running operation is complete
Operation<LiveConfig, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
LiveConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LiveConfig, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceCreateLiveConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LiveConfig retrievedResult = retrievedResponse.Result;
}

CreateLiveConfigAsync(LocationName, LiveConfig, string, CallSettings)

public virtual Task<Operation<LiveConfig, OperationMetadata>> CreateLiveConfigAsync(LocationName parent, LiveConfig liveConfig, string liveConfigId, CallSettings callSettings = null)

Registers the live config with the provided unique ID in the specified region.

Parameters
Name Description
parent LocationName

Required. The project in which the live config should be created, in the form of projects/{project_number}/locations/{location}.

liveConfig LiveConfig

Required. The live config resource to create.

liveConfigId string

Required. The unique identifier ID to use for the live config.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationLiveConfigOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
LiveConfig liveConfig = new LiveConfig();
string liveConfigId = "";
// Make the request
Operation<LiveConfig, OperationMetadata> response = await videoStitcherServiceClient.CreateLiveConfigAsync(parent, liveConfig, liveConfigId);

// Poll until the returned long-running operation is complete
Operation<LiveConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LiveConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LiveConfig, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateLiveConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LiveConfig retrievedResult = retrievedResponse.Result;
}

CreateLiveConfigAsync(LocationName, LiveConfig, string, CancellationToken)

public virtual Task<Operation<LiveConfig, OperationMetadata>> CreateLiveConfigAsync(LocationName parent, LiveConfig liveConfig, string liveConfigId, CancellationToken cancellationToken)

Registers the live config with the provided unique ID in the specified region.

Parameters
Name Description
parent LocationName

Required. The project in which the live config should be created, in the form of projects/{project_number}/locations/{location}.

liveConfig LiveConfig

Required. The live config resource to create.

liveConfigId string

Required. The unique identifier ID to use for the live config.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationLiveConfigOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
LiveConfig liveConfig = new LiveConfig();
string liveConfigId = "";
// Make the request
Operation<LiveConfig, OperationMetadata> response = await videoStitcherServiceClient.CreateLiveConfigAsync(parent, liveConfig, liveConfigId);

// Poll until the returned long-running operation is complete
Operation<LiveConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LiveConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LiveConfig, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateLiveConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LiveConfig retrievedResult = retrievedResponse.Result;
}

CreateLiveConfigAsync(CreateLiveConfigRequest, CallSettings)

public virtual Task<Operation<LiveConfig, OperationMetadata>> CreateLiveConfigAsync(CreateLiveConfigRequest request, CallSettings callSettings = null)

Registers the live config with the provided unique ID in the specified region.

Parameters
Name Description
request CreateLiveConfigRequest

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
TaskOperationLiveConfigOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CreateLiveConfigRequest request = new CreateLiveConfigRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    LiveConfigId = "",
    LiveConfig = new LiveConfig(),
    RequestId = "",
};
// Make the request
Operation<LiveConfig, OperationMetadata> response = await videoStitcherServiceClient.CreateLiveConfigAsync(request);

// Poll until the returned long-running operation is complete
Operation<LiveConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LiveConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LiveConfig, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateLiveConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LiveConfig retrievedResult = retrievedResponse.Result;
}

CreateLiveConfigAsync(CreateLiveConfigRequest, CancellationToken)

public virtual Task<Operation<LiveConfig, OperationMetadata>> CreateLiveConfigAsync(CreateLiveConfigRequest request, CancellationToken cancellationToken)

Registers the live config with the provided unique ID in the specified region.

Parameters
Name Description
request CreateLiveConfigRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationLiveConfigOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CreateLiveConfigRequest request = new CreateLiveConfigRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    LiveConfigId = "",
    LiveConfig = new LiveConfig(),
    RequestId = "",
};
// Make the request
Operation<LiveConfig, OperationMetadata> response = await videoStitcherServiceClient.CreateLiveConfigAsync(request);

// Poll until the returned long-running operation is complete
Operation<LiveConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LiveConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LiveConfig, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateLiveConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LiveConfig retrievedResult = retrievedResponse.Result;
}

CreateLiveConfigAsync(string, LiveConfig, string, CallSettings)

public virtual Task<Operation<LiveConfig, OperationMetadata>> CreateLiveConfigAsync(string parent, LiveConfig liveConfig, string liveConfigId, CallSettings callSettings = null)

Registers the live config with the provided unique ID in the specified region.

Parameters
Name Description
parent string

Required. The project in which the live config should be created, in the form of projects/{project_number}/locations/{location}.

liveConfig LiveConfig

Required. The live config resource to create.

liveConfigId string

Required. The unique identifier ID to use for the live config.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationLiveConfigOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
LiveConfig liveConfig = new LiveConfig();
string liveConfigId = "";
// Make the request
Operation<LiveConfig, OperationMetadata> response = await videoStitcherServiceClient.CreateLiveConfigAsync(parent, liveConfig, liveConfigId);

// Poll until the returned long-running operation is complete
Operation<LiveConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LiveConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LiveConfig, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateLiveConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LiveConfig retrievedResult = retrievedResponse.Result;
}

CreateLiveConfigAsync(string, LiveConfig, string, CancellationToken)

public virtual Task<Operation<LiveConfig, OperationMetadata>> CreateLiveConfigAsync(string parent, LiveConfig liveConfig, string liveConfigId, CancellationToken cancellationToken)

Registers the live config with the provided unique ID in the specified region.

Parameters
Name Description
parent string

Required. The project in which the live config should be created, in the form of projects/{project_number}/locations/{location}.

liveConfig LiveConfig

Required. The live config resource to create.

liveConfigId string

Required. The unique identifier ID to use for the live config.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationLiveConfigOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
LiveConfig liveConfig = new LiveConfig();
string liveConfigId = "";
// Make the request
Operation<LiveConfig, OperationMetadata> response = await videoStitcherServiceClient.CreateLiveConfigAsync(parent, liveConfig, liveConfigId);

// Poll until the returned long-running operation is complete
Operation<LiveConfig, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
LiveConfig result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<LiveConfig, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateLiveConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    LiveConfig retrievedResult = retrievedResponse.Result;
}

CreateLiveSession(LocationName, LiveSession, CallSettings)

public virtual LiveSession CreateLiveSession(LocationName parent, LiveSession liveSession, CallSettings callSettings = null)

Creates a new live session.

Parameters
Name Description
parent LocationName

Required. The project and location in which the live session should be created, in the form of projects/{project_number}/locations/{location}.

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.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
LiveSession liveSession = new LiveSession();
// Make the request
LiveSession response = videoStitcherServiceClient.CreateLiveSession(parent, liveSession);

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.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
CreateLiveSessionRequest request = new CreateLiveSessionRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    LiveSession = new LiveSession(),
};
// Make the request
LiveSession response = videoStitcherServiceClient.CreateLiveSession(request);

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 projects/{project_number}/locations/{location}.

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.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
LiveSession liveSession = new LiveSession();
// Make the request
LiveSession response = videoStitcherServiceClient.CreateLiveSession(parent, liveSession);

CreateLiveSessionAsync(LocationName, LiveSession, CallSettings)

public virtual Task<LiveSession> CreateLiveSessionAsync(LocationName parent, LiveSession liveSession, CallSettings callSettings = null)

Creates a new live session.

Parameters
Name Description
parent LocationName

Required. The project and location in which the live session should be created, in the form of projects/{project_number}/locations/{location}.

liveSession LiveSession

Required. Parameters for creating a live session.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskLiveSession

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
LiveSession liveSession = new LiveSession();
// Make the request
LiveSession response = await videoStitcherServiceClient.CreateLiveSessionAsync(parent, liveSession);

CreateLiveSessionAsync(LocationName, LiveSession, CancellationToken)

public virtual Task<LiveSession> CreateLiveSessionAsync(LocationName parent, LiveSession liveSession, CancellationToken cancellationToken)

Creates a new live session.

Parameters
Name Description
parent LocationName

Required. The project and location in which the live session should be created, in the form of projects/{project_number}/locations/{location}.

liveSession LiveSession

Required. Parameters for creating a live session.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskLiveSession

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
LiveSession liveSession = new LiveSession();
// Make the request
LiveSession response = await videoStitcherServiceClient.CreateLiveSessionAsync(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
TaskLiveSession

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CreateLiveSessionRequest request = new CreateLiveSessionRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    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
TaskLiveSession

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CreateLiveSessionRequest request = new CreateLiveSessionRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    LiveSession = new LiveSession(),
};
// Make the request
LiveSession response = await videoStitcherServiceClient.CreateLiveSessionAsync(request);

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 projects/{project_number}/locations/{location}.

liveSession LiveSession

Required. Parameters for creating a live session.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskLiveSession

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
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 projects/{project_number}/locations/{location}.

liveSession LiveSession

Required. Parameters for creating a live session.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskLiveSession

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
LiveSession liveSession = new LiveSession();
// Make the request
LiveSession response = await videoStitcherServiceClient.CreateLiveSessionAsync(parent, liveSession);

CreateSlate(LocationName, Slate, string, CallSettings)

public virtual Operation<Slate, OperationMetadata> 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 projects/{project_number}/locations/{location}.

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
OperationSlateOperationMetadata

The RPC response.

Example
// 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
Operation<Slate, OperationMetadata> response = videoStitcherServiceClient.CreateSlate(parent, slate, slateId);

// Poll until the returned long-running operation is complete
Operation<Slate, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Slate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Slate, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceCreateSlate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Slate retrievedResult = retrievedResponse.Result;
}

CreateSlate(CreateSlateRequest, CallSettings)

public virtual Operation<Slate, OperationMetadata> 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
OperationSlateOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
CreateSlateRequest request = new CreateSlateRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    SlateId = "",
    Slate = new Slate(),
    RequestId = "",
};
// Make the request
Operation<Slate, OperationMetadata> response = videoStitcherServiceClient.CreateSlate(request);

// Poll until the returned long-running operation is complete
Operation<Slate, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Slate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Slate, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceCreateSlate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Slate retrievedResult = retrievedResponse.Result;
}

CreateSlate(string, Slate, string, CallSettings)

public virtual Operation<Slate, OperationMetadata> 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 projects/{project_number}/locations/{location}.

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
OperationSlateOperationMetadata

The RPC response.

Example
// 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
Operation<Slate, OperationMetadata> response = videoStitcherServiceClient.CreateSlate(parent, slate, slateId);

// Poll until the returned long-running operation is complete
Operation<Slate, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Slate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Slate, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceCreateSlate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Slate retrievedResult = retrievedResponse.Result;
}

CreateSlateAsync(LocationName, Slate, string, CallSettings)

public virtual Task<Operation<Slate, OperationMetadata>> 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 projects/{project_number}/locations/{location}.

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
TaskOperationSlateOperationMetadata

A Task containing the RPC response.

Example
// 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
Operation<Slate, OperationMetadata> response = await videoStitcherServiceClient.CreateSlateAsync(parent, slate, slateId);

// Poll until the returned long-running operation is complete
Operation<Slate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Slate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Slate, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateSlateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Slate retrievedResult = retrievedResponse.Result;
}

CreateSlateAsync(LocationName, Slate, string, CancellationToken)

public virtual Task<Operation<Slate, OperationMetadata>> 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 projects/{project_number}/locations/{location}.

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
TaskOperationSlateOperationMetadata

A Task containing the RPC response.

Example
// 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
Operation<Slate, OperationMetadata> response = await videoStitcherServiceClient.CreateSlateAsync(parent, slate, slateId);

// Poll until the returned long-running operation is complete
Operation<Slate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Slate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Slate, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateSlateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Slate retrievedResult = retrievedResponse.Result;
}

CreateSlateAsync(CreateSlateRequest, CallSettings)

public virtual Task<Operation<Slate, OperationMetadata>> 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
TaskOperationSlateOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CreateSlateRequest request = new CreateSlateRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    SlateId = "",
    Slate = new Slate(),
    RequestId = "",
};
// Make the request
Operation<Slate, OperationMetadata> response = await videoStitcherServiceClient.CreateSlateAsync(request);

// Poll until the returned long-running operation is complete
Operation<Slate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Slate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Slate, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateSlateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Slate retrievedResult = retrievedResponse.Result;
}

CreateSlateAsync(CreateSlateRequest, CancellationToken)

public virtual Task<Operation<Slate, OperationMetadata>> 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
TaskOperationSlateOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CreateSlateRequest request = new CreateSlateRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    SlateId = "",
    Slate = new Slate(),
    RequestId = "",
};
// Make the request
Operation<Slate, OperationMetadata> response = await videoStitcherServiceClient.CreateSlateAsync(request);

// Poll until the returned long-running operation is complete
Operation<Slate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Slate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Slate, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateSlateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Slate retrievedResult = retrievedResponse.Result;
}

CreateSlateAsync(string, Slate, string, CallSettings)

public virtual Task<Operation<Slate, OperationMetadata>> 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 projects/{project_number}/locations/{location}.

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
TaskOperationSlateOperationMetadata

A Task containing the RPC response.

Example
// 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
Operation<Slate, OperationMetadata> response = await videoStitcherServiceClient.CreateSlateAsync(parent, slate, slateId);

// Poll until the returned long-running operation is complete
Operation<Slate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Slate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Slate, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateSlateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Slate retrievedResult = retrievedResponse.Result;
}

CreateSlateAsync(string, Slate, string, CancellationToken)

public virtual Task<Operation<Slate, OperationMetadata>> 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 projects/{project_number}/locations/{location}.

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
TaskOperationSlateOperationMetadata

A Task containing the RPC response.

Example
// 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
Operation<Slate, OperationMetadata> response = await videoStitcherServiceClient.CreateSlateAsync(parent, slate, slateId);

// Poll until the returned long-running operation is complete
Operation<Slate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Slate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Slate, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceCreateSlateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Slate retrievedResult = retrievedResponse.Result;
}

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 projects/{project_number}/locations/{location}.

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.

Example
// 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.

Example
// 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 projects/{project_number}/locations/{location}.

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.

Example
// 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 projects/{project_number}/locations/{location}.

vodSession VodSession

Required. Parameters for creating a session.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskVodSession

A Task containing the RPC response.

Example
// 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 projects/{project_number}/locations/{location}.

vodSession VodSession

Required. Parameters for creating a session.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskVodSession

A Task containing the RPC response.

Example
// 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
TaskVodSession

A Task containing the RPC response.

Example
// 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
TaskVodSession

A Task containing the RPC response.

Example
// 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 projects/{project_number}/locations/{location}.

vodSession VodSession

Required. Parameters for creating a session.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskVodSession

A Task containing the RPC response.

Example
// 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 projects/{project_number}/locations/{location}.

vodSession VodSession

Required. Parameters for creating a session.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskVodSession

A Task containing the RPC response.

Example
// 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 Operation<Empty, OperationMetadata> 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 projects/{project_number}/locations/{location}/cdnKeys/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
CdnKeyName name = CdnKeyName.FromProjectLocationCdnKey("[PROJECT]", "[LOCATION]", "[CDN_KEY]");
// Make the request
Operation<Empty, OperationMetadata> response = videoStitcherServiceClient.DeleteCdnKey(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceDeleteCdnKey(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCdnKey(DeleteCdnKeyRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> 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.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
DeleteCdnKeyRequest request = new DeleteCdnKeyRequest
{
    CdnKeyName = CdnKeyName.FromProjectLocationCdnKey("[PROJECT]", "[LOCATION]", "[CDN_KEY]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = videoStitcherServiceClient.DeleteCdnKey(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceDeleteCdnKey(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCdnKey(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> 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 projects/{project_number}/locations/{location}/cdnKeys/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cdnKeys/[CDN_KEY]";
// Make the request
Operation<Empty, OperationMetadata> response = videoStitcherServiceClient.DeleteCdnKey(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceDeleteCdnKey(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCdnKeyAsync(CdnKeyName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> 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 projects/{project_number}/locations/{location}/cdnKeys/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CdnKeyName name = CdnKeyName.FromProjectLocationCdnKey("[PROJECT]", "[LOCATION]", "[CDN_KEY]");
// Make the request
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteCdnKeyAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteCdnKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCdnKeyAsync(CdnKeyName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> 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 projects/{project_number}/locations/{location}/cdnKeys/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CdnKeyName name = CdnKeyName.FromProjectLocationCdnKey("[PROJECT]", "[LOCATION]", "[CDN_KEY]");
// Make the request
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteCdnKeyAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteCdnKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCdnKeyAsync(DeleteCdnKeyRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> 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
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// 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
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteCdnKeyAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteCdnKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCdnKeyAsync(DeleteCdnKeyRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> 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
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// 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
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteCdnKeyAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteCdnKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCdnKeyAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> 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 projects/{project_number}/locations/{location}/cdnKeys/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cdnKeys/[CDN_KEY]";
// Make the request
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteCdnKeyAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteCdnKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteCdnKeyAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> 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 projects/{project_number}/locations/{location}/cdnKeys/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/cdnKeys/[CDN_KEY]";
// Make the request
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteCdnKeyAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteCdnKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteLiveConfig(DeleteLiveConfigRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteLiveConfig(DeleteLiveConfigRequest request, CallSettings callSettings = null)

Deletes the specified live config.

Parameters
Name Description
request DeleteLiveConfigRequest

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
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
DeleteLiveConfigRequest request = new DeleteLiveConfigRequest
{
    LiveConfigName = LiveConfigName.FromProjectLocationLiveConfig("[PROJECT]", "[LOCATION]", "[LIVE_CONFIG]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = videoStitcherServiceClient.DeleteLiveConfig(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceDeleteLiveConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteLiveConfig(LiveConfigName, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteLiveConfig(LiveConfigName name, CallSettings callSettings = null)

Deletes the specified live config.

Parameters
Name Description
name LiveConfigName

Required. The name of the live config to be deleted, in the form of projects/{project_number}/locations/{location}/liveConfigs/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
LiveConfigName name = LiveConfigName.FromProjectLocationLiveConfig("[PROJECT]", "[LOCATION]", "[LIVE_CONFIG]");
// Make the request
Operation<Empty, OperationMetadata> response = videoStitcherServiceClient.DeleteLiveConfig(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceDeleteLiveConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteLiveConfig(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> DeleteLiveConfig(string name, CallSettings callSettings = null)

Deletes the specified live config.

Parameters
Name Description
name string

Required. The name of the live config to be deleted, in the form of projects/{project_number}/locations/{location}/liveConfigs/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/liveConfigs/[LIVE_CONFIG]";
// Make the request
Operation<Empty, OperationMetadata> response = videoStitcherServiceClient.DeleteLiveConfig(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceDeleteLiveConfig(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteLiveConfigAsync(DeleteLiveConfigRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteLiveConfigAsync(DeleteLiveConfigRequest request, CallSettings callSettings = null)

Deletes the specified live config.

Parameters
Name Description
request DeleteLiveConfigRequest

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
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteLiveConfigRequest request = new DeleteLiveConfigRequest
{
    LiveConfigName = LiveConfigName.FromProjectLocationLiveConfig("[PROJECT]", "[LOCATION]", "[LIVE_CONFIG]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteLiveConfigAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteLiveConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteLiveConfigAsync(DeleteLiveConfigRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteLiveConfigAsync(DeleteLiveConfigRequest request, CancellationToken cancellationToken)

Deletes the specified live config.

Parameters
Name Description
request DeleteLiveConfigRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteLiveConfigRequest request = new DeleteLiveConfigRequest
{
    LiveConfigName = LiveConfigName.FromProjectLocationLiveConfig("[PROJECT]", "[LOCATION]", "[LIVE_CONFIG]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteLiveConfigAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteLiveConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteLiveConfigAsync(LiveConfigName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteLiveConfigAsync(LiveConfigName name, CallSettings callSettings = null)

Deletes the specified live config.

Parameters
Name Description
name LiveConfigName

Required. The name of the live config to be deleted, in the form of projects/{project_number}/locations/{location}/liveConfigs/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LiveConfigName name = LiveConfigName.FromProjectLocationLiveConfig("[PROJECT]", "[LOCATION]", "[LIVE_CONFIG]");
// Make the request
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteLiveConfigAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteLiveConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteLiveConfigAsync(LiveConfigName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteLiveConfigAsync(LiveConfigName name, CancellationToken cancellationToken)

Deletes the specified live config.

Parameters
Name Description
name LiveConfigName

Required. The name of the live config to be deleted, in the form of projects/{project_number}/locations/{location}/liveConfigs/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LiveConfigName name = LiveConfigName.FromProjectLocationLiveConfig("[PROJECT]", "[LOCATION]", "[LIVE_CONFIG]");
// Make the request
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteLiveConfigAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteLiveConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteLiveConfigAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteLiveConfigAsync(string name, CallSettings callSettings = null)

Deletes the specified live config.

Parameters
Name Description
name string

Required. The name of the live config to be deleted, in the form of projects/{project_number}/locations/{location}/liveConfigs/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/liveConfigs/[LIVE_CONFIG]";
// Make the request
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteLiveConfigAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteLiveConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteLiveConfigAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> DeleteLiveConfigAsync(string name, CancellationToken cancellationToken)

Deletes the specified live config.

Parameters
Name Description
name string

Required. The name of the live config to be deleted, in the form of projects/{project_number}/locations/{location}/liveConfigs/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/liveConfigs/[LIVE_CONFIG]";
// Make the request
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteLiveConfigAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteLiveConfigAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteSlate(DeleteSlateRequest, CallSettings)

public virtual Operation<Empty, OperationMetadata> 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.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
DeleteSlateRequest request = new DeleteSlateRequest
{
    SlateName = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = videoStitcherServiceClient.DeleteSlate(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceDeleteSlate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteSlate(SlateName, CallSettings)

public virtual Operation<Empty, OperationMetadata> 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 projects/{project_number}/locations/{location}/slates/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
SlateName name = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]");
// Make the request
Operation<Empty, OperationMetadata> response = videoStitcherServiceClient.DeleteSlate(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceDeleteSlate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteSlate(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> 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 projects/{project_number}/locations/{location}/slates/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/slates/[SLATE]";
// Make the request
Operation<Empty, OperationMetadata> response = videoStitcherServiceClient.DeleteSlate(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceDeleteSlate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteSlateAsync(DeleteSlateRequest, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> 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
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteSlateRequest request = new DeleteSlateRequest
{
    SlateName = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteSlateAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteSlateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteSlateAsync(DeleteSlateRequest, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> 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
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteSlateRequest request = new DeleteSlateRequest
{
    SlateName = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]"),
};
// Make the request
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteSlateAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteSlateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteSlateAsync(SlateName, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> 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 projects/{project_number}/locations/{location}/slates/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
SlateName name = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]");
// Make the request
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteSlateAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteSlateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteSlateAsync(SlateName, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> 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 projects/{project_number}/locations/{location}/slates/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
SlateName name = SlateName.FromProjectLocationSlate("[PROJECT]", "[LOCATION]", "[SLATE]");
// Make the request
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteSlateAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteSlateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteSlateAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> 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 projects/{project_number}/locations/{location}/slates/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/slates/[SLATE]";
// Make the request
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteSlateAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteSlateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

DeleteSlateAsync(string, CancellationToken)

public virtual Task<Operation<Empty, OperationMetadata>> 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 projects/{project_number}/locations/{location}/slates/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/slates/[SLATE]";
// Make the request
Operation<Empty, OperationMetadata> response = await videoStitcherServiceClient.DeleteSlateAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceDeleteSlateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}

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 projects/{project}/locations/{location}/cdnKeys/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CdnKey

The RPC response.

Example
// 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.

Example
// 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 projects/{project}/locations/{location}/cdnKeys/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CdnKey

The RPC response.

Example
// 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 projects/{project}/locations/{location}/cdnKeys/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCdnKey

A Task containing the RPC response.

Example
// 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 projects/{project}/locations/{location}/cdnKeys/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCdnKey

A Task containing the RPC response.

Example
// 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
TaskCdnKey

A Task containing the RPC response.

Example
// 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
TaskCdnKey

A Task containing the RPC response.

Example
// 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 projects/{project}/locations/{location}/cdnKeys/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCdnKey

A Task containing the RPC response.

Example
// 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 projects/{project}/locations/{location}/cdnKeys/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCdnKey

A Task containing the RPC response.

Example
// 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.

Example
// 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 projects/{project}/locations/{location}/liveSessions/{live_session}/liveAdTagDetails/{live_ad_tag_detail}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
LiveAdTagDetail

The RPC response.

Example
// 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 projects/{project}/locations/{location}/liveSessions/{live_session}/liveAdTagDetails/{live_ad_tag_detail}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
LiveAdTagDetail

The RPC response.

Example
// 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
TaskLiveAdTagDetail

A Task containing the RPC response.

Example
// 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
TaskLiveAdTagDetail

A Task containing the RPC response.

Example
// 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 projects/{project}/locations/{location}/liveSessions/{live_session}/liveAdTagDetails/{live_ad_tag_detail}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskLiveAdTagDetail

A Task containing the RPC response.

Example
// 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 projects/{project}/locations/{location}/liveSessions/{live_session}/liveAdTagDetails/{live_ad_tag_detail}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskLiveAdTagDetail

A Task containing the RPC response.

Example
// 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 projects/{project}/locations/{location}/liveSessions/{live_session}/liveAdTagDetails/{live_ad_tag_detail}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskLiveAdTagDetail

A Task containing the RPC response.

Example
// 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 projects/{project}/locations/{location}/liveSessions/{live_session}/liveAdTagDetails/{live_ad_tag_detail}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskLiveAdTagDetail

A Task containing the RPC response.

Example
// 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);

GetLiveConfig(GetLiveConfigRequest, CallSettings)

public virtual LiveConfig GetLiveConfig(GetLiveConfigRequest request, CallSettings callSettings = null)

Returns the specified live config managed by the Video Stitcher service.

Parameters
Name Description
request GetLiveConfigRequest

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
LiveConfig

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
GetLiveConfigRequest request = new GetLiveConfigRequest
{
    LiveConfigName = LiveConfigName.FromProjectLocationLiveConfig("[PROJECT]", "[LOCATION]", "[LIVE_CONFIG]"),
};
// Make the request
LiveConfig response = videoStitcherServiceClient.GetLiveConfig(request);

GetLiveConfig(LiveConfigName, CallSettings)

public virtual LiveConfig GetLiveConfig(LiveConfigName name, CallSettings callSettings = null)

Returns the specified live config managed by the Video Stitcher service.

Parameters
Name Description
name LiveConfigName

Required. The name of the live config to be retrieved, in the form of projects/{project_number}/locations/{location}/liveConfigs/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
LiveConfig

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
LiveConfigName name = LiveConfigName.FromProjectLocationLiveConfig("[PROJECT]", "[LOCATION]", "[LIVE_CONFIG]");
// Make the request
LiveConfig response = videoStitcherServiceClient.GetLiveConfig(name);

GetLiveConfig(string, CallSettings)

public virtual LiveConfig GetLiveConfig(string name, CallSettings callSettings = null)

Returns the specified live config managed by the Video Stitcher service.

Parameters
Name Description
name string

Required. The name of the live config to be retrieved, in the form of projects/{project_number}/locations/{location}/liveConfigs/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
LiveConfig

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/liveConfigs/[LIVE_CONFIG]";
// Make the request
LiveConfig response = videoStitcherServiceClient.GetLiveConfig(name);

GetLiveConfigAsync(GetLiveConfigRequest, CallSettings)

public virtual Task<LiveConfig> GetLiveConfigAsync(GetLiveConfigRequest request, CallSettings callSettings = null)

Returns the specified live config managed by the Video Stitcher service.

Parameters
Name Description
request GetLiveConfigRequest

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
TaskLiveConfig

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
GetLiveConfigRequest request = new GetLiveConfigRequest
{
    LiveConfigName = LiveConfigName.FromProjectLocationLiveConfig("[PROJECT]", "[LOCATION]", "[LIVE_CONFIG]"),
};
// Make the request
LiveConfig response = await videoStitcherServiceClient.GetLiveConfigAsync(request);

GetLiveConfigAsync(GetLiveConfigRequest, CancellationToken)

public virtual Task<LiveConfig> GetLiveConfigAsync(GetLiveConfigRequest request, CancellationToken cancellationToken)

Returns the specified live config managed by the Video Stitcher service.

Parameters
Name Description
request GetLiveConfigRequest

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

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskLiveConfig

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
GetLiveConfigRequest request = new GetLiveConfigRequest
{
    LiveConfigName = LiveConfigName.FromProjectLocationLiveConfig("[PROJECT]", "[LOCATION]", "[LIVE_CONFIG]"),
};
// Make the request
LiveConfig response = await videoStitcherServiceClient.GetLiveConfigAsync(request);

GetLiveConfigAsync(LiveConfigName, CallSettings)

public virtual Task<LiveConfig> GetLiveConfigAsync(LiveConfigName name, CallSettings callSettings = null)

Returns the specified live config managed by the Video Stitcher service.

Parameters
Name Description
name LiveConfigName

Required. The name of the live config to be retrieved, in the form of projects/{project_number}/locations/{location}/liveConfigs/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskLiveConfig

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LiveConfigName name = LiveConfigName.FromProjectLocationLiveConfig("[PROJECT]", "[LOCATION]", "[LIVE_CONFIG]");
// Make the request
LiveConfig response = await videoStitcherServiceClient.GetLiveConfigAsync(name);

GetLiveConfigAsync(LiveConfigName, CancellationToken)

public virtual Task<LiveConfig> GetLiveConfigAsync(LiveConfigName name, CancellationToken cancellationToken)

Returns the specified live config managed by the Video Stitcher service.

Parameters
Name Description
name LiveConfigName

Required. The name of the live config to be retrieved, in the form of projects/{project_number}/locations/{location}/liveConfigs/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskLiveConfig

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LiveConfigName name = LiveConfigName.FromProjectLocationLiveConfig("[PROJECT]", "[LOCATION]", "[LIVE_CONFIG]");
// Make the request
LiveConfig response = await videoStitcherServiceClient.GetLiveConfigAsync(name);

GetLiveConfigAsync(string, CallSettings)

public virtual Task<LiveConfig> GetLiveConfigAsync(string name, CallSettings callSettings = null)

Returns the specified live config managed by the Video Stitcher service.

Parameters
Name Description
name string

Required. The name of the live config to be retrieved, in the form of projects/{project_number}/locations/{location}/liveConfigs/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskLiveConfig

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/liveConfigs/[LIVE_CONFIG]";
// Make the request
LiveConfig response = await videoStitcherServiceClient.GetLiveConfigAsync(name);

GetLiveConfigAsync(string, CancellationToken)

public virtual Task<LiveConfig> GetLiveConfigAsync(string name, CancellationToken cancellationToken)

Returns the specified live config managed by the Video Stitcher service.

Parameters
Name Description
name string

Required. The name of the live config to be retrieved, in the form of projects/{project_number}/locations/{location}/liveConfigs/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskLiveConfig

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/liveConfigs/[LIVE_CONFIG]";
// Make the request
LiveConfig response = await videoStitcherServiceClient.GetLiveConfigAsync(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.

Example
// 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 projects/{project_number}/locations/{location}/liveSessions/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
LiveSession

The RPC response.

Example
// 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 projects/{project_number}/locations/{location}/liveSessions/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
LiveSession

The RPC response.

Example
// 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
TaskLiveSession

A Task containing the RPC response.

Example
// 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
TaskLiveSession

A Task containing the RPC response.

Example
// 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 projects/{project_number}/locations/{location}/liveSessions/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskLiveSession

A Task containing the RPC response.

Example
// 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 projects/{project_number}/locations/{location}/liveSessions/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskLiveSession

A Task containing the RPC response.

Example
// 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 projects/{project_number}/locations/{location}/liveSessions/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskLiveSession

A Task containing the RPC response.

Example
// 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 projects/{project_number}/locations/{location}/liveSessions/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskLiveSession

A Task containing the RPC response.

Example
// 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.

Example
// 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 projects/{project_number}/locations/{location}/slates/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Slate

The RPC response.

Example
// 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 projects/{project_number}/locations/{location}/slates/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Slate

The RPC response.

Example
// 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
TaskSlate

A Task containing the RPC response.

Example
// 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
TaskSlate

A Task containing the RPC response.

Example
// 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 projects/{project_number}/locations/{location}/slates/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSlate

A Task containing the RPC response.

Example
// 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 projects/{project_number}/locations/{location}/slates/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskSlate

A Task containing the RPC response.

Example
// 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 projects/{project_number}/locations/{location}/slates/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSlate

A Task containing the RPC response.

Example
// 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 projects/{project_number}/locations/{location}/slates/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskSlate

A Task containing the RPC response.

Example
// 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.

Example
// 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 projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodAdTagDetails/{vod_ad_tag_detail}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
VodAdTagDetail

The RPC response.

Example
// 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 projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodAdTagDetails/{vod_ad_tag_detail}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
VodAdTagDetail

The RPC response.

Example
// 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
TaskVodAdTagDetail

A Task containing the RPC response.

Example
// 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
TaskVodAdTagDetail

A Task containing the RPC response.

Example
// 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 projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodAdTagDetails/{vod_ad_tag_detail}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskVodAdTagDetail

A Task containing the RPC response.

Example
// 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 projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodAdTagDetails/{vod_ad_tag_detail}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskVodAdTagDetail

A Task containing the RPC response.

Example
// 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 projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodAdTagDetails/{vod_ad_tag_detail}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskVodAdTagDetail

A Task containing the RPC response.

Example
// 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 projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodAdTagDetails/{vod_ad_tag_detail}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskVodAdTagDetail

A Task containing the RPC response.

Example
// 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.

Example
// 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 projects/{project_number}/locations/{location}/vodSessions/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
VodSession

The RPC response.

Example
// 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 projects/{project_number}/locations/{location}/vodSessions/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
VodSession

The RPC response.

Example
// 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
TaskVodSession

A Task containing the RPC response.

Example
// 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
TaskVodSession

A Task containing the RPC response.

Example
// 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 projects/{project_number}/locations/{location}/vodSessions/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskVodSession

A Task containing the RPC response.

Example
// 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 projects/{project_number}/locations/{location}/vodSessions/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskVodSession

A Task containing the RPC response.

Example
// 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 projects/{project_number}/locations/{location}/vodSessions/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskVodSession

A Task containing the RPC response.

Example
// 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 projects/{project_number}/locations/{location}/vodSessions/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskVodSession

A Task containing the RPC response.

Example
// 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.

Example
// 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 projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
VodStitchDetail

The RPC response.

Example
// 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 projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
VodStitchDetail

The RPC response.

Example
// 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
TaskVodStitchDetail

A Task containing the RPC response.

Example
// 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
TaskVodStitchDetail

A Task containing the RPC response.

Example
// 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 projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskVodStitchDetail

A Task containing the RPC response.

Example
// 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 projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskVodStitchDetail

A Task containing the RPC response.

Example
// 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 projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskVodStitchDetail

A Task containing the RPC response.

Example
// 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 projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskVodStitchDetail

A Task containing the RPC response.

Example
// 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, int?, 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 projects/{project_number}/locations/{location}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListCdnKeysResponseCdnKey

A pageable sequence of CdnKey resources.

Example
// 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
PagedEnumerableListCdnKeysResponseCdnKey

A pageable sequence of CdnKey resources.

Example
// 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, int?, 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 projects/{project_number}/locations/{location}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListCdnKeysResponseCdnKey

A pageable sequence of CdnKey resources.

Example
// 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, int?, 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 projects/{project_number}/locations/{location}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListCdnKeysResponseCdnKey

A pageable asynchronous sequence of CdnKey resources.

Example
// 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
PagedAsyncEnumerableListCdnKeysResponseCdnKey

A pageable asynchronous sequence of CdnKey resources.

Example
// 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, int?, 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 projects/{project_number}/locations/{location}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListCdnKeysResponseCdnKey

A pageable asynchronous sequence of CdnKey resources.

Example
// 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
PagedEnumerableListLiveAdTagDetailsResponseLiveAdTagDetail

A pageable sequence of LiveAdTagDetail resources.

Example
// 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, int?, 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 projects/{project}/locations/{location}/liveSessions/{live_session}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListLiveAdTagDetailsResponseLiveAdTagDetail

A pageable sequence of LiveAdTagDetail resources.

Example
// 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, int?, 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 projects/{project}/locations/{location}/liveSessions/{live_session}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListLiveAdTagDetailsResponseLiveAdTagDetail

A pageable sequence of LiveAdTagDetail resources.

Example
// 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
PagedAsyncEnumerableListLiveAdTagDetailsResponseLiveAdTagDetail

A pageable asynchronous sequence of LiveAdTagDetail resources.

Example
// 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, int?, 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 projects/{project}/locations/{location}/liveSessions/{live_session}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListLiveAdTagDetailsResponseLiveAdTagDetail

A pageable asynchronous sequence of LiveAdTagDetail resources.

Example
// 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, int?, 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 projects/{project}/locations/{location}/liveSessions/{live_session}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListLiveAdTagDetailsResponseLiveAdTagDetail

A pageable asynchronous sequence of LiveAdTagDetail resources.

Example
// 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;

ListLiveConfigs(LocationName, string, int?, CallSettings)

public virtual PagedEnumerable<ListLiveConfigsResponse, LiveConfig> ListLiveConfigs(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all live configs managed by the Video Stitcher that belong to the specified project and region.

Parameters
Name Description
parent LocationName

Required. The project that contains the list of live configs, in the form of projects/{project_number}/locations/{location}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListLiveConfigsResponseLiveConfig

A pageable sequence of LiveConfig resources.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListLiveConfigsResponse, LiveConfig> response = videoStitcherServiceClient.ListLiveConfigs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (LiveConfig 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 (ListLiveConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (LiveConfig 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<LiveConfig> 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 (LiveConfig 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;

ListLiveConfigs(ListLiveConfigsRequest, CallSettings)

public virtual PagedEnumerable<ListLiveConfigsResponse, LiveConfig> ListLiveConfigs(ListLiveConfigsRequest request, CallSettings callSettings = null)

Lists all live configs managed by the Video Stitcher that belong to the specified project and region.

Parameters
Name Description
request ListLiveConfigsRequest

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
PagedEnumerableListLiveConfigsResponseLiveConfig

A pageable sequence of LiveConfig resources.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
ListLiveConfigsRequest request = new ListLiveConfigsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedEnumerable<ListLiveConfigsResponse, LiveConfig> response = videoStitcherServiceClient.ListLiveConfigs(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (LiveConfig 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 (ListLiveConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (LiveConfig 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<LiveConfig> 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 (LiveConfig 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;

ListLiveConfigs(string, string, int?, CallSettings)

public virtual PagedEnumerable<ListLiveConfigsResponse, LiveConfig> ListLiveConfigs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all live configs managed by the Video Stitcher that belong to the specified project and region.

Parameters
Name Description
parent string

Required. The project that contains the list of live configs, in the form of projects/{project_number}/locations/{location}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListLiveConfigsResponseLiveConfig

A pageable sequence of LiveConfig resources.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListLiveConfigsResponse, LiveConfig> response = videoStitcherServiceClient.ListLiveConfigs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (LiveConfig 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 (ListLiveConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (LiveConfig 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<LiveConfig> 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 (LiveConfig 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;

ListLiveConfigsAsync(LocationName, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListLiveConfigsResponse, LiveConfig> ListLiveConfigsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all live configs managed by the Video Stitcher that belong to the specified project and region.

Parameters
Name Description
parent LocationName

Required. The project that contains the list of live configs, in the form of projects/{project_number}/locations/{location}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListLiveConfigsResponseLiveConfig

A pageable asynchronous sequence of LiveConfig resources.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListLiveConfigsResponse, LiveConfig> response = videoStitcherServiceClient.ListLiveConfigsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LiveConfig 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((ListLiveConfigsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (LiveConfig 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<LiveConfig> 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 (LiveConfig 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;

ListLiveConfigsAsync(ListLiveConfigsRequest, CallSettings)

public virtual PagedAsyncEnumerable<ListLiveConfigsResponse, LiveConfig> ListLiveConfigsAsync(ListLiveConfigsRequest request, CallSettings callSettings = null)

Lists all live configs managed by the Video Stitcher that belong to the specified project and region.

Parameters
Name Description
request ListLiveConfigsRequest

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
PagedAsyncEnumerableListLiveConfigsResponseLiveConfig

A pageable asynchronous sequence of LiveConfig resources.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
ListLiveConfigsRequest request = new ListLiveConfigsRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
    OrderBy = "",
};
// Make the request
PagedAsyncEnumerable<ListLiveConfigsResponse, LiveConfig> response = videoStitcherServiceClient.ListLiveConfigsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LiveConfig 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((ListLiveConfigsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (LiveConfig 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<LiveConfig> 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 (LiveConfig 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;

ListLiveConfigsAsync(string, string, int?, CallSettings)

public virtual PagedAsyncEnumerable<ListLiveConfigsResponse, LiveConfig> ListLiveConfigsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists all live configs managed by the Video Stitcher that belong to the specified project and region.

Parameters
Name Description
parent string

Required. The project that contains the list of live configs, in the form of projects/{project_number}/locations/{location}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListLiveConfigsResponseLiveConfig

A pageable asynchronous sequence of LiveConfig resources.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListLiveConfigsResponse, LiveConfig> response = videoStitcherServiceClient.ListLiveConfigsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((LiveConfig 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((ListLiveConfigsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (LiveConfig 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<LiveConfig> 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 (LiveConfig 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, int?, 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 projects/{project_number}/locations/{location}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListSlatesResponseSlate

A pageable sequence of Slate resources.

Example
// 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
PagedEnumerableListSlatesResponseSlate

A pageable sequence of Slate resources.

Example
// 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, int?, 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 projects/{project_number}/locations/{location}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListSlatesResponseSlate

A pageable sequence of Slate resources.

Example
// 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, int?, 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 projects/{project_number}/locations/{location}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListSlatesResponseSlate

A pageable asynchronous sequence of Slate resources.

Example
// 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
PagedAsyncEnumerableListSlatesResponseSlate

A pageable asynchronous sequence of Slate resources.

Example
// 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, int?, 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 projects/{project_number}/locations/{location}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListSlatesResponseSlate

A pageable asynchronous sequence of Slate resources.

Example
// 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
PagedEnumerableListVodAdTagDetailsResponseVodAdTagDetail

A pageable sequence of VodAdTagDetail resources.

Example
// 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, int?, 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 projects/{project}/locations/{location}/vodSessions/{vod_session_id}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListVodAdTagDetailsResponseVodAdTagDetail

A pageable sequence of VodAdTagDetail resources.

Example
// 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, int?, 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 projects/{project}/locations/{location}/vodSessions/{vod_session_id}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListVodAdTagDetailsResponseVodAdTagDetail

A pageable sequence of VodAdTagDetail resources.

Example
// 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
PagedAsyncEnumerableListVodAdTagDetailsResponseVodAdTagDetail

A pageable asynchronous sequence of VodAdTagDetail resources.

Example
// 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, int?, 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 projects/{project}/locations/{location}/vodSessions/{vod_session_id}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListVodAdTagDetailsResponseVodAdTagDetail

A pageable asynchronous sequence of VodAdTagDetail resources.

Example
// 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, int?, 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 projects/{project}/locations/{location}/vodSessions/{vod_session_id}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListVodAdTagDetailsResponseVodAdTagDetail

A pageable asynchronous sequence of VodAdTagDetail resources.

Example
// 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
PagedEnumerableListVodStitchDetailsResponseVodStitchDetail

A pageable sequence of VodStitchDetail resources.

Example
// 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, int?, 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 projects/{project}/locations/{location}/vodSessions/{id}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListVodStitchDetailsResponseVodStitchDetail

A pageable sequence of VodStitchDetail resources.

Example
// 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, int?, 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 projects/{project}/locations/{location}/vodSessions/{id}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListVodStitchDetailsResponseVodStitchDetail

A pageable sequence of VodStitchDetail resources.

Example
// 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
PagedAsyncEnumerableListVodStitchDetailsResponseVodStitchDetail

A pageable asynchronous sequence of VodStitchDetail resources.

Example
// 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, int?, 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 projects/{project}/locations/{location}/vodSessions/{id}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListVodStitchDetailsResponseVodStitchDetail

A pageable asynchronous sequence of VodStitchDetail resources.

Example
// 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, int?, 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 projects/{project}/locations/{location}/vodSessions/{id}.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListVodStitchDetailsResponseVodStitchDetail

A pageable asynchronous sequence of VodStitchDetail resources.

Example
// 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;

PollOnceCreateCdnKey(string, CallSettings)

public virtual Operation<CdnKey, OperationMetadata> PollOnceCreateCdnKey(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateCdnKey.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCdnKeyOperationMetadata

The result of polling the operation.

PollOnceCreateCdnKeyAsync(string, CallSettings)

public virtual Task<Operation<CdnKey, OperationMetadata>> PollOnceCreateCdnKeyAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateCdnKey.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCdnKeyOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateLiveConfig(string, CallSettings)

public virtual Operation<LiveConfig, OperationMetadata> PollOnceCreateLiveConfig(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateLiveConfig.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationLiveConfigOperationMetadata

The result of polling the operation.

PollOnceCreateLiveConfigAsync(string, CallSettings)

public virtual Task<Operation<LiveConfig, OperationMetadata>> PollOnceCreateLiveConfigAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateLiveConfig.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationLiveConfigOperationMetadata

A task representing the result of polling the operation.

PollOnceCreateSlate(string, CallSettings)

public virtual Operation<Slate, OperationMetadata> PollOnceCreateSlate(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of CreateSlate.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationSlateOperationMetadata

The result of polling the operation.

PollOnceCreateSlateAsync(string, CallSettings)

public virtual Task<Operation<Slate, OperationMetadata>> PollOnceCreateSlateAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of CreateSlate.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationSlateOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteCdnKey(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteCdnKey(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteCdnKey.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteCdnKeyAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteCdnKeyAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteCdnKey.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteLiveConfig(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteLiveConfig(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteLiveConfig.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteLiveConfigAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteLiveConfigAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteLiveConfig.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceDeleteSlate(string, CallSettings)

public virtual Operation<Empty, OperationMetadata> PollOnceDeleteSlate(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of DeleteSlate.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The result of polling the operation.

PollOnceDeleteSlateAsync(string, CallSettings)

public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteSlateAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of DeleteSlate.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateCdnKey(string, CallSettings)

public virtual Operation<CdnKey, OperationMetadata> PollOnceUpdateCdnKey(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateCdnKey.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCdnKeyOperationMetadata

The result of polling the operation.

PollOnceUpdateCdnKeyAsync(string, CallSettings)

public virtual Task<Operation<CdnKey, OperationMetadata>> PollOnceUpdateCdnKeyAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateCdnKey.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCdnKeyOperationMetadata

A task representing the result of polling the operation.

PollOnceUpdateSlate(string, CallSettings)

public virtual Operation<Slate, OperationMetadata> PollOnceUpdateSlate(string operationName, CallSettings callSettings = null)

Poll an operation once, using an operationName from a previous invocation of UpdateSlate.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationSlateOperationMetadata

The result of polling the operation.

PollOnceUpdateSlateAsync(string, CallSettings)

public virtual Task<Operation<Slate, OperationMetadata>> PollOnceUpdateSlateAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an operationName from a previous invocation of UpdateSlate.

Parameters
Name Description
operationName string

The name of a previously invoked operation. Must not be null or empty.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationSlateOperationMetadata

A task representing the result of polling the operation.

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.

Remarks

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 Operation<CdnKey, OperationMetadata> 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 FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationCdnKeyOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
CdnKey cdnKey = new CdnKey();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CdnKey, OperationMetadata> response = videoStitcherServiceClient.UpdateCdnKey(cdnKey, updateMask);

// Poll until the returned long-running operation is complete
Operation<CdnKey, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CdnKey result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CdnKey, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceUpdateCdnKey(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CdnKey retrievedResult = retrievedResponse.Result;
}

UpdateCdnKey(UpdateCdnKeyRequest, CallSettings)

public virtual Operation<CdnKey, OperationMetadata> 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
OperationCdnKeyOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
UpdateCdnKeyRequest request = new UpdateCdnKeyRequest
{
    CdnKey = new CdnKey(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<CdnKey, OperationMetadata> response = videoStitcherServiceClient.UpdateCdnKey(request);

// Poll until the returned long-running operation is complete
Operation<CdnKey, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CdnKey result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CdnKey, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceUpdateCdnKey(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CdnKey retrievedResult = retrievedResponse.Result;
}

UpdateCdnKeyAsync(CdnKey, FieldMask, CallSettings)

public virtual Task<Operation<CdnKey, OperationMetadata>> 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 FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationCdnKeyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CdnKey cdnKey = new CdnKey();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CdnKey, OperationMetadata> response = await videoStitcherServiceClient.UpdateCdnKeyAsync(cdnKey, updateMask);

// Poll until the returned long-running operation is complete
Operation<CdnKey, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CdnKey result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CdnKey, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceUpdateCdnKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CdnKey retrievedResult = retrievedResponse.Result;
}

UpdateCdnKeyAsync(CdnKey, FieldMask, CancellationToken)

public virtual Task<Operation<CdnKey, OperationMetadata>> 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 FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskOperationCdnKeyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
CdnKey cdnKey = new CdnKey();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<CdnKey, OperationMetadata> response = await videoStitcherServiceClient.UpdateCdnKeyAsync(cdnKey, updateMask);

// Poll until the returned long-running operation is complete
Operation<CdnKey, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CdnKey result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CdnKey, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceUpdateCdnKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CdnKey retrievedResult = retrievedResponse.Result;
}

UpdateCdnKeyAsync(UpdateCdnKeyRequest, CallSettings)

public virtual Task<Operation<CdnKey, OperationMetadata>> 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
TaskOperationCdnKeyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateCdnKeyRequest request = new UpdateCdnKeyRequest
{
    CdnKey = new CdnKey(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<CdnKey, OperationMetadata> response = await videoStitcherServiceClient.UpdateCdnKeyAsync(request);

// Poll until the returned long-running operation is complete
Operation<CdnKey, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CdnKey result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CdnKey, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceUpdateCdnKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CdnKey retrievedResult = retrievedResponse.Result;
}

UpdateCdnKeyAsync(UpdateCdnKeyRequest, CancellationToken)

public virtual Task<Operation<CdnKey, OperationMetadata>> 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
TaskOperationCdnKeyOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateCdnKeyRequest request = new UpdateCdnKeyRequest
{
    CdnKey = new CdnKey(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<CdnKey, OperationMetadata> response = await videoStitcherServiceClient.UpdateCdnKeyAsync(request);

// Poll until the returned long-running operation is complete
Operation<CdnKey, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CdnKey result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CdnKey, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceUpdateCdnKeyAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    CdnKey retrievedResult = retrievedResponse.Result;
}

UpdateSlate(Slate, FieldMask, CallSettings)

public virtual Operation<Slate, OperationMetadata> 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
OperationSlateOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
Slate slate = new Slate();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Slate, OperationMetadata> response = videoStitcherServiceClient.UpdateSlate(slate, updateMask);

// Poll until the returned long-running operation is complete
Operation<Slate, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Slate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Slate, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceUpdateSlate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Slate retrievedResult = retrievedResponse.Result;
}

UpdateSlate(UpdateSlateRequest, CallSettings)

public virtual Operation<Slate, OperationMetadata> 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
OperationSlateOperationMetadata

The RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = VideoStitcherServiceClient.Create();
// Initialize request argument(s)
UpdateSlateRequest request = new UpdateSlateRequest
{
    Slate = new Slate(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<Slate, OperationMetadata> response = videoStitcherServiceClient.UpdateSlate(request);

// Poll until the returned long-running operation is complete
Operation<Slate, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Slate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Slate, OperationMetadata> retrievedResponse = videoStitcherServiceClient.PollOnceUpdateSlate(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Slate retrievedResult = retrievedResponse.Result;
}

UpdateSlateAsync(Slate, FieldMask, CallSettings)

public virtual Task<Operation<Slate, OperationMetadata>> 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
TaskOperationSlateOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
Slate slate = new Slate();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Slate, OperationMetadata> response = await videoStitcherServiceClient.UpdateSlateAsync(slate, updateMask);

// Poll until the returned long-running operation is complete
Operation<Slate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Slate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Slate, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceUpdateSlateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Slate retrievedResult = retrievedResponse.Result;
}

UpdateSlateAsync(Slate, FieldMask, CancellationToken)

public virtual Task<Operation<Slate, OperationMetadata>> 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
TaskOperationSlateOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
Slate slate = new Slate();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<Slate, OperationMetadata> response = await videoStitcherServiceClient.UpdateSlateAsync(slate, updateMask);

// Poll until the returned long-running operation is complete
Operation<Slate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Slate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Slate, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceUpdateSlateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Slate retrievedResult = retrievedResponse.Result;
}

UpdateSlateAsync(UpdateSlateRequest, CallSettings)

public virtual Task<Operation<Slate, OperationMetadata>> 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
TaskOperationSlateOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateSlateRequest request = new UpdateSlateRequest
{
    Slate = new Slate(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<Slate, OperationMetadata> response = await videoStitcherServiceClient.UpdateSlateAsync(request);

// Poll until the returned long-running operation is complete
Operation<Slate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Slate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Slate, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceUpdateSlateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Slate retrievedResult = retrievedResponse.Result;
}

UpdateSlateAsync(UpdateSlateRequest, CancellationToken)

public virtual Task<Operation<Slate, OperationMetadata>> 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
TaskOperationSlateOperationMetadata

A Task containing the RPC response.

Example
// Create client
VideoStitcherServiceClient videoStitcherServiceClient = await VideoStitcherServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateSlateRequest request = new UpdateSlateRequest
{
    Slate = new Slate(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<Slate, OperationMetadata> response = await videoStitcherServiceClient.UpdateSlateAsync(request);

// Poll until the returned long-running operation is complete
Operation<Slate, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Slate result = completedResponse.Result;

// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Slate, OperationMetadata> retrievedResponse = await videoStitcherServiceClient.PollOnceUpdateSlateAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Slate retrievedResult = retrievedResponse.Result;
}