google-cloud-video-stitcher-v1 0.9.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,6 +27,9 @@ module Google
27
27
  module VideoStitcherService
28
28
  # Service that implements Longrunning Operations API.
29
29
  class Operations
30
+ # @private
31
+ API_VERSION = ""
32
+
30
33
  # @private
31
34
  DEFAULT_ENDPOINT_TEMPLATE = "videostitcher.$UNIVERSE_DOMAIN$"
32
35
 
@@ -192,10 +195,11 @@ module Google
192
195
  # Customize the options with defaults
193
196
  metadata = @config.rpcs.list_operations.metadata.to_h
194
197
 
195
- # Set x-goog-api-client and x-goog-user-project headers
198
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
196
199
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
197
200
  lib_name: @config.lib_name, lib_version: @config.lib_version,
198
201
  gapic_version: ::Google::Cloud::Video::Stitcher::V1::VERSION
202
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
199
203
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
200
204
 
201
205
  header_params = {}
@@ -288,10 +292,11 @@ module Google
288
292
  # Customize the options with defaults
289
293
  metadata = @config.rpcs.get_operation.metadata.to_h
290
294
 
291
- # Set x-goog-api-client and x-goog-user-project headers
295
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
292
296
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
293
297
  lib_name: @config.lib_name, lib_version: @config.lib_version,
294
298
  gapic_version: ::Google::Cloud::Video::Stitcher::V1::VERSION
299
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
295
300
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
296
301
 
297
302
  header_params = {}
@@ -377,10 +382,11 @@ module Google
377
382
  # Customize the options with defaults
378
383
  metadata = @config.rpcs.delete_operation.metadata.to_h
379
384
 
380
- # Set x-goog-api-client and x-goog-user-project headers
385
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
381
386
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
382
387
  lib_name: @config.lib_name, lib_version: @config.lib_version,
383
388
  gapic_version: ::Google::Cloud::Video::Stitcher::V1::VERSION
389
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
384
390
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
385
391
 
386
392
  header_params = {}
@@ -471,10 +477,11 @@ module Google
471
477
  # Customize the options with defaults
472
478
  metadata = @config.rpcs.cancel_operation.metadata.to_h
473
479
 
474
- # Set x-goog-api-client and x-goog-user-project headers
480
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
475
481
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
476
482
  lib_name: @config.lib_name, lib_version: @config.lib_version,
477
483
  gapic_version: ::Google::Cloud::Video::Stitcher::V1::VERSION
484
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
478
485
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
479
486
 
480
487
  header_params = {}
@@ -575,10 +582,11 @@ module Google
575
582
  # Customize the options with defaults
576
583
  metadata = @config.rpcs.wait_operation.metadata.to_h
577
584
 
578
- # Set x-goog-api-client and x-goog-user-project headers
585
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
579
586
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
580
587
  lib_name: @config.lib_name, lib_version: @config.lib_version,
581
588
  gapic_version: ::Google::Cloud::Video::Stitcher::V1::VERSION
589
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
582
590
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
583
591
 
584
592
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -160,6 +160,25 @@ module Google
160
160
  "projects/#{project}/locations/#{location}/vodSessions/#{vod_session}/vodAdTagDetails/#{vod_ad_tag_detail}"
161
161
  end
162
162
 
163
+ ##
164
+ # Create a fully-qualified VodConfig resource string.
165
+ #
166
+ # The resource will be in the following format:
167
+ #
168
+ # `projects/{project}/locations/{location}/vodConfigs/{vod_config}`
169
+ #
170
+ # @param project [String]
171
+ # @param location [String]
172
+ # @param vod_config [String]
173
+ #
174
+ # @return [::String]
175
+ def vod_config_path project:, location:, vod_config:
176
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
177
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
178
+
179
+ "projects/#{project}/locations/#{location}/vodConfigs/#{vod_config}"
180
+ end
181
+
163
182
  ##
164
183
  # Create a fully-qualified VodSession resource string.
165
184
  #
@@ -14,13 +14,14 @@ require 'google/cloud/video/stitcher/v1/live_configs_pb'
14
14
  require 'google/cloud/video/stitcher/v1/sessions_pb'
15
15
  require 'google/cloud/video/stitcher/v1/slates_pb'
16
16
  require 'google/cloud/video/stitcher/v1/stitch_details_pb'
17
+ require 'google/cloud/video/stitcher/v1/vod_configs_pb'
17
18
  require 'google/longrunning/operations_pb'
18
19
  require 'google/protobuf/empty_pb'
19
20
  require 'google/protobuf/field_mask_pb'
20
21
  require 'google/protobuf/timestamp_pb'
21
22
 
22
23
 
23
- descriptor_data = "\n;google/cloud/video/stitcher/v1/video_stitcher_service.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/video/stitcher/v1/ad_tag_details.proto\x1a-google/cloud/video/stitcher/v1/cdn_keys.proto\x1a\x31google/cloud/video/stitcher/v1/live_configs.proto\x1a-google/cloud/video/stitcher/v1/sessions.proto\x1a+google/cloud/video/stitcher/v1/slates.proto\x1a\x33google/cloud/video/stitcher/v1/stitch_details.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa9\x01\n\x13\x43reateCdnKeyRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#videostitcher.googleapis.com/CdnKey\x12<\n\x07\x63\x64n_key\x18\x02 \x01(\x0b\x32&.google.cloud.video.stitcher.v1.CdnKeyB\x03\xe0\x41\x02\x12\x17\n\ncdn_key_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9a\x01\n\x12ListCdnKeysRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#videostitcher.googleapis.com/CdnKey\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"}\n\x13ListCdnKeysResponse\x12\x38\n\x08\x63\x64n_keys\x18\x01 \x03(\x0b\x32&.google.cloud.video.stitcher.v1.CdnKey\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"M\n\x10GetCdnKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#videostitcher.googleapis.com/CdnKey\"P\n\x13\x44\x65leteCdnKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#videostitcher.googleapis.com/CdnKey\"\x89\x01\n\x13UpdateCdnKeyRequest\x12<\n\x07\x63\x64n_key\x18\x01 \x01(\x0b\x32&.google.cloud.video.stitcher.v1.CdnKeyB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xa0\x01\n\x17\x43reateVodSessionRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'videostitcher.googleapis.com/VodSession\x12\x44\n\x0bvod_session\x18\x02 \x01(\x0b\x32*.google.cloud.video.stitcher.v1.VodSessionB\x03\xe0\x41\x02\"U\n\x14GetVodSessionRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'videostitcher.googleapis.com/VodSession\"\x8a\x01\n\x1bListVodStitchDetailsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,videostitcher.googleapis.com/VodStitchDetail\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x84\x01\n\x1cListVodStitchDetailsResponse\x12K\n\x12vod_stitch_details\x18\x01 \x03(\x0b\x32/.google.cloud.video.stitcher.v1.VodStitchDetail\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x19GetVodStitchDetailRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,videostitcher.googleapis.com/VodStitchDetail\"\x88\x01\n\x1aListVodAdTagDetailsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+videostitcher.googleapis.com/VodAdTagDetail\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x82\x01\n\x1bListVodAdTagDetailsResponse\x12J\n\x12vod_ad_tag_details\x18\x01 \x03(\x0b\x32..google.cloud.video.stitcher.v1.VodAdTagDetail\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x18GetVodAdTagDetailRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+videostitcher.googleapis.com/VodAdTagDetail\"\x8a\x01\n\x1bListLiveAdTagDetailsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,videostitcher.googleapis.com/LiveAdTagDetail\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x85\x01\n\x1cListLiveAdTagDetailsResponse\x12L\n\x13live_ad_tag_details\x18\x01 \x03(\x0b\x32/.google.cloud.video.stitcher.v1.LiveAdTagDetail\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x19GetLiveAdTagDetailRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,videostitcher.googleapis.com/LiveAdTagDetail\"\xb6\x01\n\x12\x43reateSlateRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"videostitcher.googleapis.com/Slate\x12\x15\n\x08slate_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x05slate\x18\x03 \x01(\x0b\x32%.google.cloud.video.stitcher.v1.SlateB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"K\n\x0fGetSlateRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"videostitcher.googleapis.com/Slate\"\x98\x01\n\x11ListSlatesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"videostitcher.googleapis.com/Slate\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"y\n\x12ListSlatesResponse\x12\x35\n\x06slates\x18\x01 \x03(\x0b\x32%.google.cloud.video.stitcher.v1.Slate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x85\x01\n\x12UpdateSlateRequest\x12\x39\n\x05slate\x18\x01 \x01(\x0b\x32%.google.cloud.video.stitcher.v1.SlateB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"N\n\x12\x44\x65leteSlateRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"videostitcher.googleapis.com/Slate\"\xa4\x01\n\x18\x43reateLiveSessionRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(videostitcher.googleapis.com/LiveSession\x12\x46\n\x0clive_session\x18\x02 \x01(\x0b\x32+.google.cloud.video.stitcher.v1.LiveSessionB\x03\xe0\x41\x02\"W\n\x15GetLiveSessionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(videostitcher.googleapis.com/LiveSession\"\xd1\x01\n\x17\x43reateLiveConfigRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'videostitcher.googleapis.com/LiveConfig\x12\x1b\n\x0elive_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x0blive_config\x18\x03 \x01(\x0b\x32*.google.cloud.video.stitcher.v1.LiveConfigB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\xac\x01\n\x16ListLiveConfigsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'videostitcher.googleapis.com/LiveConfig\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x89\x01\n\x17ListLiveConfigsResponse\x12@\n\x0clive_configs\x18\x01 \x03(\x0b\x32*.google.cloud.video.stitcher.v1.LiveConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"U\n\x14GetLiveConfigRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'videostitcher.googleapis.com/LiveConfig\"X\n\x17\x44\x65leteLiveConfigRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'videostitcher.googleapis.com/LiveConfig\"\x90\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t2\xcf*\n\x14VideoStitcherService\x12\x99\x02\n\x0c\x43reateCdnKey\x12\x33.google.cloud.video.stitcher.v1.CreateCdnKeyRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\xca\x41Y\n%google.cloud.video.stitcher.v1.CdnKey\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x19parent,cdn_key,cdn_key_id\x82\xd3\xe4\x93\x02\x36\"+/v1/{parent=projects/*/locations/*}/cdnKeys:\x07\x63\x64n_key\x12\xb4\x01\n\x0bListCdnKeys\x12\x32.google.cloud.video.stitcher.v1.ListCdnKeysRequest\x1a\x33.google.cloud.video.stitcher.v1.ListCdnKeysResponse\"<\xda\x41\x06parent\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/cdnKeys\x12\xa1\x01\n\tGetCdnKey\x12\x30.google.cloud.video.stitcher.v1.GetCdnKeyRequest\x1a&.google.cloud.video.stitcher.v1.CdnKey\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/cdnKeys/*}\x12\xeb\x01\n\x0c\x44\x65leteCdnKey\x12\x33.google.cloud.video.stitcher.v1.DeleteCdnKeyRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\xca\x41I\n\x15google.protobuf.Empty\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/cdnKeys/*}\x12\x9b\x02\n\x0cUpdateCdnKey\x12\x33.google.cloud.video.stitcher.v1.UpdateCdnKeyRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\xca\x41Y\n%google.cloud.video.stitcher.v1.CdnKey\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x13\x63\x64n_key,update_mask\x82\xd3\xe4\x93\x02>23/v1/{cdn_key.name=projects/*/locations/*/cdnKeys/*}:\x07\x63\x64n_key\x12\xd2\x01\n\x10\x43reateVodSession\x12\x37.google.cloud.video.stitcher.v1.CreateVodSessionRequest\x1a*.google.cloud.video.stitcher.v1.VodSession\"Y\xda\x41\x12parent,vod_session\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/vodSessions:\x0bvod_session\x12\xb1\x01\n\rGetVodSession\x12\x34.google.cloud.video.stitcher.v1.GetVodSessionRequest\x1a*.google.cloud.video.stitcher.v1.VodSession\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/vodSessions/*}\x12\xe6\x01\n\x14ListVodStitchDetails\x12;.google.cloud.video.stitcher.v1.ListVodStitchDetailsRequest\x1a<.google.cloud.video.stitcher.v1.ListVodStitchDetailsResponse\"S\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{parent=projects/*/locations/*/vodSessions/*}/vodStitchDetails\x12\xd3\x01\n\x12GetVodStitchDetail\x12\x39.google.cloud.video.stitcher.v1.GetVodStitchDetailRequest\x1a/.google.cloud.video.stitcher.v1.VodStitchDetail\"Q\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{name=projects/*/locations/*/vodSessions/*/vodStitchDetails/*}\x12\xe2\x01\n\x13ListVodAdTagDetails\x12:.google.cloud.video.stitcher.v1.ListVodAdTagDetailsRequest\x1a;.google.cloud.video.stitcher.v1.ListVodAdTagDetailsResponse\"R\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{parent=projects/*/locations/*/vodSessions/*}/vodAdTagDetails\x12\xcf\x01\n\x11GetVodAdTagDetail\x12\x38.google.cloud.video.stitcher.v1.GetVodAdTagDetailRequest\x1a..google.cloud.video.stitcher.v1.VodAdTagDetail\"P\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/vodSessions/*/vodAdTagDetails/*}\x12\xe7\x01\n\x14ListLiveAdTagDetails\x12;.google.cloud.video.stitcher.v1.ListLiveAdTagDetailsRequest\x1a<.google.cloud.video.stitcher.v1.ListLiveAdTagDetailsResponse\"T\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{parent=projects/*/locations/*/liveSessions/*}/liveAdTagDetails\x12\xd4\x01\n\x12GetLiveAdTagDetail\x12\x39.google.cloud.video.stitcher.v1.GetLiveAdTagDetailRequest\x1a/.google.cloud.video.stitcher.v1.LiveAdTagDetail\"R\xda\x41\x04name\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{name=projects/*/locations/*/liveSessions/*/liveAdTagDetails/*}\x12\x8f\x02\n\x0b\x43reateSlate\x12\x32.google.cloud.video.stitcher.v1.CreateSlateRequest\x1a\x1d.google.longrunning.Operation\"\xac\x01\xca\x41X\n$google.cloud.video.stitcher.v1.Slate\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x15parent,slate,slate_id\x82\xd3\xe4\x93\x02\x33\"*/v1/{parent=projects/*/locations/*}/slates:\x05slate\x12\xb0\x01\n\nListSlates\x12\x31.google.cloud.video.stitcher.v1.ListSlatesRequest\x1a\x32.google.cloud.video.stitcher.v1.ListSlatesResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=projects/*/locations/*}/slates\x12\x9d\x01\n\x08GetSlate\x12/.google.cloud.video.stitcher.v1.GetSlateRequest\x1a%.google.cloud.video.stitcher.v1.Slate\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v1/{name=projects/*/locations/*/slates/*}\x12\x91\x02\n\x0bUpdateSlate\x12\x32.google.cloud.video.stitcher.v1.UpdateSlateRequest\x1a\x1d.google.longrunning.Operation\"\xae\x01\xca\x41X\n$google.cloud.video.stitcher.v1.Slate\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x11slate,update_mask\x82\xd3\xe4\x93\x02\x39\x32\x30/v1/{slate.name=projects/*/locations/*/slates/*}:\x05slate\x12\xe8\x01\n\x0b\x44\x65leteSlate\x12\x32.google.cloud.video.stitcher.v1.DeleteSlateRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41I\n\x15google.protobuf.Empty\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v1/{name=projects/*/locations/*/slates/*}\x12\xd8\x01\n\x11\x43reateLiveSession\x12\x38.google.cloud.video.stitcher.v1.CreateLiveSessionRequest\x1a+.google.cloud.video.stitcher.v1.LiveSession\"\\\xda\x41\x13parent,live_session\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/liveSessions:\x0clive_session\x12\xb5\x01\n\x0eGetLiveSession\x12\x35.google.cloud.video.stitcher.v1.GetLiveSessionRequest\x1a+.google.cloud.video.stitcher.v1.LiveSession\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/liveSessions/*}\x12\xb5\x02\n\x10\x43reateLiveConfig\x12\x37.google.cloud.video.stitcher.v1.CreateLiveConfigRequest\x1a\x1d.google.longrunning.Operation\"\xc8\x01\xca\x41]\n)google.cloud.video.stitcher.v1.LiveConfig\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41!parent,live_config,live_config_id\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/liveConfigs:\x0blive_config\x12\xc4\x01\n\x0fListLiveConfigs\x12\x36.google.cloud.video.stitcher.v1.ListLiveConfigsRequest\x1a\x37.google.cloud.video.stitcher.v1.ListLiveConfigsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/liveConfigs\x12\xb1\x01\n\rGetLiveConfig\x12\x34.google.cloud.video.stitcher.v1.GetLiveConfigRequest\x1a*.google.cloud.video.stitcher.v1.LiveConfig\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/liveConfigs/*}\x12\xf7\x01\n\x10\x44\x65leteLiveConfig\x12\x37.google.cloud.video.stitcher.v1.DeleteLiveConfigRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\xca\x41I\n\x15google.protobuf.Empty\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/liveConfigs/*}\x1aP\xca\x41\x1cvideostitcher.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x81\x01\n\"com.google.cloud.video.stitcher.v1B\x19VideoStitcherServiceProtoP\x01Z>cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpbb\x06proto3"
24
+ descriptor_data = "\n;google/cloud/video/stitcher/v1/video_stitcher_service.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/video/stitcher/v1/ad_tag_details.proto\x1a-google/cloud/video/stitcher/v1/cdn_keys.proto\x1a\x31google/cloud/video/stitcher/v1/live_configs.proto\x1a-google/cloud/video/stitcher/v1/sessions.proto\x1a+google/cloud/video/stitcher/v1/slates.proto\x1a\x33google/cloud/video/stitcher/v1/stitch_details.proto\x1a\x30google/cloud/video/stitcher/v1/vod_configs.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa9\x01\n\x13\x43reateCdnKeyRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#videostitcher.googleapis.com/CdnKey\x12<\n\x07\x63\x64n_key\x18\x02 \x01(\x0b\x32&.google.cloud.video.stitcher.v1.CdnKeyB\x03\xe0\x41\x02\x12\x17\n\ncdn_key_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9a\x01\n\x12ListCdnKeysRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#videostitcher.googleapis.com/CdnKey\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"}\n\x13ListCdnKeysResponse\x12\x38\n\x08\x63\x64n_keys\x18\x01 \x03(\x0b\x32&.google.cloud.video.stitcher.v1.CdnKey\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"M\n\x10GetCdnKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#videostitcher.googleapis.com/CdnKey\"P\n\x13\x44\x65leteCdnKeyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#videostitcher.googleapis.com/CdnKey\"\x89\x01\n\x13UpdateCdnKeyRequest\x12<\n\x07\x63\x64n_key\x18\x01 \x01(\x0b\x32&.google.cloud.video.stitcher.v1.CdnKeyB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xa0\x01\n\x17\x43reateVodSessionRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'videostitcher.googleapis.com/VodSession\x12\x44\n\x0bvod_session\x18\x02 \x01(\x0b\x32*.google.cloud.video.stitcher.v1.VodSessionB\x03\xe0\x41\x02\"U\n\x14GetVodSessionRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'videostitcher.googleapis.com/VodSession\"\x8a\x01\n\x1bListVodStitchDetailsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,videostitcher.googleapis.com/VodStitchDetail\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x84\x01\n\x1cListVodStitchDetailsResponse\x12K\n\x12vod_stitch_details\x18\x01 \x03(\x0b\x32/.google.cloud.video.stitcher.v1.VodStitchDetail\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x19GetVodStitchDetailRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,videostitcher.googleapis.com/VodStitchDetail\"\x88\x01\n\x1aListVodAdTagDetailsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+videostitcher.googleapis.com/VodAdTagDetail\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x82\x01\n\x1bListVodAdTagDetailsResponse\x12J\n\x12vod_ad_tag_details\x18\x01 \x03(\x0b\x32..google.cloud.video.stitcher.v1.VodAdTagDetail\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x18GetVodAdTagDetailRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+videostitcher.googleapis.com/VodAdTagDetail\"\x8a\x01\n\x1bListLiveAdTagDetailsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,videostitcher.googleapis.com/LiveAdTagDetail\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x85\x01\n\x1cListLiveAdTagDetailsResponse\x12L\n\x13live_ad_tag_details\x18\x01 \x03(\x0b\x32/.google.cloud.video.stitcher.v1.LiveAdTagDetail\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x19GetLiveAdTagDetailRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,videostitcher.googleapis.com/LiveAdTagDetail\"\xb6\x01\n\x12\x43reateSlateRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"videostitcher.googleapis.com/Slate\x12\x15\n\x08slate_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x05slate\x18\x03 \x01(\x0b\x32%.google.cloud.video.stitcher.v1.SlateB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"K\n\x0fGetSlateRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"videostitcher.googleapis.com/Slate\"\x98\x01\n\x11ListSlatesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"videostitcher.googleapis.com/Slate\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"y\n\x12ListSlatesResponse\x12\x35\n\x06slates\x18\x01 \x03(\x0b\x32%.google.cloud.video.stitcher.v1.Slate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x85\x01\n\x12UpdateSlateRequest\x12\x39\n\x05slate\x18\x01 \x01(\x0b\x32%.google.cloud.video.stitcher.v1.SlateB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"N\n\x12\x44\x65leteSlateRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"videostitcher.googleapis.com/Slate\"\xa4\x01\n\x18\x43reateLiveSessionRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(videostitcher.googleapis.com/LiveSession\x12\x46\n\x0clive_session\x18\x02 \x01(\x0b\x32+.google.cloud.video.stitcher.v1.LiveSessionB\x03\xe0\x41\x02\"W\n\x15GetLiveSessionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(videostitcher.googleapis.com/LiveSession\"\xd1\x01\n\x17\x43reateLiveConfigRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'videostitcher.googleapis.com/LiveConfig\x12\x1b\n\x0elive_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x0blive_config\x18\x03 \x01(\x0b\x32*.google.cloud.video.stitcher.v1.LiveConfigB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\xac\x01\n\x16ListLiveConfigsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'videostitcher.googleapis.com/LiveConfig\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x89\x01\n\x17ListLiveConfigsResponse\x12@\n\x0clive_configs\x18\x01 \x03(\x0b\x32*.google.cloud.video.stitcher.v1.LiveConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"U\n\x14GetLiveConfigRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'videostitcher.googleapis.com/LiveConfig\"X\n\x17\x44\x65leteLiveConfigRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'videostitcher.googleapis.com/LiveConfig\"\x95\x01\n\x17UpdateLiveConfigRequest\x12\x44\n\x0blive_config\x18\x01 \x01(\x0b\x32*.google.cloud.video.stitcher.v1.LiveConfigB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xd1\x01\n\x16\x43reateVodConfigRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&videostitcher.googleapis.com/VodConfig\x12\x1a\n\rvod_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\nvod_config\x18\x03 \x01(\x0b\x32).google.cloud.video.stitcher.v1.VodConfigB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb4\x01\n\x15ListVodConfigsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&videostitcher.googleapis.com/VodConfig\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x86\x01\n\x16ListVodConfigsResponse\x12>\n\x0bvod_configs\x18\x01 \x03(\x0b\x32).google.cloud.video.stitcher.v1.VodConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"S\n\x13GetVodConfigRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&videostitcher.googleapis.com/VodConfig\"V\n\x16\x44\x65leteVodConfigRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&videostitcher.googleapis.com/VodConfig\"\x92\x01\n\x16UpdateVodConfigRequest\x12\x42\n\nvod_config\x18\x01 \x01(\x0b\x32).google.cloud.video.stitcher.v1.VodConfigB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\x90\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t2\xd7\x36\n\x14VideoStitcherService\x12\x99\x02\n\x0c\x43reateCdnKey\x12\x33.google.cloud.video.stitcher.v1.CreateCdnKeyRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\xca\x41Y\n%google.cloud.video.stitcher.v1.CdnKey\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x19parent,cdn_key,cdn_key_id\x82\xd3\xe4\x93\x02\x36\"+/v1/{parent=projects/*/locations/*}/cdnKeys:\x07\x63\x64n_key\x12\xb4\x01\n\x0bListCdnKeys\x12\x32.google.cloud.video.stitcher.v1.ListCdnKeysRequest\x1a\x33.google.cloud.video.stitcher.v1.ListCdnKeysResponse\"<\xda\x41\x06parent\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/cdnKeys\x12\xa1\x01\n\tGetCdnKey\x12\x30.google.cloud.video.stitcher.v1.GetCdnKeyRequest\x1a&.google.cloud.video.stitcher.v1.CdnKey\":\xda\x41\x04name\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/cdnKeys/*}\x12\xeb\x01\n\x0c\x44\x65leteCdnKey\x12\x33.google.cloud.video.stitcher.v1.DeleteCdnKeyRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\xca\x41I\n\x15google.protobuf.Empty\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/cdnKeys/*}\x12\x9b\x02\n\x0cUpdateCdnKey\x12\x33.google.cloud.video.stitcher.v1.UpdateCdnKeyRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\xca\x41Y\n%google.cloud.video.stitcher.v1.CdnKey\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x13\x63\x64n_key,update_mask\x82\xd3\xe4\x93\x02>23/v1/{cdn_key.name=projects/*/locations/*/cdnKeys/*}:\x07\x63\x64n_key\x12\xd2\x01\n\x10\x43reateVodSession\x12\x37.google.cloud.video.stitcher.v1.CreateVodSessionRequest\x1a*.google.cloud.video.stitcher.v1.VodSession\"Y\xda\x41\x12parent,vod_session\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/vodSessions:\x0bvod_session\x12\xb1\x01\n\rGetVodSession\x12\x34.google.cloud.video.stitcher.v1.GetVodSessionRequest\x1a*.google.cloud.video.stitcher.v1.VodSession\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/vodSessions/*}\x12\xe6\x01\n\x14ListVodStitchDetails\x12;.google.cloud.video.stitcher.v1.ListVodStitchDetailsRequest\x1a<.google.cloud.video.stitcher.v1.ListVodStitchDetailsResponse\"S\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{parent=projects/*/locations/*/vodSessions/*}/vodStitchDetails\x12\xd3\x01\n\x12GetVodStitchDetail\x12\x39.google.cloud.video.stitcher.v1.GetVodStitchDetailRequest\x1a/.google.cloud.video.stitcher.v1.VodStitchDetail\"Q\xda\x41\x04name\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{name=projects/*/locations/*/vodSessions/*/vodStitchDetails/*}\x12\xe2\x01\n\x13ListVodAdTagDetails\x12:.google.cloud.video.stitcher.v1.ListVodAdTagDetailsRequest\x1a;.google.cloud.video.stitcher.v1.ListVodAdTagDetailsResponse\"R\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{parent=projects/*/locations/*/vodSessions/*}/vodAdTagDetails\x12\xcf\x01\n\x11GetVodAdTagDetail\x12\x38.google.cloud.video.stitcher.v1.GetVodAdTagDetailRequest\x1a..google.cloud.video.stitcher.v1.VodAdTagDetail\"P\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/vodSessions/*/vodAdTagDetails/*}\x12\xe7\x01\n\x14ListLiveAdTagDetails\x12;.google.cloud.video.stitcher.v1.ListLiveAdTagDetailsRequest\x1a<.google.cloud.video.stitcher.v1.ListLiveAdTagDetailsResponse\"T\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{parent=projects/*/locations/*/liveSessions/*}/liveAdTagDetails\x12\xd4\x01\n\x12GetLiveAdTagDetail\x12\x39.google.cloud.video.stitcher.v1.GetLiveAdTagDetailRequest\x1a/.google.cloud.video.stitcher.v1.LiveAdTagDetail\"R\xda\x41\x04name\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{name=projects/*/locations/*/liveSessions/*/liveAdTagDetails/*}\x12\x8f\x02\n\x0b\x43reateSlate\x12\x32.google.cloud.video.stitcher.v1.CreateSlateRequest\x1a\x1d.google.longrunning.Operation\"\xac\x01\xca\x41X\n$google.cloud.video.stitcher.v1.Slate\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x15parent,slate,slate_id\x82\xd3\xe4\x93\x02\x33\"*/v1/{parent=projects/*/locations/*}/slates:\x05slate\x12\xb0\x01\n\nListSlates\x12\x31.google.cloud.video.stitcher.v1.ListSlatesRequest\x1a\x32.google.cloud.video.stitcher.v1.ListSlatesResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=projects/*/locations/*}/slates\x12\x9d\x01\n\x08GetSlate\x12/.google.cloud.video.stitcher.v1.GetSlateRequest\x1a%.google.cloud.video.stitcher.v1.Slate\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v1/{name=projects/*/locations/*/slates/*}\x12\x91\x02\n\x0bUpdateSlate\x12\x32.google.cloud.video.stitcher.v1.UpdateSlateRequest\x1a\x1d.google.longrunning.Operation\"\xae\x01\xca\x41X\n$google.cloud.video.stitcher.v1.Slate\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x11slate,update_mask\x82\xd3\xe4\x93\x02\x39\x32\x30/v1/{slate.name=projects/*/locations/*/slates/*}:\x05slate\x12\xe8\x01\n\x0b\x44\x65leteSlate\x12\x32.google.cloud.video.stitcher.v1.DeleteSlateRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\xca\x41I\n\x15google.protobuf.Empty\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v1/{name=projects/*/locations/*/slates/*}\x12\xd8\x01\n\x11\x43reateLiveSession\x12\x38.google.cloud.video.stitcher.v1.CreateLiveSessionRequest\x1a+.google.cloud.video.stitcher.v1.LiveSession\"\\\xda\x41\x13parent,live_session\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/liveSessions:\x0clive_session\x12\xb5\x01\n\x0eGetLiveSession\x12\x35.google.cloud.video.stitcher.v1.GetLiveSessionRequest\x1a+.google.cloud.video.stitcher.v1.LiveSession\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/liveSessions/*}\x12\xb5\x02\n\x10\x43reateLiveConfig\x12\x37.google.cloud.video.stitcher.v1.CreateLiveConfigRequest\x1a\x1d.google.longrunning.Operation\"\xc8\x01\xca\x41]\n)google.cloud.video.stitcher.v1.LiveConfig\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41!parent,live_config,live_config_id\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/liveConfigs:\x0blive_config\x12\xc4\x01\n\x0fListLiveConfigs\x12\x36.google.cloud.video.stitcher.v1.ListLiveConfigsRequest\x1a\x37.google.cloud.video.stitcher.v1.ListLiveConfigsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/liveConfigs\x12\xb1\x01\n\rGetLiveConfig\x12\x34.google.cloud.video.stitcher.v1.GetLiveConfigRequest\x1a*.google.cloud.video.stitcher.v1.LiveConfig\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/liveConfigs/*}\x12\xf7\x01\n\x10\x44\x65leteLiveConfig\x12\x37.google.cloud.video.stitcher.v1.DeleteLiveConfigRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\xca\x41I\n\x15google.protobuf.Empty\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/liveConfigs/*}\x12\xb7\x02\n\x10UpdateLiveConfig\x12\x37.google.cloud.video.stitcher.v1.UpdateLiveConfigRequest\x1a\x1d.google.longrunning.Operation\"\xca\x01\xca\x41]\n)google.cloud.video.stitcher.v1.LiveConfig\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x17live_config,update_mask\x82\xd3\xe4\x93\x02J2;/v1/{live_config.name=projects/*/locations/*/liveConfigs/*}:\x0blive_config\x12\xae\x02\n\x0f\x43reateVodConfig\x12\x36.google.cloud.video.stitcher.v1.CreateVodConfigRequest\x1a\x1d.google.longrunning.Operation\"\xc3\x01\xca\x41\\\n(google.cloud.video.stitcher.v1.VodConfig\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x1fparent,vod_config,vod_config_id\x82\xd3\xe4\x93\x02<\"./v1/{parent=projects/*/locations/*}/vodConfigs:\nvod_config\x12\xc0\x01\n\x0eListVodConfigs\x12\x35.google.cloud.video.stitcher.v1.ListVodConfigsRequest\x1a\x36.google.cloud.video.stitcher.v1.ListVodConfigsResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/vodConfigs\x12\xad\x01\n\x0cGetVodConfig\x12\x33.google.cloud.video.stitcher.v1.GetVodConfigRequest\x1a).google.cloud.video.stitcher.v1.VodConfig\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/vodConfigs/*}\x12\xf4\x01\n\x0f\x44\x65leteVodConfig\x12\x36.google.cloud.video.stitcher.v1.DeleteVodConfigRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41I\n\x15google.protobuf.Empty\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/vodConfigs/*}\x12\xb0\x02\n\x0fUpdateVodConfig\x12\x36.google.cloud.video.stitcher.v1.UpdateVodConfigRequest\x1a\x1d.google.longrunning.Operation\"\xc5\x01\xca\x41\\\n(google.cloud.video.stitcher.v1.VodConfig\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\xda\x41\x16vod_config,update_mask\x82\xd3\xe4\x93\x02G29/v1/{vod_config.name=projects/*/locations/*/vodConfigs/*}:\nvod_config\x1aP\xca\x41\x1cvideostitcher.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x81\x01\n\"com.google.cloud.video.stitcher.v1B\x19VideoStitcherServiceProtoP\x01Z>cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpbb\x06proto3"
24
25
 
25
26
  pool = Google::Protobuf::DescriptorPool.generated_pool
26
27
 
@@ -42,6 +43,7 @@ rescue TypeError
42
43
  ["google.cloud.video.stitcher.v1.VodAdTagDetail", "google/cloud/video/stitcher/v1/ad_tag_details.proto"],
43
44
  ["google.cloud.video.stitcher.v1.Slate", "google/cloud/video/stitcher/v1/slates.proto"],
44
45
  ["google.cloud.video.stitcher.v1.LiveConfig", "google/cloud/video/stitcher/v1/live_configs.proto"],
46
+ ["google.cloud.video.stitcher.v1.VodConfig", "google/cloud/video/stitcher/v1/vod_configs.proto"],
45
47
  ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
46
48
  ]
47
49
  imports.each do |type_name, expected_filename|
@@ -89,6 +91,13 @@ module Google
89
91
  ListLiveConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ListLiveConfigsResponse").msgclass
90
92
  GetLiveConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.GetLiveConfigRequest").msgclass
91
93
  DeleteLiveConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.DeleteLiveConfigRequest").msgclass
94
+ UpdateLiveConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.UpdateLiveConfigRequest").msgclass
95
+ CreateVodConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.CreateVodConfigRequest").msgclass
96
+ ListVodConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ListVodConfigsRequest").msgclass
97
+ ListVodConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ListVodConfigsResponse").msgclass
98
+ GetVodConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.GetVodConfigRequest").msgclass
99
+ DeleteVodConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.DeleteVodConfigRequest").msgclass
100
+ UpdateVodConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.UpdateVodConfigRequest").msgclass
92
101
  OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.OperationMetadata").msgclass
93
102
  end
94
103
  end
@@ -93,6 +93,23 @@ module Google
93
93
  rpc :GetLiveConfig, ::Google::Cloud::Video::Stitcher::V1::GetLiveConfigRequest, ::Google::Cloud::Video::Stitcher::V1::LiveConfig
94
94
  # Deletes the specified live config.
95
95
  rpc :DeleteLiveConfig, ::Google::Cloud::Video::Stitcher::V1::DeleteLiveConfigRequest, ::Google::Longrunning::Operation
96
+ # Updates the specified LiveConfig. Only update fields specified
97
+ # in the call method body.
98
+ rpc :UpdateLiveConfig, ::Google::Cloud::Video::Stitcher::V1::UpdateLiveConfigRequest, ::Google::Longrunning::Operation
99
+ # Registers the VOD config with the provided unique ID in
100
+ # the specified region.
101
+ rpc :CreateVodConfig, ::Google::Cloud::Video::Stitcher::V1::CreateVodConfigRequest, ::Google::Longrunning::Operation
102
+ # Lists all VOD configs managed by the Video Stitcher API that
103
+ # belong to the specified project and region.
104
+ rpc :ListVodConfigs, ::Google::Cloud::Video::Stitcher::V1::ListVodConfigsRequest, ::Google::Cloud::Video::Stitcher::V1::ListVodConfigsResponse
105
+ # Returns the specified VOD config managed by the Video
106
+ # Stitcher API service.
107
+ rpc :GetVodConfig, ::Google::Cloud::Video::Stitcher::V1::GetVodConfigRequest, ::Google::Cloud::Video::Stitcher::V1::VodConfig
108
+ # Deletes the specified VOD config.
109
+ rpc :DeleteVodConfig, ::Google::Cloud::Video::Stitcher::V1::DeleteVodConfigRequest, ::Google::Longrunning::Operation
110
+ # Updates the specified VOD config. Only update fields specified
111
+ # in the call method body.
112
+ rpc :UpdateVodConfig, ::Google::Cloud::Video::Stitcher::V1::UpdateVodConfigRequest, ::Google::Longrunning::Operation
96
113
  end
97
114
 
98
115
  Stub = Service.rpc_stub_class
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/video/stitcher/v1/vod_configs.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/cloud/video/stitcher/v1/fetch_options_pb'
10
+
11
+
12
+ descriptor_data = "\n0google/cloud/video/stitcher/v1/vod_configs.proto\x12\x1egoogle.cloud.video.stitcher.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/video/stitcher/v1/fetch_options.proto\"\xe1\x03\n\tVodConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nsource_uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nad_tag_uri\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12I\n\x0egam_vod_config\x18\x04 \x01(\x0b\x32,.google.cloud.video.stitcher.v1.GamVodConfigB\x03\xe0\x41\x01\x12\x43\n\x05state\x18\x05 \x01(\x0e\x32/.google.cloud.video.stitcher.v1.VodConfig.StateB\x03\xe0\x41\x03\x12J\n\x14source_fetch_options\x18\x08 \x01(\x0b\x32,.google.cloud.video.stitcher.v1.FetchOptions\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03:l\xea\x41i\n&videostitcher.googleapis.com/VodConfig\x12?projects/{project}/locations/{location}/vodConfigs/{vod_config}\")\n\x0cGamVodConfig\x12\x19\n\x0cnetwork_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42w\n\"com.google.cloud.video.stitcher.v1B\x0fVodConfigsProtoP\x01Z>cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpbb\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.cloud.video.stitcher.v1.FetchOptions", "google/cloud/video/stitcher/v1/fetch_options.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
+ end
34
+ end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
37
+ end
38
+
39
+ module Google
40
+ module Cloud
41
+ module Video
42
+ module Stitcher
43
+ module V1
44
+ VodConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodConfig").msgclass
45
+ VodConfig::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodConfig.State").enummodule
46
+ GamVodConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.GamVodConfig").msgclass
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -22,7 +22,9 @@ module Google
22
22
  module Video
23
23
  module Stitcher
24
24
  module V1
25
- # Container for a live session's ad tag detail.
25
+ # Information related to the details for one ad tag. This resource is only
26
+ # available for live sessions that do not implement Google Ad Manager ad
27
+ # insertion.
26
28
  # @!attribute [rw] name
27
29
  # @return [::String]
28
30
  # The resource name in the form of
@@ -75,9 +75,29 @@ module Google
75
75
  # @!attribute [rw] key_name
76
76
  # @return [::String]
77
77
  # The keyset name of the Media CDN key.
78
+ # @!attribute [rw] token_config
79
+ # @return [::Google::Cloud::Video::Stitcher::V1::MediaCdnKey::TokenConfig]
80
+ # Optional. If set, the URL will be signed using the Media CDN token.
81
+ # Otherwise, the URL would be signed using the standard Media CDN signature.
78
82
  class MediaCdnKey
79
83
  include ::Google::Protobuf::MessageExts
80
84
  extend ::Google::Protobuf::MessageExts::ClassMethods
85
+
86
+ # Configuration for a Media CDN token.
87
+ # @!attribute [rw] query_parameter
88
+ # @return [::String]
89
+ # Optional. The query parameter in which to find the token.
90
+ #
91
+ # The name must be 1-64 characters long and match
92
+ # the regular expression `[a-zA-Z]([a-zA-Z0-9_-])*` which means the
93
+ # first character must be a letter, and all following characters
94
+ # must be a dash, underscore, letter or digit.
95
+ #
96
+ # Defaults to `edge-cache-token`.
97
+ class TokenConfig
98
+ include ::Google::Protobuf::MessageExts
99
+ extend ::Google::Protobuf::MessageExts::ClassMethods
100
+ end
81
101
  end
82
102
  end
83
103
  end
@@ -0,0 +1,49 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Video
23
+ module Stitcher
24
+ module V1
25
+ # Options on how fetches should be made.
26
+ # @!attribute [rw] headers
27
+ # @return [::Google::Protobuf::Map{::String => ::String}]
28
+ # Custom headers to pass into fetch request.
29
+ # Headers must have a maximum of 3 key value pairs.
30
+ # Each key value pair must have a maximum of 256 characters per key and 256
31
+ # characters per value.
32
+ class FetchOptions
33
+ include ::Google::Protobuf::MessageExts
34
+ extend ::Google::Protobuf::MessageExts::ClassMethods
35
+
36
+ # @!attribute [rw] key
37
+ # @return [::String]
38
+ # @!attribute [rw] value
39
+ # @return [::String]
40
+ class HeadersEntry
41
+ include ::Google::Protobuf::MessageExts
42
+ extend ::Google::Protobuf::MessageExts::ClassMethods
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
@@ -42,9 +42,7 @@ module Google
42
42
  # Output only. State of the live config.
43
43
  # @!attribute [rw] ad_tracking
44
44
  # @return [::Google::Cloud::Video::Stitcher::V1::AdTracking]
45
- # Required. Determines how the ads are tracked. If
46
- # {::Google::Cloud::Video::Stitcher::V1::LiveConfig#gam_live_config gam_live_config}
47
- # is set, the value must be `CLIENT` because the IMA SDK handles ad tracking.
45
+ # Required. Determines how the ads are tracked.
48
46
  # @!attribute [rw] default_slate
49
47
  # @return [::String]
50
48
  # This must refer to a slate in the same
@@ -58,6 +56,9 @@ module Google
58
56
  # @!attribute [rw] prefetch_config
59
57
  # @return [::Google::Cloud::Video::Stitcher::V1::PrefetchConfig]
60
58
  # The configuration for prefetching ads.
59
+ # @!attribute [rw] source_fetch_options
60
+ # @return [::Google::Cloud::Video::Stitcher::V1::FetchOptions]
61
+ # Options for fetching source manifests and segments.
61
62
  class LiveConfig
62
63
  include ::Google::Protobuf::MessageExts
63
64
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -35,24 +35,29 @@ module Google
35
35
  # Output only. The playback URI of the stitched content.
36
36
  # @!attribute [rw] source_uri
37
37
  # @return [::String]
38
- # Required. URI of the media to stitch.
38
+ # URI of the media to stitch. For most use cases, you should create a
39
+ # {::Google::Cloud::Video::Stitcher::V1::VodConfig VodConfig} with this information
40
+ # rather than setting this field directly.
39
41
  # @!attribute [rw] ad_tag_uri
40
42
  # @return [::String]
41
- # Required. Ad tag URI.
43
+ # Ad tag URI. For most use cases, you should create a
44
+ # {::Google::Cloud::Video::Stitcher::V1::VodConfig VodConfig} with this information
45
+ # rather than setting this field directly.
42
46
  # @!attribute [rw] ad_tag_macro_map
43
47
  # @return [::Google::Protobuf::Map{::String => ::String}]
44
- # Key value pairs for ad tag macro replacement. If the
45
- # specified ad tag URI has macros, this field provides the mapping
46
- # to the value that will replace the macro in the ad tag URI.
47
- # Macros are designated by square brackets.
48
- # For example:
48
+ # Key value pairs for ad tag macro replacement, only available for VOD
49
+ # sessions that do not implement Google Ad manager ad insertion. If the
50
+ # specified ad tag URI has macros, this field provides the mapping to the
51
+ # value that will replace the macro in the ad tag URI.
52
+ #
53
+ # Macros are designated by square brackets, for example:
49
54
  #
50
55
  # Ad tag URI: `"https://doubleclick.google.com/ad/1?geo_id=[geoId]"`
51
56
  #
52
57
  # Ad tag macro map: `{"geoId": "123"}`
53
58
  #
54
59
  # Fully qualified ad tag:
55
- # `"`https://doubleclick.google.com/ad/1?geo_id=123"`
60
+ # `"https://doubleclick.google.com/ad/1?geo_id=123"`
56
61
  # @!attribute [rw] manifest_options
57
62
  # @return [::Google::Cloud::Video::Stitcher::V1::ManifestOptions]
58
63
  # Additional options that affect the output of the manifest.
@@ -66,6 +71,10 @@ module Google
66
71
  # @return [::Google::Cloud::Video::Stitcher::V1::VodSession::GamSettings]
67
72
  # This field should be set with appropriate values if GAM is being used for
68
73
  # ads.
74
+ # @!attribute [rw] vod_config
75
+ # @return [::String]
76
+ # The resource name of the VOD config for this session, in the form of
77
+ # `projects/{project}/locations/{location}/vodConfigs/{id}`.
69
78
  class VodSession
70
79
  include ::Google::Protobuf::MessageExts
71
80
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -163,12 +172,12 @@ module Google
163
172
  # Output only. The URI to play the live session's ad-stitched stream.
164
173
  # @!attribute [rw] ad_tag_macros
165
174
  # @return [::Google::Protobuf::Map{::String => ::String}]
166
- # Key value pairs for ad tag macro replacement. If the
167
- # specified ad tag URI has macros, this field provides the mapping
168
- # to the value that will replace the macro in the ad tag URI.
169
- # Macros are designated by square brackets.
175
+ # Key value pairs for ad tag macro replacement, only available for live
176
+ # sessions that do not implement Google Ad manager ad insertion. If the
177
+ # specified ad tag URI has macros, this field provides the mapping to the
178
+ # value that will replace the macro in the ad tag URI.
170
179
  #
171
- # For example:
180
+ # Macros are designated by square brackets, for example:
172
181
  #
173
182
  # Ad tag URI: "https://doubleclick.google.com/ad/1?geo_id=[geoId]"
174
183
  #
@@ -187,18 +196,37 @@ module Google
187
196
  # @return [::String]
188
197
  # Required. The resource name of the live config for this session, in the
189
198
  # form of `projects/{project}/locations/{location}/liveConfigs/{id}`.
199
+ # @!attribute [rw] ad_tracking
200
+ # @return [::Google::Cloud::Video::Stitcher::V1::AdTracking]
201
+ # Determines how the ad should be tracked. This overrides the value set in
202
+ # the live config for this session.
190
203
  class LiveSession
191
204
  include ::Google::Protobuf::MessageExts
192
205
  extend ::Google::Protobuf::MessageExts::ClassMethods
193
206
 
194
- # Defines fields related to Google Ad Manager (GAM). This should be set if
195
- # GAM is being used for ads.
207
+ # Defines fields related to Google Ad Manager (GAM).
196
208
  # @!attribute [rw] stream_id
197
209
  # @return [::String]
198
- # Required. The stream ID generated by Ad Manager.
210
+ # Required. The stream ID generated by Ad Manager. This must be set if GAM
211
+ # is being used for ads and the session uses client-side ad tracking.
212
+ # @!attribute [rw] targeting_parameters
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # [Targeting
215
+ # parameters](https://support.google.com/admanager/answer/7320899) to send
216
+ # to Ad Manager to generate a stream ID. This should only be set if the
217
+ # session uses server-side ad tracking.
199
218
  class GamSettings
200
219
  include ::Google::Protobuf::MessageExts
201
220
  extend ::Google::Protobuf::MessageExts::ClassMethods
221
+
222
+ # @!attribute [rw] key
223
+ # @return [::String]
224
+ # @!attribute [rw] value
225
+ # @return [::String]
226
+ class TargetingParametersEntry
227
+ include ::Google::Protobuf::MessageExts
228
+ extend ::Google::Protobuf::MessageExts::ClassMethods
229
+ end
202
230
  end
203
231
 
204
232
  # @!attribute [rw] key
@@ -22,9 +22,9 @@ module Google
22
22
  module Video
23
23
  module Stitcher
24
24
  module V1
25
- # Detailed information related to the interstitial of a VOD session. This
26
- # resource is only available for VOD sessions that do not implement Google Ad
27
- # Manager ad insertion.
25
+ # Information related to the interstitial of a VOD session. This resource is
26
+ # only available for VOD sessions that do not implement Google Ad Manager ad
27
+ # insertion.
28
28
  # @!attribute [rw] name
29
29
  # @return [::String]
30
30
  # The name of the stitch detail in the specified VOD session, in the form of