google-cloud-alloy_db-v1beta 0.12.0 → 0.13.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: f72be4e0edfa6d41f560cae770bda064f6174884f0be3a072a5af5da69a28ae7
4
- data.tar.gz: 371b90099b5e34be20bb5a0fdc04f4fe3eee278930ebb80031db65b105937815
3
+ metadata.gz: fe841c5443d7b0b08609914ebbad7758bb2ee54751b9a9c253dd9052a1fe732a
4
+ data.tar.gz: c8f5c2450c127858df5725eba5214f5b3d2b2a570253453a108f4149bfe76fbb
5
5
  SHA512:
6
- metadata.gz: e27bd9ee6a0bbe9f3b2326b131e41f68676f8a1bacdc4d508b74c97b7f83bf0c69807b7038fdcbdc6cfdd239220bfeea66b6ac64f958158da5c28774e7169a1a
7
- data.tar.gz: 6de829b0848b64e1b87c62662d3633b5a10edfbf689f359fa2a2c128b125f93deec09e05d9234add2e47bc3771e15ddc94710e5ea9135f29aad67717247994c8
6
+ metadata.gz: 6f50974dcab5d064ee86b5e967f3161004b82a03cd0cead7a650a386c2d1885c592c813f193804e152a4eb28a2d5b1d39cd1724b51013c43a60cc39241cd823b
7
+ data.tar.gz: 87305955655cd47a4aba62586dd178735657951c9665dbf8fa7a56ef7afe797ba34c7528f5693fd6d220a8eeb2833ead798f0f1848f3636dedf51375167b823f
@@ -318,10 +318,10 @@ module Google
318
318
  # @param order_by [::String]
319
319
  # Optional. Hint for how to order the results
320
320
  # @yield [result, operation] Access the result along with the TransportOperation object
321
- # @yieldparam result [::Google::Cloud::AlloyDB::V1beta::ListClustersResponse]
321
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::Cluster>]
322
322
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
323
323
  #
324
- # @return [::Google::Cloud::AlloyDB::V1beta::ListClustersResponse]
324
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::Cluster>]
325
325
  #
326
326
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
327
327
  #
@@ -373,7 +373,9 @@ module Google
373
373
  retry_policy: @config.retry_policy
374
374
 
375
375
  @alloy_db_admin_stub.list_clusters request, options do |result, operation|
376
+ result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_clusters, "clusters", request, result, options
376
377
  yield result, operation if block_given?
378
+ throw :response, result
377
379
  end
378
380
  rescue ::Gapic::Rest::Error => e
379
381
  raise ::Google::Cloud::Error.from_error(e)
@@ -1397,10 +1399,10 @@ module Google
1397
1399
  # @param order_by [::String]
1398
1400
  # Optional. Hint for how to order the results
1399
1401
  # @yield [result, operation] Access the result along with the TransportOperation object
1400
- # @yieldparam result [::Google::Cloud::AlloyDB::V1beta::ListInstancesResponse]
1402
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::Instance>]
1401
1403
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1402
1404
  #
1403
- # @return [::Google::Cloud::AlloyDB::V1beta::ListInstancesResponse]
1405
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::Instance>]
1404
1406
  #
1405
1407
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1406
1408
  #
@@ -1452,7 +1454,9 @@ module Google
1452
1454
  retry_policy: @config.retry_policy
1453
1455
 
1454
1456
  @alloy_db_admin_stub.list_instances request, options do |result, operation|
1457
+ result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_instances, "instances", request, result, options
1455
1458
  yield result, operation if block_given?
1459
+ throw :response, result
1456
1460
  end
1457
1461
  rescue ::Gapic::Rest::Error => e
1458
1462
  raise ::Google::Cloud::Error.from_error(e)
@@ -2544,10 +2548,10 @@ module Google
2544
2548
  # @param order_by [::String]
2545
2549
  # Hint for how to order the results
2546
2550
  # @yield [result, operation] Access the result along with the TransportOperation object
2547
- # @yieldparam result [::Google::Cloud::AlloyDB::V1beta::ListBackupsResponse]
2551
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::Backup>]
2548
2552
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2549
2553
  #
2550
- # @return [::Google::Cloud::AlloyDB::V1beta::ListBackupsResponse]
2554
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::Backup>]
2551
2555
  #
2552
2556
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2553
2557
  #
@@ -2599,7 +2603,9 @@ module Google
2599
2603
  retry_policy: @config.retry_policy
2600
2604
 
2601
2605
  @alloy_db_admin_stub.list_backups request, options do |result, operation|
2606
+ result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_backups, "backups", request, result, options
2602
2607
  yield result, operation if block_given?
2608
+ throw :response, result
2603
2609
  end
2604
2610
  rescue ::Gapic::Rest::Error => e
2605
2611
  raise ::Google::Cloud::Error.from_error(e)
@@ -3343,10 +3349,10 @@ module Google
3343
3349
  # @param order_by [::String]
3344
3350
  # Optional. Hint for how to order the results
3345
3351
  # @yield [result, operation] Access the result along with the TransportOperation object
3346
- # @yieldparam result [::Google::Cloud::AlloyDB::V1beta::ListUsersResponse]
3352
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::User>]
3347
3353
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
3348
3354
  #
3349
- # @return [::Google::Cloud::AlloyDB::V1beta::ListUsersResponse]
3355
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1beta::User>]
3350
3356
  #
3351
3357
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3352
3358
  #
@@ -3398,7 +3404,9 @@ module Google
3398
3404
  retry_policy: @config.retry_policy
3399
3405
 
3400
3406
  @alloy_db_admin_stub.list_users request, options do |result, operation|
3407
+ result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_users, "users", request, result, options
3401
3408
  yield result, operation if block_given?
3409
+ throw :response, result
3402
3410
  end
3403
3411
  rescue ::Gapic::Rest::Error => e
3404
3412
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AlloyDB
23
23
  module V1beta
24
- VERSION = "0.12.0"
24
+ VERSION = "0.13.0"
25
25
  end
26
26
  end
27
27
  end
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-alloy_db-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
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: 2025-02-07 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.3
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