@google-cloud/video-stitcher
Version:
697 lines • 135 kB
TypeScript
import type * as gax from 'google-gax';
import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, PaginationCallback } from 'google-gax';
import { Transform } from 'stream';
import * as protos from '../../protos/protos';
/**
* 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.
* @class
* @memberof v1
*/
export declare class VideoStitcherServiceClient {
private _terminated;
private _opts;
private _providedCustomServicePath;
private _gaxModule;
private _gaxGrpc;
private _protos;
private _defaults;
private _universeDomain;
private _servicePath;
private _log;
auth: gax.GoogleAuth;
descriptors: Descriptors;
warn: (code: string, message: string, warnType?: string) => void;
innerApiCalls: {
[name: string]: Function;
};
pathTemplates: {
[name: string]: gax.PathTemplate;
};
operationsClient: gax.OperationsClient;
videoStitcherServiceStub?: Promise<{
[name: string]: Function;
}>;
/**
* Construct an instance of VideoStitcherServiceClient.
*
* @param {object} [options] - The configuration object.
* The options accepted by the constructor are described in detail
* in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
* The common options are:
* @param {object} [options.credentials] - Credentials object.
* @param {string} [options.credentials.client_email]
* @param {string} [options.credentials.private_key]
* @param {string} [options.email] - Account email address. Required when
* using a .pem or .p12 keyFilename.
* @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
* .p12 key downloaded from the Google Developers Console. If you provide
* a path to a JSON file, the projectId option below is not necessary.
* NOTE: .pem and .p12 require you to specify options.email as well.
* @param {number} [options.port] - The port on which to connect to
* the remote host.
* @param {string} [options.projectId] - The project ID from the Google
* Developer's Console, e.g. 'grape-spaceship-123'. We will also check
* the environment variable GCLOUD_PROJECT for your project ID. If your
* app is running in an environment which supports
* {@link https://cloud.google.com/docs/authentication/application-default-credentials Application Default Credentials},
* your project ID will be detected automatically.
* @param {string} [options.apiEndpoint] - The domain name of the
* API remote host.
* @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
* Follows the structure of {@link gapicConfig}.
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
* For more information, please check the
* {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
* @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
* need to avoid loading the default gRPC version and want to use the fallback
* HTTP implementation. Load only fallback version and pass it to the constructor:
* ```
* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
* const client = new VideoStitcherServiceClient({fallback: true}, gax);
* ```
*/
constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
/**
* Initialize the client.
* Performs asynchronous operations (such as authentication) and prepares the client.
* This function will be called automatically when any class method is called for the
* first time, but if you need to initialize it before calling an actual method,
* feel free to call initialize() directly.
*
* You can await on this method if you want to make sure the client is initialized.
*
* @returns {Promise} A promise that resolves to an authenticated service stub.
*/
initialize(): Promise<{
[name: string]: Function;
}>;
/**
* The DNS address for this API service.
* @deprecated Use the apiEndpoint method of the client instance.
* @returns {string} The DNS address for this service.
*/
static get servicePath(): string;
/**
* The DNS address for this API service - same as servicePath.
* @deprecated Use the apiEndpoint method of the client instance.
* @returns {string} The DNS address for this service.
*/
static get apiEndpoint(): string;
/**
* The DNS address for this API service.
* @returns {string} The DNS address for this service.
*/
get apiEndpoint(): string;
get universeDomain(): string;
/**
* The port for this API service.
* @returns {number} The default port for this service.
*/
static get port(): number;
/**
* The scopes needed to make gRPC calls for every method defined
* in this service.
* @returns {string[]} List of default scopes.
*/
static get scopes(): string[];
getProjectId(): Promise<string>;
getProjectId(callback: Callback<string, undefined, undefined>): void;
/**
* Returns the specified CDN key.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* Required. The name of the CDN key to be retrieved, in the form of
* `projects/{project}/locations/{location}/cdnKeys/{id}`.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link protos.google.cloud.video.stitcher.v1.CdnKey|CdnKey}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.get_cdn_key.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_GetCdnKey_async
*/
getCdnKey(request?: protos.google.cloud.video.stitcher.v1.IGetCdnKeyRequest, options?: CallOptions): Promise<[
protos.google.cloud.video.stitcher.v1.ICdnKey,
protos.google.cloud.video.stitcher.v1.IGetCdnKeyRequest | undefined,
{} | undefined
]>;
getCdnKey(request: protos.google.cloud.video.stitcher.v1.IGetCdnKeyRequest, options: CallOptions, callback: Callback<protos.google.cloud.video.stitcher.v1.ICdnKey, protos.google.cloud.video.stitcher.v1.IGetCdnKeyRequest | null | undefined, {} | null | undefined>): void;
getCdnKey(request: protos.google.cloud.video.stitcher.v1.IGetCdnKeyRequest, callback: Callback<protos.google.cloud.video.stitcher.v1.ICdnKey, protos.google.cloud.video.stitcher.v1.IGetCdnKeyRequest | null | undefined, {} | null | undefined>): void;
/**
* Creates a client side playback VOD session and returns the full
* tracking and playback metadata of the session.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.parent
* Required. The project and location in which the VOD session should be
* created, in the form of `projects/{project_number}/locations/{location}`.
* @param {google.cloud.video.stitcher.v1.VodSession} request.vodSession
* Required. Parameters for creating a session.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link protos.google.cloud.video.stitcher.v1.VodSession|VodSession}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.create_vod_session.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_CreateVodSession_async
*/
createVodSession(request?: protos.google.cloud.video.stitcher.v1.ICreateVodSessionRequest, options?: CallOptions): Promise<[
protos.google.cloud.video.stitcher.v1.IVodSession,
protos.google.cloud.video.stitcher.v1.ICreateVodSessionRequest | undefined,
{} | undefined
]>;
createVodSession(request: protos.google.cloud.video.stitcher.v1.ICreateVodSessionRequest, options: CallOptions, callback: Callback<protos.google.cloud.video.stitcher.v1.IVodSession, protos.google.cloud.video.stitcher.v1.ICreateVodSessionRequest | null | undefined, {} | null | undefined>): void;
createVodSession(request: protos.google.cloud.video.stitcher.v1.ICreateVodSessionRequest, callback: Callback<protos.google.cloud.video.stitcher.v1.IVodSession, protos.google.cloud.video.stitcher.v1.ICreateVodSessionRequest | null | undefined, {} | null | undefined>): void;
/**
* Returns the full tracking, playback metadata, and relevant ad-ops
* logs for the specified VOD session.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* Required. The name of the VOD session to be retrieved, in the form of
* `projects/{project_number}/locations/{location}/vodSessions/{id}`.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link protos.google.cloud.video.stitcher.v1.VodSession|VodSession}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.get_vod_session.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_GetVodSession_async
*/
getVodSession(request?: protos.google.cloud.video.stitcher.v1.IGetVodSessionRequest, options?: CallOptions): Promise<[
protos.google.cloud.video.stitcher.v1.IVodSession,
protos.google.cloud.video.stitcher.v1.IGetVodSessionRequest | undefined,
{} | undefined
]>;
getVodSession(request: protos.google.cloud.video.stitcher.v1.IGetVodSessionRequest, options: CallOptions, callback: Callback<protos.google.cloud.video.stitcher.v1.IVodSession, protos.google.cloud.video.stitcher.v1.IGetVodSessionRequest | null | undefined, {} | null | undefined>): void;
getVodSession(request: protos.google.cloud.video.stitcher.v1.IGetVodSessionRequest, callback: Callback<protos.google.cloud.video.stitcher.v1.IVodSession, protos.google.cloud.video.stitcher.v1.IGetVodSessionRequest | null | undefined, {} | null | undefined>): void;
/**
* Returns the specified stitching information for the specified VOD session.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* 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}`.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link protos.google.cloud.video.stitcher.v1.VodStitchDetail|VodStitchDetail}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.get_vod_stitch_detail.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_GetVodStitchDetail_async
*/
getVodStitchDetail(request?: protos.google.cloud.video.stitcher.v1.IGetVodStitchDetailRequest, options?: CallOptions): Promise<[
protos.google.cloud.video.stitcher.v1.IVodStitchDetail,
protos.google.cloud.video.stitcher.v1.IGetVodStitchDetailRequest | undefined,
{} | undefined
]>;
getVodStitchDetail(request: protos.google.cloud.video.stitcher.v1.IGetVodStitchDetailRequest, options: CallOptions, callback: Callback<protos.google.cloud.video.stitcher.v1.IVodStitchDetail, protos.google.cloud.video.stitcher.v1.IGetVodStitchDetailRequest | null | undefined, {} | null | undefined>): void;
getVodStitchDetail(request: protos.google.cloud.video.stitcher.v1.IGetVodStitchDetailRequest, callback: Callback<protos.google.cloud.video.stitcher.v1.IVodStitchDetail, protos.google.cloud.video.stitcher.v1.IGetVodStitchDetailRequest | null | undefined, {} | null | undefined>): void;
/**
* Returns the specified ad tag detail for the specified VOD session.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* 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}`.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link protos.google.cloud.video.stitcher.v1.VodAdTagDetail|VodAdTagDetail}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.get_vod_ad_tag_detail.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_GetVodAdTagDetail_async
*/
getVodAdTagDetail(request?: protos.google.cloud.video.stitcher.v1.IGetVodAdTagDetailRequest, options?: CallOptions): Promise<[
protos.google.cloud.video.stitcher.v1.IVodAdTagDetail,
protos.google.cloud.video.stitcher.v1.IGetVodAdTagDetailRequest | undefined,
{} | undefined
]>;
getVodAdTagDetail(request: protos.google.cloud.video.stitcher.v1.IGetVodAdTagDetailRequest, options: CallOptions, callback: Callback<protos.google.cloud.video.stitcher.v1.IVodAdTagDetail, protos.google.cloud.video.stitcher.v1.IGetVodAdTagDetailRequest | null | undefined, {} | null | undefined>): void;
getVodAdTagDetail(request: protos.google.cloud.video.stitcher.v1.IGetVodAdTagDetailRequest, callback: Callback<protos.google.cloud.video.stitcher.v1.IVodAdTagDetail, protos.google.cloud.video.stitcher.v1.IGetVodAdTagDetailRequest | null | undefined, {} | null | undefined>): void;
/**
* Returns the specified ad tag detail for the specified live session.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* Required. The resource name in the form of
* `projects/{project}/locations/{location}/liveSessions/{live_session}/liveAdTagDetails/{live_ad_tag_detail}`.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link protos.google.cloud.video.stitcher.v1.LiveAdTagDetail|LiveAdTagDetail}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.get_live_ad_tag_detail.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_GetLiveAdTagDetail_async
*/
getLiveAdTagDetail(request?: protos.google.cloud.video.stitcher.v1.IGetLiveAdTagDetailRequest, options?: CallOptions): Promise<[
protos.google.cloud.video.stitcher.v1.ILiveAdTagDetail,
protos.google.cloud.video.stitcher.v1.IGetLiveAdTagDetailRequest | undefined,
{} | undefined
]>;
getLiveAdTagDetail(request: protos.google.cloud.video.stitcher.v1.IGetLiveAdTagDetailRequest, options: CallOptions, callback: Callback<protos.google.cloud.video.stitcher.v1.ILiveAdTagDetail, protos.google.cloud.video.stitcher.v1.IGetLiveAdTagDetailRequest | null | undefined, {} | null | undefined>): void;
getLiveAdTagDetail(request: protos.google.cloud.video.stitcher.v1.IGetLiveAdTagDetailRequest, callback: Callback<protos.google.cloud.video.stitcher.v1.ILiveAdTagDetail, protos.google.cloud.video.stitcher.v1.IGetLiveAdTagDetailRequest | null | undefined, {} | null | undefined>): void;
/**
* Returns the specified slate.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* Required. The name of the slate to be retrieved, of the slate, in the form
* of `projects/{project_number}/locations/{location}/slates/{id}`.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link protos.google.cloud.video.stitcher.v1.Slate|Slate}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.get_slate.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_GetSlate_async
*/
getSlate(request?: protos.google.cloud.video.stitcher.v1.IGetSlateRequest, options?: CallOptions): Promise<[
protos.google.cloud.video.stitcher.v1.ISlate,
protos.google.cloud.video.stitcher.v1.IGetSlateRequest | undefined,
{} | undefined
]>;
getSlate(request: protos.google.cloud.video.stitcher.v1.IGetSlateRequest, options: CallOptions, callback: Callback<protos.google.cloud.video.stitcher.v1.ISlate, protos.google.cloud.video.stitcher.v1.IGetSlateRequest | null | undefined, {} | null | undefined>): void;
getSlate(request: protos.google.cloud.video.stitcher.v1.IGetSlateRequest, callback: Callback<protos.google.cloud.video.stitcher.v1.ISlate, protos.google.cloud.video.stitcher.v1.IGetSlateRequest | null | undefined, {} | null | undefined>): void;
/**
* Creates a new live session.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.parent
* Required. The project and location in which the live session should be
* created, in the form of `projects/{project_number}/locations/{location}`.
* @param {google.cloud.video.stitcher.v1.LiveSession} request.liveSession
* Required. Parameters for creating a live session.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link protos.google.cloud.video.stitcher.v1.LiveSession|LiveSession}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.create_live_session.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_CreateLiveSession_async
*/
createLiveSession(request?: protos.google.cloud.video.stitcher.v1.ICreateLiveSessionRequest, options?: CallOptions): Promise<[
protos.google.cloud.video.stitcher.v1.ILiveSession,
protos.google.cloud.video.stitcher.v1.ICreateLiveSessionRequest | undefined,
{} | undefined
]>;
createLiveSession(request: protos.google.cloud.video.stitcher.v1.ICreateLiveSessionRequest, options: CallOptions, callback: Callback<protos.google.cloud.video.stitcher.v1.ILiveSession, protos.google.cloud.video.stitcher.v1.ICreateLiveSessionRequest | null | undefined, {} | null | undefined>): void;
createLiveSession(request: protos.google.cloud.video.stitcher.v1.ICreateLiveSessionRequest, callback: Callback<protos.google.cloud.video.stitcher.v1.ILiveSession, protos.google.cloud.video.stitcher.v1.ICreateLiveSessionRequest | null | undefined, {} | null | undefined>): void;
/**
* Returns the details for the specified live session.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* Required. The name of the live session, in the form of
* `projects/{project_number}/locations/{location}/liveSessions/{id}`.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link protos.google.cloud.video.stitcher.v1.LiveSession|LiveSession}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.get_live_session.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_GetLiveSession_async
*/
getLiveSession(request?: protos.google.cloud.video.stitcher.v1.IGetLiveSessionRequest, options?: CallOptions): Promise<[
protos.google.cloud.video.stitcher.v1.ILiveSession,
protos.google.cloud.video.stitcher.v1.IGetLiveSessionRequest | undefined,
{} | undefined
]>;
getLiveSession(request: protos.google.cloud.video.stitcher.v1.IGetLiveSessionRequest, options: CallOptions, callback: Callback<protos.google.cloud.video.stitcher.v1.ILiveSession, protos.google.cloud.video.stitcher.v1.IGetLiveSessionRequest | null | undefined, {} | null | undefined>): void;
getLiveSession(request: protos.google.cloud.video.stitcher.v1.IGetLiveSessionRequest, callback: Callback<protos.google.cloud.video.stitcher.v1.ILiveSession, protos.google.cloud.video.stitcher.v1.IGetLiveSessionRequest | null | undefined, {} | null | undefined>): void;
/**
* Returns the specified live config managed by the Video
* Stitcher service.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* Required. The name of the live config to be retrieved, in the form
* of
* `projects/{project_number}/locations/{location}/liveConfigs/{id}`.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link protos.google.cloud.video.stitcher.v1.LiveConfig|LiveConfig}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.get_live_config.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_GetLiveConfig_async
*/
getLiveConfig(request?: protos.google.cloud.video.stitcher.v1.IGetLiveConfigRequest, options?: CallOptions): Promise<[
protos.google.cloud.video.stitcher.v1.ILiveConfig,
protos.google.cloud.video.stitcher.v1.IGetLiveConfigRequest | undefined,
{} | undefined
]>;
getLiveConfig(request: protos.google.cloud.video.stitcher.v1.IGetLiveConfigRequest, options: CallOptions, callback: Callback<protos.google.cloud.video.stitcher.v1.ILiveConfig, protos.google.cloud.video.stitcher.v1.IGetLiveConfigRequest | null | undefined, {} | null | undefined>): void;
getLiveConfig(request: protos.google.cloud.video.stitcher.v1.IGetLiveConfigRequest, callback: Callback<protos.google.cloud.video.stitcher.v1.ILiveConfig, protos.google.cloud.video.stitcher.v1.IGetLiveConfigRequest | null | undefined, {} | null | undefined>): void;
/**
* Returns the specified VOD config managed by the Video
* Stitcher API service.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* Required. The name of the VOD config to be retrieved, in the form
* of `projects/{project_number}/locations/{location}/vodConfigs/{id}`.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link protos.google.cloud.video.stitcher.v1.VodConfig|VodConfig}.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.get_vod_config.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_GetVodConfig_async
*/
getVodConfig(request?: protos.google.cloud.video.stitcher.v1.IGetVodConfigRequest, options?: CallOptions): Promise<[
protos.google.cloud.video.stitcher.v1.IVodConfig,
protos.google.cloud.video.stitcher.v1.IGetVodConfigRequest | undefined,
{} | undefined
]>;
getVodConfig(request: protos.google.cloud.video.stitcher.v1.IGetVodConfigRequest, options: CallOptions, callback: Callback<protos.google.cloud.video.stitcher.v1.IVodConfig, protos.google.cloud.video.stitcher.v1.IGetVodConfigRequest | null | undefined, {} | null | undefined>): void;
getVodConfig(request: protos.google.cloud.video.stitcher.v1.IGetVodConfigRequest, callback: Callback<protos.google.cloud.video.stitcher.v1.IVodConfig, protos.google.cloud.video.stitcher.v1.IGetVodConfigRequest | null | undefined, {} | null | undefined>): void;
/**
* Creates a new CDN key.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.parent
* Required. The project in which the CDN key should be created, in the form
* of `projects/{project_number}/locations/{location}`.
* @param {google.cloud.video.stitcher.v1.CdnKey} request.cdnKey
* Required. The CDN key resource to create.
* @param {string} request.cdnKeyId
* 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.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing
* a long running operation. Its `promise()` method returns a promise
* you can `await` for.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.create_cdn_key.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_CreateCdnKey_async
*/
createCdnKey(request?: protos.google.cloud.video.stitcher.v1.ICreateCdnKeyRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.video.stitcher.v1.ICdnKey, protos.google.cloud.video.stitcher.v1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;
createCdnKey(request: protos.google.cloud.video.stitcher.v1.ICreateCdnKeyRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.video.stitcher.v1.ICdnKey, protos.google.cloud.video.stitcher.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
createCdnKey(request: protos.google.cloud.video.stitcher.v1.ICreateCdnKeyRequest, callback: Callback<LROperation<protos.google.cloud.video.stitcher.v1.ICdnKey, protos.google.cloud.video.stitcher.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
/**
* Check the status of the long running operation returned by `createCdnKey()`.
* @param {String} name
* The operation name that will be passed.
* @returns {Promise} - The promise which resolves to an object.
* The decoded operation object has result and metadata field to get information from.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.create_cdn_key.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_CreateCdnKey_async
*/
checkCreateCdnKeyProgress(name: string): Promise<LROperation<protos.google.cloud.video.stitcher.v1.CdnKey, protos.google.cloud.video.stitcher.v1.OperationMetadata>>;
/**
* Deletes the specified CDN key.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* Required. The name of the CDN key to be deleted, in the form of
* `projects/{project_number}/locations/{location}/cdnKeys/{id}`.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing
* a long running operation. Its `promise()` method returns a promise
* you can `await` for.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.delete_cdn_key.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_DeleteCdnKey_async
*/
deleteCdnKey(request?: protos.google.cloud.video.stitcher.v1.IDeleteCdnKeyRequest, options?: CallOptions): Promise<[
LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.video.stitcher.v1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;
deleteCdnKey(request: protos.google.cloud.video.stitcher.v1.IDeleteCdnKeyRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.video.stitcher.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
deleteCdnKey(request: protos.google.cloud.video.stitcher.v1.IDeleteCdnKeyRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.video.stitcher.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
/**
* Check the status of the long running operation returned by `deleteCdnKey()`.
* @param {String} name
* The operation name that will be passed.
* @returns {Promise} - The promise which resolves to an object.
* The decoded operation object has result and metadata field to get information from.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.delete_cdn_key.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_DeleteCdnKey_async
*/
checkDeleteCdnKeyProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.video.stitcher.v1.OperationMetadata>>;
/**
* Updates the specified CDN key. Only update fields specified
* in the call method body.
*
* @param {Object} request
* The request object that will be sent.
* @param {google.cloud.video.stitcher.v1.CdnKey} request.cdnKey
* Required. The CDN key resource which replaces the resource on the server.
* @param {google.protobuf.FieldMask} request.updateMask
* Required. The update mask applies to the resource.
* For the `FieldMask` definition, see
* https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing
* a long running operation. Its `promise()` method returns a promise
* you can `await` for.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.update_cdn_key.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_UpdateCdnKey_async
*/
updateCdnKey(request?: protos.google.cloud.video.stitcher.v1.IUpdateCdnKeyRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.video.stitcher.v1.ICdnKey, protos.google.cloud.video.stitcher.v1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;
updateCdnKey(request: protos.google.cloud.video.stitcher.v1.IUpdateCdnKeyRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.video.stitcher.v1.ICdnKey, protos.google.cloud.video.stitcher.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
updateCdnKey(request: protos.google.cloud.video.stitcher.v1.IUpdateCdnKeyRequest, callback: Callback<LROperation<protos.google.cloud.video.stitcher.v1.ICdnKey, protos.google.cloud.video.stitcher.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
/**
* Check the status of the long running operation returned by `updateCdnKey()`.
* @param {String} name
* The operation name that will be passed.
* @returns {Promise} - The promise which resolves to an object.
* The decoded operation object has result and metadata field to get information from.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.update_cdn_key.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_UpdateCdnKey_async
*/
checkUpdateCdnKeyProgress(name: string): Promise<LROperation<protos.google.cloud.video.stitcher.v1.CdnKey, protos.google.cloud.video.stitcher.v1.OperationMetadata>>;
/**
* Creates a slate.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.parent
* Required. The project in which the slate should be created, in the form of
* `projects/{project_number}/locations/{location}`.
* @param {string} request.slateId
* 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.
* @param {google.cloud.video.stitcher.v1.Slate} request.slate
* Required. The slate to create.
* @param {string} request.requestId
* A request ID to identify requests. Specify a unique request ID
* so that if you must retry your request, the server will know to ignore
* the request if it has already been completed. The server will guarantee
* that for at least 60 minutes since the first request.
*
* For example, consider a situation where you make an initial request and the
* request times out. If you make the request again with the same request ID,
* the server can check if original operation with the same request ID was
* received, and if so, will ignore the second request. This prevents clients
* from accidentally creating duplicate commitments.
*
* The request ID must be a valid UUID with the exception that zero UUID is
* not supported `(00000000-0000-0000-0000-000000000000)`.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing
* a long running operation. Its `promise()` method returns a promise
* you can `await` for.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.create_slate.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_CreateSlate_async
*/
createSlate(request?: protos.google.cloud.video.stitcher.v1.ICreateSlateRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.video.stitcher.v1.ISlate, protos.google.cloud.video.stitcher.v1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;
createSlate(request: protos.google.cloud.video.stitcher.v1.ICreateSlateRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.video.stitcher.v1.ISlate, protos.google.cloud.video.stitcher.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
createSlate(request: protos.google.cloud.video.stitcher.v1.ICreateSlateRequest, callback: Callback<LROperation<protos.google.cloud.video.stitcher.v1.ISlate, protos.google.cloud.video.stitcher.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
/**
* Check the status of the long running operation returned by `createSlate()`.
* @param {String} name
* The operation name that will be passed.
* @returns {Promise} - The promise which resolves to an object.
* The decoded operation object has result and metadata field to get information from.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.create_slate.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_CreateSlate_async
*/
checkCreateSlateProgress(name: string): Promise<LROperation<protos.google.cloud.video.stitcher.v1.Slate, protos.google.cloud.video.stitcher.v1.OperationMetadata>>;
/**
* Updates the specified slate.
*
* @param {Object} request
* The request object that will be sent.
* @param {google.cloud.video.stitcher.v1.Slate} request.slate
* Required. The resource with updated fields.
* @param {google.protobuf.FieldMask} request.updateMask
* Required. The update mask which specifies fields which should be updated.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing
* a long running operation. Its `promise()` method returns a promise
* you can `await` for.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.update_slate.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_UpdateSlate_async
*/
updateSlate(request?: protos.google.cloud.video.stitcher.v1.IUpdateSlateRequest, options?: CallOptions): Promise<[
LROperation<protos.google.cloud.video.stitcher.v1.ISlate, protos.google.cloud.video.stitcher.v1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;
updateSlate(request: protos.google.cloud.video.stitcher.v1.IUpdateSlateRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.video.stitcher.v1.ISlate, protos.google.cloud.video.stitcher.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
updateSlate(request: protos.google.cloud.video.stitcher.v1.IUpdateSlateRequest, callback: Callback<LROperation<protos.google.cloud.video.stitcher.v1.ISlate, protos.google.cloud.video.stitcher.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
/**
* Check the status of the long running operation returned by `updateSlate()`.
* @param {String} name
* The operation name that will be passed.
* @returns {Promise} - The promise which resolves to an object.
* The decoded operation object has result and metadata field to get information from.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.update_slate.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_UpdateSlate_async
*/
checkUpdateSlateProgress(name: string): Promise<LROperation<protos.google.cloud.video.stitcher.v1.Slate, protos.google.cloud.video.stitcher.v1.OperationMetadata>>;
/**
* Deletes the specified slate.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* Required. The name of the slate to be deleted, in the form of
* `projects/{project_number}/locations/{location}/slates/{id}`.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing
* a long running operation. Its `promise()` method returns a promise
* you can `await` for.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.delete_slate.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_DeleteSlate_async
*/
deleteSlate(request?: protos.google.cloud.video.stitcher.v1.IDeleteSlateRequest, options?: CallOptions): Promise<[
LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.video.stitcher.v1.IOperationMetadata>,
protos.google.longrunning.IOperation | undefined,
{} | undefined
]>;
deleteSlate(request: protos.google.cloud.video.stitcher.v1.IDeleteSlateRequest, options: CallOptions, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.video.stitcher.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
deleteSlate(request: protos.google.cloud.video.stitcher.v1.IDeleteSlateRequest, callback: Callback<LROperation<protos.google.protobuf.IEmpty, protos.google.cloud.video.stitcher.v1.IOperationMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
/**
* Check the status of the long running operation returned by `deleteSlate()`.
* @param {String} name
* The operation name that will be passed.
* @returns {Promise} - The promise which resolves to an object.
* The decoded operation object has result and metadata field to get information from.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.delete_slate.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_DeleteSlate_async
*/
checkDeleteSlateProgress(name: string): Promise<LROperation<protos.google.protobuf.Empty, protos.google.cloud.video.stitcher.v1.OperationMetadata>>;
/**
* Registers the live config with the provided unique ID in
* the specified region.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.parent
* Required. The project in which the live config should be created, in
* the form of `projects/{project_number}/locations/{location}`.
* @param {string} request.liveConfigId
* Required. The unique identifier ID to use for the live config.
* @param {google.cloud.video.stitcher.v1.LiveConfig} request.liveConfig
* Required. The live config resource to create.
* @param {string} request.requestId
* A request ID to identify requests. Specify a unique request ID
* so that if you must retry your request, the server will know to ignore
* the request if it has already been completed. The server will guarantee
* that for at least 60 minutes since the first request.
*
* For example, consider a situation where you make an initial request and the
* request times out. If you make the request again with the same request ID,
* the server can check if original operation with the same request ID was
* received, and if so, will ignore the second request. This prevents clients
* from accidentally creating duplicate commitments.
*
* The request ID must be a valid UUID with the exception that zero UUID is
* not supported `(00000000-0000-0000-0000-000000000000)`.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing
* a long running operation. Its `promise()` method returns a promise
* you can `await` for.
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
* for more details and examples.
* @example <caption>include:samples/generated/v1/video_stitcher_service.create_live_config.js</caption>
* region_tag:videostitcher_v1_generated_VideoStitcherService_CreateLi