google-cloud-video-stitcher-v1 0.1.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 (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,61 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/video/stitcher/v1/events.proto
3
+
4
+ require 'google/protobuf/duration_pb'
5
+ require 'google/protobuf'
6
+
7
+ Google::Protobuf::DescriptorPool.generated_pool.build do
8
+ add_file("google/cloud/video/stitcher/v1/events.proto", :syntax => :proto3) do
9
+ add_message "google.cloud.video.stitcher.v1.Event" do
10
+ optional :type, :enum, 1, "google.cloud.video.stitcher.v1.Event.EventType"
11
+ optional :uri, :string, 2
12
+ optional :id, :string, 3
13
+ optional :offset, :message, 4, "google.protobuf.Duration"
14
+ end
15
+ add_enum "google.cloud.video.stitcher.v1.Event.EventType" do
16
+ value :EVENT_TYPE_UNSPECIFIED, 0
17
+ value :CREATIVE_VIEW, 1
18
+ value :START, 2
19
+ value :BREAK_START, 3
20
+ value :BREAK_END, 4
21
+ value :IMPRESSION, 5
22
+ value :FIRST_QUARTILE, 6
23
+ value :MIDPOINT, 7
24
+ value :THIRD_QUARTILE, 8
25
+ value :COMPLETE, 9
26
+ value :PROGRESS, 10
27
+ value :MUTE, 11
28
+ value :UNMUTE, 12
29
+ value :PAUSE, 13
30
+ value :CLICK, 14
31
+ value :CLICK_THROUGH, 15
32
+ value :REWIND, 16
33
+ value :RESUME, 17
34
+ value :ERROR, 18
35
+ value :EXPAND, 21
36
+ value :COLLAPSE, 22
37
+ value :CLOSE, 24
38
+ value :CLOSE_LINEAR, 25
39
+ value :SKIP, 26
40
+ value :ACCEPT_INVITATION, 27
41
+ end
42
+ add_message "google.cloud.video.stitcher.v1.ProgressEvent" do
43
+ optional :time_offset, :message, 1, "google.protobuf.Duration"
44
+ repeated :events, :message, 2, "google.cloud.video.stitcher.v1.Event"
45
+ end
46
+ end
47
+ end
48
+
49
+ module Google
50
+ module Cloud
51
+ module Video
52
+ module Stitcher
53
+ module V1
54
+ Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.Event").msgclass
55
+ Event::EventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.Event.EventType").enummodule
56
+ ProgressEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ProgressEvent").msgclass
57
+ end
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,98 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/video/stitcher/v1/sessions.proto
3
+
4
+ require 'google/api/field_behavior_pb'
5
+ require 'google/api/resource_pb'
6
+ require 'google/cloud/video/stitcher/v1/companions_pb'
7
+ require 'google/cloud/video/stitcher/v1/events_pb'
8
+ require 'google/protobuf/duration_pb'
9
+ require 'google/protobuf'
10
+
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_file("google/cloud/video/stitcher/v1/sessions.proto", :syntax => :proto3) do
13
+ add_message "google.cloud.video.stitcher.v1.VodSession" do
14
+ optional :name, :string, 1
15
+ optional :interstitials, :message, 2, "google.cloud.video.stitcher.v1.Interstitials"
16
+ optional :play_uri, :string, 4
17
+ optional :source_uri, :string, 5
18
+ optional :ad_tag_uri, :string, 6
19
+ map :ad_tag_macro_map, :string, :string, 7
20
+ optional :client_ad_tracking, :bool, 8
21
+ optional :manifest_options, :message, 9, "google.cloud.video.stitcher.v1.ManifestOptions"
22
+ end
23
+ add_message "google.cloud.video.stitcher.v1.Interstitials" do
24
+ repeated :ad_breaks, :message, 1, "google.cloud.video.stitcher.v1.VodSessionAdBreak"
25
+ optional :session_content, :message, 2, "google.cloud.video.stitcher.v1.VodSessionContent"
26
+ end
27
+ add_message "google.cloud.video.stitcher.v1.VodSessionAd" do
28
+ optional :duration, :message, 1, "google.protobuf.Duration"
29
+ optional :companion_ads, :message, 2, "google.cloud.video.stitcher.v1.CompanionAds"
30
+ repeated :activity_events, :message, 3, "google.cloud.video.stitcher.v1.Event"
31
+ end
32
+ add_message "google.cloud.video.stitcher.v1.VodSessionContent" do
33
+ optional :duration, :message, 1, "google.protobuf.Duration"
34
+ end
35
+ add_message "google.cloud.video.stitcher.v1.VodSessionAdBreak" do
36
+ repeated :progress_events, :message, 1, "google.cloud.video.stitcher.v1.ProgressEvent"
37
+ repeated :ads, :message, 2, "google.cloud.video.stitcher.v1.VodSessionAd"
38
+ optional :end_time_offset, :message, 3, "google.protobuf.Duration"
39
+ optional :start_time_offset, :message, 4, "google.protobuf.Duration"
40
+ end
41
+ add_message "google.cloud.video.stitcher.v1.LiveSession" do
42
+ optional :name, :string, 1
43
+ optional :play_uri, :string, 2
44
+ optional :source_uri, :string, 3
45
+ optional :default_ad_tag_id, :string, 4
46
+ map :ad_tag_map, :string, :message, 5, "google.cloud.video.stitcher.v1.AdTag"
47
+ map :ad_tag_macros, :string, :string, 6
48
+ optional :client_ad_tracking, :bool, 7
49
+ optional :default_slate_id, :string, 8
50
+ optional :stitching_policy, :enum, 9, "google.cloud.video.stitcher.v1.LiveSession.StitchingPolicy"
51
+ optional :manifest_options, :message, 10, "google.cloud.video.stitcher.v1.ManifestOptions"
52
+ end
53
+ add_enum "google.cloud.video.stitcher.v1.LiveSession.StitchingPolicy" do
54
+ value :STITCHING_POLICY_UNSPECIFIED, 0
55
+ value :COMPLETE_AD, 1
56
+ value :COMPLETE_POD, 2
57
+ value :CUT_CURRENT, 3
58
+ end
59
+ add_message "google.cloud.video.stitcher.v1.AdTag" do
60
+ optional :uri, :string, 1
61
+ end
62
+ add_message "google.cloud.video.stitcher.v1.ManifestOptions" do
63
+ repeated :include_renditions, :message, 1, "google.cloud.video.stitcher.v1.RenditionFilter"
64
+ optional :bitrate_order, :enum, 2, "google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy"
65
+ end
66
+ add_enum "google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy" do
67
+ value :ORDER_POLICY_UNSPECIFIED, 0
68
+ value :ASCENDING, 1
69
+ value :DESCENDING, 2
70
+ end
71
+ add_message "google.cloud.video.stitcher.v1.RenditionFilter" do
72
+ optional :bitrate_bps, :int32, 1
73
+ optional :codecs, :string, 2
74
+ end
75
+ end
76
+ end
77
+
78
+ module Google
79
+ module Cloud
80
+ module Video
81
+ module Stitcher
82
+ module V1
83
+ VodSession = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSession").msgclass
84
+ Interstitials = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.Interstitials").msgclass
85
+ VodSessionAd = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSessionAd").msgclass
86
+ VodSessionContent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSessionContent").msgclass
87
+ VodSessionAdBreak = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSessionAdBreak").msgclass
88
+ LiveSession = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.LiveSession").msgclass
89
+ LiveSession::StitchingPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.LiveSession.StitchingPolicy").enummodule
90
+ AdTag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.AdTag").msgclass
91
+ ManifestOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ManifestOptions").msgclass
92
+ ManifestOptions::OrderPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy").enummodule
93
+ RenditionFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.RenditionFilter").msgclass
94
+ end
95
+ end
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,27 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/video/stitcher/v1/slates.proto
3
+
4
+ require 'google/api/field_behavior_pb'
5
+ require 'google/api/resource_pb'
6
+ require 'google/protobuf'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("google/cloud/video/stitcher/v1/slates.proto", :syntax => :proto3) do
10
+ add_message "google.cloud.video.stitcher.v1.Slate" do
11
+ optional :name, :string, 1
12
+ optional :uri, :string, 2
13
+ end
14
+ end
15
+ end
16
+
17
+ module Google
18
+ module Cloud
19
+ module Video
20
+ module Stitcher
21
+ module V1
22
+ Slate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.Slate").msgclass
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,37 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/video/stitcher/v1/stitch_details.proto
3
+
4
+ require 'google/api/field_behavior_pb'
5
+ require 'google/api/resource_pb'
6
+ require 'google/protobuf/duration_pb'
7
+ require 'google/protobuf/struct_pb'
8
+ require 'google/protobuf'
9
+
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_file("google/cloud/video/stitcher/v1/stitch_details.proto", :syntax => :proto3) do
12
+ add_message "google.cloud.video.stitcher.v1.VodStitchDetail" do
13
+ optional :name, :string, 1
14
+ repeated :ad_stitch_details, :message, 3, "google.cloud.video.stitcher.v1.AdStitchDetail"
15
+ end
16
+ add_message "google.cloud.video.stitcher.v1.AdStitchDetail" do
17
+ optional :ad_break_id, :string, 1
18
+ optional :ad_id, :string, 2
19
+ optional :ad_time_offset, :message, 3, "google.protobuf.Duration"
20
+ optional :skip_reason, :string, 4
21
+ map :media, :string, :message, 5, "google.protobuf.Value"
22
+ end
23
+ end
24
+ end
25
+
26
+ module Google
27
+ module Cloud
28
+ module Video
29
+ module Stitcher
30
+ module V1
31
+ VodStitchDetail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodStitchDetail").msgclass
32
+ AdStitchDetail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.AdStitchDetail").msgclass
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,30 @@
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
+ VERSION = "0.1.0"
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end