google-cloud-video-live_stream-v1 1.3.0 → 2.0.1

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: 1ff57f9d6bf770e1145770188ba08e6c858c97c88f2d80440992f83404f9e6aa
4
- data.tar.gz: f85c06a746b028f6477e5c0e962ceaedb2b029cddf289b5343a63a53011bc8bf
3
+ metadata.gz: f9fba609cf942527ca7d7dbc19fb6f8f72f0527bf350ccb0d40f320c2e714b61
4
+ data.tar.gz: 9c1a03336edb0e8df1fb9b45e7fb6d811e8e30f95ec97a465ba6ca4ede639079
5
5
  SHA512:
6
- metadata.gz: 9ea4e3daad9ada134e71f3318e0e110f5d01bb32e2280ebcb32bedf8852d0545335ca6201e2a4d018f73366c215ebfc39ef5bb91fd7f5e7dc3b145edb822276c
7
- data.tar.gz: 26959b8f381cfc951194b8eef4a899d3dce8acb855f4186658f8915d28b4a75c14ba16fcfd9e75e20f6ca11ad5b5f4773653154fc59bcbde5c413033b1dca211
6
+ metadata.gz: f1e24545daae5ea8c51694d50826b870625117fdf6c6d65dea4cce40d8f04135a1cd4d59b6cc03bf75971b5d1d851e8a020757d19da919404622fb7b6893921d
7
+ data.tar.gz: e1e86e0d85cbf3c8ba38de78f6c6ea584fcff16d447888dff3bee0c3219cbdf16d7510f8c1b4d8db8bab915e4adc9239840c8e897e79656fd60454d7fe68f47f
@@ -3102,8 +3102,8 @@ module Google
3102
3102
 
3103
3103
  config_attr :endpoint, nil, ::String, nil
3104
3104
  config_attr :credentials, nil do |value|
3105
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3106
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
3105
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
3106
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
3107
3107
  allowed.any? { |klass| klass === value }
3108
3108
  end
3109
3109
  config_attr :scope, nil, ::String, ::Array, nil
@@ -702,8 +702,8 @@ module Google
702
702
 
703
703
  config_attr :endpoint, nil, ::String, nil
704
704
  config_attr :credentials, nil do |value|
705
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
706
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
705
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
706
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
707
707
  allowed.any? { |klass| klass === value }
708
708
  end
709
709
  config_attr :scope, nil, ::String, ::Array, nil
@@ -406,10 +406,10 @@ module Google
406
406
  # Specifies the ordering of results following syntax at
407
407
  # https://cloud.google.com/apis/design/design_patterns#sorting_order.
408
408
  # @yield [result, operation] Access the result along with the TransportOperation object
409
- # @yieldparam result [::Google::Cloud::Video::LiveStream::V1::ListChannelsResponse]
409
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::LiveStream::V1::Channel>]
410
410
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
411
411
  #
412
- # @return [::Google::Cloud::Video::LiveStream::V1::ListChannelsResponse]
412
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::LiveStream::V1::Channel>]
413
413
  #
414
414
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
415
415
  #
@@ -461,7 +461,9 @@ module Google
461
461
  retry_policy: @config.retry_policy
462
462
 
463
463
  @livestream_service_stub.list_channels request, options do |result, operation|
464
+ result = ::Gapic::Rest::PagedEnumerable.new @livestream_service_stub, :list_channels, "channels", request, result, options
464
465
  yield result, operation if block_given?
466
+ throw :response, result
465
467
  end
466
468
  rescue ::Gapic::Rest::Error => e
467
469
  raise ::Google::Cloud::Error.from_error(e)
@@ -1124,10 +1126,10 @@ module Google
1124
1126
  # Specifies the ordering of results following syntax at [Sorting
1125
1127
  # Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
1126
1128
  # @yield [result, operation] Access the result along with the TransportOperation object
1127
- # @yieldparam result [::Google::Cloud::Video::LiveStream::V1::ListInputsResponse]
1129
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::LiveStream::V1::Input>]
1128
1130
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1129
1131
  #
1130
- # @return [::Google::Cloud::Video::LiveStream::V1::ListInputsResponse]
1132
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::LiveStream::V1::Input>]
1131
1133
  #
1132
1134
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1133
1135
  #
@@ -1179,7 +1181,9 @@ module Google
1179
1181
  retry_policy: @config.retry_policy
1180
1182
 
1181
1183
  @livestream_service_stub.list_inputs request, options do |result, operation|
1184
+ result = ::Gapic::Rest::PagedEnumerable.new @livestream_service_stub, :list_inputs, "inputs", request, result, options
1182
1185
  yield result, operation if block_given?
1186
+ throw :response, result
1183
1187
  end
1184
1188
  rescue ::Gapic::Rest::Error => e
1185
1189
  raise ::Google::Cloud::Error.from_error(e)
@@ -1614,10 +1618,10 @@ module Google
1614
1618
  # Specifies the ordering of results following syntax at
1615
1619
  # https://cloud.google.com/apis/design/design_patterns#sorting_order.
1616
1620
  # @yield [result, operation] Access the result along with the TransportOperation object
1617
- # @yieldparam result [::Google::Cloud::Video::LiveStream::V1::ListEventsResponse]
1621
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::LiveStream::V1::Event>]
1618
1622
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1619
1623
  #
1620
- # @return [::Google::Cloud::Video::LiveStream::V1::ListEventsResponse]
1624
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::LiveStream::V1::Event>]
1621
1625
  #
1622
1626
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1623
1627
  #
@@ -1669,7 +1673,9 @@ module Google
1669
1673
  retry_policy: @config.retry_policy
1670
1674
 
1671
1675
  @livestream_service_stub.list_events request, options do |result, operation|
1676
+ result = ::Gapic::Rest::PagedEnumerable.new @livestream_service_stub, :list_events, "events", request, result, options
1672
1677
  yield result, operation if block_given?
1678
+ throw :response, result
1673
1679
  end
1674
1680
  rescue ::Gapic::Rest::Error => e
1675
1681
  raise ::Google::Cloud::Error.from_error(e)
@@ -1877,10 +1883,10 @@ module Google
1877
1883
  # @param order_by [::String]
1878
1884
  # Hint for how to order the results
1879
1885
  # @yield [result, operation] Access the result along with the TransportOperation object
1880
- # @yieldparam result [::Google::Cloud::Video::LiveStream::V1::ListClipsResponse]
1886
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::LiveStream::V1::Clip>]
1881
1887
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1882
1888
  #
1883
- # @return [::Google::Cloud::Video::LiveStream::V1::ListClipsResponse]
1889
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::LiveStream::V1::Clip>]
1884
1890
  #
1885
1891
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1886
1892
  #
@@ -1932,7 +1938,9 @@ module Google
1932
1938
  retry_policy: @config.retry_policy
1933
1939
 
1934
1940
  @livestream_service_stub.list_clips request, options do |result, operation|
1941
+ result = ::Gapic::Rest::PagedEnumerable.new @livestream_service_stub, :list_clips, "clips", request, result, options
1935
1942
  yield result, operation if block_given?
1943
+ throw :response, result
1936
1944
  end
1937
1945
  rescue ::Gapic::Rest::Error => e
1938
1946
  raise ::Google::Cloud::Error.from_error(e)
@@ -2550,10 +2558,10 @@ module Google
2550
2558
  # @param order_by [::String]
2551
2559
  # Hint for how to order the results
2552
2560
  # @yield [result, operation] Access the result along with the TransportOperation object
2553
- # @yieldparam result [::Google::Cloud::Video::LiveStream::V1::ListAssetsResponse]
2561
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::LiveStream::V1::Asset>]
2554
2562
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2555
2563
  #
2556
- # @return [::Google::Cloud::Video::LiveStream::V1::ListAssetsResponse]
2564
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Video::LiveStream::V1::Asset>]
2557
2565
  #
2558
2566
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2559
2567
  #
@@ -2605,7 +2613,9 @@ module Google
2605
2613
  retry_policy: @config.retry_policy
2606
2614
 
2607
2615
  @livestream_service_stub.list_assets request, options do |result, operation|
2616
+ result = ::Gapic::Rest::PagedEnumerable.new @livestream_service_stub, :list_assets, "assets", request, result, options
2608
2617
  yield result, operation if block_given?
2618
+ throw :response, result
2609
2619
  end
2610
2620
  rescue ::Gapic::Rest::Error => e
2611
2621
  raise ::Google::Cloud::Error.from_error(e)
@@ -2895,7 +2905,7 @@ module Google
2895
2905
 
2896
2906
  config_attr :endpoint, nil, ::String, nil
2897
2907
  config_attr :credentials, nil do |value|
2898
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2908
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2899
2909
  allowed.any? { |klass| klass === value }
2900
2910
  end
2901
2911
  config_attr :scope, nil, ::String, ::Array, nil
@@ -557,7 +557,7 @@ module Google
557
557
 
558
558
  config_attr :endpoint, nil, ::String, nil
559
559
  config_attr :credentials, nil do |value|
560
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
560
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
561
561
  allowed.any? { |klass| klass === value }
562
562
  end
563
563
  config_attr :scope, nil, ::String, ::Array, nil
@@ -22,7 +22,7 @@ module Google
22
22
  module Video
23
23
  module LiveStream
24
24
  module V1
25
- VERSION = "1.3.0"
25
+ VERSION = "2.0.1"
26
26
  end
27
27
  end
28
28
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-video-live_stream-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  requirements: []
134
- rubygems_version: 3.6.2
134
+ rubygems_version: 3.6.8
135
135
  specification_version: 4
136
136
  summary: API Client library for the Live Stream V1 API
137
137
  test_files: []