google-cloud-video-stitcher-v1 0.4.0 → 0.6.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.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/google/cloud/video/stitcher/v1/ad_tag_details_pb.rb +26 -25
  4. data/lib/google/cloud/video/stitcher/v1/cdn_keys_pb.rb +24 -21
  5. data/lib/google/cloud/video/stitcher/v1/companions_pb.rb +25 -37
  6. data/lib/google/cloud/video/stitcher/v1/events_pb.rb +25 -38
  7. data/lib/google/cloud/video/stitcher/v1/live_configs_pb.rb +54 -0
  8. data/lib/google/cloud/video/stitcher/v1/sessions_pb.rb +30 -66
  9. data/lib/google/cloud/video/stitcher/v1/slates_pb.rb +25 -5
  10. data/lib/google/cloud/video/stitcher/v1/stitch_details_pb.rb +26 -12
  11. data/lib/google/cloud/video/stitcher/v1/version.rb +1 -1
  12. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/client.rb +569 -75
  13. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/operations.rb +770 -0
  14. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb +19 -0
  15. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service.rb +2 -1
  16. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service_pb.rb +41 -105
  17. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service_services_pb.rb +17 -6
  18. data/lib/google/cloud/video/stitcher/v1.rb +2 -2
  19. data/proto_docs/google/api/client.rb +381 -0
  20. data/proto_docs/google/api/launch_stage.rb +71 -0
  21. data/proto_docs/google/cloud/video/stitcher/v1/live_configs.rb +144 -0
  22. data/proto_docs/google/cloud/video/stitcher/v1/sessions.rb +38 -68
  23. data/proto_docs/google/cloud/video/stitcher/v1/slates.rb +16 -0
  24. data/proto_docs/google/cloud/video/stitcher/v1/video_stitcher_service.rb +146 -18
  25. data/proto_docs/google/longrunning/operations.rb +164 -0
  26. data/proto_docs/google/protobuf/any.rb +144 -0
  27. data/proto_docs/google/protobuf/struct.rb +1 -1
  28. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  29. data/proto_docs/google/rpc/status.rb +48 -0
  30. metadata +16 -7
@@ -65,6 +65,25 @@ module Google
65
65
  "projects/#{project}/locations/#{location}/liveSessions/#{live_session}/liveAdTagDetails/#{live_ad_tag_detail}"
66
66
  end
67
67
 
68
+ ##
69
+ # Create a fully-qualified LiveConfig resource string.
70
+ #
71
+ # The resource will be in the following format:
72
+ #
73
+ # `projects/{project}/locations/{location}/liveConfigs/{live_config}`
74
+ #
75
+ # @param project [String]
76
+ # @param location [String]
77
+ # @param live_config [String]
78
+ #
79
+ # @return [::String]
80
+ def live_config_path project:, location:, live_config:
81
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
82
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
83
+
84
+ "projects/#{project}/locations/#{location}/liveConfigs/#{live_config}"
85
+ end
86
+
68
87
  ##
69
88
  # Create a fully-qualified LiveSession resource string.
70
89
  #
@@ -24,6 +24,7 @@ require "google/cloud/video/stitcher/v1/version"
24
24
 
25
25
  require "google/cloud/video/stitcher/v1/video_stitcher_service/credentials"
26
26
  require "google/cloud/video/stitcher/v1/video_stitcher_service/paths"
27
+ require "google/cloud/video/stitcher/v1/video_stitcher_service/operations"
27
28
  require "google/cloud/video/stitcher/v1/video_stitcher_service/client"
28
29
 
29
30
  module Google
@@ -38,7 +39,7 @@ module Google
38
39
  # seamless playback and tracking on native players and monetize
39
40
  # content with any standard VMAP compliant ad server.
40
41
  #
41
- # To load this service and instantiate a client:
42
+ # @example Load this service and instantiate a gRPC client
42
43
  #
43
44
  # require "google/cloud/video/stitcher/v1/video_stitcher_service"
44
45
  # client = ::Google::Cloud::Video::Stitcher::V1::VideoStitcherService::Client.new
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/video/stitcher/v1/video_stitcher_service.proto
3
4
 
@@ -9,119 +10,48 @@ require 'google/api/field_behavior_pb'
9
10
  require 'google/api/resource_pb'
10
11
  require 'google/cloud/video/stitcher/v1/ad_tag_details_pb'
11
12
  require 'google/cloud/video/stitcher/v1/cdn_keys_pb'
13
+ require 'google/cloud/video/stitcher/v1/live_configs_pb'
12
14
  require 'google/cloud/video/stitcher/v1/sessions_pb'
13
15
  require 'google/cloud/video/stitcher/v1/slates_pb'
14
16
  require 'google/cloud/video/stitcher/v1/stitch_details_pb'
17
+ require 'google/longrunning/operations_pb'
15
18
  require 'google/protobuf/empty_pb'
16
19
  require 'google/protobuf/field_mask_pb'
20
+ require 'google/protobuf/timestamp_pb'
17
21
 
18
- Google::Protobuf::DescriptorPool.generated_pool.build do
19
- add_file("google/cloud/video/stitcher/v1/video_stitcher_service.proto", :syntax => :proto3) do
20
- add_message "google.cloud.video.stitcher.v1.CreateCdnKeyRequest" do
21
- optional :parent, :string, 1
22
- optional :cdn_key, :message, 2, "google.cloud.video.stitcher.v1.CdnKey"
23
- optional :cdn_key_id, :string, 3
24
- end
25
- add_message "google.cloud.video.stitcher.v1.ListCdnKeysRequest" do
26
- optional :parent, :string, 1
27
- optional :page_size, :int32, 2
28
- optional :page_token, :string, 3
29
- optional :filter, :string, 4
30
- optional :order_by, :string, 5
31
- end
32
- add_message "google.cloud.video.stitcher.v1.ListCdnKeysResponse" do
33
- repeated :cdn_keys, :message, 1, "google.cloud.video.stitcher.v1.CdnKey"
34
- optional :next_page_token, :string, 2
35
- repeated :unreachable, :string, 3
36
- end
37
- add_message "google.cloud.video.stitcher.v1.GetCdnKeyRequest" do
38
- optional :name, :string, 1
39
- end
40
- add_message "google.cloud.video.stitcher.v1.DeleteCdnKeyRequest" do
41
- optional :name, :string, 1
42
- end
43
- add_message "google.cloud.video.stitcher.v1.UpdateCdnKeyRequest" do
44
- optional :cdn_key, :message, 1, "google.cloud.video.stitcher.v1.CdnKey"
45
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
46
- end
47
- add_message "google.cloud.video.stitcher.v1.CreateVodSessionRequest" do
48
- optional :parent, :string, 1
49
- optional :vod_session, :message, 2, "google.cloud.video.stitcher.v1.VodSession"
50
- end
51
- add_message "google.cloud.video.stitcher.v1.GetVodSessionRequest" do
52
- optional :name, :string, 1
53
- end
54
- add_message "google.cloud.video.stitcher.v1.ListVodStitchDetailsRequest" do
55
- optional :parent, :string, 1
56
- optional :page_size, :int32, 2
57
- optional :page_token, :string, 3
58
- end
59
- add_message "google.cloud.video.stitcher.v1.ListVodStitchDetailsResponse" do
60
- repeated :vod_stitch_details, :message, 1, "google.cloud.video.stitcher.v1.VodStitchDetail"
61
- optional :next_page_token, :string, 2
62
- end
63
- add_message "google.cloud.video.stitcher.v1.GetVodStitchDetailRequest" do
64
- optional :name, :string, 1
65
- end
66
- add_message "google.cloud.video.stitcher.v1.ListVodAdTagDetailsRequest" do
67
- optional :parent, :string, 1
68
- optional :page_size, :int32, 2
69
- optional :page_token, :string, 3
70
- end
71
- add_message "google.cloud.video.stitcher.v1.ListVodAdTagDetailsResponse" do
72
- repeated :vod_ad_tag_details, :message, 1, "google.cloud.video.stitcher.v1.VodAdTagDetail"
73
- optional :next_page_token, :string, 2
74
- end
75
- add_message "google.cloud.video.stitcher.v1.GetVodAdTagDetailRequest" do
76
- optional :name, :string, 1
77
- end
78
- add_message "google.cloud.video.stitcher.v1.ListLiveAdTagDetailsRequest" do
79
- optional :parent, :string, 1
80
- optional :page_size, :int32, 2
81
- optional :page_token, :string, 3
82
- end
83
- add_message "google.cloud.video.stitcher.v1.ListLiveAdTagDetailsResponse" do
84
- repeated :live_ad_tag_details, :message, 1, "google.cloud.video.stitcher.v1.LiveAdTagDetail"
85
- optional :next_page_token, :string, 2
86
- end
87
- add_message "google.cloud.video.stitcher.v1.GetLiveAdTagDetailRequest" do
88
- optional :name, :string, 1
89
- end
90
- add_message "google.cloud.video.stitcher.v1.CreateSlateRequest" do
91
- optional :parent, :string, 1
92
- optional :slate_id, :string, 2
93
- optional :slate, :message, 3, "google.cloud.video.stitcher.v1.Slate"
94
- end
95
- add_message "google.cloud.video.stitcher.v1.GetSlateRequest" do
96
- optional :name, :string, 1
97
- end
98
- add_message "google.cloud.video.stitcher.v1.ListSlatesRequest" do
99
- optional :parent, :string, 1
100
- optional :page_size, :int32, 2
101
- optional :page_token, :string, 3
102
- optional :filter, :string, 4
103
- optional :order_by, :string, 5
104
- end
105
- add_message "google.cloud.video.stitcher.v1.ListSlatesResponse" do
106
- repeated :slates, :message, 1, "google.cloud.video.stitcher.v1.Slate"
107
- optional :next_page_token, :string, 2
108
- repeated :unreachable, :string, 3
109
- end
110
- add_message "google.cloud.video.stitcher.v1.UpdateSlateRequest" do
111
- optional :slate, :message, 1, "google.cloud.video.stitcher.v1.Slate"
112
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
113
- end
114
- add_message "google.cloud.video.stitcher.v1.DeleteSlateRequest" do
115
- optional :name, :string, 1
116
- end
117
- add_message "google.cloud.video.stitcher.v1.CreateLiveSessionRequest" do
118
- optional :parent, :string, 1
119
- optional :live_session, :message, 2, "google.cloud.video.stitcher.v1.LiveSession"
120
- end
121
- add_message "google.cloud.video.stitcher.v1.GetLiveSessionRequest" do
122
- optional :name, :string, 1
22
+
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*\n(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\x82\xd3\xe4\x93\x02\x36\"+/v1/{parent=projects/*/locations/*}/cdnKeys:\x07\x63\x64n_key\xda\x41\x19parent,cdn_key,cdn_key_id\xca\x41Y\n%google.cloud.video.stitcher.v1.CdnKey\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\x12\xb4\x01\n\x0bListCdnKeys\x12\x32.google.cloud.video.stitcher.v1.ListCdnKeysRequest\x1a\x33.google.cloud.video.stitcher.v1.ListCdnKeysResponse\"<\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/cdnKeys\xda\x41\x06parent\x12\xa1\x01\n\tGetCdnKey\x12\x30.google.cloud.video.stitcher.v1.GetCdnKeyRequest\x1a&.google.cloud.video.stitcher.v1.CdnKey\":\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/cdnKeys/*}\xda\x41\x04name\x12\xeb\x01\n\x0c\x44\x65leteCdnKey\x12\x33.google.cloud.video.stitcher.v1.DeleteCdnKeyRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/cdnKeys/*}\xda\x41\x04name\xca\x41I\n\x15google.protobuf.Empty\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\x12\x9b\x02\n\x0cUpdateCdnKey\x12\x33.google.cloud.video.stitcher.v1.UpdateCdnKeyRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\x82\xd3\xe4\x93\x02>23/v1/{cdn_key.name=projects/*/locations/*/cdnKeys/*}:\x07\x63\x64n_key\xda\x41\x13\x63\x64n_key,update_mask\xca\x41Y\n%google.cloud.video.stitcher.v1.CdnKey\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\x12\xd2\x01\n\x10\x43reateVodSession\x12\x37.google.cloud.video.stitcher.v1.CreateVodSessionRequest\x1a*.google.cloud.video.stitcher.v1.VodSession\"Y\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/vodSessions:\x0bvod_session\xda\x41\x12parent,vod_session\x12\xb1\x01\n\rGetVodSession\x12\x34.google.cloud.video.stitcher.v1.GetVodSessionRequest\x1a*.google.cloud.video.stitcher.v1.VodSession\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/vodSessions/*}\xda\x41\x04name\x12\xe6\x01\n\x14ListVodStitchDetails\x12;.google.cloud.video.stitcher.v1.ListVodStitchDetailsRequest\x1a<.google.cloud.video.stitcher.v1.ListVodStitchDetailsResponse\"S\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{parent=projects/*/locations/*/vodSessions/*}/vodStitchDetails\xda\x41\x06parent\x12\xd3\x01\n\x12GetVodStitchDetail\x12\x39.google.cloud.video.stitcher.v1.GetVodStitchDetailRequest\x1a/.google.cloud.video.stitcher.v1.VodStitchDetail\"Q\x82\xd3\xe4\x93\x02\x44\x12\x42/v1/{name=projects/*/locations/*/vodSessions/*/vodStitchDetails/*}\xda\x41\x04name\x12\xe2\x01\n\x13ListVodAdTagDetails\x12:.google.cloud.video.stitcher.v1.ListVodAdTagDetailsRequest\x1a;.google.cloud.video.stitcher.v1.ListVodAdTagDetailsResponse\"R\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{parent=projects/*/locations/*/vodSessions/*}/vodAdTagDetails\xda\x41\x06parent\x12\xcf\x01\n\x11GetVodAdTagDetail\x12\x38.google.cloud.video.stitcher.v1.GetVodAdTagDetailRequest\x1a..google.cloud.video.stitcher.v1.VodAdTagDetail\"P\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/vodSessions/*/vodAdTagDetails/*}\xda\x41\x04name\x12\xe7\x01\n\x14ListLiveAdTagDetails\x12;.google.cloud.video.stitcher.v1.ListLiveAdTagDetailsRequest\x1a<.google.cloud.video.stitcher.v1.ListLiveAdTagDetailsResponse\"T\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{parent=projects/*/locations/*/liveSessions/*}/liveAdTagDetails\xda\x41\x06parent\x12\xd4\x01\n\x12GetLiveAdTagDetail\x12\x39.google.cloud.video.stitcher.v1.GetLiveAdTagDetailRequest\x1a/.google.cloud.video.stitcher.v1.LiveAdTagDetail\"R\x82\xd3\xe4\x93\x02\x45\x12\x43/v1/{name=projects/*/locations/*/liveSessions/*/liveAdTagDetails/*}\xda\x41\x04name\x12\x8f\x02\n\x0b\x43reateSlate\x12\x32.google.cloud.video.stitcher.v1.CreateSlateRequest\x1a\x1d.google.longrunning.Operation\"\xac\x01\x82\xd3\xe4\x93\x02\x33\"*/v1/{parent=projects/*/locations/*}/slates:\x05slate\xda\x41\x15parent,slate,slate_id\xca\x41X\n$google.cloud.video.stitcher.v1.Slate\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\x12\xb0\x01\n\nListSlates\x12\x31.google.cloud.video.stitcher.v1.ListSlatesRequest\x1a\x32.google.cloud.video.stitcher.v1.ListSlatesResponse\";\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=projects/*/locations/*}/slates\xda\x41\x06parent\x12\x9d\x01\n\x08GetSlate\x12/.google.cloud.video.stitcher.v1.GetSlateRequest\x1a%.google.cloud.video.stitcher.v1.Slate\"9\x82\xd3\xe4\x93\x02,\x12*/v1/{name=projects/*/locations/*/slates/*}\xda\x41\x04name\x12\x91\x02\n\x0bUpdateSlate\x12\x32.google.cloud.video.stitcher.v1.UpdateSlateRequest\x1a\x1d.google.longrunning.Operation\"\xae\x01\x82\xd3\xe4\x93\x02\x39\x32\x30/v1/{slate.name=projects/*/locations/*/slates/*}:\x05slate\xda\x41\x11slate,update_mask\xca\x41X\n$google.cloud.video.stitcher.v1.Slate\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\x12\xe8\x01\n\x0b\x44\x65leteSlate\x12\x32.google.cloud.video.stitcher.v1.DeleteSlateRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\x82\xd3\xe4\x93\x02,**/v1/{name=projects/*/locations/*/slates/*}\xda\x41\x04name\xca\x41I\n\x15google.protobuf.Empty\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\x12\xd8\x01\n\x11\x43reateLiveSession\x12\x38.google.cloud.video.stitcher.v1.CreateLiveSessionRequest\x1a+.google.cloud.video.stitcher.v1.LiveSession\"\\\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/liveSessions:\x0clive_session\xda\x41\x13parent,live_session\x12\xb5\x01\n\x0eGetLiveSession\x12\x35.google.cloud.video.stitcher.v1.GetLiveSessionRequest\x1a+.google.cloud.video.stitcher.v1.LiveSession\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/liveSessions/*}\xda\x41\x04name\x12\xb5\x02\n\x10\x43reateLiveConfig\x12\x37.google.cloud.video.stitcher.v1.CreateLiveConfigRequest\x1a\x1d.google.longrunning.Operation\"\xc8\x01\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/liveConfigs:\x0blive_config\xda\x41!parent,live_config,live_config_id\xca\x41]\n)google.cloud.video.stitcher.v1.LiveConfig\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\x12\xc4\x01\n\x0fListLiveConfigs\x12\x36.google.cloud.video.stitcher.v1.ListLiveConfigsRequest\x1a\x37.google.cloud.video.stitcher.v1.ListLiveConfigsResponse\"@\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/liveConfigs\xda\x41\x06parent\x12\xb1\x01\n\rGetLiveConfig\x12\x34.google.cloud.video.stitcher.v1.GetLiveConfigRequest\x1a*.google.cloud.video.stitcher.v1.LiveConfig\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/liveConfigs/*}\xda\x41\x04name\x12\xf7\x01\n\x10\x44\x65leteLiveConfig\x12\x37.google.cloud.video.stitcher.v1.DeleteLiveConfigRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/liveConfigs/*}\xda\x41\x04name\xca\x41I\n\x15google.protobuf.Empty\x12\x30google.cloud.video.stitcher.v1.OperationMetadata\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
+ pool = Google::Protobuf::DescriptorPool.generated_pool
26
+
27
+ begin
28
+ pool.add_serialized_file(descriptor_data)
29
+ rescue TypeError => e
30
+ # Compatibility code: will be removed in the next major version.
31
+ require 'google/protobuf/descriptor_pb'
32
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
33
+ parsed.clear_dependency
34
+ serialized = parsed.class.encode(parsed)
35
+ file = pool.add_serialized_file(serialized)
36
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
37
+ imports = [
38
+ ["google.cloud.video.stitcher.v1.CdnKey", "google/cloud/video/stitcher/v1/cdn_keys.proto"],
39
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
40
+ ["google.cloud.video.stitcher.v1.VodSession", "google/cloud/video/stitcher/v1/sessions.proto"],
41
+ ["google.cloud.video.stitcher.v1.VodStitchDetail", "google/cloud/video/stitcher/v1/stitch_details.proto"],
42
+ ["google.cloud.video.stitcher.v1.VodAdTagDetail", "google/cloud/video/stitcher/v1/ad_tag_details.proto"],
43
+ ["google.cloud.video.stitcher.v1.Slate", "google/cloud/video/stitcher/v1/slates.proto"],
44
+ ["google.cloud.video.stitcher.v1.LiveConfig", "google/cloud/video/stitcher/v1/live_configs.proto"],
45
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
46
+ ]
47
+ imports.each do |type_name, expected_filename|
48
+ import_file = pool.lookup(type_name).file_descriptor
49
+ if import_file.name != expected_filename
50
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
123
51
  end
124
52
  end
53
+ warn "Each proto file must use a consistent fully-qualified name."
54
+ warn "This will become an error in the next major version."
125
55
  end
126
56
 
127
57
  module Google
@@ -154,6 +84,12 @@ module Google
154
84
  DeleteSlateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.DeleteSlateRequest").msgclass
155
85
  CreateLiveSessionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.CreateLiveSessionRequest").msgclass
156
86
  GetLiveSessionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.GetLiveSessionRequest").msgclass
87
+ CreateLiveConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.CreateLiveConfigRequest").msgclass
88
+ ListLiveConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ListLiveConfigsRequest").msgclass
89
+ ListLiveConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ListLiveConfigsResponse").msgclass
90
+ GetLiveConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.GetLiveConfigRequest").msgclass
91
+ DeleteLiveConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.DeleteLiveConfigRequest").msgclass
92
+ OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.OperationMetadata").msgclass
157
93
  end
158
94
  end
159
95
  end
@@ -39,16 +39,16 @@ module Google
39
39
  self.service_name = 'google.cloud.video.stitcher.v1.VideoStitcherService'
40
40
 
41
41
  # Creates a new CDN key.
42
- rpc :CreateCdnKey, ::Google::Cloud::Video::Stitcher::V1::CreateCdnKeyRequest, ::Google::Cloud::Video::Stitcher::V1::CdnKey
42
+ rpc :CreateCdnKey, ::Google::Cloud::Video::Stitcher::V1::CreateCdnKeyRequest, ::Google::Longrunning::Operation
43
43
  # Lists all CDN keys in the specified project and location.
44
44
  rpc :ListCdnKeys, ::Google::Cloud::Video::Stitcher::V1::ListCdnKeysRequest, ::Google::Cloud::Video::Stitcher::V1::ListCdnKeysResponse
45
45
  # Returns the specified CDN key.
46
46
  rpc :GetCdnKey, ::Google::Cloud::Video::Stitcher::V1::GetCdnKeyRequest, ::Google::Cloud::Video::Stitcher::V1::CdnKey
47
47
  # Deletes the specified CDN key.
48
- rpc :DeleteCdnKey, ::Google::Cloud::Video::Stitcher::V1::DeleteCdnKeyRequest, ::Google::Protobuf::Empty
48
+ rpc :DeleteCdnKey, ::Google::Cloud::Video::Stitcher::V1::DeleteCdnKeyRequest, ::Google::Longrunning::Operation
49
49
  # Updates the specified CDN key. Only update fields specified
50
50
  # in the call method body.
51
- rpc :UpdateCdnKey, ::Google::Cloud::Video::Stitcher::V1::UpdateCdnKeyRequest, ::Google::Cloud::Video::Stitcher::V1::CdnKey
51
+ rpc :UpdateCdnKey, ::Google::Cloud::Video::Stitcher::V1::UpdateCdnKeyRequest, ::Google::Longrunning::Operation
52
52
  # Creates a client side playback VOD session and returns the full
53
53
  # tracking and playback metadata of the session.
54
54
  rpc :CreateVodSession, ::Google::Cloud::Video::Stitcher::V1::CreateVodSessionRequest, ::Google::Cloud::Video::Stitcher::V1::VodSession
@@ -69,19 +69,30 @@ module Google
69
69
  # Returns the specified ad tag detail for the specified live session.
70
70
  rpc :GetLiveAdTagDetail, ::Google::Cloud::Video::Stitcher::V1::GetLiveAdTagDetailRequest, ::Google::Cloud::Video::Stitcher::V1::LiveAdTagDetail
71
71
  # Creates a slate.
72
- rpc :CreateSlate, ::Google::Cloud::Video::Stitcher::V1::CreateSlateRequest, ::Google::Cloud::Video::Stitcher::V1::Slate
72
+ rpc :CreateSlate, ::Google::Cloud::Video::Stitcher::V1::CreateSlateRequest, ::Google::Longrunning::Operation
73
73
  # Lists all slates in the specified project and location.
74
74
  rpc :ListSlates, ::Google::Cloud::Video::Stitcher::V1::ListSlatesRequest, ::Google::Cloud::Video::Stitcher::V1::ListSlatesResponse
75
75
  # Returns the specified slate.
76
76
  rpc :GetSlate, ::Google::Cloud::Video::Stitcher::V1::GetSlateRequest, ::Google::Cloud::Video::Stitcher::V1::Slate
77
77
  # Updates the specified slate.
78
- rpc :UpdateSlate, ::Google::Cloud::Video::Stitcher::V1::UpdateSlateRequest, ::Google::Cloud::Video::Stitcher::V1::Slate
78
+ rpc :UpdateSlate, ::Google::Cloud::Video::Stitcher::V1::UpdateSlateRequest, ::Google::Longrunning::Operation
79
79
  # Deletes the specified slate.
80
- rpc :DeleteSlate, ::Google::Cloud::Video::Stitcher::V1::DeleteSlateRequest, ::Google::Protobuf::Empty
80
+ rpc :DeleteSlate, ::Google::Cloud::Video::Stitcher::V1::DeleteSlateRequest, ::Google::Longrunning::Operation
81
81
  # Creates a new live session.
82
82
  rpc :CreateLiveSession, ::Google::Cloud::Video::Stitcher::V1::CreateLiveSessionRequest, ::Google::Cloud::Video::Stitcher::V1::LiveSession
83
83
  # Returns the details for the specified live session.
84
84
  rpc :GetLiveSession, ::Google::Cloud::Video::Stitcher::V1::GetLiveSessionRequest, ::Google::Cloud::Video::Stitcher::V1::LiveSession
85
+ # Registers the live config with the provided unique ID in
86
+ # the specified region.
87
+ rpc :CreateLiveConfig, ::Google::Cloud::Video::Stitcher::V1::CreateLiveConfigRequest, ::Google::Longrunning::Operation
88
+ # Lists all live configs managed by the Video Stitcher that
89
+ # belong to the specified project and region.
90
+ rpc :ListLiveConfigs, ::Google::Cloud::Video::Stitcher::V1::ListLiveConfigsRequest, ::Google::Cloud::Video::Stitcher::V1::ListLiveConfigsResponse
91
+ # Returns the specified live config managed by the Video
92
+ # Stitcher service.
93
+ rpc :GetLiveConfig, ::Google::Cloud::Video::Stitcher::V1::GetLiveConfigRequest, ::Google::Cloud::Video::Stitcher::V1::LiveConfig
94
+ # Deletes the specified live config.
95
+ rpc :DeleteLiveConfig, ::Google::Cloud::Video::Stitcher::V1::DeleteLiveConfigRequest, ::Google::Longrunning::Operation
85
96
  end
86
97
 
87
98
  Stub = Service.rpc_stub_class
@@ -24,9 +24,9 @@ module Google
24
24
  module Video
25
25
  module Stitcher
26
26
  ##
27
- # To load this package, including all its services, and instantiate a client:
27
+ # API client module.
28
28
  #
29
- # @example
29
+ # @example Load this package, including all its services, and instantiate a gRPC client
30
30
  #
31
31
  # require "google/cloud/video/stitcher/v1"
32
32
  # client = ::Google::Cloud::Video::Stitcher::V1::VideoStitcherService::Client.new