google-apis-alloydb_v1 0.28.0 → 0.30.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: e96d15f59a01ddf66376f4db016ed371ec8bba0f8469394b8114c12a5bfe4b9b
|
4
|
+
data.tar.gz: cafba70c14aabdd4606a2e82f6d7dbcdc9a9127879f5ea5d3bdd415a2fc7302b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1433dee89c92ffbb08271d8576dee14e7a8455b0b73274b989ebb5770cc36b104a9eb1539398e67b5a926847c8270a03071f0a6f4df458e9310879c5f8ad8fff
|
7
|
+
data.tar.gz: 8b79b0d019cbffb0cf79f57e9f7e9dcb52b2fe02eb47270dee8203d245126ab142ee9822f46bb32d809402820cc1aa48ebdac2b87f5d51200bca30ee59204284
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-alloydb_v1
|
2
2
|
|
3
|
+
### v0.30.0 (2025-03-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250219
|
6
|
+
|
7
|
+
### v0.29.0 (2025-01-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241228
|
10
|
+
* Regenerated using generator version 0.16.0
|
11
|
+
|
3
12
|
### v0.28.0 (2024-12-15)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20241204
|
@@ -390,6 +390,38 @@ module Google
|
|
390
390
|
end
|
391
391
|
end
|
392
392
|
|
393
|
+
# The source CloudSQL backup resource.
|
394
|
+
class CloudSqlBackupRunSource
|
395
|
+
include Google::Apis::Core::Hashable
|
396
|
+
|
397
|
+
# Required. The CloudSQL backup run ID.
|
398
|
+
# Corresponds to the JSON property `backupRunId`
|
399
|
+
# @return [Fixnum]
|
400
|
+
attr_accessor :backup_run_id
|
401
|
+
|
402
|
+
# Required. The CloudSQL instance ID.
|
403
|
+
# Corresponds to the JSON property `instanceId`
|
404
|
+
# @return [String]
|
405
|
+
attr_accessor :instance_id
|
406
|
+
|
407
|
+
# The project ID of the source CloudSQL instance. This should be the same as the
|
408
|
+
# AlloyDB cluster's project.
|
409
|
+
# Corresponds to the JSON property `project`
|
410
|
+
# @return [String]
|
411
|
+
attr_accessor :project
|
412
|
+
|
413
|
+
def initialize(**args)
|
414
|
+
update!(**args)
|
415
|
+
end
|
416
|
+
|
417
|
+
# Update properties of this object
|
418
|
+
def update!(**args)
|
419
|
+
@backup_run_id = args[:backup_run_id] if args.key?(:backup_run_id)
|
420
|
+
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
421
|
+
@project = args[:project] if args.key?(:project)
|
422
|
+
end
|
423
|
+
end
|
424
|
+
|
393
425
|
# A cluster is a collection of regional AlloyDB resources. It can include a
|
394
426
|
# primary instance and one or more read pool instances. All cluster resources
|
395
427
|
# share a storage layer, which scales as needed.
|
@@ -414,6 +446,11 @@ module Google
|
|
414
446
|
# @return [Google::Apis::AlloydbV1::BackupSource]
|
415
447
|
attr_accessor :backup_source
|
416
448
|
|
449
|
+
# The source CloudSQL backup resource.
|
450
|
+
# Corresponds to the JSON property `cloudsqlBackupRunSource`
|
451
|
+
# @return [Google::Apis::AlloydbV1::CloudSqlBackupRunSource]
|
452
|
+
attr_accessor :cloudsql_backup_run_source
|
453
|
+
|
417
454
|
# Output only. The type of the cluster. This is an output-only field and it's
|
418
455
|
# populated at the Cluster creation time or the Cluster promotion time. The
|
419
456
|
# cluster type is determined by which RPC was used to create the cluster (i.e. `
|
@@ -607,6 +644,7 @@ module Google
|
|
607
644
|
@annotations = args[:annotations] if args.key?(:annotations)
|
608
645
|
@automated_backup_policy = args[:automated_backup_policy] if args.key?(:automated_backup_policy)
|
609
646
|
@backup_source = args[:backup_source] if args.key?(:backup_source)
|
647
|
+
@cloudsql_backup_run_source = args[:cloudsql_backup_run_source] if args.key?(:cloudsql_backup_run_source)
|
610
648
|
@cluster_type = args[:cluster_type] if args.key?(:cluster_type)
|
611
649
|
@continuous_backup_config = args[:continuous_backup_config] if args.key?(:continuous_backup_config)
|
612
650
|
@continuous_backup_info = args[:continuous_backup_info] if args.key?(:continuous_backup_info)
|
@@ -880,6 +918,56 @@ module Google
|
|
880
918
|
end
|
881
919
|
end
|
882
920
|
|
921
|
+
# Options for importing data in CSV format.
|
922
|
+
class CsvImportOptions
|
923
|
+
include Google::Apis::Core::Hashable
|
924
|
+
|
925
|
+
# Optional. The columns to which CSV data is imported. If not specified, all
|
926
|
+
# columns of the database table are loaded with CSV data.
|
927
|
+
# Corresponds to the JSON property `columns`
|
928
|
+
# @return [Array<String>]
|
929
|
+
attr_accessor :columns
|
930
|
+
|
931
|
+
# Optional. Specifies the character that should appear before a data character
|
932
|
+
# that needs to be escaped. The default is same as quote character. The value of
|
933
|
+
# this argument has to be a character in Hex ASCII Code.
|
934
|
+
# Corresponds to the JSON property `escapeCharacter`
|
935
|
+
# @return [String]
|
936
|
+
attr_accessor :escape_character
|
937
|
+
|
938
|
+
# Optional. Specifies the character that separates columns within each row (line)
|
939
|
+
# of the file. The default is comma. The value of this argument has to be a
|
940
|
+
# character in Hex ASCII Code.
|
941
|
+
# Corresponds to the JSON property `fieldDelimiter`
|
942
|
+
# @return [String]
|
943
|
+
attr_accessor :field_delimiter
|
944
|
+
|
945
|
+
# Optional. Specifies the quoting character to be used when a data value is
|
946
|
+
# quoted. The default is double-quote. The value of this argument has to be a
|
947
|
+
# character in Hex ASCII Code.
|
948
|
+
# Corresponds to the JSON property `quoteCharacter`
|
949
|
+
# @return [String]
|
950
|
+
attr_accessor :quote_character
|
951
|
+
|
952
|
+
# Required. The database table to import CSV file into.
|
953
|
+
# Corresponds to the JSON property `table`
|
954
|
+
# @return [String]
|
955
|
+
attr_accessor :table
|
956
|
+
|
957
|
+
def initialize(**args)
|
958
|
+
update!(**args)
|
959
|
+
end
|
960
|
+
|
961
|
+
# Update properties of this object
|
962
|
+
def update!(**args)
|
963
|
+
@columns = args[:columns] if args.key?(:columns)
|
964
|
+
@escape_character = args[:escape_character] if args.key?(:escape_character)
|
965
|
+
@field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
|
966
|
+
@quote_character = args[:quote_character] if args.key?(:quote_character)
|
967
|
+
@table = args[:table] if args.key?(:table)
|
968
|
+
end
|
969
|
+
end
|
970
|
+
|
883
971
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
884
972
|
# messages in your APIs. A typical example is to use it as the request or the
|
885
973
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -1176,6 +1264,74 @@ module Google
|
|
1176
1264
|
end
|
1177
1265
|
end
|
1178
1266
|
|
1267
|
+
# Import cluster request.
|
1268
|
+
class ImportClusterRequest
|
1269
|
+
include Google::Apis::Core::Hashable
|
1270
|
+
|
1271
|
+
# Options for importing data in CSV format.
|
1272
|
+
# Corresponds to the JSON property `csvImportOptions`
|
1273
|
+
# @return [Google::Apis::AlloydbV1::CsvImportOptions]
|
1274
|
+
attr_accessor :csv_import_options
|
1275
|
+
|
1276
|
+
# Optional. Name of the database to which the import will be done. For import
|
1277
|
+
# from SQL file, this is required only if the file does not specify a database.
|
1278
|
+
# Note - Value provided should be the same as expected from `SELECT
|
1279
|
+
# current_database();` and NOT as a resource reference.
|
1280
|
+
# Corresponds to the JSON property `database`
|
1281
|
+
# @return [String]
|
1282
|
+
attr_accessor :database
|
1283
|
+
|
1284
|
+
# Required. The path to the file in Google Cloud Storage where the source file
|
1285
|
+
# for import will be stored. The URI is in the form `gs://bucketName/fileName`.
|
1286
|
+
# Corresponds to the JSON property `gcsUri`
|
1287
|
+
# @return [String]
|
1288
|
+
attr_accessor :gcs_uri
|
1289
|
+
|
1290
|
+
# Options for importing data in SQL format.
|
1291
|
+
# Corresponds to the JSON property `sqlImportOptions`
|
1292
|
+
# @return [Google::Apis::AlloydbV1::SqlImportOptions]
|
1293
|
+
attr_accessor :sql_import_options
|
1294
|
+
|
1295
|
+
# Optional. Database user to be used for importing the data. Note - Value
|
1296
|
+
# provided should be the same as expected from `SELECT current_user;` and NOT as
|
1297
|
+
# a resource reference.
|
1298
|
+
# Corresponds to the JSON property `user`
|
1299
|
+
# @return [String]
|
1300
|
+
attr_accessor :user
|
1301
|
+
|
1302
|
+
def initialize(**args)
|
1303
|
+
update!(**args)
|
1304
|
+
end
|
1305
|
+
|
1306
|
+
# Update properties of this object
|
1307
|
+
def update!(**args)
|
1308
|
+
@csv_import_options = args[:csv_import_options] if args.key?(:csv_import_options)
|
1309
|
+
@database = args[:database] if args.key?(:database)
|
1310
|
+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
1311
|
+
@sql_import_options = args[:sql_import_options] if args.key?(:sql_import_options)
|
1312
|
+
@user = args[:user] if args.key?(:user)
|
1313
|
+
end
|
1314
|
+
end
|
1315
|
+
|
1316
|
+
# Response of import rpc.
|
1317
|
+
class ImportClusterResponse
|
1318
|
+
include Google::Apis::Core::Hashable
|
1319
|
+
|
1320
|
+
# Required. Size of the object downloaded from Google Cloud Storage in bytes.
|
1321
|
+
# Corresponds to the JSON property `bytesDownloaded`
|
1322
|
+
# @return [Fixnum]
|
1323
|
+
attr_accessor :bytes_downloaded
|
1324
|
+
|
1325
|
+
def initialize(**args)
|
1326
|
+
update!(**args)
|
1327
|
+
end
|
1328
|
+
|
1329
|
+
# Update properties of this object
|
1330
|
+
def update!(**args)
|
1331
|
+
@bytes_downloaded = args[:bytes_downloaded] if args.key?(:bytes_downloaded)
|
1332
|
+
end
|
1333
|
+
end
|
1334
|
+
|
1179
1335
|
# Message for triggering fault injection on an instance
|
1180
1336
|
class InjectFaultRequest
|
1181
1337
|
include Google::Apis::Core::Hashable
|
@@ -1392,7 +1548,7 @@ module Google
|
|
1392
1548
|
attr_accessor :update_time
|
1393
1549
|
|
1394
1550
|
# Details of a single node in the instance. Nodes in an AlloyDB instance are
|
1395
|
-
#
|
1551
|
+
# ephemeral, they can change during update, failover, autohealing and resize
|
1396
1552
|
# operations.
|
1397
1553
|
# Corresponds to the JSON property `writableNode`
|
1398
1554
|
# @return [Google::Apis::AlloydbV1::Node]
|
@@ -1854,30 +2010,30 @@ module Google
|
|
1854
2010
|
end
|
1855
2011
|
|
1856
2012
|
# Details of a single node in the instance. Nodes in an AlloyDB instance are
|
1857
|
-
#
|
2013
|
+
# ephemeral, they can change during update, failover, autohealing and resize
|
1858
2014
|
# operations.
|
1859
2015
|
class Node
|
1860
2016
|
include Google::Apis::Core::Hashable
|
1861
2017
|
|
1862
|
-
# The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
|
2018
|
+
# Output only. The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
|
1863
2019
|
# Corresponds to the JSON property `id`
|
1864
2020
|
# @return [String]
|
1865
2021
|
attr_accessor :id
|
1866
2022
|
|
1867
|
-
# The private IP address of the VM e.g. "10.57.0.34".
|
2023
|
+
# Output only. The private IP address of the VM e.g. "10.57.0.34".
|
1868
2024
|
# Corresponds to the JSON property `ip`
|
1869
2025
|
# @return [String]
|
1870
2026
|
attr_accessor :ip
|
1871
2027
|
|
1872
|
-
# Determined by state of the compute VM and postgres-service health.
|
1873
|
-
# state can have values listed in https://cloud.google.com/compute/
|
1874
|
-
# instances/instance-life-cycle and postgres-service health can have values:
|
2028
|
+
# Output only. Determined by state of the compute VM and postgres-service health.
|
2029
|
+
# Compute VM state can have values listed in https://cloud.google.com/compute/
|
2030
|
+
# docs/instances/instance-life-cycle and postgres-service health can have values:
|
1875
2031
|
# HEALTHY and UNHEALTHY.
|
1876
2032
|
# Corresponds to the JSON property `state`
|
1877
2033
|
# @return [String]
|
1878
2034
|
attr_accessor :state
|
1879
2035
|
|
1880
|
-
# The Compute Engine zone of the VM e.g. "us-central1-b".
|
2036
|
+
# Output only. The Compute Engine zone of the VM e.g. "us-central1-b".
|
1881
2037
|
# Corresponds to the JSON property `zoneId`
|
1882
2038
|
# @return [String]
|
1883
2039
|
attr_accessor :zone_id
|
@@ -1995,6 +2151,11 @@ module Google
|
|
1995
2151
|
# @return [String]
|
1996
2152
|
attr_accessor :target
|
1997
2153
|
|
2154
|
+
# Message for current status of the Major Version Upgrade operation.
|
2155
|
+
# Corresponds to the JSON property `upgradeClusterStatus`
|
2156
|
+
# @return [Google::Apis::AlloydbV1::UpgradeClusterStatus]
|
2157
|
+
attr_accessor :upgrade_cluster_status
|
2158
|
+
|
1998
2159
|
# Output only. Name of the verb executed by the operation.
|
1999
2160
|
# Corresponds to the JSON property `verb`
|
2000
2161
|
# @return [String]
|
@@ -2012,6 +2173,7 @@ module Google
|
|
2012
2173
|
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
2013
2174
|
@status_message = args[:status_message] if args.key?(:status_message)
|
2014
2175
|
@target = args[:target] if args.key?(:target)
|
2176
|
+
@upgrade_cluster_status = args[:upgrade_cluster_status] if args.key?(:upgrade_cluster_status)
|
2015
2177
|
@verb = args[:verb] if args.key?(:verb)
|
2016
2178
|
end
|
2017
2179
|
end
|
@@ -2082,6 +2244,53 @@ module Google
|
|
2082
2244
|
end
|
2083
2245
|
end
|
2084
2246
|
|
2247
|
+
# Configuration for setting up PSC service automation. Consumer projects in the
|
2248
|
+
# configs will be allowlisted automatically for the instance.
|
2249
|
+
class PscAutoConnectionConfig
|
2250
|
+
include Google::Apis::Core::Hashable
|
2251
|
+
|
2252
|
+
# The consumer network for the PSC service automation, example: "projects/vpc-
|
2253
|
+
# host-project/global/networks/default". The consumer network might be hosted a
|
2254
|
+
# different project than the consumer project.
|
2255
|
+
# Corresponds to the JSON property `consumerNetwork`
|
2256
|
+
# @return [String]
|
2257
|
+
attr_accessor :consumer_network
|
2258
|
+
|
2259
|
+
# Output only. The status of the service connection policy.
|
2260
|
+
# Corresponds to the JSON property `consumerNetworkStatus`
|
2261
|
+
# @return [String]
|
2262
|
+
attr_accessor :consumer_network_status
|
2263
|
+
|
2264
|
+
# The consumer project to which the PSC service automation endpoint will be
|
2265
|
+
# created.
|
2266
|
+
# Corresponds to the JSON property `consumerProject`
|
2267
|
+
# @return [String]
|
2268
|
+
attr_accessor :consumer_project
|
2269
|
+
|
2270
|
+
# Output only. The IP address of the PSC service automation endpoint.
|
2271
|
+
# Corresponds to the JSON property `ipAddress`
|
2272
|
+
# @return [String]
|
2273
|
+
attr_accessor :ip_address
|
2274
|
+
|
2275
|
+
# Output only. The status of the PSC service automation connection.
|
2276
|
+
# Corresponds to the JSON property `status`
|
2277
|
+
# @return [String]
|
2278
|
+
attr_accessor :status
|
2279
|
+
|
2280
|
+
def initialize(**args)
|
2281
|
+
update!(**args)
|
2282
|
+
end
|
2283
|
+
|
2284
|
+
# Update properties of this object
|
2285
|
+
def update!(**args)
|
2286
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
2287
|
+
@consumer_network_status = args[:consumer_network_status] if args.key?(:consumer_network_status)
|
2288
|
+
@consumer_project = args[:consumer_project] if args.key?(:consumer_project)
|
2289
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
2290
|
+
@status = args[:status] if args.key?(:status)
|
2291
|
+
end
|
2292
|
+
end
|
2293
|
+
|
2085
2294
|
# PscConfig contains PSC related configuration at a cluster level.
|
2086
2295
|
class PscConfig
|
2087
2296
|
include Google::Apis::Core::Hashable
|
@@ -2093,6 +2302,12 @@ module Google
|
|
2093
2302
|
attr_accessor :psc_enabled
|
2094
2303
|
alias_method :psc_enabled?, :psc_enabled
|
2095
2304
|
|
2305
|
+
# Output only. The project number that needs to be allowlisted on the network
|
2306
|
+
# attachment to enable outbound connectivity.
|
2307
|
+
# Corresponds to the JSON property `serviceOwnedProjectNumber`
|
2308
|
+
# @return [Fixnum]
|
2309
|
+
attr_accessor :service_owned_project_number
|
2310
|
+
|
2096
2311
|
def initialize(**args)
|
2097
2312
|
update!(**args)
|
2098
2313
|
end
|
@@ -2100,6 +2315,7 @@ module Google
|
|
2100
2315
|
# Update properties of this object
|
2101
2316
|
def update!(**args)
|
2102
2317
|
@psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
|
2318
|
+
@service_owned_project_number = args[:service_owned_project_number] if args.key?(:service_owned_project_number)
|
2103
2319
|
end
|
2104
2320
|
end
|
2105
2321
|
|
@@ -2113,12 +2329,24 @@ module Google
|
|
2113
2329
|
# @return [Array<String>]
|
2114
2330
|
attr_accessor :allowed_consumer_projects
|
2115
2331
|
|
2332
|
+
# Optional. Configurations for setting up PSC service automation.
|
2333
|
+
# Corresponds to the JSON property `pscAutoConnections`
|
2334
|
+
# @return [Array<Google::Apis::AlloydbV1::PscAutoConnectionConfig>]
|
2335
|
+
attr_accessor :psc_auto_connections
|
2336
|
+
|
2116
2337
|
# Output only. The DNS name of the instance for PSC connectivity. Name
|
2117
2338
|
# convention: ...alloydb-psc.goog
|
2118
2339
|
# Corresponds to the JSON property `pscDnsName`
|
2119
2340
|
# @return [String]
|
2120
2341
|
attr_accessor :psc_dns_name
|
2121
2342
|
|
2343
|
+
# Optional. Configurations for setting up PSC interfaces attached to the
|
2344
|
+
# instance which are used for outbound connectivity. Only primary instances can
|
2345
|
+
# have PSC interface attached. Currently we only support 0 or 1 PSC interface.
|
2346
|
+
# Corresponds to the JSON property `pscInterfaceConfigs`
|
2347
|
+
# @return [Array<Google::Apis::AlloydbV1::PscInterfaceConfig>]
|
2348
|
+
attr_accessor :psc_interface_configs
|
2349
|
+
|
2122
2350
|
# Output only. The service attachment created when Private Service Connect (PSC)
|
2123
2351
|
# is enabled for the instance. The name of the resource will be in the format of
|
2124
2352
|
# `projects//regions//serviceAttachments/`
|
@@ -2133,11 +2361,36 @@ module Google
|
|
2133
2361
|
# Update properties of this object
|
2134
2362
|
def update!(**args)
|
2135
2363
|
@allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
|
2364
|
+
@psc_auto_connections = args[:psc_auto_connections] if args.key?(:psc_auto_connections)
|
2136
2365
|
@psc_dns_name = args[:psc_dns_name] if args.key?(:psc_dns_name)
|
2366
|
+
@psc_interface_configs = args[:psc_interface_configs] if args.key?(:psc_interface_configs)
|
2137
2367
|
@service_attachment_link = args[:service_attachment_link] if args.key?(:service_attachment_link)
|
2138
2368
|
end
|
2139
2369
|
end
|
2140
2370
|
|
2371
|
+
# Configuration for setting up a PSC interface to enable outbound connectivity.
|
2372
|
+
class PscInterfaceConfig
|
2373
|
+
include Google::Apis::Core::Hashable
|
2374
|
+
|
2375
|
+
# The network attachment resource created in the consumer network to which the
|
2376
|
+
# PSC interface will be linked. This is of the format: "projects/$`
|
2377
|
+
# CONSUMER_PROJECT`/regions/$`REGION`/networkAttachments/$`
|
2378
|
+
# NETWORK_ATTACHMENT_NAME`". The network attachment must be in the same region
|
2379
|
+
# as the instance.
|
2380
|
+
# Corresponds to the JSON property `networkAttachmentResource`
|
2381
|
+
# @return [String]
|
2382
|
+
attr_accessor :network_attachment_resource
|
2383
|
+
|
2384
|
+
def initialize(**args)
|
2385
|
+
update!(**args)
|
2386
|
+
end
|
2387
|
+
|
2388
|
+
# Update properties of this object
|
2389
|
+
def update!(**args)
|
2390
|
+
@network_attachment_resource = args[:network_attachment_resource] if args.key?(:network_attachment_resource)
|
2391
|
+
end
|
2392
|
+
end
|
2393
|
+
|
2141
2394
|
# A backup's position in a quantity-based retention queue, of backups with the
|
2142
2395
|
# same source cluster and type, with length, retention, specified by the backup'
|
2143
2396
|
# s retention policy. Once the position is greater than the retention, the
|
@@ -2254,6 +2507,25 @@ module Google
|
|
2254
2507
|
end
|
2255
2508
|
end
|
2256
2509
|
|
2510
|
+
# Read pool instances upgrade specific status.
|
2511
|
+
class ReadPoolInstancesUpgradeStageStatus
|
2512
|
+
include Google::Apis::Core::Hashable
|
2513
|
+
|
2514
|
+
# Upgrade stats for read pool instances.
|
2515
|
+
# Corresponds to the JSON property `upgradeStats`
|
2516
|
+
# @return [Google::Apis::AlloydbV1::Stats]
|
2517
|
+
attr_accessor :upgrade_stats
|
2518
|
+
|
2519
|
+
def initialize(**args)
|
2520
|
+
update!(**args)
|
2521
|
+
end
|
2522
|
+
|
2523
|
+
# Update properties of this object
|
2524
|
+
def update!(**args)
|
2525
|
+
@upgrade_stats = args[:upgrade_stats] if args.key?(:upgrade_stats)
|
2526
|
+
end
|
2527
|
+
end
|
2528
|
+
|
2257
2529
|
#
|
2258
2530
|
class RestartInstanceRequest
|
2259
2531
|
include Google::Apis::Core::Hashable
|
@@ -2362,6 +2634,39 @@ module Google
|
|
2362
2634
|
end
|
2363
2635
|
end
|
2364
2636
|
|
2637
|
+
# Message for registering Restoring from CloudSQL resource.
|
2638
|
+
class RestoreFromCloudSqlRequest
|
2639
|
+
include Google::Apis::Core::Hashable
|
2640
|
+
|
2641
|
+
# The source CloudSQL backup resource.
|
2642
|
+
# Corresponds to the JSON property `cloudsqlBackupRunSource`
|
2643
|
+
# @return [Google::Apis::AlloydbV1::CloudSqlBackupRunSource]
|
2644
|
+
attr_accessor :cloudsql_backup_run_source
|
2645
|
+
|
2646
|
+
# A cluster is a collection of regional AlloyDB resources. It can include a
|
2647
|
+
# primary instance and one or more read pool instances. All cluster resources
|
2648
|
+
# share a storage layer, which scales as needed.
|
2649
|
+
# Corresponds to the JSON property `cluster`
|
2650
|
+
# @return [Google::Apis::AlloydbV1::Cluster]
|
2651
|
+
attr_accessor :cluster
|
2652
|
+
|
2653
|
+
# Required. ID of the requesting object.
|
2654
|
+
# Corresponds to the JSON property `clusterId`
|
2655
|
+
# @return [String]
|
2656
|
+
attr_accessor :cluster_id
|
2657
|
+
|
2658
|
+
def initialize(**args)
|
2659
|
+
update!(**args)
|
2660
|
+
end
|
2661
|
+
|
2662
|
+
# Update properties of this object
|
2663
|
+
def update!(**args)
|
2664
|
+
@cloudsql_backup_run_source = args[:cloudsql_backup_run_source] if args.key?(:cloudsql_backup_run_source)
|
2665
|
+
@cluster = args[:cluster] if args.key?(:cluster)
|
2666
|
+
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
2667
|
+
end
|
2668
|
+
end
|
2669
|
+
|
2365
2670
|
# Configuration information for the secondary cluster. This should be set if and
|
2366
2671
|
# only if the cluster is of type SECONDARY.
|
2367
2672
|
class SecondaryConfig
|
@@ -2425,6 +2730,19 @@ module Google
|
|
2425
2730
|
end
|
2426
2731
|
end
|
2427
2732
|
|
2733
|
+
# Options for importing data in SQL format.
|
2734
|
+
class SqlImportOptions
|
2735
|
+
include Google::Apis::Core::Hashable
|
2736
|
+
|
2737
|
+
def initialize(**args)
|
2738
|
+
update!(**args)
|
2739
|
+
end
|
2740
|
+
|
2741
|
+
# Update properties of this object
|
2742
|
+
def update!(**args)
|
2743
|
+
end
|
2744
|
+
end
|
2745
|
+
|
2428
2746
|
# SSL configuration.
|
2429
2747
|
class SslConfig
|
2430
2748
|
include Google::Apis::Core::Hashable
|
@@ -2484,6 +2802,74 @@ module Google
|
|
2484
2802
|
end
|
2485
2803
|
end
|
2486
2804
|
|
2805
|
+
# Status of an upgrade stage.
|
2806
|
+
class StageStatus
|
2807
|
+
include Google::Apis::Core::Hashable
|
2808
|
+
|
2809
|
+
# Read pool instances upgrade specific status.
|
2810
|
+
# Corresponds to the JSON property `readPoolInstancesUpgrade`
|
2811
|
+
# @return [Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus]
|
2812
|
+
attr_accessor :read_pool_instances_upgrade
|
2813
|
+
|
2814
|
+
# Upgrade stage.
|
2815
|
+
# Corresponds to the JSON property `stage`
|
2816
|
+
# @return [String]
|
2817
|
+
attr_accessor :stage
|
2818
|
+
|
2819
|
+
# State of this stage.
|
2820
|
+
# Corresponds to the JSON property `state`
|
2821
|
+
# @return [String]
|
2822
|
+
attr_accessor :state
|
2823
|
+
|
2824
|
+
def initialize(**args)
|
2825
|
+
update!(**args)
|
2826
|
+
end
|
2827
|
+
|
2828
|
+
# Update properties of this object
|
2829
|
+
def update!(**args)
|
2830
|
+
@read_pool_instances_upgrade = args[:read_pool_instances_upgrade] if args.key?(:read_pool_instances_upgrade)
|
2831
|
+
@stage = args[:stage] if args.key?(:stage)
|
2832
|
+
@state = args[:state] if args.key?(:state)
|
2833
|
+
end
|
2834
|
+
end
|
2835
|
+
|
2836
|
+
# Upgrade stats for read pool instances.
|
2837
|
+
class Stats
|
2838
|
+
include Google::Apis::Core::Hashable
|
2839
|
+
|
2840
|
+
# Number of read pool instances which failed to upgrade.
|
2841
|
+
# Corresponds to the JSON property `failed`
|
2842
|
+
# @return [Fixnum]
|
2843
|
+
attr_accessor :failed
|
2844
|
+
|
2845
|
+
# Number of read pool instances for which upgrade has not started.
|
2846
|
+
# Corresponds to the JSON property `notStarted`
|
2847
|
+
# @return [Fixnum]
|
2848
|
+
attr_accessor :not_started
|
2849
|
+
|
2850
|
+
# Number of read pool instances undergoing upgrade.
|
2851
|
+
# Corresponds to the JSON property `ongoing`
|
2852
|
+
# @return [Fixnum]
|
2853
|
+
attr_accessor :ongoing
|
2854
|
+
|
2855
|
+
# Number of read pool instances successfully upgraded.
|
2856
|
+
# Corresponds to the JSON property `success`
|
2857
|
+
# @return [Fixnum]
|
2858
|
+
attr_accessor :success
|
2859
|
+
|
2860
|
+
def initialize(**args)
|
2861
|
+
update!(**args)
|
2862
|
+
end
|
2863
|
+
|
2864
|
+
# Update properties of this object
|
2865
|
+
def update!(**args)
|
2866
|
+
@failed = args[:failed] if args.key?(:failed)
|
2867
|
+
@not_started = args[:not_started] if args.key?(:not_started)
|
2868
|
+
@ongoing = args[:ongoing] if args.key?(:ongoing)
|
2869
|
+
@success = args[:success] if args.key?(:success)
|
2870
|
+
end
|
2871
|
+
end
|
2872
|
+
|
2487
2873
|
# The `Status` type defines a logical error model that is suitable for different
|
2488
2874
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2489
2875
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -2731,7 +3117,7 @@ module Google
|
|
2731
3117
|
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
|
2732
3118
|
attr_accessor :resource_id
|
2733
3119
|
|
2734
|
-
# Common model for database resource instance metadata. Next ID:
|
3120
|
+
# Common model for database resource instance metadata. Next ID: 25
|
2735
3121
|
# Corresponds to the JSON property `resourceMetadata`
|
2736
3122
|
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
|
2737
3123
|
attr_accessor :resource_metadata
|
@@ -2906,7 +3292,7 @@ module Google
|
|
2906
3292
|
end
|
2907
3293
|
end
|
2908
3294
|
|
2909
|
-
# Common model for database resource instance metadata. Next ID:
|
3295
|
+
# Common model for database resource instance metadata. Next ID: 25
|
2910
3296
|
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
|
2911
3297
|
include Google::Apis::Core::Hashable
|
2912
3298
|
|
@@ -2962,6 +3348,11 @@ module Google
|
|
2962
3348
|
# @return [String]
|
2963
3349
|
attr_accessor :expected_state
|
2964
3350
|
|
3351
|
+
# GCBDR Configuration for the resource.
|
3352
|
+
# Corresponds to the JSON property `gcbdrConfiguration`
|
3353
|
+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration]
|
3354
|
+
attr_accessor :gcbdr_configuration
|
3355
|
+
|
2965
3356
|
# DatabaseResourceId will serve as primary key for any resource ingestion event.
|
2966
3357
|
# Corresponds to the JSON property `id`
|
2967
3358
|
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
|
@@ -3015,6 +3406,11 @@ module Google
|
|
3015
3406
|
# @return [String]
|
3016
3407
|
attr_accessor :resource_name
|
3017
3408
|
|
3409
|
+
# Optional. Suspension reason for the resource.
|
3410
|
+
# Corresponds to the JSON property `suspensionReason`
|
3411
|
+
# @return [String]
|
3412
|
+
attr_accessor :suspension_reason
|
3413
|
+
|
3018
3414
|
# Message type for storing tags. Tags provide a way to create annotations for
|
3019
3415
|
# resources, and in some cases conditionally allow or deny policies based on
|
3020
3416
|
# whether a resource has a specific tag.
|
@@ -3049,6 +3445,7 @@ module Google
|
|
3049
3445
|
@edition = args[:edition] if args.key?(:edition)
|
3050
3446
|
@entitlements = args[:entitlements] if args.key?(:entitlements)
|
3051
3447
|
@expected_state = args[:expected_state] if args.key?(:expected_state)
|
3448
|
+
@gcbdr_configuration = args[:gcbdr_configuration] if args.key?(:gcbdr_configuration)
|
3052
3449
|
@id = args[:id] if args.key?(:id)
|
3053
3450
|
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
3054
3451
|
@location = args[:location] if args.key?(:location)
|
@@ -3058,6 +3455,7 @@ module Google
|
|
3058
3455
|
@product = args[:product] if args.key?(:product)
|
3059
3456
|
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
3060
3457
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
3458
|
+
@suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
|
3061
3459
|
@tags_set = args[:tags_set] if args.key?(:tags_set)
|
3062
3460
|
@updation_time = args[:updation_time] if args.key?(:updation_time)
|
3063
3461
|
@user_label_set = args[:user_label_set] if args.key?(:user_label_set)
|
@@ -3163,6 +3561,26 @@ module Google
|
|
3163
3561
|
end
|
3164
3562
|
end
|
3165
3563
|
|
3564
|
+
# GCBDR Configuration for the resource.
|
3565
|
+
class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
|
3566
|
+
include Google::Apis::Core::Hashable
|
3567
|
+
|
3568
|
+
# Whether the resource is managed by GCBDR.
|
3569
|
+
# Corresponds to the JSON property `gcbdrManaged`
|
3570
|
+
# @return [Boolean]
|
3571
|
+
attr_accessor :gcbdr_managed
|
3572
|
+
alias_method :gcbdr_managed?, :gcbdr_managed
|
3573
|
+
|
3574
|
+
def initialize(**args)
|
3575
|
+
update!(**args)
|
3576
|
+
end
|
3577
|
+
|
3578
|
+
# Update properties of this object
|
3579
|
+
def update!(**args)
|
3580
|
+
@gcbdr_managed = args[:gcbdr_managed] if args.key?(:gcbdr_managed)
|
3581
|
+
end
|
3582
|
+
end
|
3583
|
+
|
3166
3584
|
# Metadata for individual internal resources in an instance. e.g. spanner
|
3167
3585
|
# instance can have multiple databases with unique configuration settings.
|
3168
3586
|
# Similarly bigtable can have multiple clusters within same bigtable instance.
|
@@ -3179,6 +3597,12 @@ module Google
|
|
3179
3597
|
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun]
|
3180
3598
|
attr_accessor :backup_run
|
3181
3599
|
|
3600
|
+
# Whether deletion protection is enabled for this internal resource.
|
3601
|
+
# Corresponds to the JSON property `isDeletionProtectionEnabled`
|
3602
|
+
# @return [Boolean]
|
3603
|
+
attr_accessor :is_deletion_protection_enabled
|
3604
|
+
alias_method :is_deletion_protection_enabled?, :is_deletion_protection_enabled
|
3605
|
+
|
3182
3606
|
# Product specification for Condor resources.
|
3183
3607
|
# Corresponds to the JSON property `product`
|
3184
3608
|
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct]
|
@@ -3203,6 +3627,7 @@ module Google
|
|
3203
3627
|
def update!(**args)
|
3204
3628
|
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
|
3205
3629
|
@backup_run = args[:backup_run] if args.key?(:backup_run)
|
3630
|
+
@is_deletion_protection_enabled = args[:is_deletion_protection_enabled] if args.key?(:is_deletion_protection_enabled)
|
3206
3631
|
@product = args[:product] if args.key?(:product)
|
3207
3632
|
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
3208
3633
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
@@ -3214,8 +3639,8 @@ module Google
|
|
3214
3639
|
class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
|
3215
3640
|
include Google::Apis::Core::Hashable
|
3216
3641
|
|
3217
|
-
# The number of CPUs. TODO(b/342344482, b/
|
3218
|
-
# after bug fix.
|
3642
|
+
# The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/
|
3643
|
+
# 342346271) add proto validations again after bug fix.
|
3219
3644
|
# Corresponds to the JSON property `cpuCount`
|
3220
3645
|
# @return [Fixnum]
|
3221
3646
|
attr_accessor :cpu_count
|
@@ -3534,6 +3959,16 @@ module Google
|
|
3534
3959
|
# @return [String]
|
3535
3960
|
attr_accessor :name
|
3536
3961
|
|
3962
|
+
# The recommended value for an INTEGER flag.
|
3963
|
+
# Corresponds to the JSON property `recommendedIntegerValue`
|
3964
|
+
# @return [Fixnum]
|
3965
|
+
attr_accessor :recommended_integer_value
|
3966
|
+
|
3967
|
+
# The recommended value for a STRING flag.
|
3968
|
+
# Corresponds to the JSON property `recommendedStringValue`
|
3969
|
+
# @return [String]
|
3970
|
+
attr_accessor :recommended_string_value
|
3971
|
+
|
3537
3972
|
# Whether setting or updating this flag on an Instance requires a database
|
3538
3973
|
# restart. If a flag that requires database restart is set, the backend will
|
3539
3974
|
# automatically restart the database (making sure to satisfy any availability
|
@@ -3543,6 +3978,11 @@ module Google
|
|
3543
3978
|
attr_accessor :requires_db_restart
|
3544
3979
|
alias_method :requires_db_restart?, :requires_db_restart
|
3545
3980
|
|
3981
|
+
# The scope of the flag.
|
3982
|
+
# Corresponds to the JSON property `scope`
|
3983
|
+
# @return [String]
|
3984
|
+
attr_accessor :scope
|
3985
|
+
|
3546
3986
|
# Restrictions on STRING type values
|
3547
3987
|
# Corresponds to the JSON property `stringRestrictions`
|
3548
3988
|
# @return [Google::Apis::AlloydbV1::StringRestrictions]
|
@@ -3568,7 +4008,10 @@ module Google
|
|
3568
4008
|
@flag_name = args[:flag_name] if args.key?(:flag_name)
|
3569
4009
|
@integer_restrictions = args[:integer_restrictions] if args.key?(:integer_restrictions)
|
3570
4010
|
@name = args[:name] if args.key?(:name)
|
4011
|
+
@recommended_integer_value = args[:recommended_integer_value] if args.key?(:recommended_integer_value)
|
4012
|
+
@recommended_string_value = args[:recommended_string_value] if args.key?(:recommended_string_value)
|
3571
4013
|
@requires_db_restart = args[:requires_db_restart] if args.key?(:requires_db_restart)
|
4014
|
+
@scope = args[:scope] if args.key?(:scope)
|
3572
4015
|
@string_restrictions = args[:string_restrictions] if args.key?(:string_restrictions)
|
3573
4016
|
@supported_db_versions = args[:supported_db_versions] if args.key?(:supported_db_versions)
|
3574
4017
|
@value_type = args[:value_type] if args.key?(:value_type)
|
@@ -3753,6 +4196,50 @@ module Google
|
|
3753
4196
|
end
|
3754
4197
|
end
|
3755
4198
|
|
4199
|
+
# Message for current status of the Major Version Upgrade operation.
|
4200
|
+
class UpgradeClusterStatus
|
4201
|
+
include Google::Apis::Core::Hashable
|
4202
|
+
|
4203
|
+
# Whether the operation is cancellable.
|
4204
|
+
# Corresponds to the JSON property `cancellable`
|
4205
|
+
# @return [Boolean]
|
4206
|
+
attr_accessor :cancellable
|
4207
|
+
alias_method :cancellable?, :cancellable
|
4208
|
+
|
4209
|
+
# Source database major version.
|
4210
|
+
# Corresponds to the JSON property `sourceVersion`
|
4211
|
+
# @return [String]
|
4212
|
+
attr_accessor :source_version
|
4213
|
+
|
4214
|
+
# Status of all upgrade stages.
|
4215
|
+
# Corresponds to the JSON property `stages`
|
4216
|
+
# @return [Array<Google::Apis::AlloydbV1::StageStatus>]
|
4217
|
+
attr_accessor :stages
|
4218
|
+
|
4219
|
+
# Cluster Major Version Upgrade state.
|
4220
|
+
# Corresponds to the JSON property `state`
|
4221
|
+
# @return [String]
|
4222
|
+
attr_accessor :state
|
4223
|
+
|
4224
|
+
# Target database major version.
|
4225
|
+
# Corresponds to the JSON property `targetVersion`
|
4226
|
+
# @return [String]
|
4227
|
+
attr_accessor :target_version
|
4228
|
+
|
4229
|
+
def initialize(**args)
|
4230
|
+
update!(**args)
|
4231
|
+
end
|
4232
|
+
|
4233
|
+
# Update properties of this object
|
4234
|
+
def update!(**args)
|
4235
|
+
@cancellable = args[:cancellable] if args.key?(:cancellable)
|
4236
|
+
@source_version = args[:source_version] if args.key?(:source_version)
|
4237
|
+
@stages = args[:stages] if args.key?(:stages)
|
4238
|
+
@state = args[:state] if args.key?(:state)
|
4239
|
+
@target_version = args[:target_version] if args.key?(:target_version)
|
4240
|
+
end
|
4241
|
+
end
|
4242
|
+
|
3756
4243
|
# Message describing User object.
|
3757
4244
|
class User
|
3758
4245
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250219"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,12 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class CloudSqlBackupRunSource
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class Cluster
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
@@ -106,6 +112,12 @@ module Google
|
|
106
112
|
include Google::Apis::Core::JsonObjectSupport
|
107
113
|
end
|
108
114
|
|
115
|
+
class CsvImportOptions
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
109
121
|
class Empty
|
110
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
123
|
|
@@ -166,6 +178,18 @@ module Google
|
|
166
178
|
include Google::Apis::Core::JsonObjectSupport
|
167
179
|
end
|
168
180
|
|
181
|
+
class ImportClusterRequest
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class ImportClusterResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
169
193
|
class InjectFaultRequest
|
170
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
195
|
|
@@ -298,6 +322,12 @@ module Google
|
|
298
322
|
include Google::Apis::Core::JsonObjectSupport
|
299
323
|
end
|
300
324
|
|
325
|
+
class PscAutoConnectionConfig
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
301
331
|
class PscConfig
|
302
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
333
|
|
@@ -310,6 +340,12 @@ module Google
|
|
310
340
|
include Google::Apis::Core::JsonObjectSupport
|
311
341
|
end
|
312
342
|
|
343
|
+
class PscInterfaceConfig
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
313
349
|
class QuantityBasedExpiry
|
314
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
351
|
|
@@ -334,6 +370,12 @@ module Google
|
|
334
370
|
include Google::Apis::Core::JsonObjectSupport
|
335
371
|
end
|
336
372
|
|
373
|
+
class ReadPoolInstancesUpgradeStageStatus
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
337
379
|
class RestartInstanceRequest
|
338
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
381
|
|
@@ -346,6 +388,12 @@ module Google
|
|
346
388
|
include Google::Apis::Core::JsonObjectSupport
|
347
389
|
end
|
348
390
|
|
391
|
+
class RestoreFromCloudSqlRequest
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
349
397
|
class SecondaryConfig
|
350
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
399
|
|
@@ -358,6 +406,12 @@ module Google
|
|
358
406
|
include Google::Apis::Core::JsonObjectSupport
|
359
407
|
end
|
360
408
|
|
409
|
+
class SqlImportOptions
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
361
415
|
class SslConfig
|
362
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
417
|
|
@@ -370,6 +424,18 @@ module Google
|
|
370
424
|
include Google::Apis::Core::JsonObjectSupport
|
371
425
|
end
|
372
426
|
|
427
|
+
class StageStatus
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
433
|
+
class Stats
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
373
439
|
class Status
|
374
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
441
|
|
@@ -442,6 +508,12 @@ module Google
|
|
442
508
|
include Google::Apis::Core::JsonObjectSupport
|
443
509
|
end
|
444
510
|
|
511
|
+
class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
445
517
|
class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
|
446
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
519
|
|
@@ -538,6 +610,12 @@ module Google
|
|
538
610
|
include Google::Apis::Core::JsonObjectSupport
|
539
611
|
end
|
540
612
|
|
613
|
+
class UpgradeClusterStatus
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
|
+
|
616
|
+
include Google::Apis::Core::JsonObjectSupport
|
617
|
+
end
|
618
|
+
|
541
619
|
class User
|
542
620
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
621
|
|
@@ -644,6 +722,15 @@ module Google
|
|
644
722
|
end
|
645
723
|
end
|
646
724
|
|
725
|
+
class CloudSqlBackupRunSource
|
726
|
+
# @private
|
727
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
728
|
+
property :backup_run_id, :numeric_string => true, as: 'backupRunId'
|
729
|
+
property :instance_id, as: 'instanceId'
|
730
|
+
property :project, as: 'project'
|
731
|
+
end
|
732
|
+
end
|
733
|
+
|
647
734
|
class Cluster
|
648
735
|
# @private
|
649
736
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -652,6 +739,8 @@ module Google
|
|
652
739
|
|
653
740
|
property :backup_source, as: 'backupSource', class: Google::Apis::AlloydbV1::BackupSource, decorator: Google::Apis::AlloydbV1::BackupSource::Representation
|
654
741
|
|
742
|
+
property :cloudsql_backup_run_source, as: 'cloudsqlBackupRunSource', class: Google::Apis::AlloydbV1::CloudSqlBackupRunSource, decorator: Google::Apis::AlloydbV1::CloudSqlBackupRunSource::Representation
|
743
|
+
|
655
744
|
property :cluster_type, as: 'clusterType'
|
656
745
|
property :continuous_backup_config, as: 'continuousBackupConfig', class: Google::Apis::AlloydbV1::ContinuousBackupConfig, decorator: Google::Apis::AlloydbV1::ContinuousBackupConfig::Representation
|
657
746
|
|
@@ -762,6 +851,17 @@ module Google
|
|
762
851
|
end
|
763
852
|
end
|
764
853
|
|
854
|
+
class CsvImportOptions
|
855
|
+
# @private
|
856
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
857
|
+
collection :columns, as: 'columns'
|
858
|
+
property :escape_character, as: 'escapeCharacter'
|
859
|
+
property :field_delimiter, as: 'fieldDelimiter'
|
860
|
+
property :quote_character, as: 'quoteCharacter'
|
861
|
+
property :table, as: 'table'
|
862
|
+
end
|
863
|
+
end
|
864
|
+
|
765
865
|
class Empty
|
766
866
|
# @private
|
767
867
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -849,6 +949,26 @@ module Google
|
|
849
949
|
end
|
850
950
|
end
|
851
951
|
|
952
|
+
class ImportClusterRequest
|
953
|
+
# @private
|
954
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
955
|
+
property :csv_import_options, as: 'csvImportOptions', class: Google::Apis::AlloydbV1::CsvImportOptions, decorator: Google::Apis::AlloydbV1::CsvImportOptions::Representation
|
956
|
+
|
957
|
+
property :database, as: 'database'
|
958
|
+
property :gcs_uri, as: 'gcsUri'
|
959
|
+
property :sql_import_options, as: 'sqlImportOptions', class: Google::Apis::AlloydbV1::SqlImportOptions, decorator: Google::Apis::AlloydbV1::SqlImportOptions::Representation
|
960
|
+
|
961
|
+
property :user, as: 'user'
|
962
|
+
end
|
963
|
+
end
|
964
|
+
|
965
|
+
class ImportClusterResponse
|
966
|
+
# @private
|
967
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
968
|
+
property :bytes_downloaded, :numeric_string => true, as: 'bytesDownloaded'
|
969
|
+
end
|
970
|
+
end
|
971
|
+
|
852
972
|
class InjectFaultRequest
|
853
973
|
# @private
|
854
974
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1063,6 +1183,8 @@ module Google
|
|
1063
1183
|
property :requested_cancellation, as: 'requestedCancellation'
|
1064
1184
|
property :status_message, as: 'statusMessage'
|
1065
1185
|
property :target, as: 'target'
|
1186
|
+
property :upgrade_cluster_status, as: 'upgradeClusterStatus', class: Google::Apis::AlloydbV1::UpgradeClusterStatus, decorator: Google::Apis::AlloydbV1::UpgradeClusterStatus::Representation
|
1187
|
+
|
1066
1188
|
property :verb, as: 'verb'
|
1067
1189
|
end
|
1068
1190
|
end
|
@@ -1083,10 +1205,22 @@ module Google
|
|
1083
1205
|
end
|
1084
1206
|
end
|
1085
1207
|
|
1208
|
+
class PscAutoConnectionConfig
|
1209
|
+
# @private
|
1210
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1211
|
+
property :consumer_network, as: 'consumerNetwork'
|
1212
|
+
property :consumer_network_status, as: 'consumerNetworkStatus'
|
1213
|
+
property :consumer_project, as: 'consumerProject'
|
1214
|
+
property :ip_address, as: 'ipAddress'
|
1215
|
+
property :status, as: 'status'
|
1216
|
+
end
|
1217
|
+
end
|
1218
|
+
|
1086
1219
|
class PscConfig
|
1087
1220
|
# @private
|
1088
1221
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1089
1222
|
property :psc_enabled, as: 'pscEnabled'
|
1223
|
+
property :service_owned_project_number, :numeric_string => true, as: 'serviceOwnedProjectNumber'
|
1090
1224
|
end
|
1091
1225
|
end
|
1092
1226
|
|
@@ -1094,11 +1228,22 @@ module Google
|
|
1094
1228
|
# @private
|
1095
1229
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1096
1230
|
collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
|
1231
|
+
collection :psc_auto_connections, as: 'pscAutoConnections', class: Google::Apis::AlloydbV1::PscAutoConnectionConfig, decorator: Google::Apis::AlloydbV1::PscAutoConnectionConfig::Representation
|
1232
|
+
|
1097
1233
|
property :psc_dns_name, as: 'pscDnsName'
|
1234
|
+
collection :psc_interface_configs, as: 'pscInterfaceConfigs', class: Google::Apis::AlloydbV1::PscInterfaceConfig, decorator: Google::Apis::AlloydbV1::PscInterfaceConfig::Representation
|
1235
|
+
|
1098
1236
|
property :service_attachment_link, as: 'serviceAttachmentLink'
|
1099
1237
|
end
|
1100
1238
|
end
|
1101
1239
|
|
1240
|
+
class PscInterfaceConfig
|
1241
|
+
# @private
|
1242
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1243
|
+
property :network_attachment_resource, as: 'networkAttachmentResource'
|
1244
|
+
end
|
1245
|
+
end
|
1246
|
+
|
1102
1247
|
class QuantityBasedExpiry
|
1103
1248
|
# @private
|
1104
1249
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1131,6 +1276,14 @@ module Google
|
|
1131
1276
|
end
|
1132
1277
|
end
|
1133
1278
|
|
1279
|
+
class ReadPoolInstancesUpgradeStageStatus
|
1280
|
+
# @private
|
1281
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1282
|
+
property :upgrade_stats, as: 'upgradeStats', class: Google::Apis::AlloydbV1::Stats, decorator: Google::Apis::AlloydbV1::Stats::Representation
|
1283
|
+
|
1284
|
+
end
|
1285
|
+
end
|
1286
|
+
|
1134
1287
|
class RestartInstanceRequest
|
1135
1288
|
# @private
|
1136
1289
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1155,6 +1308,17 @@ module Google
|
|
1155
1308
|
end
|
1156
1309
|
end
|
1157
1310
|
|
1311
|
+
class RestoreFromCloudSqlRequest
|
1312
|
+
# @private
|
1313
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1314
|
+
property :cloudsql_backup_run_source, as: 'cloudsqlBackupRunSource', class: Google::Apis::AlloydbV1::CloudSqlBackupRunSource, decorator: Google::Apis::AlloydbV1::CloudSqlBackupRunSource::Representation
|
1315
|
+
|
1316
|
+
property :cluster, as: 'cluster', class: Google::Apis::AlloydbV1::Cluster, decorator: Google::Apis::AlloydbV1::Cluster::Representation
|
1317
|
+
|
1318
|
+
property :cluster_id, as: 'clusterId'
|
1319
|
+
end
|
1320
|
+
end
|
1321
|
+
|
1158
1322
|
class SecondaryConfig
|
1159
1323
|
# @private
|
1160
1324
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1172,6 +1336,12 @@ module Google
|
|
1172
1336
|
end
|
1173
1337
|
end
|
1174
1338
|
|
1339
|
+
class SqlImportOptions
|
1340
|
+
# @private
|
1341
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1342
|
+
end
|
1343
|
+
end
|
1344
|
+
|
1175
1345
|
class SslConfig
|
1176
1346
|
# @private
|
1177
1347
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1189,6 +1359,26 @@ module Google
|
|
1189
1359
|
end
|
1190
1360
|
end
|
1191
1361
|
|
1362
|
+
class StageStatus
|
1363
|
+
# @private
|
1364
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1365
|
+
property :read_pool_instances_upgrade, as: 'readPoolInstancesUpgrade', class: Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus, decorator: Google::Apis::AlloydbV1::ReadPoolInstancesUpgradeStageStatus::Representation
|
1366
|
+
|
1367
|
+
property :stage, as: 'stage'
|
1368
|
+
property :state, as: 'state'
|
1369
|
+
end
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
class Stats
|
1373
|
+
# @private
|
1374
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1375
|
+
property :failed, as: 'failed'
|
1376
|
+
property :not_started, as: 'notStarted'
|
1377
|
+
property :ongoing, as: 'ongoing'
|
1378
|
+
property :success, as: 'success'
|
1379
|
+
end
|
1380
|
+
end
|
1381
|
+
|
1192
1382
|
class Status
|
1193
1383
|
# @private
|
1194
1384
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1312,6 +1502,8 @@ module Google
|
|
1312
1502
|
collection :entitlements, as: 'entitlements', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainEntitlement, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainEntitlement::Representation
|
1313
1503
|
|
1314
1504
|
property :expected_state, as: 'expectedState'
|
1505
|
+
property :gcbdr_configuration, as: 'gcbdrConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration::Representation
|
1506
|
+
|
1315
1507
|
property :id, as: 'id', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
1316
1508
|
|
1317
1509
|
property :instance_type, as: 'instanceType'
|
@@ -1325,6 +1517,7 @@ module Google
|
|
1325
1517
|
|
1326
1518
|
property :resource_container, as: 'resourceContainer'
|
1327
1519
|
property :resource_name, as: 'resourceName'
|
1520
|
+
property :suspension_reason, as: 'suspensionReason'
|
1328
1521
|
property :tags_set, as: 'tagsSet', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainTags, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainTags::Representation
|
1329
1522
|
|
1330
1523
|
property :updation_time, as: 'updationTime'
|
@@ -1355,6 +1548,13 @@ module Google
|
|
1355
1548
|
end
|
1356
1549
|
end
|
1357
1550
|
|
1551
|
+
class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
|
1552
|
+
# @private
|
1553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1554
|
+
property :gcbdr_managed, as: 'gcbdrManaged'
|
1555
|
+
end
|
1556
|
+
end
|
1557
|
+
|
1358
1558
|
class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
|
1359
1559
|
# @private
|
1360
1560
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1362,6 +1562,7 @@ module Google
|
|
1362
1562
|
|
1363
1563
|
property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
|
1364
1564
|
|
1565
|
+
property :is_deletion_protection_enabled, as: 'isDeletionProtectionEnabled'
|
1365
1566
|
property :product, as: 'product', class: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct::Representation
|
1366
1567
|
|
1367
1568
|
property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
@@ -1460,7 +1661,10 @@ module Google
|
|
1460
1661
|
property :integer_restrictions, as: 'integerRestrictions', class: Google::Apis::AlloydbV1::IntegerRestrictions, decorator: Google::Apis::AlloydbV1::IntegerRestrictions::Representation
|
1461
1662
|
|
1462
1663
|
property :name, as: 'name'
|
1664
|
+
property :recommended_integer_value, :numeric_string => true, as: 'recommendedIntegerValue'
|
1665
|
+
property :recommended_string_value, as: 'recommendedStringValue'
|
1463
1666
|
property :requires_db_restart, as: 'requiresDbRestart'
|
1667
|
+
property :scope, as: 'scope'
|
1464
1668
|
property :string_restrictions, as: 'stringRestrictions', class: Google::Apis::AlloydbV1::StringRestrictions, decorator: Google::Apis::AlloydbV1::StringRestrictions::Representation
|
1465
1669
|
|
1466
1670
|
collection :supported_db_versions, as: 'supportedDbVersions'
|
@@ -1513,6 +1717,18 @@ module Google
|
|
1513
1717
|
end
|
1514
1718
|
end
|
1515
1719
|
|
1720
|
+
class UpgradeClusterStatus
|
1721
|
+
# @private
|
1722
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1723
|
+
property :cancellable, as: 'cancellable'
|
1724
|
+
property :source_version, as: 'sourceVersion'
|
1725
|
+
collection :stages, as: 'stages', class: Google::Apis::AlloydbV1::StageStatus, decorator: Google::Apis::AlloydbV1::StageStatus::Representation
|
1726
|
+
|
1727
|
+
property :state, as: 'state'
|
1728
|
+
property :target_version, as: 'targetVersion'
|
1729
|
+
end
|
1730
|
+
end
|
1731
|
+
|
1516
1732
|
class User
|
1517
1733
|
# @private
|
1518
1734
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -610,6 +610,39 @@ module Google
|
|
610
610
|
execute_or_queue_command(command, &block)
|
611
611
|
end
|
612
612
|
|
613
|
+
# Imports data to the cluster. Imperative only.
|
614
|
+
# @param [String] name
|
615
|
+
# Required. The resource name of the cluster.
|
616
|
+
# @param [Google::Apis::AlloydbV1::ImportClusterRequest] import_cluster_request_object
|
617
|
+
# @param [String] fields
|
618
|
+
# Selector specifying which fields to include in a partial response.
|
619
|
+
# @param [String] quota_user
|
620
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
621
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
622
|
+
# @param [Google::Apis::RequestOptions] options
|
623
|
+
# Request-specific options
|
624
|
+
#
|
625
|
+
# @yield [result, err] Result & error if block supplied
|
626
|
+
# @yieldparam result [Google::Apis::AlloydbV1::Operation] parsed result object
|
627
|
+
# @yieldparam err [StandardError] error object if request failed
|
628
|
+
#
|
629
|
+
# @return [Google::Apis::AlloydbV1::Operation]
|
630
|
+
#
|
631
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
632
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
633
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
634
|
+
def import_cluster(name, import_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
635
|
+
command = make_simple_command(:post, 'v1/{+name}:import', options)
|
636
|
+
command.request_representation = Google::Apis::AlloydbV1::ImportClusterRequest::Representation
|
637
|
+
command.request_object = import_cluster_request_object
|
638
|
+
command.response_representation = Google::Apis::AlloydbV1::Operation::Representation
|
639
|
+
command.response_class = Google::Apis::AlloydbV1::Operation
|
640
|
+
command.params['name'] = name unless name.nil?
|
641
|
+
command.query['fields'] = fields unless fields.nil?
|
642
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
643
|
+
execute_or_queue_command(command, &block)
|
644
|
+
end
|
645
|
+
|
613
646
|
# Lists Clusters in a given project and location.
|
614
647
|
# @param [String] parent
|
615
648
|
# Required. The name of the parent resource. For the required format, see the
|
@@ -793,6 +826,40 @@ module Google
|
|
793
826
|
execute_or_queue_command(command, &block)
|
794
827
|
end
|
795
828
|
|
829
|
+
# Restores an AlloyDB cluster from a CloudSQL resource.
|
830
|
+
# @param [String] parent
|
831
|
+
# Required. The location of the new cluster. For the required format, see the
|
832
|
+
# comment on Cluster.name field.
|
833
|
+
# @param [Google::Apis::AlloydbV1::RestoreFromCloudSqlRequest] restore_from_cloud_sql_request_object
|
834
|
+
# @param [String] fields
|
835
|
+
# Selector specifying which fields to include in a partial response.
|
836
|
+
# @param [String] quota_user
|
837
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
838
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
839
|
+
# @param [Google::Apis::RequestOptions] options
|
840
|
+
# Request-specific options
|
841
|
+
#
|
842
|
+
# @yield [result, err] Result & error if block supplied
|
843
|
+
# @yieldparam result [Google::Apis::AlloydbV1::Operation] parsed result object
|
844
|
+
# @yieldparam err [StandardError] error object if request failed
|
845
|
+
#
|
846
|
+
# @return [Google::Apis::AlloydbV1::Operation]
|
847
|
+
#
|
848
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
849
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
850
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
851
|
+
def restore_cluster_from_cloud_sql(parent, restore_from_cloud_sql_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
852
|
+
command = make_simple_command(:post, 'v1/{+parent}/clusters:restoreFromCloudSQL', options)
|
853
|
+
command.request_representation = Google::Apis::AlloydbV1::RestoreFromCloudSqlRequest::Representation
|
854
|
+
command.request_object = restore_from_cloud_sql_request_object
|
855
|
+
command.response_representation = Google::Apis::AlloydbV1::Operation::Representation
|
856
|
+
command.response_class = Google::Apis::AlloydbV1::Operation
|
857
|
+
command.params['parent'] = parent unless parent.nil?
|
858
|
+
command.query['fields'] = fields unless fields.nil?
|
859
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
860
|
+
execute_or_queue_command(command, &block)
|
861
|
+
end
|
862
|
+
|
796
863
|
# Switches the roles of PRIMARY and SECONDARY clusters without any data loss.
|
797
864
|
# This promotes the SECONDARY cluster to PRIMARY and sets up the original
|
798
865
|
# PRIMARY cluster to replicate from this newly promoted cluster.
|
@@ -1707,6 +1774,9 @@ module Google
|
|
1707
1774
|
# unspecified, server will pick an appropriate default.
|
1708
1775
|
# @param [String] page_token
|
1709
1776
|
# A token identifying a page of results the server should return.
|
1777
|
+
# @param [String] scope
|
1778
|
+
# Optional. The scope for which supported flags are requested. If not specified,
|
1779
|
+
# default is DATABASE.
|
1710
1780
|
# @param [String] fields
|
1711
1781
|
# Selector specifying which fields to include in a partial response.
|
1712
1782
|
# @param [String] quota_user
|
@@ -1724,13 +1794,14 @@ module Google
|
|
1724
1794
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1725
1795
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1726
1796
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1727
|
-
def list_project_location_supported_database_flags(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1797
|
+
def list_project_location_supported_database_flags(parent, page_size: nil, page_token: nil, scope: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1728
1798
|
command = make_simple_command(:get, 'v1/{+parent}/supportedDatabaseFlags', options)
|
1729
1799
|
command.response_representation = Google::Apis::AlloydbV1::ListSupportedDatabaseFlagsResponse::Representation
|
1730
1800
|
command.response_class = Google::Apis::AlloydbV1::ListSupportedDatabaseFlagsResponse
|
1731
1801
|
command.params['parent'] = parent unless parent.nil?
|
1732
1802
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1733
1803
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1804
|
+
command.query['scope'] = scope unless scope.nil?
|
1734
1805
|
command.query['fields'] = fields unless fields.nil?
|
1735
1806
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1736
1807
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-alloydb_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.30.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for AlloyDB API V1
|
82
79
|
test_files: []
|