google-apis-alloydb_v1beta 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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fae2cd1c7f4318c8d94644f7f7173c6237c2acb33c4ebf0e7a3e7f73d81a8de5
|
|
4
|
+
data.tar.gz: 79c1a79633cad403ca7914543edfadb652a9edf106849af0fe1df8a701c37864
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f5b6a26fe872b03649734c9c4f55745e62df95b6638c1b168149798b32e385473ddad6d9143414ffd0007d35947f866e022e79fad80a40ba34f5b071dce9699
|
|
7
|
+
data.tar.gz: 3e581c441d1baf49dcee1876b1ed1a8592e6bfe6a83e889bd7fc664964aff13c994d0ffc96f69b05c2deb5338a82257d863f0ffe8f6a79470bd277f851a83f1c
|
data/CHANGELOG.md
CHANGED
|
@@ -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`
|
|
@@ -304,6 +312,7 @@ module Google
|
|
|
304
312
|
# Update properties of this object
|
|
305
313
|
def update!(**args)
|
|
306
314
|
@annotations = args[:annotations] if args.key?(:annotations)
|
|
315
|
+
@cluster_deleted = args[:cluster_deleted] if args.key?(:cluster_deleted)
|
|
307
316
|
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
|
308
317
|
@cluster_uid = args[:cluster_uid] if args.key?(:cluster_uid)
|
|
309
318
|
@create_completion_time = args[:create_completion_time] if args.key?(:create_completion_time)
|
|
@@ -1994,6 +2003,13 @@ module Google
|
|
|
1994
2003
|
# @return [Google::Apis::AlloydbV1beta::MachineConfig]
|
|
1995
2004
|
attr_accessor :machine_config
|
|
1996
2005
|
|
|
2006
|
+
# Output only. Maintenance version of the instance, for example: POSTGRES_15.
|
|
2007
|
+
# 2025_07_15.04_00. Output only. Update this field via the parent cluster's
|
|
2008
|
+
# maintenance_version field(s).
|
|
2009
|
+
# Corresponds to the JSON property `maintenanceVersionName`
|
|
2010
|
+
# @return [String]
|
|
2011
|
+
attr_accessor :maintenance_version_name
|
|
2012
|
+
|
|
1997
2013
|
# Output only. The name of the instance resource with the format: * projects/`
|
|
1998
2014
|
# project`/locations/`region`/clusters/`cluster_id`/instances/`instance_id`
|
|
1999
2015
|
# where the cluster and instance ID segments should satisfy the regex expression
|
|
@@ -2116,6 +2132,7 @@ module Google
|
|
|
2116
2132
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
|
2117
2133
|
@labels = args[:labels] if args.key?(:labels)
|
|
2118
2134
|
@machine_config = args[:machine_config] if args.key?(:machine_config)
|
|
2135
|
+
@maintenance_version_name = args[:maintenance_version_name] if args.key?(:maintenance_version_name)
|
|
2119
2136
|
@name = args[:name] if args.key?(:name)
|
|
2120
2137
|
@network_config = args[:network_config] if args.key?(:network_config)
|
|
2121
2138
|
@nodes = args[:nodes] if args.key?(:nodes)
|
|
@@ -4065,7 +4082,7 @@ module Google
|
|
|
4065
4082
|
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
|
|
4066
4083
|
attr_accessor :resource_id
|
|
4067
4084
|
|
|
4068
|
-
# Common model for database resource instance metadata. Next ID:
|
|
4085
|
+
# Common model for database resource instance metadata. Next ID: 30
|
|
4069
4086
|
# Corresponds to the JSON property `resourceMetadata`
|
|
4070
4087
|
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
|
|
4071
4088
|
attr_accessor :resource_metadata
|
|
@@ -4263,7 +4280,7 @@ module Google
|
|
|
4263
4280
|
end
|
|
4264
4281
|
end
|
|
4265
4282
|
|
|
4266
|
-
# Common model for database resource instance metadata. Next ID:
|
|
4283
|
+
# Common model for database resource instance metadata. Next ID: 30
|
|
4267
4284
|
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
|
|
4268
4285
|
include Google::Apis::Core::Hashable
|
|
4269
4286
|
|
|
@@ -4340,6 +4357,12 @@ module Google
|
|
|
4340
4357
|
# @return [String]
|
|
4341
4358
|
attr_accessor :instance_type
|
|
4342
4359
|
|
|
4360
|
+
# Optional. Whether deletion protection is enabled for this resource.
|
|
4361
|
+
# Corresponds to the JSON property `isDeletionProtectionEnabled`
|
|
4362
|
+
# @return [Boolean]
|
|
4363
|
+
attr_accessor :is_deletion_protection_enabled
|
|
4364
|
+
alias_method :is_deletion_protection_enabled?, :is_deletion_protection_enabled
|
|
4365
|
+
|
|
4343
4366
|
# The resource location. REQUIRED
|
|
4344
4367
|
# Corresponds to the JSON property `location`
|
|
4345
4368
|
# @return [String]
|
|
@@ -4437,6 +4460,7 @@ module Google
|
|
|
4437
4460
|
@gcbdr_configuration = args[:gcbdr_configuration] if args.key?(:gcbdr_configuration)
|
|
4438
4461
|
@id = args[:id] if args.key?(:id)
|
|
4439
4462
|
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
|
4463
|
+
@is_deletion_protection_enabled = args[:is_deletion_protection_enabled] if args.key?(:is_deletion_protection_enabled)
|
|
4440
4464
|
@location = args[:location] if args.key?(:location)
|
|
4441
4465
|
@machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration)
|
|
4442
4466
|
@maintenance_info = args[:maintenance_info] if args.key?(:maintenance_info)
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module AlloydbV1beta
|
|
18
18
|
# Version of the google-apis-alloydb_v1beta gem
|
|
19
|
-
GEM_VERSION = "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 = "
|
|
25
|
+
REVISION = "20251106"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -799,6 +799,7 @@ module Google
|
|
|
799
799
|
# @private
|
|
800
800
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
801
801
|
hash :annotations, as: 'annotations'
|
|
802
|
+
property :cluster_deleted, as: 'clusterDeleted'
|
|
802
803
|
property :cluster_name, as: 'clusterName'
|
|
803
804
|
property :cluster_uid, as: 'clusterUid'
|
|
804
805
|
property :create_completion_time, as: 'createCompletionTime'
|
|
@@ -1246,6 +1247,7 @@ module Google
|
|
|
1246
1247
|
hash :labels, as: 'labels'
|
|
1247
1248
|
property :machine_config, as: 'machineConfig', class: Google::Apis::AlloydbV1beta::MachineConfig, decorator: Google::Apis::AlloydbV1beta::MachineConfig::Representation
|
|
1248
1249
|
|
|
1250
|
+
property :maintenance_version_name, as: 'maintenanceVersionName'
|
|
1249
1251
|
property :name, as: 'name'
|
|
1250
1252
|
property :network_config, as: 'networkConfig', class: Google::Apis::AlloydbV1beta::InstanceNetworkConfig, decorator: Google::Apis::AlloydbV1beta::InstanceNetworkConfig::Representation
|
|
1251
1253
|
|
|
@@ -1858,6 +1860,7 @@ module Google
|
|
|
1858
1860
|
property :id, as: 'id', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
|
1859
1861
|
|
|
1860
1862
|
property :instance_type, as: 'instanceType'
|
|
1863
|
+
property :is_deletion_protection_enabled, as: 'isDeletionProtectionEnabled'
|
|
1861
1864
|
property :location, as: 'location'
|
|
1862
1865
|
property :machine_configuration, as: 'machineConfiguration', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainMachineConfiguration, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainMachineConfiguration::Representation
|
|
1863
1866
|
|
|
@@ -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, 'v1beta/{+name}', options)
|
|
267
269
|
command.response_representation = Google::Apis::AlloydbV1beta::Backup::Representation
|
|
268
270
|
command.response_class = Google::Apis::AlloydbV1beta::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, 'v1beta/{+parent}/backups', options)
|
|
306
311
|
command.response_representation = Google::Apis::AlloydbV1beta::ListBackupsResponse::Representation
|
|
307
312
|
command.response_class = Google::Apis::AlloydbV1beta::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_v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 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_v1beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.42.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|