@@ -4476,6 +4476,20 @@ export declare interface VideoGenerationMask {
44764476 maskMode ?: VideoGenerationMaskMode ;
44774477}
44784478
4479+ /** Configuration for webhook notifications.
4480+
4481+ Used to configure webhook endpoints that will receive notifications
4482+ when long-running operations (e.g., batch jobs, video generation) complete. */
4483+ export declare interface WebhookConfig {
4484+ /** The webhook URIs to receive notifications. If set, these
4485+ webhook URIs will be used instead of the registered webhooks. */
4486+ uris ?: string [ ] ;
4487+ /** User metadata that will be included in each webhook event
4488+ notification. Use this to attach custom key-value data to correlate
4489+ webhook events with your internal systems. */
4490+ userMetadata ?: Record < string , unknown > ;
4491+ }
4492+
44794493/** Configuration for generating videos. */
44804494export declare interface GenerateVideosConfig {
44814495 /** Used to override HTTP request options. */
@@ -4534,6 +4548,9 @@ export declare interface GenerateVideosConfig {
45344548 compressionQuality ?: VideoCompressionQuality ;
45354549 /** User specified labels to track billing usage. */
45364550 labels ?: Record < string , string > ;
4551+ /** Webhook configuration for receiving notifications when the
4552+ video generation operation completes. */
4553+ webhookConfig ?: WebhookConfig ;
45374554}
45384555
45394556/** Class that represents the parameters for generating videos. */
@@ -6248,6 +6265,10 @@ export declare interface CreateBatchJobConfig {
62486265 "gs://path/to/output/data" or "bq://projectId.bqDatasetId.bqTableId".
62496266 */
62506267 dest ?: BatchJobDestinationUnion ;
6268+ /** Webhook configuration for receiving notifications when the batch
6269+ operation completes.
6270+ */
6271+ webhookConfig ?: WebhookConfig ;
62516272}
62526273
62536274/** Config for batches.create parameters. */
0 commit comments