google-cloud-video-live_stream-v1 0.3.0 → 0.4.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 335800f66cbab8eb96937f2a2b30f67d98f1fb406524ed5aee96d0cad93af800
4
- data.tar.gz: 8f6eb801f7b71a50f91c4aaf78cbe03d20b9f4a0bc876dd22699cc0d12e89042
3
+ metadata.gz: 258c051b3100fe1c7d72dc4dfe5478640e7b13666f9c2bf07397b6c7cd8de2ef
4
+ data.tar.gz: c0318c2e52322e47def2ea9c41c81ec82dfd1caf51f828d7068f537880318227
5
5
  SHA512:
6
- metadata.gz: 4dd076aedef42281c62bc714622aca73169e6dc6528fdd4776c63596467823d8db02afb1e9495b03f2466fbca386d8d8473a20c40847f43d843e1c86cede2048
7
- data.tar.gz: 651ec92784c62a50a96df9d3a1ba7c9211911a061a3d7ebf3906173720edf86279f3c49def86167a76e535762d5424d76cf4cac50f90119f35bab8433d76d5f7
6
+ metadata.gz: 222805d85ed7a84a32d7a2a03e660ffa9e05ce816f8b72fb4ee3e7a08f0a6b5674654a6c59a62ad963a7ce2858efde724658fa42dd1991588384b713cb081e2d
7
+ data.tar.gz: 1c3421034ab538d5f38f199963de1c0da62296a017479b2527a43c05086759305648aa417722703543ed35de9e27048e22724d4c52f2e81ba3666ea40898509f
data/README.md CHANGED
@@ -47,7 +47,7 @@ for general usage information.
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
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://googleapis.dev/ruby/google-cloud-logging/latest)
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
 
@@ -0,0 +1,104 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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/config"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Video
24
+ module LiveStream
25
+ ##
26
+ # @example Loading just the REST part of this package, including all its services, and instantiating a REST client
27
+ #
28
+ # require "google/cloud/video/live_stream/v1/rest"
29
+ # client = ::Google::Cloud::Video::LiveStream::V1::LivestreamService::Rest::Client.new
30
+ #
31
+ module V1
32
+ ##
33
+ # @private
34
+ # Initialize the mixin bindings configuration
35
+ #
36
+ def self.configure
37
+ @configure ||= begin
38
+ namespace = ["Google", "Cloud", "Video", "LiveStream"]
39
+ parent_config = while namespace.any?
40
+ parent_name = namespace.join "::"
41
+ parent_const = const_get parent_name
42
+ break parent_const.configure if parent_const.respond_to? :configure
43
+ namespace.pop
44
+ end
45
+
46
+ default_config = Configuration.new parent_config
47
+ default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
48
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
49
+ uri_method: :get,
50
+ uri_template: "/v1/{name}",
51
+ matches: [
52
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
53
+ ],
54
+ body: nil
55
+ )
56
+ ]
57
+ default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [
58
+
59
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
60
+ uri_method: :get,
61
+ uri_template: "/v1/{name}/locations",
62
+ matches: [
63
+ ["name", %r{^projects/[^/]+/?$}, false]
64
+ ],
65
+ body: nil
66
+ )
67
+ ]
68
+ default_config
69
+ end
70
+ yield @configure if block_given?
71
+ @configure
72
+ end
73
+
74
+ ##
75
+ # @private
76
+ # Configuration class for the google.cloud.video.livestream.v1 package.
77
+ #
78
+ # This class contains common configuration for all services
79
+ # of the google.cloud.video.livestream.v1 package.
80
+ #
81
+ # This configuration is for internal use of the client library classes,
82
+ # and it is not intended that the end-users will read or change it.
83
+ #
84
+ class Configuration
85
+ extend ::Gapic::Config
86
+
87
+ # @private
88
+ # Overrides for http bindings for the RPC of the mixins for this package.
89
+ # Services in this package should use these when creating clients for the mixin services.
90
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
91
+ config_attr :bindings_override, {}, ::Hash, nil
92
+
93
+ # @private
94
+ def initialize parent_config = nil
95
+ @parent_config = parent_config unless parent_config.nil?
96
+
97
+ yield self if block_given?
98
+ end
99
+ end
100
+ end
101
+ end
102
+ end
103
+ end
104
+ end
@@ -18,6 +18,7 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/video/livestream/v1/service_pb"
21
+ require "google/cloud/location"
21
22
 
22
23
  module Google
23
24
  module Cloud
@@ -194,6 +195,12 @@ module Google
194
195
  config.endpoint = @config.endpoint
195
196
  end
196
197
 
198
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
199
+ config.credentials = credentials
200
+ config.quota_project = @quota_project_id
201
+ config.endpoint = @config.endpoint
202
+ end
203
+
197
204
  @livestream_service_stub = ::Gapic::ServiceStub.new(
198
205
  ::Google::Cloud::Video::LiveStream::V1::LivestreamService::Stub,
199
206
  credentials: credentials,
@@ -210,6 +217,13 @@ module Google
210
217
  #
211
218
  attr_reader :operations_client
212
219
 
220
+ ##
221
+ # Get the associated client for mix-in of the Locations.
222
+ #
223
+ # @return [Google::Cloud::Location::Locations::Client]
224
+ #
225
+ attr_reader :location_client
226
+
213
227
  # Service calls
214
228
 
215
229
  ##
@@ -352,8 +366,8 @@ module Google
352
366
  # The maximum number of items to return. If unspecified, server
353
367
  # will pick an appropriate default. Server may return fewer items than
354
368
  # requested. A caller should only rely on response's
355
- # {::Google::Cloud::Video::LiveStream::V1::ListChannelsResponse#next_page_token next_page_token} to
356
- # determine if there are more items left to be queried.
369
+ # {::Google::Cloud::Video::LiveStream::V1::ListChannelsResponse#next_page_token next_page_token}
370
+ # to determine if there are more items left to be queried.
357
371
  # @param page_token [::String]
358
372
  # The next_page_token value returned from a previous List request, if any.
359
373
  # @param filter [::String]
@@ -653,14 +667,22 @@ module Google
653
667
  # resource by the update. You can only update the following fields:
654
668
  #
655
669
  # * [`inputAttachments`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputattachment)
670
+ # * [`inputConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputconfig)
656
671
  # * [`output`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#output)
657
- # * [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#ElementaryStream)
672
+ # * [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#elementarystream)
658
673
  # * [`muxStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#muxstream)
659
- # * [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#Manifest)
660
- # * [`spritesheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet)
674
+ # * [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#manifest)
675
+ # * [`spriteSheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet)
676
+ # * [`logConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#logconfig)
677
+ # * [`timecodeConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#timecodeconfig)
678
+ # * [`encryptions`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#encryption)
661
679
  #
662
680
  # The fields specified in the update_mask are relative to the resource, not
663
681
  # the full request. A field will be overwritten if it is in the mask.
682
+ #
683
+ # If the mask is not present, then each field from the list above is updated
684
+ # if the field appears in the request payload. To unset a field, add the
685
+ # field to the update mask and remove it from the request payload.
664
686
  # @param channel [::Google::Cloud::Video::LiveStream::V1::Channel, ::Hash]
665
687
  # Required. The channel resource to be updated.
666
688
  # @param request_id [::String]
@@ -1107,8 +1129,8 @@ module Google
1107
1129
  # The maximum number of items to return. If unspecified, server
1108
1130
  # will pick an appropriate default. Server may return fewer items than
1109
1131
  # requested. A caller should only rely on response's
1110
- # {::Google::Cloud::Video::LiveStream::V1::ListInputsResponse#next_page_token next_page_token} to
1111
- # determine if there are more items left to be queried.
1132
+ # {::Google::Cloud::Video::LiveStream::V1::ListInputsResponse#next_page_token next_page_token}
1133
+ # to determine if there are more items left to be queried.
1112
1134
  # @param page_token [::String]
1113
1135
  # The next_page_token value returned from a previous List request, if any.
1114
1136
  # @param filter [::String]
@@ -1407,6 +1429,10 @@ module Google
1407
1429
  #
1408
1430
  # The fields specified in the update_mask are relative to the resource, not
1409
1431
  # the full request. A field will be overwritten if it is in the mask.
1432
+ #
1433
+ # If the mask is not present, then each field from the list above is updated
1434
+ # if the field appears in the request payload. To unset a field, add the
1435
+ # field to the update mask and remove it from the request payload.
1410
1436
  # @param input [::Google::Cloud::Video::LiveStream::V1::Input, ::Hash]
1411
1437
  # Required. The input resource to be updated.
1412
1438
  # @param request_id [::String]
@@ -1627,8 +1653,8 @@ module Google
1627
1653
  # The maximum number of items to return. If unspecified, server
1628
1654
  # will pick an appropriate default. Server may return fewer items than
1629
1655
  # requested. A caller should only rely on response's
1630
- # {::Google::Cloud::Video::LiveStream::V1::ListEventsResponse#next_page_token next_page_token} to
1631
- # determine if there are more items left to be queried.
1656
+ # {::Google::Cloud::Video::LiveStream::V1::ListEventsResponse#next_page_token next_page_token}
1657
+ # to determine if there are more items left to be queried.
1632
1658
  # @param page_token [::String]
1633
1659
  # The next_page_token value returned from a previous List request, if any.
1634
1660
  # @param filter [::String]
@@ -1930,9 +1956,9 @@ module Google
1930
1956
  # * (`String`) The path to a service account key file in JSON format
1931
1957
  # * (`Hash`) A service account key as a Hash
1932
1958
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1933
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1959
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1934
1960
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1935
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1961
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1936
1962
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1937
1963
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1938
1964
  # * (`nil`) indicating no credentials
@@ -621,9 +621,9 @@ module Google
621
621
  # * (`String`) The path to a service account key file in JSON format
622
622
  # * (`Hash`) A service account key as a Hash
623
623
  # * (`Google::Auth::Credentials`) A googleauth credentials object
624
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
624
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
625
625
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
626
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
626
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
627
627
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
628
628
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
629
629
  # * (`nil`) indicating no credentials
@@ -101,6 +101,25 @@ module Google
101
101
  "projects/#{project}/locations/#{location}"
102
102
  end
103
103
 
104
+ ##
105
+ # Create a fully-qualified SecretVersion resource string.
106
+ #
107
+ # The resource will be in the following format:
108
+ #
109
+ # `projects/{project}/secrets/{secret}/versions/{version}`
110
+ #
111
+ # @param project [String]
112
+ # @param secret [String]
113
+ # @param version [String]
114
+ #
115
+ # @return [::String]
116
+ def secret_version_path project:, secret:, version:
117
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
118
+ raise ::ArgumentError, "secret cannot contain /" if secret.to_s.include? "/"
119
+
120
+ "projects/#{project}/secrets/#{secret}/versions/#{version}"
121
+ end
122
+
104
123
  extend self
105
124
  end
106
125
  end
@@ -19,6 +19,7 @@
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/video/livestream/v1/service_pb"
21
21
  require "google/cloud/video/live_stream/v1/livestream_service/rest/service_stub"
22
+ require "google/cloud/location/rest"
22
23
 
23
24
  module Google
24
25
  module Cloud
@@ -191,6 +192,13 @@ module Google
191
192
  config.endpoint = @config.endpoint
192
193
  end
193
194
 
195
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
196
+ config.credentials = credentials
197
+ config.quota_project = @quota_project_id
198
+ config.endpoint = @config.endpoint
199
+ config.bindings_override = @config.bindings_override
200
+ end
201
+
194
202
  @livestream_service_stub = ::Google::Cloud::Video::LiveStream::V1::LivestreamService::Rest::ServiceStub.new endpoint: @config.endpoint, credentials: credentials
195
203
  end
196
204
 
@@ -201,6 +209,13 @@ module Google
201
209
  #
202
210
  attr_reader :operations_client
203
211
 
212
+ ##
213
+ # Get the associated client for mix-in of the Locations.
214
+ #
215
+ # @return [Google::Cloud::Location::Locations::Rest::Client]
216
+ #
217
+ attr_reader :location_client
218
+
204
219
  # Service calls
205
220
 
206
221
  ##
@@ -313,8 +328,8 @@ module Google
313
328
  # The maximum number of items to return. If unspecified, server
314
329
  # will pick an appropriate default. Server may return fewer items than
315
330
  # requested. A caller should only rely on response's
316
- # {::Google::Cloud::Video::LiveStream::V1::ListChannelsResponse#next_page_token next_page_token} to
317
- # determine if there are more items left to be queried.
331
+ # {::Google::Cloud::Video::LiveStream::V1::ListChannelsResponse#next_page_token next_page_token}
332
+ # to determine if there are more items left to be queried.
318
333
  # @param page_token [::String]
319
334
  # The next_page_token value returned from a previous List request, if any.
320
335
  # @param filter [::String]
@@ -533,14 +548,22 @@ module Google
533
548
  # resource by the update. You can only update the following fields:
534
549
  #
535
550
  # * [`inputAttachments`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputattachment)
551
+ # * [`inputConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputconfig)
536
552
  # * [`output`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#output)
537
- # * [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#ElementaryStream)
553
+ # * [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#elementarystream)
538
554
  # * [`muxStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#muxstream)
539
- # * [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#Manifest)
540
- # * [`spritesheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet)
555
+ # * [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#manifest)
556
+ # * [`spriteSheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet)
557
+ # * [`logConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#logconfig)
558
+ # * [`timecodeConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#timecodeconfig)
559
+ # * [`encryptions`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#encryption)
541
560
  #
542
561
  # The fields specified in the update_mask are relative to the resource, not
543
562
  # the full request. A field will be overwritten if it is in the mask.
563
+ #
564
+ # If the mask is not present, then each field from the list above is updated
565
+ # if the field appears in the request payload. To unset a field, add the
566
+ # field to the update mask and remove it from the request payload.
544
567
  # @param channel [::Google::Cloud::Video::LiveStream::V1::Channel, ::Hash]
545
568
  # Required. The channel resource to be updated.
546
569
  # @param request_id [::String]
@@ -867,8 +890,8 @@ module Google
867
890
  # The maximum number of items to return. If unspecified, server
868
891
  # will pick an appropriate default. Server may return fewer items than
869
892
  # requested. A caller should only rely on response's
870
- # {::Google::Cloud::Video::LiveStream::V1::ListInputsResponse#next_page_token next_page_token} to
871
- # determine if there are more items left to be queried.
893
+ # {::Google::Cloud::Video::LiveStream::V1::ListInputsResponse#next_page_token next_page_token}
894
+ # to determine if there are more items left to be queried.
872
895
  # @param page_token [::String]
873
896
  # The next_page_token value returned from a previous List request, if any.
874
897
  # @param filter [::String]
@@ -1086,6 +1109,10 @@ module Google
1086
1109
  #
1087
1110
  # The fields specified in the update_mask are relative to the resource, not
1088
1111
  # the full request. A field will be overwritten if it is in the mask.
1112
+ #
1113
+ # If the mask is not present, then each field from the list above is updated
1114
+ # if the field appears in the request payload. To unset a field, add the
1115
+ # field to the update mask and remove it from the request payload.
1089
1116
  # @param input [::Google::Cloud::Video::LiveStream::V1::Input, ::Hash]
1090
1117
  # Required. The input resource to be updated.
1091
1118
  # @param request_id [::String]
@@ -1253,8 +1280,8 @@ module Google
1253
1280
  # The maximum number of items to return. If unspecified, server
1254
1281
  # will pick an appropriate default. Server may return fewer items than
1255
1282
  # requested. A caller should only rely on response's
1256
- # {::Google::Cloud::Video::LiveStream::V1::ListEventsResponse#next_page_token next_page_token} to
1257
- # determine if there are more items left to be queried.
1283
+ # {::Google::Cloud::Video::LiveStream::V1::ListEventsResponse#next_page_token next_page_token}
1284
+ # to determine if there are more items left to be queried.
1258
1285
  # @param page_token [::String]
1259
1286
  # The next_page_token value returned from a previous List request, if any.
1260
1287
  # @param filter [::String]
@@ -1482,9 +1509,9 @@ module Google
1482
1509
  # * (`String`) The path to a service account key file in JSON format
1483
1510
  # * (`Hash`) A service account key as a Hash
1484
1511
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1485
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1512
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1486
1513
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1487
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1514
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1488
1515
  # * (`nil`) indicating no credentials
1489
1516
  # @return [::Object]
1490
1517
  # @!attribute [rw] scope
@@ -1530,6 +1557,13 @@ module Google
1530
1557
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
1531
1558
  config_attr :quota_project, nil, ::String, nil
1532
1559
 
1560
+ # @private
1561
+ # Overrides for http bindings for the RPCs of this service
1562
+ # are only used when this service is used as mixin, and only
1563
+ # by the host service.
1564
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
1565
+ config_attr :bindings_override, {}, ::Hash, nil
1566
+
1533
1567
  # @private
1534
1568
  def initialize parent_config = nil
1535
1569
  @parent_config = parent_config unless parent_config.nil?
@@ -412,9 +412,9 @@ module Google
412
412
  # * (`String`) The path to a service account key file in JSON format
413
413
  # * (`Hash`) A service account key as a Hash
414
414
  # * (`Google::Auth::Credentials`) A googleauth credentials object
415
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
415
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
416
416
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
417
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
417
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
418
418
  # * (`nil`) indicating no credentials
419
419
  # @return [::Object]
420
420
  # @!attribute [rw] scope
@@ -21,6 +21,7 @@ require "gapic/config"
21
21
  require "gapic/config/method"
22
22
 
23
23
  require "google/cloud/video/live_stream/v1/version"
24
+ require "google/cloud/video/live_stream/v1/bindings_override"
24
25
 
25
26
  require "google/cloud/video/live_stream/v1/livestream_service/credentials"
26
27
  require "google/cloud/video/live_stream/v1/livestream_service/paths"
@@ -17,6 +17,7 @@
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
19
  require "google/cloud/video/live_stream/v1/livestream_service/rest"
20
+ require "google/cloud/video/live_stream/v1/bindings_override"
20
21
  require "google/cloud/video/live_stream/v1/version"
21
22
 
22
23
  module Google
@@ -22,7 +22,7 @@ module Google
22
22
  module Video
23
23
  module LiveStream
24
24
  module V1
25
- VERSION = "0.3.0"
25
+ VERSION = "0.4.0"
26
26
  end
27
27
  end
28
28
  end
@@ -5,6 +5,7 @@ require 'google/protobuf'
5
5
 
6
6
  require 'google/api/field_behavior_pb'
7
7
  require 'google/protobuf/duration_pb'
8
+ require 'google/type/datetime_pb'
8
9
 
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
11
  add_file("google/cloud/video/livestream/v1/outputs.proto", :syntax => :proto3) do
@@ -21,6 +22,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
21
22
  optional :container, :string, 3
22
23
  repeated :elementary_streams, :string, 4
23
24
  optional :segment_settings, :message, 5, "google.cloud.video.livestream.v1.SegmentSettings"
25
+ optional :encryption_id, :string, 6
24
26
  end
25
27
  add_message "google.cloud.video.livestream.v1.Manifest" do
26
28
  optional :file_name, :string, 1
@@ -28,6 +30,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
28
30
  repeated :mux_streams, :string, 3
29
31
  optional :max_segment_count, :int32, 4
30
32
  optional :segment_keep_duration, :message, 5, "google.protobuf.Duration"
33
+ optional :use_timecode_as_timeline, :bool, 6
31
34
  end
32
35
  add_enum "google.cloud.video.livestream.v1.Manifest.ManifestType" do
33
36
  value :MANIFEST_TYPE_UNSPECIFIED, 0
@@ -45,9 +48,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
45
48
  optional :quality, :int32, 8
46
49
  end
47
50
  add_message "google.cloud.video.livestream.v1.PreprocessingConfig" do
51
+ optional :audio, :message, 1, "google.cloud.video.livestream.v1.PreprocessingConfig.Audio"
48
52
  optional :crop, :message, 2, "google.cloud.video.livestream.v1.PreprocessingConfig.Crop"
49
53
  optional :pad, :message, 3, "google.cloud.video.livestream.v1.PreprocessingConfig.Pad"
50
54
  end
55
+ add_message "google.cloud.video.livestream.v1.PreprocessingConfig.Audio" do
56
+ optional :lufs, :double, 1
57
+ end
51
58
  add_message "google.cloud.video.livestream.v1.PreprocessingConfig.Crop" do
52
59
  optional :top_pixels, :int32, 1
53
60
  optional :bottom_pixels, :int32, 2
@@ -98,6 +105,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
98
105
  optional :input_track, :int32, 2
99
106
  optional :input_channel, :int32, 3
100
107
  optional :output_channel, :int32, 4
108
+ optional :gain_db, :double, 5
101
109
  end
102
110
  add_message "google.cloud.video.livestream.v1.TextStream" do
103
111
  optional :codec, :string, 1
@@ -105,6 +113,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
105
113
  add_message "google.cloud.video.livestream.v1.SegmentSettings" do
106
114
  optional :segment_duration, :message, 1, "google.protobuf.Duration"
107
115
  end
116
+ add_message "google.cloud.video.livestream.v1.TimecodeConfig" do
117
+ optional :source, :enum, 1, "google.cloud.video.livestream.v1.TimecodeConfig.TimecodeSource"
118
+ oneof :time_offset do
119
+ optional :utc_offset, :message, 2, "google.protobuf.Duration"
120
+ optional :time_zone, :message, 3, "google.type.TimeZone"
121
+ end
122
+ end
123
+ add_enum "google.cloud.video.livestream.v1.TimecodeConfig.TimecodeSource" do
124
+ value :TIMECODE_SOURCE_UNSPECIFIED, 0
125
+ value :MEDIA_TIMESTAMP, 1
126
+ value :EMBEDDED_TIMECODE, 2
127
+ end
108
128
  end
109
129
  end
110
130
 
@@ -119,6 +139,7 @@ module Google
119
139
  Manifest::ManifestType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.Manifest.ManifestType").enummodule
120
140
  SpriteSheet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.SpriteSheet").msgclass
121
141
  PreprocessingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.PreprocessingConfig").msgclass
142
+ PreprocessingConfig::Audio = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.PreprocessingConfig.Audio").msgclass
122
143
  PreprocessingConfig::Crop = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.PreprocessingConfig.Crop").msgclass
123
144
  PreprocessingConfig::Pad = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.PreprocessingConfig.Pad").msgclass
124
145
  VideoStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.VideoStream").msgclass
@@ -127,6 +148,8 @@ module Google
127
148
  AudioStream::AudioMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.AudioStream.AudioMapping").msgclass
128
149
  TextStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.TextStream").msgclass
129
150
  SegmentSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.SegmentSettings").msgclass
151
+ TimecodeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.TimecodeConfig").msgclass
152
+ TimecodeConfig::TimecodeSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.video.livestream.v1.TimecodeConfig.TimecodeSource").enummodule
130
153
  end
131
154
  end
132
155
  end