google-cloud-datastream-v1alpha1 0.9.0 → 0.10.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: 3e8f72614c10e67f8aef248444a34b6525998fd3cd383cbc1b49eba0c995a48e
4
- data.tar.gz: 393fd3dc1925b7e9fd96d60a48caf7267cde6b152c234a310915d08278f6111e
3
+ metadata.gz: c4e9383f207b7072b4e9426894360f3b818509dfc02cea1ea97dd098cf07c47f
4
+ data.tar.gz: f22d023fc83d974b3091b71af7a0c88b2e60f6cbd1f84aeb24274abc39e8478b
5
5
  SHA512:
6
- metadata.gz: 1de37fd9caf59f428afa10a5c68282d6cb7d4f315362860d72471e6f7c6de065a5a7cbe90e2b1325309f24e29f36072017297fb91125758454e2f2f1d3ac6f04
7
- data.tar.gz: b88675c06169a961293a3bdfe6c4d2b1b5b259343a7c04165611d7dd856f3d56b5b878304a0275a6bcceb722eb8622a425559e192a0e0e199c8533913d7bcf87
6
+ metadata.gz: 115a7e8ea6e050521aad4297541bd11ae5204db37854872c6627d5f55e32bdafd903341cf881162fb5d3b9a2d9d792f2389e8e0527f8dde0a2a14caec48951cb
7
+ data.tar.gz: ab9df7dccf3ff177f9f8fa6f349901703a8fe29d199045cea1cb048735d5622f6e1c56583d294351bf7a44bc2428dd5654e40de7d4ef96d89f3ef4d48c7b433a
@@ -2517,8 +2517,8 @@ module Google
2517
2517
 
2518
2518
  config_attr :endpoint, nil, ::String, nil
2519
2519
  config_attr :credentials, nil do |value|
2520
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2521
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
2520
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2521
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
2522
2522
  allowed.any? { |klass| klass === value }
2523
2523
  end
2524
2524
  config_attr :scope, nil, ::String, ::Array, nil
@@ -701,8 +701,8 @@ module Google
701
701
 
702
702
  config_attr :endpoint, nil, ::String, nil
703
703
  config_attr :credentials, nil do |value|
704
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
705
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
706
706
  allowed.any? { |klass| klass === value }
707
707
  end
708
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -251,10 +251,10 @@ module Google
251
251
  # @param order_by [::String]
252
252
  # Order by fields for the result.
253
253
  # @yield [result, operation] Access the result along with the TransportOperation object
254
- # @yieldparam result [::Google::Cloud::Datastream::V1alpha1::ListConnectionProfilesResponse]
254
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Datastream::V1alpha1::ConnectionProfile>]
255
255
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
256
256
  #
257
- # @return [::Google::Cloud::Datastream::V1alpha1::ListConnectionProfilesResponse]
257
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Datastream::V1alpha1::ConnectionProfile>]
258
258
  #
259
259
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
260
260
  #
@@ -306,7 +306,9 @@ module Google
306
306
  retry_policy: @config.retry_policy
307
307
 
308
308
  @datastream_stub.list_connection_profiles request, options do |result, operation|
309
+ result = ::Gapic::Rest::PagedEnumerable.new @datastream_stub, :list_connection_profiles, "connection_profiles", request, result, options
309
310
  yield result, operation if block_given?
311
+ throw :response, result
310
312
  end
311
313
  rescue ::Gapic::Rest::Error => e
312
314
  raise ::Google::Cloud::Error.from_error(e)
@@ -845,10 +847,10 @@ module Google
845
847
  # @param order_by [::String]
846
848
  # Order by fields for the result.
847
849
  # @yield [result, operation] Access the result along with the TransportOperation object
848
- # @yieldparam result [::Google::Cloud::Datastream::V1alpha1::ListStreamsResponse]
850
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Datastream::V1alpha1::Stream>]
849
851
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
850
852
  #
851
- # @return [::Google::Cloud::Datastream::V1alpha1::ListStreamsResponse]
853
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Datastream::V1alpha1::Stream>]
852
854
  #
853
855
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
854
856
  #
@@ -900,7 +902,9 @@ module Google
900
902
  retry_policy: @config.retry_policy
901
903
 
902
904
  @datastream_stub.list_streams request, options do |result, operation|
905
+ result = ::Gapic::Rest::PagedEnumerable.new @datastream_stub, :list_streams, "streams", request, result, options
903
906
  yield result, operation if block_given?
907
+ throw :response, result
904
908
  end
905
909
  rescue ::Gapic::Rest::Error => e
906
910
  raise ::Google::Cloud::Error.from_error(e)
@@ -1423,10 +1427,10 @@ module Google
1423
1427
  # A page token, received from a previous `ListStaticIps` call.
1424
1428
  # will likely not be specified.
1425
1429
  # @yield [result, operation] Access the result along with the TransportOperation object
1426
- # @yieldparam result [::Gapic::Rest::PagedEnumerable<::String>]
1430
+ # @yieldparam result [::Google::Cloud::Datastream::V1alpha1::FetchStaticIpsResponse]
1427
1431
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1428
1432
  #
1429
- # @return [::Gapic::Rest::PagedEnumerable<::String>]
1433
+ # @return [::Google::Cloud::Datastream::V1alpha1::FetchStaticIpsResponse]
1430
1434
  #
1431
1435
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1432
1436
  #
@@ -1474,9 +1478,7 @@ module Google
1474
1478
  retry_policy: @config.retry_policy
1475
1479
 
1476
1480
  @datastream_stub.fetch_static_ips request, options do |result, operation|
1477
- result = ::Gapic::Rest::PagedEnumerable.new @datastream_stub, :fetch_static_ips, "static_ips", request, result, options
1478
1481
  yield result, operation if block_given?
1479
- throw :response, result
1480
1482
  end
1481
1483
  rescue ::Gapic::Rest::Error => e
1482
1484
  raise ::Google::Cloud::Error.from_error(e)
@@ -1703,10 +1705,10 @@ module Google
1703
1705
  # @param order_by [::String]
1704
1706
  # Order by fields for the result.
1705
1707
  # @yield [result, operation] Access the result along with the TransportOperation object
1706
- # @yieldparam result [::Google::Cloud::Datastream::V1alpha1::ListPrivateConnectionsResponse]
1708
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Datastream::V1alpha1::PrivateConnection>]
1707
1709
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1708
1710
  #
1709
- # @return [::Google::Cloud::Datastream::V1alpha1::ListPrivateConnectionsResponse]
1711
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Datastream::V1alpha1::PrivateConnection>]
1710
1712
  #
1711
1713
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1712
1714
  #
@@ -1758,7 +1760,9 @@ module Google
1758
1760
  retry_policy: @config.retry_policy
1759
1761
 
1760
1762
  @datastream_stub.list_private_connections request, options do |result, operation|
1763
+ result = ::Gapic::Rest::PagedEnumerable.new @datastream_stub, :list_private_connections, "private_connections", request, result, options
1761
1764
  yield result, operation if block_given?
1765
+ throw :response, result
1762
1766
  end
1763
1767
  rescue ::Gapic::Rest::Error => e
1764
1768
  raise ::Google::Cloud::Error.from_error(e)
@@ -2090,10 +2094,10 @@ module Google
2090
2094
  # @param order_by [::String]
2091
2095
  # Order by fields for the result.
2092
2096
  # @yield [result, operation] Access the result along with the TransportOperation object
2093
- # @yieldparam result [::Google::Cloud::Datastream::V1alpha1::ListRoutesResponse]
2097
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Datastream::V1alpha1::Route>]
2094
2098
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2095
2099
  #
2096
- # @return [::Google::Cloud::Datastream::V1alpha1::ListRoutesResponse]
2100
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Datastream::V1alpha1::Route>]
2097
2101
  #
2098
2102
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2099
2103
  #
@@ -2145,7 +2149,9 @@ module Google
2145
2149
  retry_policy: @config.retry_policy
2146
2150
 
2147
2151
  @datastream_stub.list_routes request, options do |result, operation|
2152
+ result = ::Gapic::Rest::PagedEnumerable.new @datastream_stub, :list_routes, "routes", request, result, options
2148
2153
  yield result, operation if block_given?
2154
+ throw :response, result
2149
2155
  end
2150
2156
  rescue ::Gapic::Rest::Error => e
2151
2157
  raise ::Google::Cloud::Error.from_error(e)
@@ -2348,7 +2354,7 @@ module Google
2348
2354
 
2349
2355
  config_attr :endpoint, nil, ::String, nil
2350
2356
  config_attr :credentials, nil do |value|
2351
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2357
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2352
2358
  allowed.any? { |klass| klass === value }
2353
2359
  end
2354
2360
  config_attr :scope, nil, ::String, ::Array, nil
@@ -556,7 +556,7 @@ module Google
556
556
 
557
557
  config_attr :endpoint, nil, ::String, nil
558
558
  config_attr :credentials, nil do |value|
559
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
560
560
  allowed.any? { |klass| klass === value }
561
561
  end
562
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Datastream
23
23
  module V1alpha1
24
- VERSION = "0.9.0"
24
+ VERSION = "0.10.1"
25
25
  end
26
26
  end
27
27
  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-datastream-v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
- rubygems_version: 3.6.2
109
+ rubygems_version: 3.6.8
110
110
  specification_version: 4
111
111
  summary: API Client library for the Datastream V1alpha1 API
112
112
  test_files: []