google-cloud-video-stitcher-v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +149 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +139 -0
  6. data/lib/google/cloud/video/stitcher/v1/ad_tag_details_pb.rb +52 -0
  7. data/lib/google/cloud/video/stitcher/v1/cdn_keys_pb.rb +40 -0
  8. data/lib/google/cloud/video/stitcher/v1/companions_pb.rb +63 -0
  9. data/lib/google/cloud/video/stitcher/v1/events_pb.rb +61 -0
  10. data/lib/google/cloud/video/stitcher/v1/sessions_pb.rb +98 -0
  11. data/lib/google/cloud/video/stitcher/v1/slates_pb.rb +27 -0
  12. data/lib/google/cloud/video/stitcher/v1/stitch_details_pb.rb +37 -0
  13. data/lib/google/cloud/video/stitcher/v1/version.rb +30 -0
  14. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/client.rb +2307 -0
  15. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/credentials.rb +49 -0
  16. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb +191 -0
  17. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service.rb +55 -0
  18. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service_pb.rb +162 -0
  19. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service_services_pb.rb +93 -0
  20. data/lib/google/cloud/video/stitcher/v1.rb +40 -0
  21. data/lib/google-cloud-video-stitcher-v1.rb +21 -0
  22. data/proto_docs/README.md +4 -0
  23. data/proto_docs/google/api/field_behavior.rb +71 -0
  24. data/proto_docs/google/api/resource.rb +222 -0
  25. data/proto_docs/google/cloud/video/stitcher/v1/ad_tag_details.rb +102 -0
  26. data/proto_docs/google/cloud/video/stitcher/v1/cdn_keys.rb +71 -0
  27. data/proto_docs/google/cloud/video/stitcher/v1/companions.rb +129 -0
  28. data/proto_docs/google/cloud/video/stitcher/v1/events.rb +141 -0
  29. data/proto_docs/google/cloud/video/stitcher/v1/sessions.rb +287 -0
  30. data/proto_docs/google/cloud/video/stitcher/v1/slates.rb +42 -0
  31. data/proto_docs/google/cloud/video/stitcher/v1/stitch_details.rb +71 -0
  32. data/proto_docs/google/cloud/video/stitcher/v1/video_stitcher_service.rb +378 -0
  33. data/proto_docs/google/protobuf/duration.rb +98 -0
  34. data/proto_docs/google/protobuf/empty.rb +36 -0
  35. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  36. data/proto_docs/google/protobuf/struct.rb +96 -0
  37. data/proto_docs/google/protobuf/timestamp.rb +129 -0
  38. metadata +230 -0
@@ -0,0 +1,49 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 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
+ require "googleauth"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Video
24
+ module Stitcher
25
+ module V1
26
+ module VideoStitcherService
27
+ # Credentials for the VideoStitcherService API.
28
+ class Credentials < ::Google::Auth::Credentials
29
+ self.scope = [
30
+ "https://www.googleapis.com/auth/cloud-platform"
31
+ ]
32
+ self.env_vars = [
33
+ "GOOGLE_CLOUD_CREDENTIALS",
34
+ "GOOGLE_CLOUD_KEYFILE",
35
+ "GCLOUD_KEYFILE",
36
+ "GOOGLE_CLOUD_CREDENTIALS_JSON",
37
+ "GOOGLE_CLOUD_KEYFILE_JSON",
38
+ "GCLOUD_KEYFILE_JSON"
39
+ ]
40
+ self.paths = [
41
+ "~/.config/google_cloud/application_default_credentials.json"
42
+ ]
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,191 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 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
+ module VideoStitcherService
26
+ # Path helper methods for the VideoStitcherService API.
27
+ module Paths
28
+ ##
29
+ # Create a fully-qualified CdnKey resource string.
30
+ #
31
+ # The resource will be in the following format:
32
+ #
33
+ # `projects/{project}/locations/{location}/cdnKeys/{cdn_key}`
34
+ #
35
+ # @param project [String]
36
+ # @param location [String]
37
+ # @param cdn_key [String]
38
+ #
39
+ # @return [::String]
40
+ def cdn_key_path project:, location:, cdn_key:
41
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
42
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
43
+
44
+ "projects/#{project}/locations/#{location}/cdnKeys/#{cdn_key}"
45
+ end
46
+
47
+ ##
48
+ # Create a fully-qualified LiveAdTagDetail resource string.
49
+ #
50
+ # The resource will be in the following format:
51
+ #
52
+ # `projects/{project}/locations/{location}/liveSessions/{live_session}/liveAdTagDetails/{live_ad_tag_detail}`
53
+ #
54
+ # @param project [String]
55
+ # @param location [String]
56
+ # @param live_session [String]
57
+ # @param live_ad_tag_detail [String]
58
+ #
59
+ # @return [::String]
60
+ def live_ad_tag_detail_path project:, location:, live_session:, live_ad_tag_detail:
61
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
62
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
63
+ raise ::ArgumentError, "live_session cannot contain /" if live_session.to_s.include? "/"
64
+
65
+ "projects/#{project}/locations/#{location}/liveSessions/#{live_session}/liveAdTagDetails/#{live_ad_tag_detail}"
66
+ end
67
+
68
+ ##
69
+ # Create a fully-qualified LiveSession resource string.
70
+ #
71
+ # The resource will be in the following format:
72
+ #
73
+ # `projects/{project}/locations/{location}/liveSessions/{live_session}`
74
+ #
75
+ # @param project [String]
76
+ # @param location [String]
77
+ # @param live_session [String]
78
+ #
79
+ # @return [::String]
80
+ def live_session_path project:, location:, live_session:
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}/liveSessions/#{live_session}"
85
+ end
86
+
87
+ ##
88
+ # Create a fully-qualified Location resource string.
89
+ #
90
+ # The resource will be in the following format:
91
+ #
92
+ # `projects/{project}/locations/{location}`
93
+ #
94
+ # @param project [String]
95
+ # @param location [String]
96
+ #
97
+ # @return [::String]
98
+ def location_path project:, location:
99
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
100
+
101
+ "projects/#{project}/locations/#{location}"
102
+ end
103
+
104
+ ##
105
+ # Create a fully-qualified Slate resource string.
106
+ #
107
+ # The resource will be in the following format:
108
+ #
109
+ # `projects/{project}/locations/{location}/slates/{slate}`
110
+ #
111
+ # @param project [String]
112
+ # @param location [String]
113
+ # @param slate [String]
114
+ #
115
+ # @return [::String]
116
+ def slate_path project:, location:, slate:
117
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
118
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
119
+
120
+ "projects/#{project}/locations/#{location}/slates/#{slate}"
121
+ end
122
+
123
+ ##
124
+ # Create a fully-qualified VodAdTagDetail resource string.
125
+ #
126
+ # The resource will be in the following format:
127
+ #
128
+ # `projects/{project}/locations/{location}/vodSessions/{vod_session}/vodAdTagDetails/{vod_ad_tag_detail}`
129
+ #
130
+ # @param project [String]
131
+ # @param location [String]
132
+ # @param vod_session [String]
133
+ # @param vod_ad_tag_detail [String]
134
+ #
135
+ # @return [::String]
136
+ def vod_ad_tag_detail_path project:, location:, vod_session:, vod_ad_tag_detail:
137
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
138
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
139
+ raise ::ArgumentError, "vod_session cannot contain /" if vod_session.to_s.include? "/"
140
+
141
+ "projects/#{project}/locations/#{location}/vodSessions/#{vod_session}/vodAdTagDetails/#{vod_ad_tag_detail}"
142
+ end
143
+
144
+ ##
145
+ # Create a fully-qualified VodSession resource string.
146
+ #
147
+ # The resource will be in the following format:
148
+ #
149
+ # `projects/{project}/locations/{location}/vodSessions/{vod_session}`
150
+ #
151
+ # @param project [String]
152
+ # @param location [String]
153
+ # @param vod_session [String]
154
+ #
155
+ # @return [::String]
156
+ def vod_session_path project:, location:, vod_session:
157
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
158
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
159
+
160
+ "projects/#{project}/locations/#{location}/vodSessions/#{vod_session}"
161
+ end
162
+
163
+ ##
164
+ # Create a fully-qualified VodStitchDetail resource string.
165
+ #
166
+ # The resource will be in the following format:
167
+ #
168
+ # `projects/{project}/locations/{location}/vodSessions/{vod_session}/vodStitchDetails/{vod_stitch_detail}`
169
+ #
170
+ # @param project [String]
171
+ # @param location [String]
172
+ # @param vod_session [String]
173
+ # @param vod_stitch_detail [String]
174
+ #
175
+ # @return [::String]
176
+ def vod_stitch_detail_path project:, location:, vod_session:, vod_stitch_detail:
177
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
178
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
179
+ raise ::ArgumentError, "vod_session cannot contain /" if vod_session.to_s.include? "/"
180
+
181
+ "projects/#{project}/locations/#{location}/vodSessions/#{vod_session}/vodStitchDetails/#{vod_stitch_detail}"
182
+ end
183
+
184
+ extend self
185
+ end
186
+ end
187
+ end
188
+ end
189
+ end
190
+ end
191
+ end
@@ -0,0 +1,55 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 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
+ require "gapic/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/video/stitcher/v1/version"
24
+
25
+ require "google/cloud/video/stitcher/v1/video_stitcher_service/credentials"
26
+ require "google/cloud/video/stitcher/v1/video_stitcher_service/paths"
27
+ require "google/cloud/video/stitcher/v1/video_stitcher_service/client"
28
+
29
+ module Google
30
+ module Cloud
31
+ module Video
32
+ module Stitcher
33
+ module V1
34
+ ##
35
+ # Video-On-Demand content stitching API allows you to insert ads
36
+ # into (VoD) video on demand files. You will be able to render custom
37
+ # scrubber bars with highlighted ads, enforce ad policies, allow
38
+ # seamless playback and tracking on native players and monetize
39
+ # content with any standard VMAP compliant ad server.
40
+ #
41
+ # To load this service and instantiate a client:
42
+ #
43
+ # require "google/cloud/video/stitcher/v1/video_stitcher_service"
44
+ # client = ::Google::Cloud::Video::Stitcher::V1::VideoStitcherService::Client.new
45
+ #
46
+ module VideoStitcherService
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+
54
+ helper_path = ::File.join __dir__, "video_stitcher_service", "helpers.rb"
55
+ require "google/cloud/video/stitcher/v1/video_stitcher_service/helpers" if ::File.file? helper_path
@@ -0,0 +1,162 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/video/stitcher/v1/video_stitcher_service.proto
3
+
4
+ require 'google/api/annotations_pb'
5
+ require 'google/api/client_pb'
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/cloud/video/stitcher/v1/ad_tag_details_pb'
9
+ require 'google/cloud/video/stitcher/v1/cdn_keys_pb'
10
+ require 'google/cloud/video/stitcher/v1/sessions_pb'
11
+ require 'google/cloud/video/stitcher/v1/slates_pb'
12
+ require 'google/cloud/video/stitcher/v1/stitch_details_pb'
13
+ require 'google/protobuf/duration_pb'
14
+ require 'google/protobuf/empty_pb'
15
+ require 'google/protobuf/field_mask_pb'
16
+ require 'google/protobuf/timestamp_pb'
17
+ require 'google/protobuf'
18
+
19
+ Google::Protobuf::DescriptorPool.generated_pool.build do
20
+ add_file("google/cloud/video/stitcher/v1/video_stitcher_service.proto", :syntax => :proto3) do
21
+ add_message "google.cloud.video.stitcher.v1.CreateCdnKeyRequest" do
22
+ optional :parent, :string, 1
23
+ optional :cdn_key, :message, 2, "google.cloud.video.stitcher.v1.CdnKey"
24
+ optional :cdn_key_id, :string, 3
25
+ end
26
+ add_message "google.cloud.video.stitcher.v1.ListCdnKeysRequest" do
27
+ optional :parent, :string, 1
28
+ optional :page_size, :int32, 2
29
+ optional :page_token, :string, 3
30
+ optional :filter, :string, 4
31
+ optional :order_by, :string, 5
32
+ end
33
+ add_message "google.cloud.video.stitcher.v1.ListCdnKeysResponse" do
34
+ repeated :cdn_keys, :message, 1, "google.cloud.video.stitcher.v1.CdnKey"
35
+ optional :next_page_token, :string, 2
36
+ repeated :unreachable, :string, 3
37
+ end
38
+ add_message "google.cloud.video.stitcher.v1.GetCdnKeyRequest" do
39
+ optional :name, :string, 1
40
+ end
41
+ add_message "google.cloud.video.stitcher.v1.DeleteCdnKeyRequest" do
42
+ optional :name, :string, 1
43
+ end
44
+ add_message "google.cloud.video.stitcher.v1.UpdateCdnKeyRequest" do
45
+ optional :cdn_key, :message, 1, "google.cloud.video.stitcher.v1.CdnKey"
46
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
47
+ end
48
+ add_message "google.cloud.video.stitcher.v1.CreateVodSessionRequest" do
49
+ optional :parent, :string, 1
50
+ optional :vod_session, :message, 2, "google.cloud.video.stitcher.v1.VodSession"
51
+ end
52
+ add_message "google.cloud.video.stitcher.v1.GetVodSessionRequest" do
53
+ optional :name, :string, 1
54
+ end
55
+ add_message "google.cloud.video.stitcher.v1.ListVodStitchDetailsRequest" do
56
+ optional :parent, :string, 1
57
+ optional :page_size, :int32, 2
58
+ optional :page_token, :string, 3
59
+ end
60
+ add_message "google.cloud.video.stitcher.v1.ListVodStitchDetailsResponse" do
61
+ repeated :vod_stitch_details, :message, 1, "google.cloud.video.stitcher.v1.VodStitchDetail"
62
+ optional :next_page_token, :string, 2
63
+ end
64
+ add_message "google.cloud.video.stitcher.v1.GetVodStitchDetailRequest" do
65
+ optional :name, :string, 1
66
+ end
67
+ add_message "google.cloud.video.stitcher.v1.ListVodAdTagDetailsRequest" do
68
+ optional :parent, :string, 1
69
+ optional :page_size, :int32, 2
70
+ optional :page_token, :string, 3
71
+ end
72
+ add_message "google.cloud.video.stitcher.v1.ListVodAdTagDetailsResponse" do
73
+ repeated :vod_ad_tag_details, :message, 1, "google.cloud.video.stitcher.v1.VodAdTagDetail"
74
+ optional :next_page_token, :string, 2
75
+ end
76
+ add_message "google.cloud.video.stitcher.v1.GetVodAdTagDetailRequest" do
77
+ optional :name, :string, 1
78
+ end
79
+ add_message "google.cloud.video.stitcher.v1.ListLiveAdTagDetailsRequest" do
80
+ optional :parent, :string, 1
81
+ optional :page_size, :int32, 2
82
+ optional :page_token, :string, 3
83
+ end
84
+ add_message "google.cloud.video.stitcher.v1.ListLiveAdTagDetailsResponse" do
85
+ repeated :live_ad_tag_details, :message, 1, "google.cloud.video.stitcher.v1.LiveAdTagDetail"
86
+ optional :next_page_token, :string, 2
87
+ end
88
+ add_message "google.cloud.video.stitcher.v1.GetLiveAdTagDetailRequest" do
89
+ optional :name, :string, 1
90
+ end
91
+ add_message "google.cloud.video.stitcher.v1.CreateSlateRequest" do
92
+ optional :parent, :string, 1
93
+ optional :slate_id, :string, 2
94
+ optional :slate, :message, 3, "google.cloud.video.stitcher.v1.Slate"
95
+ end
96
+ add_message "google.cloud.video.stitcher.v1.GetSlateRequest" do
97
+ optional :name, :string, 1
98
+ end
99
+ add_message "google.cloud.video.stitcher.v1.ListSlatesRequest" do
100
+ optional :parent, :string, 1
101
+ optional :page_size, :int32, 2
102
+ optional :page_token, :string, 3
103
+ optional :filter, :string, 4
104
+ optional :order_by, :string, 5
105
+ end
106
+ add_message "google.cloud.video.stitcher.v1.ListSlatesResponse" do
107
+ repeated :slates, :message, 1, "google.cloud.video.stitcher.v1.Slate"
108
+ optional :next_page_token, :string, 2
109
+ repeated :unreachable, :string, 3
110
+ end
111
+ add_message "google.cloud.video.stitcher.v1.UpdateSlateRequest" do
112
+ optional :slate, :message, 1, "google.cloud.video.stitcher.v1.Slate"
113
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
114
+ end
115
+ add_message "google.cloud.video.stitcher.v1.DeleteSlateRequest" do
116
+ optional :name, :string, 1
117
+ end
118
+ add_message "google.cloud.video.stitcher.v1.CreateLiveSessionRequest" do
119
+ optional :parent, :string, 1
120
+ optional :live_session, :message, 2, "google.cloud.video.stitcher.v1.LiveSession"
121
+ end
122
+ add_message "google.cloud.video.stitcher.v1.GetLiveSessionRequest" do
123
+ optional :name, :string, 1
124
+ end
125
+ end
126
+ end
127
+
128
+ module Google
129
+ module Cloud
130
+ module Video
131
+ module Stitcher
132
+ module V1
133
+ CreateCdnKeyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.CreateCdnKeyRequest").msgclass
134
+ ListCdnKeysRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ListCdnKeysRequest").msgclass
135
+ ListCdnKeysResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ListCdnKeysResponse").msgclass
136
+ GetCdnKeyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.GetCdnKeyRequest").msgclass
137
+ DeleteCdnKeyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.DeleteCdnKeyRequest").msgclass
138
+ UpdateCdnKeyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.UpdateCdnKeyRequest").msgclass
139
+ CreateVodSessionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.CreateVodSessionRequest").msgclass
140
+ GetVodSessionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.GetVodSessionRequest").msgclass
141
+ ListVodStitchDetailsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ListVodStitchDetailsRequest").msgclass
142
+ ListVodStitchDetailsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ListVodStitchDetailsResponse").msgclass
143
+ GetVodStitchDetailRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.GetVodStitchDetailRequest").msgclass
144
+ ListVodAdTagDetailsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ListVodAdTagDetailsRequest").msgclass
145
+ ListVodAdTagDetailsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ListVodAdTagDetailsResponse").msgclass
146
+ GetVodAdTagDetailRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.GetVodAdTagDetailRequest").msgclass
147
+ ListLiveAdTagDetailsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ListLiveAdTagDetailsRequest").msgclass
148
+ ListLiveAdTagDetailsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ListLiveAdTagDetailsResponse").msgclass
149
+ GetLiveAdTagDetailRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.GetLiveAdTagDetailRequest").msgclass
150
+ CreateSlateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.CreateSlateRequest").msgclass
151
+ GetSlateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.GetSlateRequest").msgclass
152
+ ListSlatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ListSlatesRequest").msgclass
153
+ ListSlatesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ListSlatesResponse").msgclass
154
+ UpdateSlateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.UpdateSlateRequest").msgclass
155
+ DeleteSlateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.DeleteSlateRequest").msgclass
156
+ CreateLiveSessionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.CreateLiveSessionRequest").msgclass
157
+ GetLiveSessionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.GetLiveSessionRequest").msgclass
158
+ end
159
+ end
160
+ end
161
+ end
162
+ end
@@ -0,0 +1,93 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/video/stitcher/v1/video_stitcher_service.proto for package 'google.cloud.video.stitcher.v1'
3
+ # Original file comments:
4
+ # Copyright 2022 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/video/stitcher/v1/video_stitcher_service_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module Video
25
+ module Stitcher
26
+ module V1
27
+ module VideoStitcherService
28
+ # Video-On-Demand content stitching API allows you to insert ads
29
+ # into (VoD) video on demand files. You will be able to render custom
30
+ # scrubber bars with highlighted ads, enforce ad policies, allow
31
+ # seamless playback and tracking on native players and monetize
32
+ # content with any standard VMAP compliant ad server.
33
+ class Service
34
+
35
+ include ::GRPC::GenericService
36
+
37
+ self.marshal_class_method = :encode
38
+ self.unmarshal_class_method = :decode
39
+ self.service_name = 'google.cloud.video.stitcher.v1.VideoStitcherService'
40
+
41
+ # Creates a new CDN key.
42
+ rpc :CreateCdnKey, ::Google::Cloud::Video::Stitcher::V1::CreateCdnKeyRequest, ::Google::Cloud::Video::Stitcher::V1::CdnKey
43
+ # Lists all CDN keys in the specified project and location.
44
+ rpc :ListCdnKeys, ::Google::Cloud::Video::Stitcher::V1::ListCdnKeysRequest, ::Google::Cloud::Video::Stitcher::V1::ListCdnKeysResponse
45
+ # Returns the specified CDN key.
46
+ rpc :GetCdnKey, ::Google::Cloud::Video::Stitcher::V1::GetCdnKeyRequest, ::Google::Cloud::Video::Stitcher::V1::CdnKey
47
+ # Deletes the specified CDN key.
48
+ rpc :DeleteCdnKey, ::Google::Cloud::Video::Stitcher::V1::DeleteCdnKeyRequest, ::Google::Protobuf::Empty
49
+ # Updates the specified CDN key. Only update fields specified
50
+ # in the call method body.
51
+ rpc :UpdateCdnKey, ::Google::Cloud::Video::Stitcher::V1::UpdateCdnKeyRequest, ::Google::Cloud::Video::Stitcher::V1::CdnKey
52
+ # Creates a client side playback VOD session and returns the full
53
+ # tracking and playback metadata of the session.
54
+ rpc :CreateVodSession, ::Google::Cloud::Video::Stitcher::V1::CreateVodSessionRequest, ::Google::Cloud::Video::Stitcher::V1::VodSession
55
+ # Returns the full tracking, playback metadata, and relevant ad-ops
56
+ # logs for the specified VOD session.
57
+ rpc :GetVodSession, ::Google::Cloud::Video::Stitcher::V1::GetVodSessionRequest, ::Google::Cloud::Video::Stitcher::V1::VodSession
58
+ # Returns a list of detailed stitching information of the specified VOD
59
+ # session.
60
+ rpc :ListVodStitchDetails, ::Google::Cloud::Video::Stitcher::V1::ListVodStitchDetailsRequest, ::Google::Cloud::Video::Stitcher::V1::ListVodStitchDetailsResponse
61
+ # Returns the specified stitching information for the specified VOD session.
62
+ rpc :GetVodStitchDetail, ::Google::Cloud::Video::Stitcher::V1::GetVodStitchDetailRequest, ::Google::Cloud::Video::Stitcher::V1::VodStitchDetail
63
+ # Return the list of ad tag details for the specified VOD session.
64
+ rpc :ListVodAdTagDetails, ::Google::Cloud::Video::Stitcher::V1::ListVodAdTagDetailsRequest, ::Google::Cloud::Video::Stitcher::V1::ListVodAdTagDetailsResponse
65
+ # Returns the specified ad tag detail for the specified VOD session.
66
+ rpc :GetVodAdTagDetail, ::Google::Cloud::Video::Stitcher::V1::GetVodAdTagDetailRequest, ::Google::Cloud::Video::Stitcher::V1::VodAdTagDetail
67
+ # Return the list of ad tag details for the specified live session.
68
+ rpc :ListLiveAdTagDetails, ::Google::Cloud::Video::Stitcher::V1::ListLiveAdTagDetailsRequest, ::Google::Cloud::Video::Stitcher::V1::ListLiveAdTagDetailsResponse
69
+ # Returns the specified ad tag detail for the specified live session.
70
+ rpc :GetLiveAdTagDetail, ::Google::Cloud::Video::Stitcher::V1::GetLiveAdTagDetailRequest, ::Google::Cloud::Video::Stitcher::V1::LiveAdTagDetail
71
+ # Creates a slate.
72
+ rpc :CreateSlate, ::Google::Cloud::Video::Stitcher::V1::CreateSlateRequest, ::Google::Cloud::Video::Stitcher::V1::Slate
73
+ # Lists all slates in the specified project and location.
74
+ rpc :ListSlates, ::Google::Cloud::Video::Stitcher::V1::ListSlatesRequest, ::Google::Cloud::Video::Stitcher::V1::ListSlatesResponse
75
+ # Returns the specified slate.
76
+ rpc :GetSlate, ::Google::Cloud::Video::Stitcher::V1::GetSlateRequest, ::Google::Cloud::Video::Stitcher::V1::Slate
77
+ # Updates the specified slate.
78
+ rpc :UpdateSlate, ::Google::Cloud::Video::Stitcher::V1::UpdateSlateRequest, ::Google::Cloud::Video::Stitcher::V1::Slate
79
+ # Deletes the specified slate.
80
+ rpc :DeleteSlate, ::Google::Cloud::Video::Stitcher::V1::DeleteSlateRequest, ::Google::Protobuf::Empty
81
+ # Creates a new live session.
82
+ rpc :CreateLiveSession, ::Google::Cloud::Video::Stitcher::V1::CreateLiveSessionRequest, ::Google::Cloud::Video::Stitcher::V1::LiveSession
83
+ # Returns the details for the specified live session.
84
+ rpc :GetLiveSession, ::Google::Cloud::Video::Stitcher::V1::GetLiveSessionRequest, ::Google::Cloud::Video::Stitcher::V1::LiveSession
85
+ end
86
+
87
+ Stub = Service.rpc_stub_class
88
+ end
89
+ end
90
+ end
91
+ end
92
+ end
93
+ end
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 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
+ require "google/cloud/video/stitcher/v1/video_stitcher_service"
20
+ require "google/cloud/video/stitcher/v1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module Video
25
+ module Stitcher
26
+ ##
27
+ # To load this package, including all its services, and instantiate a client:
28
+ #
29
+ # require "google/cloud/video/stitcher/v1"
30
+ # client = ::Google::Cloud::Video::Stitcher::V1::VideoStitcherService::Client.new
31
+ #
32
+ module V1
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
38
+
39
+ helper_path = ::File.join __dir__, "v1", "_helpers.rb"
40
+ require "google/cloud/video/stitcher/v1/_helpers" if ::File.file? helper_path
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 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
+ # This gem does not autoload during Bundler.require. To load this gem,
20
+ # issue explicit require statements for the packages desired, e.g.:
21
+ # require "google/cloud/video/stitcher/v1"
@@ -0,0 +1,4 @@
1
+ # Video Stitcher V1 Protocol Buffer Documentation
2
+
3
+ These files are for the YARD documentation of the generated protobuf files.
4
+ They are not intended to be required or loaded at runtime.