google-apis-alloydb_v1alpha 0.41.0 → 0.42.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: 4f9cdd817ab5afca33b4e65fa889fe2ae886c683d0d1e29944d1af6d371bc51b
4
- data.tar.gz: 1c58333bbe022b7280aaf8f4545bf9ef9e29c9e26759429caf3b4ed92c193bda
3
+ metadata.gz: 5d47c4f240ca243e95c823e864453389214890bb63a8ec40f87600b9caa9f0fd
4
+ data.tar.gz: a8d47b4b6c73e5024e457f383a8f34ca607cd70e9036e7224046223a2e84f2d5
5
5
  SHA512:
6
- metadata.gz: c7421cb0c3f246a5ab64305be006f7a70b984edb0874d45e470580b5976f44711354e5c4de0736bf55cef48efaca95492abb38775748bb4a7576a9b87cd4f0b4
7
- data.tar.gz: f480978f8bb96e537c1c7c7af04fbcc8606b8423faa2803677e816beab986bc089d6e8e6f788871c40808f4c1ba0e9c3f7ec34a3d2d5ed87c2215e2b7b1a0f45
6
+ metadata.gz: c54e876a274100339fd7466fb0d894cd8a837b58f210b349b546e1594209905af711e94220cf7a9e69b5ba8dea7d0bbb5646d24ca53e2806210d046c361344d3
7
+ data.tar.gz: 3292a58c7dbadb627bfdeae2aa9e27b3c89a16a1a928563599158cb8234c159ee2bdc993a392f7c2b32d73ec11ce86f1146b9908451fd17918721447653bf298
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-alloydb_v1alpha
2
2
 
3
+ ### v0.42.0 (2025-11-16)
4
+
5
+ * Regenerated from discovery document revision 20251106
6
+
3
7
  ### v0.41.0 (2025-11-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20251023
@@ -154,6 +154,14 @@ module Google
154
154
  # @return [Hash<String,String>]
155
155
  attr_accessor :annotations
156
156
 
157
+ # Output only. Set to true if the cluster corresponding to this backup is
158
+ # deleted. This field is only populated for when using the
159
+ # BACKUP_VIEW_CLUSTER_DELETED view.
160
+ # Corresponds to the JSON property `clusterDeleted`
161
+ # @return [Boolean]
162
+ attr_accessor :cluster_deleted
163
+ alias_method :cluster_deleted?, :cluster_deleted
164
+
157
165
  # Required. The full resource name of the backup source cluster (e.g., projects/`
158
166
  # project`/locations/`region`/clusters/`cluster_id`).
159
167
  # Corresponds to the JSON property `clusterName`
@@ -310,6 +318,7 @@ module Google
310
318
  # Update properties of this object
311
319
  def update!(**args)
312
320
  @annotations = args[:annotations] if args.key?(:annotations)
321
+ @cluster_deleted = args[:cluster_deleted] if args.key?(:cluster_deleted)
313
322
  @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
314
323
  @cluster_uid = args[:cluster_uid] if args.key?(:cluster_uid)
315
324
  @create_completion_time = args[:create_completion_time] if args.key?(:create_completion_time)
@@ -2021,6 +2030,13 @@ module Google
2021
2030
  # @return [Google::Apis::AlloydbV1alpha::MachineConfig]
2022
2031
  attr_accessor :machine_config
2023
2032
 
2033
+ # Output only. Maintenance version of the instance, for example: POSTGRES_15.
2034
+ # 2025_07_15.04_00. Output only. Update this field via the parent cluster's
2035
+ # maintenance_version field(s).
2036
+ # Corresponds to the JSON property `maintenanceVersionName`
2037
+ # @return [String]
2038
+ attr_accessor :maintenance_version_name
2039
+
2024
2040
  # Output only. The name of the instance resource with the format: * projects/`
2025
2041
  # project`/locations/`region`/clusters/`cluster_id`/instances/`instance_id`
2026
2042
  # where the cluster and instance ID segments should satisfy the regex expression
@@ -2149,6 +2165,7 @@ module Google
2149
2165
  @ip_address = args[:ip_address] if args.key?(:ip_address)
2150
2166
  @labels = args[:labels] if args.key?(:labels)
2151
2167
  @machine_config = args[:machine_config] if args.key?(:machine_config)
2168
+ @maintenance_version_name = args[:maintenance_version_name] if args.key?(:maintenance_version_name)
2152
2169
  @name = args[:name] if args.key?(:name)
2153
2170
  @network_config = args[:network_config] if args.key?(:network_config)
2154
2171
  @nodes = args[:nodes] if args.key?(:nodes)
@@ -4099,7 +4116,7 @@ module Google
4099
4116
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
4100
4117
  attr_accessor :resource_id
4101
4118
 
4102
- # Common model for database resource instance metadata. Next ID: 29
4119
+ # Common model for database resource instance metadata. Next ID: 30
4103
4120
  # Corresponds to the JSON property `resourceMetadata`
4104
4121
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
4105
4122
  attr_accessor :resource_metadata
@@ -4297,7 +4314,7 @@ module Google
4297
4314
  end
4298
4315
  end
4299
4316
 
4300
- # Common model for database resource instance metadata. Next ID: 29
4317
+ # Common model for database resource instance metadata. Next ID: 30
4301
4318
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
4302
4319
  include Google::Apis::Core::Hashable
4303
4320
 
@@ -4374,6 +4391,12 @@ module Google
4374
4391
  # @return [String]
4375
4392
  attr_accessor :instance_type
4376
4393
 
4394
+ # Optional. Whether deletion protection is enabled for this resource.
4395
+ # Corresponds to the JSON property `isDeletionProtectionEnabled`
4396
+ # @return [Boolean]
4397
+ attr_accessor :is_deletion_protection_enabled
4398
+ alias_method :is_deletion_protection_enabled?, :is_deletion_protection_enabled
4399
+
4377
4400
  # The resource location. REQUIRED
4378
4401
  # Corresponds to the JSON property `location`
4379
4402
  # @return [String]
@@ -4471,6 +4494,7 @@ module Google
4471
4494
  @gcbdr_configuration = args[:gcbdr_configuration] if args.key?(:gcbdr_configuration)
4472
4495
  @id = args[:id] if args.key?(:id)
4473
4496
  @instance_type = args[:instance_type] if args.key?(:instance_type)
4497
+ @is_deletion_protection_enabled = args[:is_deletion_protection_enabled] if args.key?(:is_deletion_protection_enabled)
4474
4498
  @location = args[:location] if args.key?(:location)
4475
4499
  @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
4476
4500
  @maintenance_info = args[:maintenance_info] if args.key?(:maintenance_info)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1alpha
18
18
  # Version of the google-apis-alloydb_v1alpha gem
19
- GEM_VERSION = "0.41.0"
19
+ GEM_VERSION = "0.42.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
@@ -805,6 +805,7 @@ module Google
805
805
  # @private
806
806
  class Representation < Google::Apis::Core::JsonRepresentation
807
807
  hash :annotations, as: 'annotations'
808
+ property :cluster_deleted, as: 'clusterDeleted'
808
809
  property :cluster_name, as: 'clusterName'
809
810
  property :cluster_uid, as: 'clusterUid'
810
811
  property :create_completion_time, as: 'createCompletionTime'
@@ -1260,6 +1261,7 @@ module Google
1260
1261
  hash :labels, as: 'labels'
1261
1262
  property :machine_config, as: 'machineConfig', class: Google::Apis::AlloydbV1alpha::MachineConfig, decorator: Google::Apis::AlloydbV1alpha::MachineConfig::Representation
1262
1263
 
1264
+ property :maintenance_version_name, as: 'maintenanceVersionName'
1263
1265
  property :name, as: 'name'
1264
1266
  property :network_config, as: 'networkConfig', class: Google::Apis::AlloydbV1alpha::InstanceNetworkConfig, decorator: Google::Apis::AlloydbV1alpha::InstanceNetworkConfig::Representation
1265
1267
 
@@ -1873,6 +1875,7 @@ module Google
1873
1875
  property :id, as: 'id', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1874
1876
 
1875
1877
  property :instance_type, as: 'instanceType'
1878
+ property :is_deletion_protection_enabled, as: 'isDeletionProtectionEnabled'
1876
1879
  property :location, as: 'location'
1877
1880
  property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
1878
1881
 
@@ -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, 'v1alpha/{+name}', options)
267
269
  command.response_representation = Google::Apis::AlloydbV1alpha::Backup::Representation
268
270
  command.response_class = Google::Apis::AlloydbV1alpha::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, 'v1alpha/{+parent}/backups', options)
306
311
  command.response_representation = Google::Apis::AlloydbV1alpha::ListBackupsResponse::Representation
307
312
  command.response_class = Google::Apis::AlloydbV1alpha::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_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.42.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_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.41.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.42.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: