google-cloud-video-stitcher-v1 0.3.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +1 -1
  3. data/README.md +2 -2
  4. data/lib/google/cloud/video/stitcher/v1/cdn_keys_pb.rb +6 -0
  5. data/lib/google/cloud/video/stitcher/v1/live_configs_pb.rb +66 -0
  6. data/lib/google/cloud/video/stitcher/v1/sessions_pb.rb +13 -17
  7. data/lib/google/cloud/video/stitcher/v1/slates_pb.rb +6 -0
  8. data/lib/google/cloud/video/stitcher/v1/version.rb +1 -1
  9. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/client.rb +569 -75
  10. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/operations.rb +770 -0
  11. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service/paths.rb +19 -0
  12. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service.rb +2 -1
  13. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service_pb.rb +40 -0
  14. data/lib/google/cloud/video/stitcher/v1/video_stitcher_service_services_pb.rb +17 -6
  15. data/lib/google/cloud/video/stitcher/v1.rb +2 -2
  16. data/proto_docs/google/api/client.rb +372 -0
  17. data/proto_docs/google/api/launch_stage.rb +71 -0
  18. data/proto_docs/google/cloud/video/stitcher/v1/cdn_keys.rb +15 -0
  19. data/proto_docs/google/cloud/video/stitcher/v1/live_configs.rb +144 -0
  20. data/proto_docs/google/cloud/video/stitcher/v1/sessions.rb +38 -68
  21. data/proto_docs/google/cloud/video/stitcher/v1/slates.rb +16 -0
  22. data/proto_docs/google/cloud/video/stitcher/v1/video_stitcher_service.rb +146 -18
  23. data/proto_docs/google/longrunning/operations.rb +164 -0
  24. data/proto_docs/google/protobuf/any.rb +141 -0
  25. data/proto_docs/google/protobuf/empty.rb +0 -2
  26. data/proto_docs/google/protobuf/timestamp.rb +129 -0
  27. data/proto_docs/google/rpc/status.rb +48 -0
  28. metadata +16 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96eb03430d5697a6743efbcc043c579495944c7f55efc8e2847bbcd634b984a1
4
- data.tar.gz: 7bec3020e709182a5ec202d2160a8e262dd85e29acbbc5568524d2c1f45c1dc6
3
+ metadata.gz: 19e9a94a950990cf60a68f7e4bd9e93cc6c131c669c20fc1fe96a84d714c7501
4
+ data.tar.gz: da1bb84166fe645fd8809bb0d2c1766fc46e5aecfed8b9994e01a1c600da7719
5
5
  SHA512:
6
- metadata.gz: 175594207a1170891ec08ef715942b6d386cca4cb98661bf59ec8b5f2148ee903b02fe5c0db012a1c5d93589d6f8f3b3dfb0afa8947b4f2e6c0113a3f4e02711
7
- data.tar.gz: a8be62fdf4e3bbb6a166fb032c77017339d6517ccf88e7feb213dd020c91d880a229ee284093604801a1b46dae00394f0c0fc333ebf8bdf49f69a84f2a541ce0
6
+ metadata.gz: 9296c06a7e4714ea17a4c8d1d01f946446331399c82d419151e5132ec8f9aa485596b1ed76f8912c156c1f1bd530c2e0dd163a983d57fff7bb1f06acfc5bccee
7
+ data.tar.gz: 423400f92d31dedec73cd89d52b7ad993018dce93a0ee66652ce4b2340092d4a7bdbf6a79e69d76214e54a05ce00cfd91933c0b4725852fef5ff22fad8f37e11
data/AUTHENTICATION.md CHANGED
@@ -112,7 +112,7 @@ credentials are discovered.
112
112
  To configure your system for this, simply:
113
113
 
114
114
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
115
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
115
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
116
116
  3. Write code as if already authenticated.
117
117
 
118
118
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -46,8 +46,8 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -14,6 +14,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
14
14
  oneof :cdn_key_config do
15
15
  optional :google_cdn_key, :message, 5, "google.cloud.video.stitcher.v1.GoogleCdnKey"
16
16
  optional :akamai_cdn_key, :message, 6, "google.cloud.video.stitcher.v1.AkamaiCdnKey"
17
+ optional :media_cdn_key, :message, 8, "google.cloud.video.stitcher.v1.MediaCdnKey"
17
18
  end
18
19
  end
19
20
  add_message "google.cloud.video.stitcher.v1.GoogleCdnKey" do
@@ -23,6 +24,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
23
24
  add_message "google.cloud.video.stitcher.v1.AkamaiCdnKey" do
24
25
  optional :token_key, :bytes, 1
25
26
  end
27
+ add_message "google.cloud.video.stitcher.v1.MediaCdnKey" do
28
+ optional :private_key, :bytes, 1
29
+ optional :key_name, :string, 2
30
+ end
26
31
  end
27
32
  end
28
33
 
@@ -34,6 +39,7 @@ module Google
34
39
  CdnKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.CdnKey").msgclass
35
40
  GoogleCdnKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.GoogleCdnKey").msgclass
36
41
  AkamaiCdnKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.AkamaiCdnKey").msgclass
42
+ MediaCdnKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.MediaCdnKey").msgclass
37
43
  end
38
44
  end
39
45
  end
@@ -0,0 +1,66 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/video/stitcher/v1/live_configs.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/protobuf/duration_pb'
9
+
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_file("google/cloud/video/stitcher/v1/live_configs.proto", :syntax => :proto3) do
12
+ add_message "google.cloud.video.stitcher.v1.LiveConfig" do
13
+ optional :name, :string, 1
14
+ optional :source_uri, :string, 2
15
+ optional :ad_tag_uri, :string, 3
16
+ optional :gam_live_config, :message, 4, "google.cloud.video.stitcher.v1.GamLiveConfig"
17
+ optional :state, :enum, 5, "google.cloud.video.stitcher.v1.LiveConfig.State"
18
+ optional :ad_tracking, :enum, 6, "google.cloud.video.stitcher.v1.AdTracking"
19
+ optional :default_slate, :string, 7
20
+ optional :stitching_policy, :enum, 8, "google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy"
21
+ optional :prefetch_config, :message, 10, "google.cloud.video.stitcher.v1.PrefetchConfig"
22
+ end
23
+ add_enum "google.cloud.video.stitcher.v1.LiveConfig.State" do
24
+ value :STATE_UNSPECIFIED, 0
25
+ value :CREATING, 1
26
+ value :READY, 2
27
+ value :DELETING, 3
28
+ end
29
+ add_enum "google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy" do
30
+ value :STITCHING_POLICY_UNSPECIFIED, 0
31
+ value :CUT_CURRENT, 1
32
+ value :COMPLETE_AD, 2
33
+ end
34
+ add_message "google.cloud.video.stitcher.v1.PrefetchConfig" do
35
+ optional :enabled, :bool, 1
36
+ optional :initial_ad_request_duration, :message, 2, "google.protobuf.Duration"
37
+ end
38
+ add_message "google.cloud.video.stitcher.v1.GamLiveConfig" do
39
+ optional :network_code, :string, 1
40
+ optional :asset_key, :string, 2
41
+ optional :custom_asset_key, :string, 3
42
+ end
43
+ add_enum "google.cloud.video.stitcher.v1.AdTracking" do
44
+ value :AD_TRACKING_UNSPECIFIED, 0
45
+ value :CLIENT, 1
46
+ value :SERVER, 2
47
+ end
48
+ end
49
+ end
50
+
51
+ module Google
52
+ module Cloud
53
+ module Video
54
+ module Stitcher
55
+ module V1
56
+ LiveConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.LiveConfig").msgclass
57
+ LiveConfig::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.LiveConfig.State").enummodule
58
+ LiveConfig::StitchingPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy").enummodule
59
+ PrefetchConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.PrefetchConfig").msgclass
60
+ GamLiveConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.GamLiveConfig").msgclass
61
+ AdTracking = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.AdTracking").enummodule
62
+ end
63
+ end
64
+ end
65
+ end
66
+ end
@@ -7,6 +7,7 @@ require 'google/api/field_behavior_pb'
7
7
  require 'google/api/resource_pb'
8
8
  require 'google/cloud/video/stitcher/v1/companions_pb'
9
9
  require 'google/cloud/video/stitcher/v1/events_pb'
10
+ require 'google/cloud/video/stitcher/v1/live_configs_pb'
10
11
  require 'google/protobuf/duration_pb'
11
12
 
12
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -18,9 +19,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
18
19
  optional :source_uri, :string, 5
19
20
  optional :ad_tag_uri, :string, 6
20
21
  map :ad_tag_macro_map, :string, :string, 7
21
- optional :client_ad_tracking, :bool, 8
22
22
  optional :manifest_options, :message, 9, "google.cloud.video.stitcher.v1.ManifestOptions"
23
23
  optional :asset_id, :string, 10
24
+ optional :ad_tracking, :enum, 11, "google.cloud.video.stitcher.v1.AdTracking"
25
+ optional :gam_settings, :message, 13, "google.cloud.video.stitcher.v1.VodSession.GamSettings"
26
+ end
27
+ add_message "google.cloud.video.stitcher.v1.VodSession.GamSettings" do
28
+ optional :network_code, :string, 1
29
+ optional :stream_id, :string, 2
24
30
  end
25
31
  add_message "google.cloud.video.stitcher.v1.Interstitials" do
26
32
  repeated :ad_breaks, :message, 1, "google.cloud.video.stitcher.v1.VodSessionAdBreak"
@@ -43,23 +49,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
43
49
  add_message "google.cloud.video.stitcher.v1.LiveSession" do
44
50
  optional :name, :string, 1
45
51
  optional :play_uri, :string, 2
46
- optional :source_uri, :string, 3
47
- optional :default_ad_tag_id, :string, 4
48
- map :ad_tag_map, :string, :message, 5, "google.cloud.video.stitcher.v1.AdTag"
49
52
  map :ad_tag_macros, :string, :string, 6
50
- optional :client_ad_tracking, :bool, 7
51
- optional :default_slate_id, :string, 8
52
- optional :stitching_policy, :enum, 9, "google.cloud.video.stitcher.v1.LiveSession.StitchingPolicy"
53
53
  optional :manifest_options, :message, 10, "google.cloud.video.stitcher.v1.ManifestOptions"
54
- optional :stream_id, :string, 11
55
- end
56
- add_enum "google.cloud.video.stitcher.v1.LiveSession.StitchingPolicy" do
57
- value :STITCHING_POLICY_UNSPECIFIED, 0
58
- value :COMPLETE_AD, 1
59
- value :CUT_CURRENT, 3
54
+ optional :gam_settings, :message, 15, "google.cloud.video.stitcher.v1.LiveSession.GamSettings"
55
+ optional :live_config, :string, 16
60
56
  end
61
- add_message "google.cloud.video.stitcher.v1.AdTag" do
62
- optional :uri, :string, 1
57
+ add_message "google.cloud.video.stitcher.v1.LiveSession.GamSettings" do
58
+ optional :stream_id, :string, 1
63
59
  end
64
60
  add_message "google.cloud.video.stitcher.v1.ManifestOptions" do
65
61
  repeated :include_renditions, :message, 1, "google.cloud.video.stitcher.v1.RenditionFilter"
@@ -83,13 +79,13 @@ module Google
83
79
  module Stitcher
84
80
  module V1
85
81
  VodSession = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSession").msgclass
82
+ VodSession::GamSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSession.GamSettings").msgclass
86
83
  Interstitials = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.Interstitials").msgclass
87
84
  VodSessionAd = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSessionAd").msgclass
88
85
  VodSessionContent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSessionContent").msgclass
89
86
  VodSessionAdBreak = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.VodSessionAdBreak").msgclass
90
87
  LiveSession = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.LiveSession").msgclass
91
- LiveSession::StitchingPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.LiveSession.StitchingPolicy").enummodule
92
- AdTag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.AdTag").msgclass
88
+ LiveSession::GamSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.LiveSession.GamSettings").msgclass
93
89
  ManifestOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ManifestOptions").msgclass
94
90
  ManifestOptions::OrderPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.ManifestOptions.OrderPolicy").enummodule
95
91
  RenditionFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.RenditionFilter").msgclass
@@ -11,6 +11,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  add_message "google.cloud.video.stitcher.v1.Slate" do
12
12
  optional :name, :string, 1
13
13
  optional :uri, :string, 2
14
+ optional :gam_slate, :message, 3, "google.cloud.video.stitcher.v1.Slate.GamSlate"
15
+ end
16
+ add_message "google.cloud.video.stitcher.v1.Slate.GamSlate" do
17
+ optional :network_code, :string, 1
18
+ optional :gam_slate_id, :int64, 2
14
19
  end
15
20
  end
16
21
  end
@@ -21,6 +26,7 @@ module Google
21
26
  module Stitcher
22
27
  module V1
23
28
  Slate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.Slate").msgclass
29
+ Slate::GamSlate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.stitcher.v1.Slate.GamSlate").msgclass
24
30
  end
25
31
  end
26
32
  end
@@ -22,7 +22,7 @@ module Google
22
22
  module Video
23
23
  module Stitcher
24
24
  module V1
25
- VERSION = "0.3.0"
25
+ VERSION = "0.5.0"
26
26
  end
27
27
  end
28
28
  end