google-apis-alloydb_v1 0.49.0 → 0.50.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: cb5ccb7593bcdc63f0b8cc0aeecc4164de3638e9186781d2ca0564c13742fafc
4
- data.tar.gz: a46f058c64b41b38eb9d8c78be8cd000583a74cf1c37fa7de28f3aa3e2a27329
3
+ metadata.gz: 603b69d6ad7c60be23e102602fb6cfc76c6b2cef83d71d9222ac524768175c9f
4
+ data.tar.gz: 8c31870c531234a146ba3220137ee1ddff57cc06dd2a3c6ea26275ebfad3c063
5
5
  SHA512:
6
- metadata.gz: 7198923369770c020c46887fbef5f5a98ce340e3fc3b482009b4b69a56d4c656b08436329bf4888ed55e44c31fc0ce72e1d791eb58d5a1421de5fbb9f9ac9430
7
- data.tar.gz: a570fd20e697bc0cda6240dfb712cc10cd4134377eeb6c0cfe8c095ab953f88e717073faa96e80d330d9ef99a06c3accaffa2f467337b60d48ea8b5d03f2f8e4
6
+ metadata.gz: 2e238fd18eb26c64dd5a85d29440b3c41d96802eb61b870202189a08675396b6aa78ef07c2d9fc70e548b933f593f999845d02545d107be695668584682cf950
7
+ data.tar.gz: e4558bff0adf4f63fb39a4bc782cccb64f55d779addb31902ebdaefcc052ab1b71a8f436b4dd17c2b5c6e479baef3630b82f2332efc1fa4a606a02773933b836
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.50.0 (2025-11-16)
4
+
5
+ * Regenerated from discovery document revision 20251106
6
+
3
7
  ### v0.49.0 (2025-11-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20251023
@@ -708,6 +708,12 @@ module Google
708
708
  # @return [Google::Apis::AlloydbV1::MaintenanceUpdatePolicy]
709
709
  attr_accessor :maintenance_update_policy
710
710
 
711
+ # Input only. Policy to use to automatically select the maintenance version to
712
+ # which to update the cluster's instances.
713
+ # Corresponds to the JSON property `maintenanceVersionSelectionPolicy`
714
+ # @return [String]
715
+ attr_accessor :maintenance_version_selection_policy
716
+
711
717
  # Subset of the source instance configuration that is available when reading the
712
718
  # cluster resource.
713
719
  # Corresponds to the JSON property `migrationSource`
@@ -836,6 +842,7 @@ module Google
836
842
  @labels = args[:labels] if args.key?(:labels)
837
843
  @maintenance_schedule = args[:maintenance_schedule] if args.key?(:maintenance_schedule)
838
844
  @maintenance_update_policy = args[:maintenance_update_policy] if args.key?(:maintenance_update_policy)
845
+ @maintenance_version_selection_policy = args[:maintenance_version_selection_policy] if args.key?(:maintenance_version_selection_policy)
839
846
  @migration_source = args[:migration_source] if args.key?(:migration_source)
840
847
  @name = args[:name] if args.key?(:name)
841
848
  @network = args[:network] if args.key?(:network)
@@ -1808,6 +1815,13 @@ module Google
1808
1815
  # @return [Google::Apis::AlloydbV1::MachineConfig]
1809
1816
  attr_accessor :machine_config
1810
1817
 
1818
+ # Output only. Maintenance version of the instance, for example: POSTGRES_15.
1819
+ # 2025_07_15.04_00. Output only. Update this field via the parent cluster's
1820
+ # maintenance_version field(s).
1821
+ # Corresponds to the JSON property `maintenanceVersionName`
1822
+ # @return [String]
1823
+ attr_accessor :maintenance_version_name
1824
+
1811
1825
  # Output only. The name of the instance resource with the format: * projects/`
1812
1826
  # project`/locations/`region`/clusters/`cluster_id`/instances/`instance_id`
1813
1827
  # where the cluster and instance ID segments should satisfy the regex expression
@@ -1923,6 +1937,7 @@ module Google
1923
1937
  @ip_address = args[:ip_address] if args.key?(:ip_address)
1924
1938
  @labels = args[:labels] if args.key?(:labels)
1925
1939
  @machine_config = args[:machine_config] if args.key?(:machine_config)
1940
+ @maintenance_version_name = args[:maintenance_version_name] if args.key?(:maintenance_version_name)
1926
1941
  @name = args[:name] if args.key?(:name)
1927
1942
  @network_config = args[:network_config] if args.key?(:network_config)
1928
1943
  @nodes = args[:nodes] if args.key?(:nodes)
@@ -3752,7 +3767,7 @@ module Google
3752
3767
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
3753
3768
  attr_accessor :resource_id
3754
3769
 
3755
- # Common model for database resource instance metadata. Next ID: 29
3770
+ # Common model for database resource instance metadata. Next ID: 30
3756
3771
  # Corresponds to the JSON property `resourceMetadata`
3757
3772
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
3758
3773
  attr_accessor :resource_metadata
@@ -3950,7 +3965,7 @@ module Google
3950
3965
  end
3951
3966
  end
3952
3967
 
3953
- # Common model for database resource instance metadata. Next ID: 29
3968
+ # Common model for database resource instance metadata. Next ID: 30
3954
3969
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
3955
3970
  include Google::Apis::Core::Hashable
3956
3971
 
@@ -4027,6 +4042,12 @@ module Google
4027
4042
  # @return [String]
4028
4043
  attr_accessor :instance_type
4029
4044
 
4045
+ # Optional. Whether deletion protection is enabled for this resource.
4046
+ # Corresponds to the JSON property `isDeletionProtectionEnabled`
4047
+ # @return [Boolean]
4048
+ attr_accessor :is_deletion_protection_enabled
4049
+ alias_method :is_deletion_protection_enabled?, :is_deletion_protection_enabled
4050
+
4030
4051
  # The resource location. REQUIRED
4031
4052
  # Corresponds to the JSON property `location`
4032
4053
  # @return [String]
@@ -4124,6 +4145,7 @@ module Google
4124
4145
  @gcbdr_configuration = args[:gcbdr_configuration] if args.key?(:gcbdr_configuration)
4125
4146
  @id = args[:id] if args.key?(:id)
4126
4147
  @instance_type = args[:instance_type] if args.key?(:instance_type)
4148
+ @is_deletion_protection_enabled = args[:is_deletion_protection_enabled] if args.key?(:is_deletion_protection_enabled)
4127
4149
  @location = args[:location] if args.key?(:location)
4128
4150
  @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
4129
4151
  @maintenance_info = args[:maintenance_info] if args.key?(:maintenance_info)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1
18
18
  # Version of the google-apis-alloydb_v1 gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.50.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251023"
25
+ REVISION = "20251106"
26
26
  end
27
27
  end
28
28
  end
@@ -905,6 +905,7 @@ module Google
905
905
 
906
906
  property :maintenance_update_policy, as: 'maintenanceUpdatePolicy', class: Google::Apis::AlloydbV1::MaintenanceUpdatePolicy, decorator: Google::Apis::AlloydbV1::MaintenanceUpdatePolicy::Representation
907
907
 
908
+ property :maintenance_version_selection_policy, as: 'maintenanceVersionSelectionPolicy'
908
909
  property :migration_source, as: 'migrationSource', class: Google::Apis::AlloydbV1::MigrationSource, decorator: Google::Apis::AlloydbV1::MigrationSource::Representation
909
910
 
910
911
  property :name, as: 'name'
@@ -1179,6 +1180,7 @@ module Google
1179
1180
  hash :labels, as: 'labels'
1180
1181
  property :machine_config, as: 'machineConfig', class: Google::Apis::AlloydbV1::MachineConfig, decorator: Google::Apis::AlloydbV1::MachineConfig::Representation
1181
1182
 
1183
+ property :maintenance_version_name, as: 'maintenanceVersionName'
1182
1184
  property :name, as: 'name'
1183
1185
  property :network_config, as: 'networkConfig', class: Google::Apis::AlloydbV1::InstanceNetworkConfig, decorator: Google::Apis::AlloydbV1::InstanceNetworkConfig::Representation
1184
1186
 
@@ -1761,6 +1763,7 @@ module Google
1761
1763
  property :id, as: 'id', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1762
1764
 
1763
1765
  property :instance_type, as: 'instanceType'
1766
+ property :is_deletion_protection_enabled, as: 'isDeletionProtectionEnabled'
1764
1767
  property :location, as: 'location'
1765
1768
  property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
1766
1769
 
@@ -245,6 +245,8 @@ module Google
245
245
  # Gets details of a single Backup.
246
246
  # @param [String] name
247
247
  # Required. Name of the resource
248
+ # @param [String] view
249
+ # Optional. The view of the backup to return.
248
250
  # @param [String] fields
249
251
  # Selector specifying which fields to include in a partial response.
250
252
  # @param [String] quota_user
@@ -262,11 +264,12 @@ module Google
262
264
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
263
265
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
264
266
  # @raise [Google::Apis::AuthorizationError] Authorization is required
265
- def get_project_location_backup(name, fields: nil, quota_user: nil, options: nil, &block)
267
+ def get_project_location_backup(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
266
268
  command = make_simple_command(:get, 'v1/{+name}', options)
267
269
  command.response_representation = Google::Apis::AlloydbV1::Backup::Representation
268
270
  command.response_class = Google::Apis::AlloydbV1::Backup
269
271
  command.params['name'] = name unless name.nil?
272
+ command.query['view'] = view unless view.nil?
270
273
  command.query['fields'] = fields unless fields.nil?
271
274
  command.query['quotaUser'] = quota_user unless quota_user.nil?
272
275
  execute_or_queue_command(command, &block)
@@ -284,6 +287,8 @@ module Google
284
287
  # unspecified, server will pick an appropriate default.
285
288
  # @param [String] page_token
286
289
  # A token identifying a page of results the server should return.
290
+ # @param [String] view
291
+ # Optional. The view of the backup to return.
287
292
  # @param [String] fields
288
293
  # Selector specifying which fields to include in a partial response.
289
294
  # @param [String] quota_user
@@ -301,7 +306,7 @@ module Google
301
306
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
302
307
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
303
308
  # @raise [Google::Apis::AuthorizationError] Authorization is required
304
- def list_project_location_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
309
+ def list_project_location_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
305
310
  command = make_simple_command(:get, 'v1/{+parent}/backups', options)
306
311
  command.response_representation = Google::Apis::AlloydbV1::ListBackupsResponse::Representation
307
312
  command.response_class = Google::Apis::AlloydbV1::ListBackupsResponse
@@ -310,6 +315,7 @@ module Google
310
315
  command.query['orderBy'] = order_by unless order_by.nil?
311
316
  command.query['pageSize'] = page_size unless page_size.nil?
312
317
  command.query['pageToken'] = page_token unless page_token.nil?
318
+ command.query['view'] = view unless view.nil?
313
319
  command.query['fields'] = fields unless fields.nil?
314
320
  command.query['quotaUser'] = quota_user unless quota_user.nil?
315
321
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.50.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.49.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.50.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
62
62
  rdoc_options: []
63
63
  require_paths: