google-cloud-alloy_db-v1 0.12.0 → 1.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: 910f552b4d55be93844461ccaa2eff329bd7eba297dfbba88502eef943fdc971
4
- data.tar.gz: 4fa3ea342cd01e2b1b3a4188e6ede07ce258df331d75d4c761c6fe011ff81d45
3
+ metadata.gz: '04154817269e88a9b0859ac01f61f1198fb4d66ea51193eaee9353f692d571ae'
4
+ data.tar.gz: bb7b4d4062d40cf62ba00a114f9fca24a6dd9b62cb14258495899e4b0f9596fe
5
5
  SHA512:
6
- metadata.gz: 0beb77b74f21043729685a5bf9edbb8bebb6cc1ec32a5a80c945efba888bdf8fcbf51e23229c5558401d6fe143aafdb34df51260bf8c36206c7f3f14f1c73a01
7
- data.tar.gz: c86778dbc0480c5a1dcba72873c86b73b58f724eb38bfe1ed973299ff329ea7a4a4c20fd82feadf47e03b2d6c42613c912150533d36c5ffcd3452cec40aaab0f
6
+ metadata.gz: 6353fc49b473cb1c72a1f0c46d413a6835e2dfa261b93b31b8d9e3efe7e58dad4377bc7abb1bf7a171a1c044edb247f1b47832cdcf5cd3c609bcbfa0345ad0cb
7
+ data.tar.gz: 8669f898cf50d53c060b8ef9c5c6b52e912556361a220b1e4de4ef6122aa5c883e8e533303ffa8096ad22f1e2886c61e30f31b38fb4ee6c1fd146a54b5d4a319
@@ -4104,8 +4104,8 @@ module Google
4104
4104
 
4105
4105
  config_attr :endpoint, nil, ::String, nil
4106
4106
  config_attr :credentials, nil do |value|
4107
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
4108
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
4107
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
4108
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
4109
4109
  allowed.any? { |klass| klass === value }
4110
4110
  end
4111
4111
  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
@@ -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)
@@ -3843,7 +3851,7 @@ module Google
3843
3851
 
3844
3852
  config_attr :endpoint, nil, ::String, nil
3845
3853
  config_attr :credentials, nil do |value|
3846
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3854
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
3847
3855
  allowed.any? { |klass| klass === value }
3848
3856
  end
3849
3857
  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 V1
24
- VERSION = "0.12.0"
24
+ VERSION = "1.0.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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 1.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
@@ -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.8
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