google-cloud-alloy_db-v1alpha 0.10.0 → 0.11.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: 2c9905ae514bf16fb44dcd530487eec3f337ffe07ab155a3b3c4adfb351b0d4f
4
- data.tar.gz: 3c0b911a2142203c1a1f99661a0e5a2430bae8dcb1cceea008cdbd7947d5c522
3
+ metadata.gz: 1e1fc0ec914a0f1da2b47052342166a2de9de61e7a37318382676905c6e2a37f
4
+ data.tar.gz: da8882faba06679aa35d4bb02394c85b808b0b8947633e42d5597ca355e54d5b
5
5
  SHA512:
6
- metadata.gz: 4247017d4abac63e32b0afc50947088d81ce0a6d11258d3d771a217c4d0a837ae4850af18d77d1842ef270279bad69527d3958560a6b8cfe98e9c3399e041807
7
- data.tar.gz: 4426e0d9c22d9ed7b44e1d445065e46b2b08f6ef02d7986967b1a119f79705857256aff588c50621a5e23b5d96207a2683bdba13745a09a6147c0b76d5a41906
6
+ metadata.gz: 62962d62f16b10063a829a4187157faebf791a69bc1cd9f3140739f66a158a88d27462be1b5be685b406e6ef9459a649ac52c017a47f7d8f5e144a7e1b948921
7
+ data.tar.gz: '075693ccc5aa3874a885126e3e59e53eade61376fb4ad9f1fcd66e28edb7c9b11e07dc47bcaa463a45713cff3a89d27af9356784b82ec1c11c75afe5673f6bfe'
@@ -4236,8 +4236,8 @@ module Google
4236
4236
 
4237
4237
  config_attr :endpoint, nil, ::String, nil
4238
4238
  config_attr :credentials, nil do |value|
4239
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
4240
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
4239
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
4240
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
4241
4241
  allowed.any? { |klass| klass === value }
4242
4242
  end
4243
4243
  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
@@ -313,10 +313,10 @@ module Google
313
313
  # @param order_by [::String]
314
314
  # Optional. Hint for how to order the results
315
315
  # @yield [result, operation] Access the result along with the TransportOperation object
316
- # @yieldparam result [::Google::Cloud::AlloyDB::V1alpha::ListClustersResponse]
316
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1alpha::Cluster>]
317
317
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
318
318
  #
319
- # @return [::Google::Cloud::AlloyDB::V1alpha::ListClustersResponse]
319
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1alpha::Cluster>]
320
320
  #
321
321
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
322
322
  #
@@ -368,7 +368,9 @@ module Google
368
368
  retry_policy: @config.retry_policy
369
369
 
370
370
  @alloy_db_admin_stub.list_clusters request, options do |result, operation|
371
+ result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_clusters, "clusters", request, result, options
371
372
  yield result, operation if block_given?
373
+ throw :response, result
372
374
  end
373
375
  rescue ::Gapic::Rest::Error => e
374
376
  raise ::Google::Cloud::Error.from_error(e)
@@ -1392,10 +1394,10 @@ module Google
1392
1394
  # @param order_by [::String]
1393
1395
  # Optional. Hint for how to order the results
1394
1396
  # @yield [result, operation] Access the result along with the TransportOperation object
1395
- # @yieldparam result [::Google::Cloud::AlloyDB::V1alpha::ListInstancesResponse]
1397
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1alpha::Instance>]
1396
1398
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1397
1399
  #
1398
- # @return [::Google::Cloud::AlloyDB::V1alpha::ListInstancesResponse]
1400
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1alpha::Instance>]
1399
1401
  #
1400
1402
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1401
1403
  #
@@ -1447,7 +1449,9 @@ module Google
1447
1449
  retry_policy: @config.retry_policy
1448
1450
 
1449
1451
  @alloy_db_admin_stub.list_instances request, options do |result, operation|
1452
+ result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_instances, "instances", request, result, options
1450
1453
  yield result, operation if block_given?
1454
+ throw :response, result
1451
1455
  end
1452
1456
  rescue ::Gapic::Rest::Error => e
1453
1457
  raise ::Google::Cloud::Error.from_error(e)
@@ -2539,10 +2543,10 @@ module Google
2539
2543
  # @param order_by [::String]
2540
2544
  # Hint for how to order the results
2541
2545
  # @yield [result, operation] Access the result along with the TransportOperation object
2542
- # @yieldparam result [::Google::Cloud::AlloyDB::V1alpha::ListBackupsResponse]
2546
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1alpha::Backup>]
2543
2547
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2544
2548
  #
2545
- # @return [::Google::Cloud::AlloyDB::V1alpha::ListBackupsResponse]
2549
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1alpha::Backup>]
2546
2550
  #
2547
2551
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2548
2552
  #
@@ -2594,7 +2598,9 @@ module Google
2594
2598
  retry_policy: @config.retry_policy
2595
2599
 
2596
2600
  @alloy_db_admin_stub.list_backups request, options do |result, operation|
2601
+ result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_backups, "backups", request, result, options
2597
2602
  yield result, operation if block_given?
2603
+ throw :response, result
2598
2604
  end
2599
2605
  rescue ::Gapic::Rest::Error => e
2600
2606
  raise ::Google::Cloud::Error.from_error(e)
@@ -3338,10 +3344,10 @@ module Google
3338
3344
  # @param order_by [::String]
3339
3345
  # Optional. Hint for how to order the results
3340
3346
  # @yield [result, operation] Access the result along with the TransportOperation object
3341
- # @yieldparam result [::Google::Cloud::AlloyDB::V1alpha::ListUsersResponse]
3347
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1alpha::User>]
3342
3348
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
3343
3349
  #
3344
- # @return [::Google::Cloud::AlloyDB::V1alpha::ListUsersResponse]
3350
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1alpha::User>]
3345
3351
  #
3346
3352
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3347
3353
  #
@@ -3393,7 +3399,9 @@ module Google
3393
3399
  retry_policy: @config.retry_policy
3394
3400
 
3395
3401
  @alloy_db_admin_stub.list_users request, options do |result, operation|
3402
+ result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_users, "users", request, result, options
3396
3403
  yield result, operation if block_given?
3404
+ throw :response, result
3397
3405
  end
3398
3406
  rescue ::Gapic::Rest::Error => e
3399
3407
  raise ::Google::Cloud::Error.from_error(e)
@@ -3968,7 +3976,7 @@ module Google
3968
3976
 
3969
3977
  config_attr :endpoint, nil, ::String, nil
3970
3978
  config_attr :credentials, nil do |value|
3971
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3979
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
3972
3980
  allowed.any? { |klass| klass === value }
3973
3981
  end
3974
3982
  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 AlloyDB
23
23
  module V1alpha
24
- VERSION = "0.10.0"
24
+ VERSION = "0.11.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-alloy_db-v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.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
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  - !ruby/object:Gem::Version
165
165
  version: '0'
166
166
  requirements: []
167
- rubygems_version: 3.6.2
167
+ rubygems_version: 3.6.8
168
168
  specification_version: 4
169
169
  summary: AlloyDB for PostgreSQL is an open source-compatible database service that
170
170
  provides a powerful option for migrating, modernizing, or building commercial-grade