google-cloud-alloy_db-v1 0.12.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 910f552b4d55be93844461ccaa2eff329bd7eba297dfbba88502eef943fdc971
4
- data.tar.gz: 4fa3ea342cd01e2b1b3a4188e6ede07ce258df331d75d4c761c6fe011ff81d45
3
+ metadata.gz: ea31832b84b96ef1db566d9dc9a1a228d63a9d3f4773fa3f264e7d6032af4010
4
+ data.tar.gz: e13b9683631dd66771eb6b79b2d35ccac62738a0c931be08e98d490ef9b0d03a
5
5
  SHA512:
6
- metadata.gz: 0beb77b74f21043729685a5bf9edbb8bebb6cc1ec32a5a80c945efba888bdf8fcbf51e23229c5558401d6fe143aafdb34df51260bf8c36206c7f3f14f1c73a01
7
- data.tar.gz: c86778dbc0480c5a1dcba72873c86b73b58f724eb38bfe1ed973299ff329ea7a4a4c20fd82feadf47e03b2d6c42613c912150533d36c5ffcd3452cec40aaab0f
6
+ metadata.gz: 2ffb9f65a536f106a87e860c380a2c4b39040bdcff56a169244211b699f6a8b89fe5056f240a24bff122bb2afa9d82c0208f6ff5ee5ee1a645e8020a071f498d
7
+ data.tar.gz: 6a9b5d120d989d5492de928f3b0e057c14578bd33195b3d9cd2143e33b6cfbed48fa9d87915f541691d60c83161881aa5c6346d172f8b4fb933e81b52165046c
@@ -303,10 +303,10 @@ module Google
303
303
  # @param order_by [::String]
304
304
  # Optional. Hint for how to order the results
305
305
  # @yield [result, operation] Access the result along with the TransportOperation object
306
- # @yieldparam result [::Google::Cloud::AlloyDB::V1::ListClustersResponse]
306
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1::Cluster>]
307
307
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
308
308
  #
309
- # @return [::Google::Cloud::AlloyDB::V1::ListClustersResponse]
309
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1::Cluster>]
310
310
  #
311
311
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
312
312
  #
@@ -358,7 +358,9 @@ module Google
358
358
  retry_policy: @config.retry_policy
359
359
 
360
360
  @alloy_db_admin_stub.list_clusters request, options do |result, operation|
361
+ result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_clusters, "clusters", request, result, options
361
362
  yield result, operation if block_given?
363
+ throw :response, result
362
364
  end
363
365
  rescue ::Gapic::Rest::Error => e
364
366
  raise ::Google::Cloud::Error.from_error(e)
@@ -1270,10 +1272,10 @@ module Google
1270
1272
  # @param order_by [::String]
1271
1273
  # Optional. Hint for how to order the results
1272
1274
  # @yield [result, operation] Access the result along with the TransportOperation object
1273
- # @yieldparam result [::Google::Cloud::AlloyDB::V1::ListInstancesResponse]
1275
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1::Instance>]
1274
1276
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1275
1277
  #
1276
- # @return [::Google::Cloud::AlloyDB::V1::ListInstancesResponse]
1278
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1::Instance>]
1277
1279
  #
1278
1280
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1279
1281
  #
@@ -1325,7 +1327,9 @@ module Google
1325
1327
  retry_policy: @config.retry_policy
1326
1328
 
1327
1329
  @alloy_db_admin_stub.list_instances request, options do |result, operation|
1330
+ result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_instances, "instances", request, result, options
1328
1331
  yield result, operation if block_given?
1332
+ throw :response, result
1329
1333
  end
1330
1334
  rescue ::Gapic::Rest::Error => e
1331
1335
  raise ::Google::Cloud::Error.from_error(e)
@@ -2417,10 +2421,10 @@ module Google
2417
2421
  # @param order_by [::String]
2418
2422
  # Hint for how to order the results
2419
2423
  # @yield [result, operation] Access the result along with the TransportOperation object
2420
- # @yieldparam result [::Google::Cloud::AlloyDB::V1::ListBackupsResponse]
2424
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1::Backup>]
2421
2425
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2422
2426
  #
2423
- # @return [::Google::Cloud::AlloyDB::V1::ListBackupsResponse]
2427
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1::Backup>]
2424
2428
  #
2425
2429
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2426
2430
  #
@@ -2472,7 +2476,9 @@ module Google
2472
2476
  retry_policy: @config.retry_policy
2473
2477
 
2474
2478
  @alloy_db_admin_stub.list_backups request, options do |result, operation|
2479
+ result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_backups, "backups", request, result, options
2475
2480
  yield result, operation if block_given?
2481
+ throw :response, result
2476
2482
  end
2477
2483
  rescue ::Gapic::Rest::Error => e
2478
2484
  raise ::Google::Cloud::Error.from_error(e)
@@ -3213,10 +3219,10 @@ module Google
3213
3219
  # @param order_by [::String]
3214
3220
  # Optional. Hint for how to order the results
3215
3221
  # @yield [result, operation] Access the result along with the TransportOperation object
3216
- # @yieldparam result [::Google::Cloud::AlloyDB::V1::ListUsersResponse]
3222
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1::User>]
3217
3223
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
3218
3224
  #
3219
- # @return [::Google::Cloud::AlloyDB::V1::ListUsersResponse]
3225
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AlloyDB::V1::User>]
3220
3226
  #
3221
3227
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3222
3228
  #
@@ -3268,7 +3274,9 @@ module Google
3268
3274
  retry_policy: @config.retry_policy
3269
3275
 
3270
3276
  @alloy_db_admin_stub.list_users request, options do |result, operation|
3277
+ result = ::Gapic::Rest::PagedEnumerable.new @alloy_db_admin_stub, :list_users, "users", request, result, options
3271
3278
  yield result, operation if block_given?
3279
+ throw :response, result
3272
3280
  end
3273
3281
  rescue ::Gapic::Rest::Error => e
3274
3282
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AlloyDB
23
23
  module V1
24
- VERSION = "0.12.0"
24
+ VERSION = "1.0.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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 1.0.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
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0'
162
162
  requirements: []
163
- rubygems_version: 3.6.2
163
+ rubygems_version: 3.6.3
164
164
  specification_version: 4
165
165
  summary: AlloyDB for PostgreSQL is an open source-compatible database service that
166
166
  provides a powerful option for migrating, modernizing, or building commercial-grade