google-cloud-alloy_db-v1beta 0.11.0 → 0.12.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: 0e96ffd3ef44b95c421c4d9c6bcf5600e49a581dc20f445656a81677e6d6076e
4
- data.tar.gz: '0598102bea45a61b48fd8149f1aec3bc8c71de848d14094b65200e3e783864cd'
3
+ metadata.gz: f72be4e0edfa6d41f560cae770bda064f6174884f0be3a072a5af5da69a28ae7
4
+ data.tar.gz: 371b90099b5e34be20bb5a0fdc04f4fe3eee278930ebb80031db65b105937815
5
5
  SHA512:
6
- metadata.gz: fe59e6f0bf176489febca31dcd2a369a0ac5d845eedebad107f0826c86deff262698cb7c612e58ae536c1bd3e7860caf114ffed77bab59a4f71e2398eee0ccb8
7
- data.tar.gz: 7e89c6be29081b7a3f4f327ea6fe138ffba9cd5c4cbfd31458949128c8d5d49ba748db39a7c80c0dc3d53462fd691f646dcee40ffa96751459e8f89fe73bfa4a
6
+ metadata.gz: e27bd9ee6a0bbe9f3b2326b131e41f68676f8a1bacdc4d508b74c97b7f83bf0c69807b7038fdcbdc6cfdd239220bfeea66b6ac64f958158da5c28774e7169a1a
7
+ data.tar.gz: 6de829b0848b64e1b87c62662d3633b5a10edfbf689f359fa2a2c128b125f93deec09e05d9234add2e47bc3771e15ddc94710e5ea9135f29aad67717247994c8
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -1216,9 +1216,13 @@ module Google
1216
1216
  #
1217
1217
  # @param backup_source [::Google::Cloud::AlloyDB::V1beta::BackupSource, ::Hash]
1218
1218
  # Backup source.
1219
+ #
1220
+ # Note: The following fields are mutually exclusive: `backup_source`, `continuous_backup_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1219
1221
  # @param continuous_backup_source [::Google::Cloud::AlloyDB::V1beta::ContinuousBackupSource, ::Hash]
1220
1222
  # ContinuousBackup source. Continuous backup needs to be enabled in the
1221
1223
  # source cluster for this operation to succeed.
1224
+ #
1225
+ # Note: The following fields are mutually exclusive: `continuous_backup_source`, `backup_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1222
1226
  # @param parent [::String]
1223
1227
  # Required. The name of the parent resource. For the required format, see the
1224
1228
  # comment on the Cluster.name field.
@@ -4176,6 +4180,13 @@ module Google
4176
4180
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
4177
4181
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4178
4182
  # * (`nil`) indicating no credentials
4183
+ #
4184
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
4185
+ # external source for authentication to Google Cloud, you must validate it before
4186
+ # providing it to a Google API client library. Providing an unvalidated credential
4187
+ # configuration to Google APIs can compromise the security of your systems and data.
4188
+ # For more information, refer to [Validate credential configurations from external
4189
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
4179
4190
  # @return [::Object]
4180
4191
  # @!attribute [rw] scope
4181
4192
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -1152,9 +1152,13 @@ module Google
1152
1152
  #
1153
1153
  # @param backup_source [::Google::Cloud::AlloyDB::V1beta::BackupSource, ::Hash]
1154
1154
  # Backup source.
1155
+ #
1156
+ # Note: The following fields are mutually exclusive: `backup_source`, `continuous_backup_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1155
1157
  # @param continuous_backup_source [::Google::Cloud::AlloyDB::V1beta::ContinuousBackupSource, ::Hash]
1156
1158
  # ContinuousBackup source. Continuous backup needs to be enabled in the
1157
1159
  # source cluster for this operation to succeed.
1160
+ #
1161
+ # Note: The following fields are mutually exclusive: `continuous_backup_source`, `backup_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1158
1162
  # @param parent [::String]
1159
1163
  # Required. The name of the parent resource. For the required format, see the
1160
1164
  # comment on the Cluster.name field.
@@ -3915,6 +3919,13 @@ module Google
3915
3919
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
3916
3920
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
3917
3921
  # * (`nil`) indicating no credentials
3922
+ #
3923
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3924
+ # external source for authentication to Google Cloud, you must validate it before
3925
+ # providing it to a Google API client library. Providing an unvalidated credential
3926
+ # configuration to Google APIs can compromise the security of your systems and data.
3927
+ # For more information, refer to [Validate credential configurations from external
3928
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
3918
3929
  # @return [::Object]
3919
3930
  # @!attribute [rw] scope
3920
3931
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AlloyDB
23
23
  module V1beta
24
- VERSION = "0.11.0"
24
+ VERSION = "0.12.0"
25
25
  end
26
26
  end
27
27
  end
@@ -158,9 +158,13 @@ module Google
158
158
  # @!attribute [rw] time_based_retention
159
159
  # @return [::Google::Cloud::AlloyDB::V1beta::AutomatedBackupPolicy::TimeBasedRetention]
160
160
  # Time-based Backup retention policy.
161
+ #
162
+ # Note: The following fields are mutually exclusive: `time_based_retention`, `quantity_based_retention`. If a field in that set is populated, all other fields in the set will automatically be cleared.
161
163
  # @!attribute [rw] quantity_based_retention
162
164
  # @return [::Google::Cloud::AlloyDB::V1beta::AutomatedBackupPolicy::QuantityBasedRetention]
163
165
  # Quantity-based Backup retention policy to retain recent backups.
166
+ #
167
+ # Note: The following fields are mutually exclusive: `quantity_based_retention`, `time_based_retention`. If a field in that set is populated, all other fields in the set will automatically be cleared.
164
168
  # @!attribute [rw] enabled
165
169
  # @return [::Boolean]
166
170
  # Whether automated automated backups are enabled. If not set, defaults to
@@ -361,12 +365,18 @@ module Google
361
365
  # @!attribute [r] backup_source
362
366
  # @return [::Google::Cloud::AlloyDB::V1beta::BackupSource]
363
367
  # Output only. Cluster created from backup.
368
+ #
369
+ # Note: The following fields are mutually exclusive: `backup_source`, `migration_source`, `cloudsql_backup_run_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
364
370
  # @!attribute [r] migration_source
365
371
  # @return [::Google::Cloud::AlloyDB::V1beta::MigrationSource]
366
372
  # Output only. Cluster created via DMS migration.
373
+ #
374
+ # Note: The following fields are mutually exclusive: `migration_source`, `backup_source`, `cloudsql_backup_run_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
367
375
  # @!attribute [r] cloudsql_backup_run_source
368
376
  # @return [::Google::Cloud::AlloyDB::V1beta::CloudSQLBackupRunSource]
369
377
  # Output only. Cluster created from CloudSQL snapshot.
378
+ #
379
+ # Note: The following fields are mutually exclusive: `cloudsql_backup_run_source`, `backup_source`, `migration_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
370
380
  # @!attribute [r] name
371
381
  # @return [::String]
372
382
  # Output only. The name of the cluster resource with the format:
@@ -1338,9 +1348,13 @@ module Google
1338
1348
  # @!attribute [rw] string_restrictions
1339
1349
  # @return [::Google::Cloud::AlloyDB::V1beta::SupportedDatabaseFlag::StringRestrictions]
1340
1350
  # Restriction on STRING type value.
1351
+ #
1352
+ # Note: The following fields are mutually exclusive: `string_restrictions`, `integer_restrictions`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1341
1353
  # @!attribute [rw] integer_restrictions
1342
1354
  # @return [::Google::Cloud::AlloyDB::V1beta::SupportedDatabaseFlag::IntegerRestrictions]
1343
1355
  # Restriction on INTEGER type value.
1356
+ #
1357
+ # Note: The following fields are mutually exclusive: `integer_restrictions`, `string_restrictions`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1344
1358
  # @!attribute [rw] name
1345
1359
  # @return [::String]
1346
1360
  # The name of the flag resource, following Google Cloud conventions, e.g.:
@@ -460,10 +460,14 @@ module Google
460
460
  # @!attribute [rw] backup_source
461
461
  # @return [::Google::Cloud::AlloyDB::V1beta::BackupSource]
462
462
  # Backup source.
463
+ #
464
+ # Note: The following fields are mutually exclusive: `backup_source`, `continuous_backup_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
463
465
  # @!attribute [rw] continuous_backup_source
464
466
  # @return [::Google::Cloud::AlloyDB::V1beta::ContinuousBackupSource]
465
467
  # ContinuousBackup source. Continuous backup needs to be enabled in the
466
468
  # source cluster for this operation to succeed.
469
+ #
470
+ # Note: The following fields are mutually exclusive: `continuous_backup_source`, `backup_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
467
471
  # @!attribute [rw] parent
468
472
  # @return [::String]
469
473
  # Required. The name of the parent resource. For the required format, see the
@@ -1316,12 +1320,18 @@ module Google
1316
1320
  # @!attribute [r] batch_create_instances_metadata
1317
1321
  # @return [::Google::Cloud::AlloyDB::V1beta::BatchCreateInstancesMetadata]
1318
1322
  # Output only. BatchCreateInstances related metadata.
1323
+ #
1324
+ # Note: The following fields are mutually exclusive: `batch_create_instances_metadata`, `promote_cluster_status`, `upgrade_cluster_status`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1319
1325
  # @!attribute [r] promote_cluster_status
1320
1326
  # @return [::Google::Cloud::AlloyDB::V1beta::PromoteClusterStatus]
1321
1327
  # Output only. PromoteClusterStatus related metadata.
1328
+ #
1329
+ # Note: The following fields are mutually exclusive: `promote_cluster_status`, `batch_create_instances_metadata`, `upgrade_cluster_status`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1322
1330
  # @!attribute [r] upgrade_cluster_status
1323
1331
  # @return [::Google::Cloud::AlloyDB::V1beta::UpgradeClusterStatus]
1324
1332
  # Output only. UpgradeClusterStatus related metadata.
1333
+ #
1334
+ # Note: The following fields are mutually exclusive: `upgrade_cluster_status`, `batch_create_instances_metadata`, `promote_cluster_status`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1325
1335
  # @!attribute [r] create_time
1326
1336
  # @return [::Google::Protobuf::Timestamp]
1327
1337
  # Output only. The time the operation was created.
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +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.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -151,7 +150,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
151
150
  licenses:
152
151
  - Apache-2.0
153
152
  metadata: {}
154
- post_install_message:
155
153
  rdoc_options: []
156
154
  require_paths:
157
155
  - lib
@@ -159,15 +157,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
159
157
  requirements:
160
158
  - - ">="
161
159
  - !ruby/object:Gem::Version
162
- version: '2.7'
160
+ version: '3.0'
163
161
  required_rubygems_version: !ruby/object:Gem::Requirement
164
162
  requirements:
165
163
  - - ">="
166
164
  - !ruby/object:Gem::Version
167
165
  version: '0'
168
166
  requirements: []
169
- rubygems_version: 3.5.23
170
- signing_key:
167
+ rubygems_version: 3.6.2
171
168
  specification_version: 4
172
169
  summary: AlloyDB for PostgreSQL is an open source-compatible database service that
173
170
  provides a powerful option for migrating, modernizing, or building commercial-grade