google-apis-alloydb_v1beta 0.21.0 → 0.22.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: 1de8e14469ca6bf325893519102b1a7990bac99d750bdf873cd6ab7610a19b66
|
4
|
+
data.tar.gz: a3acd109d211d30268712aa79a69438c9080b6af3f0b3a7955c0f253c5e2e9ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fee1555fc64c3e3aed378685bed3e7d3f22262bb2b36625f53e5708733c62188af5b5e7c632111c646349d97005d4ee127f5883801b4bf40b3e618f208489b5
|
7
|
+
data.tar.gz: b9a9aed0256e82dd55be7cd9b2e878cbe272bc5d69f2ca05b53a64dbac23bee48aa5eca8e99985b4b292c89f04cbc703aeaeb44d89cc560e3b67f7e862cdce81
|
data/CHANGELOG.md
CHANGED
@@ -925,6 +925,56 @@ module Google
|
|
925
925
|
end
|
926
926
|
end
|
927
927
|
|
928
|
+
# Options for importing data in CSV format.
|
929
|
+
class CsvImportOptions
|
930
|
+
include Google::Apis::Core::Hashable
|
931
|
+
|
932
|
+
# Optional. The columns to which CSV data is imported. If not specified, all
|
933
|
+
# columns of the database table are loaded with CSV data.
|
934
|
+
# Corresponds to the JSON property `columns`
|
935
|
+
# @return [Array<String>]
|
936
|
+
attr_accessor :columns
|
937
|
+
|
938
|
+
# Optional. Specifies the character that should appear before a data character
|
939
|
+
# that needs to be escaped. The default is same as quote character. The value of
|
940
|
+
# this argument has to be a character in Hex ASCII Code.
|
941
|
+
# Corresponds to the JSON property `escapeCharacter`
|
942
|
+
# @return [String]
|
943
|
+
attr_accessor :escape_character
|
944
|
+
|
945
|
+
# Optional. Specifies the character that separates columns within each row (line)
|
946
|
+
# of the file. The default is comma. The value of this argument has to be a
|
947
|
+
# character in Hex ASCII Code.
|
948
|
+
# Corresponds to the JSON property `fieldDelimiter`
|
949
|
+
# @return [String]
|
950
|
+
attr_accessor :field_delimiter
|
951
|
+
|
952
|
+
# Optional. Specifies the quoting character to be used when a data value is
|
953
|
+
# quoted. The default is double-quote. The value of this argument has to be a
|
954
|
+
# character in Hex ASCII Code.
|
955
|
+
# Corresponds to the JSON property `quoteCharacter`
|
956
|
+
# @return [String]
|
957
|
+
attr_accessor :quote_character
|
958
|
+
|
959
|
+
# Required. The database table to import CSV file into.
|
960
|
+
# Corresponds to the JSON property `table`
|
961
|
+
# @return [String]
|
962
|
+
attr_accessor :table
|
963
|
+
|
964
|
+
def initialize(**args)
|
965
|
+
update!(**args)
|
966
|
+
end
|
967
|
+
|
968
|
+
# Update properties of this object
|
969
|
+
def update!(**args)
|
970
|
+
@columns = args[:columns] if args.key?(:columns)
|
971
|
+
@escape_character = args[:escape_character] if args.key?(:escape_character)
|
972
|
+
@field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
|
973
|
+
@quote_character = args[:quote_character] if args.key?(:quote_character)
|
974
|
+
@table = args[:table] if args.key?(:table)
|
975
|
+
end
|
976
|
+
end
|
977
|
+
|
928
978
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
929
979
|
# messages in your APIs. A typical example is to use it as the request or the
|
930
980
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -1250,6 +1300,55 @@ module Google
|
|
1250
1300
|
end
|
1251
1301
|
end
|
1252
1302
|
|
1303
|
+
# Import cluster request.
|
1304
|
+
class ImportClusterRequest
|
1305
|
+
include Google::Apis::Core::Hashable
|
1306
|
+
|
1307
|
+
# Options for importing data in CSV format.
|
1308
|
+
# Corresponds to the JSON property `csvImportOptions`
|
1309
|
+
# @return [Google::Apis::AlloydbV1beta::CsvImportOptions]
|
1310
|
+
attr_accessor :csv_import_options
|
1311
|
+
|
1312
|
+
# Optional. Name of the database to which the import will be done. For import
|
1313
|
+
# from SQL file, this is required only if the file does not specify a database.
|
1314
|
+
# Note - Value provided should be the same as expected from `SELECT
|
1315
|
+
# current_database();` and NOT as a resource reference.
|
1316
|
+
# Corresponds to the JSON property `database`
|
1317
|
+
# @return [String]
|
1318
|
+
attr_accessor :database
|
1319
|
+
|
1320
|
+
# Required. The path to the file in Google Cloud Storage where the source file
|
1321
|
+
# for import will be stored. The URI is in the form `gs://bucketName/fileName`.
|
1322
|
+
# Corresponds to the JSON property `gcsUri`
|
1323
|
+
# @return [String]
|
1324
|
+
attr_accessor :gcs_uri
|
1325
|
+
|
1326
|
+
# Options for importing data in SQL format.
|
1327
|
+
# Corresponds to the JSON property `sqlImportOptions`
|
1328
|
+
# @return [Google::Apis::AlloydbV1beta::SqlImportOptions]
|
1329
|
+
attr_accessor :sql_import_options
|
1330
|
+
|
1331
|
+
# Optional. Database user to be used for importing the data. Note - Value
|
1332
|
+
# provided should be the same as expected from `SELECT current_user;` and NOT as
|
1333
|
+
# a resource reference.
|
1334
|
+
# Corresponds to the JSON property `user`
|
1335
|
+
# @return [String]
|
1336
|
+
attr_accessor :user
|
1337
|
+
|
1338
|
+
def initialize(**args)
|
1339
|
+
update!(**args)
|
1340
|
+
end
|
1341
|
+
|
1342
|
+
# Update properties of this object
|
1343
|
+
def update!(**args)
|
1344
|
+
@csv_import_options = args[:csv_import_options] if args.key?(:csv_import_options)
|
1345
|
+
@database = args[:database] if args.key?(:database)
|
1346
|
+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
1347
|
+
@sql_import_options = args[:sql_import_options] if args.key?(:sql_import_options)
|
1348
|
+
@user = args[:user] if args.key?(:user)
|
1349
|
+
end
|
1350
|
+
end
|
1351
|
+
|
1253
1352
|
# Message for triggering fault injection on an instance
|
1254
1353
|
class InjectFaultRequest
|
1255
1354
|
include Google::Apis::Core::Hashable
|
@@ -1482,7 +1581,7 @@ module Google
|
|
1482
1581
|
attr_accessor :update_time
|
1483
1582
|
|
1484
1583
|
# Details of a single node in the instance. Nodes in an AlloyDB instance are
|
1485
|
-
#
|
1584
|
+
# ephemeral, they can change during update, failover, autohealing and resize
|
1486
1585
|
# operations.
|
1487
1586
|
# Corresponds to the JSON property `writableNode`
|
1488
1587
|
# @return [Google::Apis::AlloydbV1beta::Node]
|
@@ -1947,7 +2046,7 @@ module Google
|
|
1947
2046
|
end
|
1948
2047
|
|
1949
2048
|
# Details of a single node in the instance. Nodes in an AlloyDB instance are
|
1950
|
-
#
|
2049
|
+
# ephemeral, they can change during update, failover, autohealing and resize
|
1951
2050
|
# operations.
|
1952
2051
|
class Node
|
1953
2052
|
include Google::Apis::Core::Hashable
|
@@ -2172,6 +2271,11 @@ module Google
|
|
2172
2271
|
# @return [String]
|
2173
2272
|
attr_accessor :target
|
2174
2273
|
|
2274
|
+
# Message for current status of the Major Version Upgrade operation.
|
2275
|
+
# Corresponds to the JSON property `upgradeClusterStatus`
|
2276
|
+
# @return [Google::Apis::AlloydbV1beta::UpgradeClusterStatus]
|
2277
|
+
attr_accessor :upgrade_cluster_status
|
2278
|
+
|
2175
2279
|
# Output only. Name of the verb executed by the operation.
|
2176
2280
|
# Corresponds to the JSON property `verb`
|
2177
2281
|
# @return [String]
|
@@ -2189,6 +2293,7 @@ module Google
|
|
2189
2293
|
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
2190
2294
|
@status_message = args[:status_message] if args.key?(:status_message)
|
2191
2295
|
@target = args[:target] if args.key?(:target)
|
2296
|
+
@upgrade_cluster_status = args[:upgrade_cluster_status] if args.key?(:upgrade_cluster_status)
|
2192
2297
|
@verb = args[:verb] if args.key?(:verb)
|
2193
2298
|
end
|
2194
2299
|
end
|
@@ -2259,6 +2364,53 @@ module Google
|
|
2259
2364
|
end
|
2260
2365
|
end
|
2261
2366
|
|
2367
|
+
# Configuration for setting up PSC service automation. Consumer projects in the
|
2368
|
+
# configs will be allowlisted automatically for the instance.
|
2369
|
+
class PscAutoConnectionConfig
|
2370
|
+
include Google::Apis::Core::Hashable
|
2371
|
+
|
2372
|
+
# The consumer network for the PSC service automation, example: "projects/vpc-
|
2373
|
+
# host-project/global/networks/default". The consumer network might be hosted a
|
2374
|
+
# different project than the consumer project.
|
2375
|
+
# Corresponds to the JSON property `consumerNetwork`
|
2376
|
+
# @return [String]
|
2377
|
+
attr_accessor :consumer_network
|
2378
|
+
|
2379
|
+
# Output only. The status of the service connection policy.
|
2380
|
+
# Corresponds to the JSON property `consumerNetworkStatus`
|
2381
|
+
# @return [String]
|
2382
|
+
attr_accessor :consumer_network_status
|
2383
|
+
|
2384
|
+
# The consumer project to which the PSC service automation endpoint will be
|
2385
|
+
# created.
|
2386
|
+
# Corresponds to the JSON property `consumerProject`
|
2387
|
+
# @return [String]
|
2388
|
+
attr_accessor :consumer_project
|
2389
|
+
|
2390
|
+
# Output only. The IP address of the PSC service automation endpoint.
|
2391
|
+
# Corresponds to the JSON property `ipAddress`
|
2392
|
+
# @return [String]
|
2393
|
+
attr_accessor :ip_address
|
2394
|
+
|
2395
|
+
# Output only. The status of the PSC service automation connection.
|
2396
|
+
# Corresponds to the JSON property `status`
|
2397
|
+
# @return [String]
|
2398
|
+
attr_accessor :status
|
2399
|
+
|
2400
|
+
def initialize(**args)
|
2401
|
+
update!(**args)
|
2402
|
+
end
|
2403
|
+
|
2404
|
+
# Update properties of this object
|
2405
|
+
def update!(**args)
|
2406
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
2407
|
+
@consumer_network_status = args[:consumer_network_status] if args.key?(:consumer_network_status)
|
2408
|
+
@consumer_project = args[:consumer_project] if args.key?(:consumer_project)
|
2409
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
2410
|
+
@status = args[:status] if args.key?(:status)
|
2411
|
+
end
|
2412
|
+
end
|
2413
|
+
|
2262
2414
|
# PscConfig contains PSC related configuration at a cluster level.
|
2263
2415
|
class PscConfig
|
2264
2416
|
include Google::Apis::Core::Hashable
|
@@ -2270,6 +2422,12 @@ module Google
|
|
2270
2422
|
attr_accessor :psc_enabled
|
2271
2423
|
alias_method :psc_enabled?, :psc_enabled
|
2272
2424
|
|
2425
|
+
# Output only. The project number that needs to be allowlisted on the network
|
2426
|
+
# attachment to enable outbound connectivity.
|
2427
|
+
# Corresponds to the JSON property `serviceOwnedProjectNumber`
|
2428
|
+
# @return [Fixnum]
|
2429
|
+
attr_accessor :service_owned_project_number
|
2430
|
+
|
2273
2431
|
def initialize(**args)
|
2274
2432
|
update!(**args)
|
2275
2433
|
end
|
@@ -2277,6 +2435,7 @@ module Google
|
|
2277
2435
|
# Update properties of this object
|
2278
2436
|
def update!(**args)
|
2279
2437
|
@psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
|
2438
|
+
@service_owned_project_number = args[:service_owned_project_number] if args.key?(:service_owned_project_number)
|
2280
2439
|
end
|
2281
2440
|
end
|
2282
2441
|
|
@@ -2290,12 +2449,24 @@ module Google
|
|
2290
2449
|
# @return [Array<String>]
|
2291
2450
|
attr_accessor :allowed_consumer_projects
|
2292
2451
|
|
2452
|
+
# Optional. Configurations for setting up PSC service automation.
|
2453
|
+
# Corresponds to the JSON property `pscAutoConnections`
|
2454
|
+
# @return [Array<Google::Apis::AlloydbV1beta::PscAutoConnectionConfig>]
|
2455
|
+
attr_accessor :psc_auto_connections
|
2456
|
+
|
2293
2457
|
# Output only. The DNS name of the instance for PSC connectivity. Name
|
2294
2458
|
# convention: ...alloydb-psc.goog
|
2295
2459
|
# Corresponds to the JSON property `pscDnsName`
|
2296
2460
|
# @return [String]
|
2297
2461
|
attr_accessor :psc_dns_name
|
2298
2462
|
|
2463
|
+
# Optional. Configurations for setting up PSC interfaces attached to the
|
2464
|
+
# instance which are used for outbound connectivity. Only primary instances can
|
2465
|
+
# have PSC interface attached. Currently we only support 0 or 1 PSC interface.
|
2466
|
+
# Corresponds to the JSON property `pscInterfaceConfigs`
|
2467
|
+
# @return [Array<Google::Apis::AlloydbV1beta::PscInterfaceConfig>]
|
2468
|
+
attr_accessor :psc_interface_configs
|
2469
|
+
|
2299
2470
|
# Output only. The service attachment created when Private Service Connect (PSC)
|
2300
2471
|
# is enabled for the instance. The name of the resource will be in the format of
|
2301
2472
|
# `projects//regions//serviceAttachments/`
|
@@ -2310,11 +2481,36 @@ module Google
|
|
2310
2481
|
# Update properties of this object
|
2311
2482
|
def update!(**args)
|
2312
2483
|
@allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
|
2484
|
+
@psc_auto_connections = args[:psc_auto_connections] if args.key?(:psc_auto_connections)
|
2313
2485
|
@psc_dns_name = args[:psc_dns_name] if args.key?(:psc_dns_name)
|
2486
|
+
@psc_interface_configs = args[:psc_interface_configs] if args.key?(:psc_interface_configs)
|
2314
2487
|
@service_attachment_link = args[:service_attachment_link] if args.key?(:service_attachment_link)
|
2315
2488
|
end
|
2316
2489
|
end
|
2317
2490
|
|
2491
|
+
# Configuration for setting up a PSC interface to enable outbound connectivity.
|
2492
|
+
class PscInterfaceConfig
|
2493
|
+
include Google::Apis::Core::Hashable
|
2494
|
+
|
2495
|
+
# The network attachment resource created in the consumer network to which the
|
2496
|
+
# PSC interface will be linked. This is of the format: "projects/$`
|
2497
|
+
# CONSUMER_PROJECT`/regions/$`REGION`/networkAttachments/$`
|
2498
|
+
# NETWORK_ATTACHMENT_NAME`". The network attachment must be in the same region
|
2499
|
+
# as the instance.
|
2500
|
+
# Corresponds to the JSON property `networkAttachmentResource`
|
2501
|
+
# @return [String]
|
2502
|
+
attr_accessor :network_attachment_resource
|
2503
|
+
|
2504
|
+
def initialize(**args)
|
2505
|
+
update!(**args)
|
2506
|
+
end
|
2507
|
+
|
2508
|
+
# Update properties of this object
|
2509
|
+
def update!(**args)
|
2510
|
+
@network_attachment_resource = args[:network_attachment_resource] if args.key?(:network_attachment_resource)
|
2511
|
+
end
|
2512
|
+
end
|
2513
|
+
|
2318
2514
|
# A backup's position in a quantity-based retention queue, of backups with the
|
2319
2515
|
# same source cluster and type, with length, retention, specified by the backup'
|
2320
2516
|
# s retention policy. Once the position is greater than the retention, the
|
@@ -2431,6 +2627,25 @@ module Google
|
|
2431
2627
|
end
|
2432
2628
|
end
|
2433
2629
|
|
2630
|
+
# Read pool instances upgrade specific status.
|
2631
|
+
class ReadPoolInstancesUpgradeStageStatus
|
2632
|
+
include Google::Apis::Core::Hashable
|
2633
|
+
|
2634
|
+
# Upgrade stats for read pool instances.
|
2635
|
+
# Corresponds to the JSON property `upgradeStats`
|
2636
|
+
# @return [Google::Apis::AlloydbV1beta::Stats]
|
2637
|
+
attr_accessor :upgrade_stats
|
2638
|
+
|
2639
|
+
def initialize(**args)
|
2640
|
+
update!(**args)
|
2641
|
+
end
|
2642
|
+
|
2643
|
+
# Update properties of this object
|
2644
|
+
def update!(**args)
|
2645
|
+
@upgrade_stats = args[:upgrade_stats] if args.key?(:upgrade_stats)
|
2646
|
+
end
|
2647
|
+
end
|
2648
|
+
|
2434
2649
|
#
|
2435
2650
|
class RestartInstanceRequest
|
2436
2651
|
include Google::Apis::Core::Hashable
|
@@ -2635,6 +2850,19 @@ module Google
|
|
2635
2850
|
end
|
2636
2851
|
end
|
2637
2852
|
|
2853
|
+
# Options for importing data in SQL format.
|
2854
|
+
class SqlImportOptions
|
2855
|
+
include Google::Apis::Core::Hashable
|
2856
|
+
|
2857
|
+
def initialize(**args)
|
2858
|
+
update!(**args)
|
2859
|
+
end
|
2860
|
+
|
2861
|
+
# Update properties of this object
|
2862
|
+
def update!(**args)
|
2863
|
+
end
|
2864
|
+
end
|
2865
|
+
|
2638
2866
|
# SSL configuration.
|
2639
2867
|
class SslConfig
|
2640
2868
|
include Google::Apis::Core::Hashable
|
@@ -2694,6 +2922,74 @@ module Google
|
|
2694
2922
|
end
|
2695
2923
|
end
|
2696
2924
|
|
2925
|
+
# Status of an upgrade stage.
|
2926
|
+
class StageStatus
|
2927
|
+
include Google::Apis::Core::Hashable
|
2928
|
+
|
2929
|
+
# Read pool instances upgrade specific status.
|
2930
|
+
# Corresponds to the JSON property `readPoolInstancesUpgrade`
|
2931
|
+
# @return [Google::Apis::AlloydbV1beta::ReadPoolInstancesUpgradeStageStatus]
|
2932
|
+
attr_accessor :read_pool_instances_upgrade
|
2933
|
+
|
2934
|
+
# Upgrade stage.
|
2935
|
+
# Corresponds to the JSON property `stage`
|
2936
|
+
# @return [String]
|
2937
|
+
attr_accessor :stage
|
2938
|
+
|
2939
|
+
# State of this stage.
|
2940
|
+
# Corresponds to the JSON property `state`
|
2941
|
+
# @return [String]
|
2942
|
+
attr_accessor :state
|
2943
|
+
|
2944
|
+
def initialize(**args)
|
2945
|
+
update!(**args)
|
2946
|
+
end
|
2947
|
+
|
2948
|
+
# Update properties of this object
|
2949
|
+
def update!(**args)
|
2950
|
+
@read_pool_instances_upgrade = args[:read_pool_instances_upgrade] if args.key?(:read_pool_instances_upgrade)
|
2951
|
+
@stage = args[:stage] if args.key?(:stage)
|
2952
|
+
@state = args[:state] if args.key?(:state)
|
2953
|
+
end
|
2954
|
+
end
|
2955
|
+
|
2956
|
+
# Upgrade stats for read pool instances.
|
2957
|
+
class Stats
|
2958
|
+
include Google::Apis::Core::Hashable
|
2959
|
+
|
2960
|
+
# Number of read pool instances which failed to upgrade.
|
2961
|
+
# Corresponds to the JSON property `failed`
|
2962
|
+
# @return [Fixnum]
|
2963
|
+
attr_accessor :failed
|
2964
|
+
|
2965
|
+
# Number of read pool instances for which upgrade has not started.
|
2966
|
+
# Corresponds to the JSON property `notStarted`
|
2967
|
+
# @return [Fixnum]
|
2968
|
+
attr_accessor :not_started
|
2969
|
+
|
2970
|
+
# Number of read pool instances undergoing upgrade.
|
2971
|
+
# Corresponds to the JSON property `ongoing`
|
2972
|
+
# @return [Fixnum]
|
2973
|
+
attr_accessor :ongoing
|
2974
|
+
|
2975
|
+
# Number of read pool instances successfully upgraded.
|
2976
|
+
# Corresponds to the JSON property `success`
|
2977
|
+
# @return [Fixnum]
|
2978
|
+
attr_accessor :success
|
2979
|
+
|
2980
|
+
def initialize(**args)
|
2981
|
+
update!(**args)
|
2982
|
+
end
|
2983
|
+
|
2984
|
+
# Update properties of this object
|
2985
|
+
def update!(**args)
|
2986
|
+
@failed = args[:failed] if args.key?(:failed)
|
2987
|
+
@not_started = args[:not_started] if args.key?(:not_started)
|
2988
|
+
@ongoing = args[:ongoing] if args.key?(:ongoing)
|
2989
|
+
@success = args[:success] if args.key?(:success)
|
2990
|
+
end
|
2991
|
+
end
|
2992
|
+
|
2697
2993
|
# The `Status` type defines a logical error model that is suitable for different
|
2698
2994
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2699
2995
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -2941,7 +3237,7 @@ module Google
|
|
2941
3237
|
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
|
2942
3238
|
attr_accessor :resource_id
|
2943
3239
|
|
2944
|
-
# Common model for database resource instance metadata. Next ID:
|
3240
|
+
# Common model for database resource instance metadata. Next ID: 25
|
2945
3241
|
# Corresponds to the JSON property `resourceMetadata`
|
2946
3242
|
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
|
2947
3243
|
attr_accessor :resource_metadata
|
@@ -3116,7 +3412,7 @@ module Google
|
|
3116
3412
|
end
|
3117
3413
|
end
|
3118
3414
|
|
3119
|
-
# Common model for database resource instance metadata. Next ID:
|
3415
|
+
# Common model for database resource instance metadata. Next ID: 25
|
3120
3416
|
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
|
3121
3417
|
include Google::Apis::Core::Hashable
|
3122
3418
|
|
@@ -3172,6 +3468,11 @@ module Google
|
|
3172
3468
|
# @return [String]
|
3173
3469
|
attr_accessor :expected_state
|
3174
3470
|
|
3471
|
+
# GCBDR Configuration for the resource.
|
3472
|
+
# Corresponds to the JSON property `gcbdrConfiguration`
|
3473
|
+
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration]
|
3474
|
+
attr_accessor :gcbdr_configuration
|
3475
|
+
|
3175
3476
|
# DatabaseResourceId will serve as primary key for any resource ingestion event.
|
3176
3477
|
# Corresponds to the JSON property `id`
|
3177
3478
|
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
|
@@ -3225,6 +3526,11 @@ module Google
|
|
3225
3526
|
# @return [String]
|
3226
3527
|
attr_accessor :resource_name
|
3227
3528
|
|
3529
|
+
# Optional. Suspension reason for the resource.
|
3530
|
+
# Corresponds to the JSON property `suspensionReason`
|
3531
|
+
# @return [String]
|
3532
|
+
attr_accessor :suspension_reason
|
3533
|
+
|
3228
3534
|
# Message type for storing tags. Tags provide a way to create annotations for
|
3229
3535
|
# resources, and in some cases conditionally allow or deny policies based on
|
3230
3536
|
# whether a resource has a specific tag.
|
@@ -3259,6 +3565,7 @@ module Google
|
|
3259
3565
|
@edition = args[:edition] if args.key?(:edition)
|
3260
3566
|
@entitlements = args[:entitlements] if args.key?(:entitlements)
|
3261
3567
|
@expected_state = args[:expected_state] if args.key?(:expected_state)
|
3568
|
+
@gcbdr_configuration = args[:gcbdr_configuration] if args.key?(:gcbdr_configuration)
|
3262
3569
|
@id = args[:id] if args.key?(:id)
|
3263
3570
|
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
3264
3571
|
@location = args[:location] if args.key?(:location)
|
@@ -3268,6 +3575,7 @@ module Google
|
|
3268
3575
|
@product = args[:product] if args.key?(:product)
|
3269
3576
|
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
3270
3577
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
3578
|
+
@suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
|
3271
3579
|
@tags_set = args[:tags_set] if args.key?(:tags_set)
|
3272
3580
|
@updation_time = args[:updation_time] if args.key?(:updation_time)
|
3273
3581
|
@user_label_set = args[:user_label_set] if args.key?(:user_label_set)
|
@@ -3373,6 +3681,26 @@ module Google
|
|
3373
3681
|
end
|
3374
3682
|
end
|
3375
3683
|
|
3684
|
+
# GCBDR Configuration for the resource.
|
3685
|
+
class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
|
3686
|
+
include Google::Apis::Core::Hashable
|
3687
|
+
|
3688
|
+
# Whether the resource is managed by GCBDR.
|
3689
|
+
# Corresponds to the JSON property `gcbdrManaged`
|
3690
|
+
# @return [Boolean]
|
3691
|
+
attr_accessor :gcbdr_managed
|
3692
|
+
alias_method :gcbdr_managed?, :gcbdr_managed
|
3693
|
+
|
3694
|
+
def initialize(**args)
|
3695
|
+
update!(**args)
|
3696
|
+
end
|
3697
|
+
|
3698
|
+
# Update properties of this object
|
3699
|
+
def update!(**args)
|
3700
|
+
@gcbdr_managed = args[:gcbdr_managed] if args.key?(:gcbdr_managed)
|
3701
|
+
end
|
3702
|
+
end
|
3703
|
+
|
3376
3704
|
# Metadata for individual internal resources in an instance. e.g. spanner
|
3377
3705
|
# instance can have multiple databases with unique configuration settings.
|
3378
3706
|
# Similarly bigtable can have multiple clusters within same bigtable instance.
|
@@ -3389,6 +3717,12 @@ module Google
|
|
3389
3717
|
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupRun]
|
3390
3718
|
attr_accessor :backup_run
|
3391
3719
|
|
3720
|
+
# Whether deletion protection is enabled for this internal resource.
|
3721
|
+
# Corresponds to the JSON property `isDeletionProtectionEnabled`
|
3722
|
+
# @return [Boolean]
|
3723
|
+
attr_accessor :is_deletion_protection_enabled
|
3724
|
+
alias_method :is_deletion_protection_enabled?, :is_deletion_protection_enabled
|
3725
|
+
|
3392
3726
|
# Product specification for Condor resources.
|
3393
3727
|
# Corresponds to the JSON property `product`
|
3394
3728
|
# @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonProduct]
|
@@ -3413,6 +3747,7 @@ module Google
|
|
3413
3747
|
def update!(**args)
|
3414
3748
|
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
|
3415
3749
|
@backup_run = args[:backup_run] if args.key?(:backup_run)
|
3750
|
+
@is_deletion_protection_enabled = args[:is_deletion_protection_enabled] if args.key?(:is_deletion_protection_enabled)
|
3416
3751
|
@product = args[:product] if args.key?(:product)
|
3417
3752
|
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
3418
3753
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
@@ -3744,6 +4079,16 @@ module Google
|
|
3744
4079
|
# @return [String]
|
3745
4080
|
attr_accessor :name
|
3746
4081
|
|
4082
|
+
# The recommended value for an INTEGER flag.
|
4083
|
+
# Corresponds to the JSON property `recommendedIntegerValue`
|
4084
|
+
# @return [Fixnum]
|
4085
|
+
attr_accessor :recommended_integer_value
|
4086
|
+
|
4087
|
+
# The recommended value for a STRING flag.
|
4088
|
+
# Corresponds to the JSON property `recommendedStringValue`
|
4089
|
+
# @return [String]
|
4090
|
+
attr_accessor :recommended_string_value
|
4091
|
+
|
3747
4092
|
# Whether setting or updating this flag on an Instance requires a database
|
3748
4093
|
# restart. If a flag that requires database restart is set, the backend will
|
3749
4094
|
# automatically restart the database (making sure to satisfy any availability
|
@@ -3753,6 +4098,11 @@ module Google
|
|
3753
4098
|
attr_accessor :requires_db_restart
|
3754
4099
|
alias_method :requires_db_restart?, :requires_db_restart
|
3755
4100
|
|
4101
|
+
# The scope of the flag.
|
4102
|
+
# Corresponds to the JSON property `scope`
|
4103
|
+
# @return [String]
|
4104
|
+
attr_accessor :scope
|
4105
|
+
|
3756
4106
|
# Restrictions on STRING type values
|
3757
4107
|
# Corresponds to the JSON property `stringRestrictions`
|
3758
4108
|
# @return [Google::Apis::AlloydbV1beta::StringRestrictions]
|
@@ -3778,7 +4128,10 @@ module Google
|
|
3778
4128
|
@flag_name = args[:flag_name] if args.key?(:flag_name)
|
3779
4129
|
@integer_restrictions = args[:integer_restrictions] if args.key?(:integer_restrictions)
|
3780
4130
|
@name = args[:name] if args.key?(:name)
|
4131
|
+
@recommended_integer_value = args[:recommended_integer_value] if args.key?(:recommended_integer_value)
|
4132
|
+
@recommended_string_value = args[:recommended_string_value] if args.key?(:recommended_string_value)
|
3781
4133
|
@requires_db_restart = args[:requires_db_restart] if args.key?(:requires_db_restart)
|
4134
|
+
@scope = args[:scope] if args.key?(:scope)
|
3782
4135
|
@string_restrictions = args[:string_restrictions] if args.key?(:string_restrictions)
|
3783
4136
|
@supported_db_versions = args[:supported_db_versions] if args.key?(:supported_db_versions)
|
3784
4137
|
@value_type = args[:value_type] if args.key?(:value_type)
|
@@ -3982,6 +4335,50 @@ module Google
|
|
3982
4335
|
end
|
3983
4336
|
end
|
3984
4337
|
|
4338
|
+
# Message for current status of the Major Version Upgrade operation.
|
4339
|
+
class UpgradeClusterStatus
|
4340
|
+
include Google::Apis::Core::Hashable
|
4341
|
+
|
4342
|
+
# Whether the operation is cancellable.
|
4343
|
+
# Corresponds to the JSON property `cancellable`
|
4344
|
+
# @return [Boolean]
|
4345
|
+
attr_accessor :cancellable
|
4346
|
+
alias_method :cancellable?, :cancellable
|
4347
|
+
|
4348
|
+
# Source database major version.
|
4349
|
+
# Corresponds to the JSON property `sourceVersion`
|
4350
|
+
# @return [String]
|
4351
|
+
attr_accessor :source_version
|
4352
|
+
|
4353
|
+
# Status of all upgrade stages.
|
4354
|
+
# Corresponds to the JSON property `stages`
|
4355
|
+
# @return [Array<Google::Apis::AlloydbV1beta::StageStatus>]
|
4356
|
+
attr_accessor :stages
|
4357
|
+
|
4358
|
+
# Cluster Major Version Upgrade state.
|
4359
|
+
# Corresponds to the JSON property `state`
|
4360
|
+
# @return [String]
|
4361
|
+
attr_accessor :state
|
4362
|
+
|
4363
|
+
# Target database major version.
|
4364
|
+
# Corresponds to the JSON property `targetVersion`
|
4365
|
+
# @return [String]
|
4366
|
+
attr_accessor :target_version
|
4367
|
+
|
4368
|
+
def initialize(**args)
|
4369
|
+
update!(**args)
|
4370
|
+
end
|
4371
|
+
|
4372
|
+
# Update properties of this object
|
4373
|
+
def update!(**args)
|
4374
|
+
@cancellable = args[:cancellable] if args.key?(:cancellable)
|
4375
|
+
@source_version = args[:source_version] if args.key?(:source_version)
|
4376
|
+
@stages = args[:stages] if args.key?(:stages)
|
4377
|
+
@state = args[:state] if args.key?(:state)
|
4378
|
+
@target_version = args[:target_version] if args.key?(:target_version)
|
4379
|
+
end
|
4380
|
+
end
|
4381
|
+
|
3985
4382
|
# Message describing User object.
|
3986
4383
|
class User
|
3987
4384
|
include Google::Apis::Core::Hashable
|
@@ -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.22.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
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
|
@@ -106,6 +106,12 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
+
class CsvImportOptions
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
109
115
|
class Empty
|
110
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
117
|
|
@@ -172,6 +178,12 @@ module Google
|
|
172
178
|
include Google::Apis::Core::JsonObjectSupport
|
173
179
|
end
|
174
180
|
|
181
|
+
class ImportClusterRequest
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
175
187
|
class InjectFaultRequest
|
176
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
189
|
|
@@ -310,6 +322,12 @@ module Google
|
|
310
322
|
include Google::Apis::Core::JsonObjectSupport
|
311
323
|
end
|
312
324
|
|
325
|
+
class PscAutoConnectionConfig
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
313
331
|
class PscConfig
|
314
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
333
|
|
@@ -322,6 +340,12 @@ module Google
|
|
322
340
|
include Google::Apis::Core::JsonObjectSupport
|
323
341
|
end
|
324
342
|
|
343
|
+
class PscInterfaceConfig
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
325
349
|
class QuantityBasedExpiry
|
326
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
351
|
|
@@ -346,6 +370,12 @@ module Google
|
|
346
370
|
include Google::Apis::Core::JsonObjectSupport
|
347
371
|
end
|
348
372
|
|
373
|
+
class ReadPoolInstancesUpgradeStageStatus
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
349
379
|
class RestartInstanceRequest
|
350
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
381
|
|
@@ -376,6 +406,12 @@ module Google
|
|
376
406
|
include Google::Apis::Core::JsonObjectSupport
|
377
407
|
end
|
378
408
|
|
409
|
+
class SqlImportOptions
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
379
415
|
class SslConfig
|
380
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
417
|
|
@@ -388,6 +424,18 @@ module Google
|
|
388
424
|
include Google::Apis::Core::JsonObjectSupport
|
389
425
|
end
|
390
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
|
+
|
391
439
|
class Status
|
392
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
441
|
|
@@ -460,6 +508,12 @@ module Google
|
|
460
508
|
include Google::Apis::Core::JsonObjectSupport
|
461
509
|
end
|
462
510
|
|
511
|
+
class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
463
517
|
class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
|
464
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
519
|
|
@@ -562,6 +616,12 @@ module Google
|
|
562
616
|
include Google::Apis::Core::JsonObjectSupport
|
563
617
|
end
|
564
618
|
|
619
|
+
class UpgradeClusterStatus
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
565
625
|
class User
|
566
626
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
627
|
|
@@ -795,6 +855,17 @@ module Google
|
|
795
855
|
end
|
796
856
|
end
|
797
857
|
|
858
|
+
class CsvImportOptions
|
859
|
+
# @private
|
860
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
861
|
+
collection :columns, as: 'columns'
|
862
|
+
property :escape_character, as: 'escapeCharacter'
|
863
|
+
property :field_delimiter, as: 'fieldDelimiter'
|
864
|
+
property :quote_character, as: 'quoteCharacter'
|
865
|
+
property :table, as: 'table'
|
866
|
+
end
|
867
|
+
end
|
868
|
+
|
798
869
|
class Empty
|
799
870
|
# @private
|
800
871
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -888,6 +959,19 @@ module Google
|
|
888
959
|
end
|
889
960
|
end
|
890
961
|
|
962
|
+
class ImportClusterRequest
|
963
|
+
# @private
|
964
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
965
|
+
property :csv_import_options, as: 'csvImportOptions', class: Google::Apis::AlloydbV1beta::CsvImportOptions, decorator: Google::Apis::AlloydbV1beta::CsvImportOptions::Representation
|
966
|
+
|
967
|
+
property :database, as: 'database'
|
968
|
+
property :gcs_uri, as: 'gcsUri'
|
969
|
+
property :sql_import_options, as: 'sqlImportOptions', class: Google::Apis::AlloydbV1beta::SqlImportOptions, decorator: Google::Apis::AlloydbV1beta::SqlImportOptions::Representation
|
970
|
+
|
971
|
+
property :user, as: 'user'
|
972
|
+
end
|
973
|
+
end
|
974
|
+
|
891
975
|
class InjectFaultRequest
|
892
976
|
# @private
|
893
977
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1123,6 +1207,8 @@ module Google
|
|
1123
1207
|
property :requested_cancellation, as: 'requestedCancellation'
|
1124
1208
|
property :status_message, as: 'statusMessage'
|
1125
1209
|
property :target, as: 'target'
|
1210
|
+
property :upgrade_cluster_status, as: 'upgradeClusterStatus', class: Google::Apis::AlloydbV1beta::UpgradeClusterStatus, decorator: Google::Apis::AlloydbV1beta::UpgradeClusterStatus::Representation
|
1211
|
+
|
1126
1212
|
property :verb, as: 'verb'
|
1127
1213
|
end
|
1128
1214
|
end
|
@@ -1143,10 +1229,22 @@ module Google
|
|
1143
1229
|
end
|
1144
1230
|
end
|
1145
1231
|
|
1232
|
+
class PscAutoConnectionConfig
|
1233
|
+
# @private
|
1234
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1235
|
+
property :consumer_network, as: 'consumerNetwork'
|
1236
|
+
property :consumer_network_status, as: 'consumerNetworkStatus'
|
1237
|
+
property :consumer_project, as: 'consumerProject'
|
1238
|
+
property :ip_address, as: 'ipAddress'
|
1239
|
+
property :status, as: 'status'
|
1240
|
+
end
|
1241
|
+
end
|
1242
|
+
|
1146
1243
|
class PscConfig
|
1147
1244
|
# @private
|
1148
1245
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1149
1246
|
property :psc_enabled, as: 'pscEnabled'
|
1247
|
+
property :service_owned_project_number, :numeric_string => true, as: 'serviceOwnedProjectNumber'
|
1150
1248
|
end
|
1151
1249
|
end
|
1152
1250
|
|
@@ -1154,11 +1252,22 @@ module Google
|
|
1154
1252
|
# @private
|
1155
1253
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1156
1254
|
collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
|
1255
|
+
collection :psc_auto_connections, as: 'pscAutoConnections', class: Google::Apis::AlloydbV1beta::PscAutoConnectionConfig, decorator: Google::Apis::AlloydbV1beta::PscAutoConnectionConfig::Representation
|
1256
|
+
|
1157
1257
|
property :psc_dns_name, as: 'pscDnsName'
|
1258
|
+
collection :psc_interface_configs, as: 'pscInterfaceConfigs', class: Google::Apis::AlloydbV1beta::PscInterfaceConfig, decorator: Google::Apis::AlloydbV1beta::PscInterfaceConfig::Representation
|
1259
|
+
|
1158
1260
|
property :service_attachment_link, as: 'serviceAttachmentLink'
|
1159
1261
|
end
|
1160
1262
|
end
|
1161
1263
|
|
1264
|
+
class PscInterfaceConfig
|
1265
|
+
# @private
|
1266
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1267
|
+
property :network_attachment_resource, as: 'networkAttachmentResource'
|
1268
|
+
end
|
1269
|
+
end
|
1270
|
+
|
1162
1271
|
class QuantityBasedExpiry
|
1163
1272
|
# @private
|
1164
1273
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1191,6 +1300,14 @@ module Google
|
|
1191
1300
|
end
|
1192
1301
|
end
|
1193
1302
|
|
1303
|
+
class ReadPoolInstancesUpgradeStageStatus
|
1304
|
+
# @private
|
1305
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1306
|
+
property :upgrade_stats, as: 'upgradeStats', class: Google::Apis::AlloydbV1beta::Stats, decorator: Google::Apis::AlloydbV1beta::Stats::Representation
|
1307
|
+
|
1308
|
+
end
|
1309
|
+
end
|
1310
|
+
|
1194
1311
|
class RestartInstanceRequest
|
1195
1312
|
# @private
|
1196
1313
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1243,6 +1360,12 @@ module Google
|
|
1243
1360
|
end
|
1244
1361
|
end
|
1245
1362
|
|
1363
|
+
class SqlImportOptions
|
1364
|
+
# @private
|
1365
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1366
|
+
end
|
1367
|
+
end
|
1368
|
+
|
1246
1369
|
class SslConfig
|
1247
1370
|
# @private
|
1248
1371
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1260,6 +1383,26 @@ module Google
|
|
1260
1383
|
end
|
1261
1384
|
end
|
1262
1385
|
|
1386
|
+
class StageStatus
|
1387
|
+
# @private
|
1388
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1389
|
+
property :read_pool_instances_upgrade, as: 'readPoolInstancesUpgrade', class: Google::Apis::AlloydbV1beta::ReadPoolInstancesUpgradeStageStatus, decorator: Google::Apis::AlloydbV1beta::ReadPoolInstancesUpgradeStageStatus::Representation
|
1390
|
+
|
1391
|
+
property :stage, as: 'stage'
|
1392
|
+
property :state, as: 'state'
|
1393
|
+
end
|
1394
|
+
end
|
1395
|
+
|
1396
|
+
class Stats
|
1397
|
+
# @private
|
1398
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1399
|
+
property :failed, as: 'failed'
|
1400
|
+
property :not_started, as: 'notStarted'
|
1401
|
+
property :ongoing, as: 'ongoing'
|
1402
|
+
property :success, as: 'success'
|
1403
|
+
end
|
1404
|
+
end
|
1405
|
+
|
1263
1406
|
class Status
|
1264
1407
|
# @private
|
1265
1408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1383,6 +1526,8 @@ module Google
|
|
1383
1526
|
collection :entitlements, as: 'entitlements', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainEntitlement, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainEntitlement::Representation
|
1384
1527
|
|
1385
1528
|
property :expected_state, as: 'expectedState'
|
1529
|
+
property :gcbdr_configuration, as: 'gcbdrConfiguration', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration::Representation
|
1530
|
+
|
1386
1531
|
property :id, as: 'id', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
1387
1532
|
|
1388
1533
|
property :instance_type, as: 'instanceType'
|
@@ -1396,6 +1541,7 @@ module Google
|
|
1396
1541
|
|
1397
1542
|
property :resource_container, as: 'resourceContainer'
|
1398
1543
|
property :resource_name, as: 'resourceName'
|
1544
|
+
property :suspension_reason, as: 'suspensionReason'
|
1399
1545
|
property :tags_set, as: 'tagsSet', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainTags, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainTags::Representation
|
1400
1546
|
|
1401
1547
|
property :updation_time, as: 'updationTime'
|
@@ -1426,6 +1572,13 @@ module Google
|
|
1426
1572
|
end
|
1427
1573
|
end
|
1428
1574
|
|
1575
|
+
class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
|
1576
|
+
# @private
|
1577
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1578
|
+
property :gcbdr_managed, as: 'gcbdrManaged'
|
1579
|
+
end
|
1580
|
+
end
|
1581
|
+
|
1429
1582
|
class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
|
1430
1583
|
# @private
|
1431
1584
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1433,6 +1586,7 @@ module Google
|
|
1433
1586
|
|
1434
1587
|
property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
|
1435
1588
|
|
1589
|
+
property :is_deletion_protection_enabled, as: 'isDeletionProtectionEnabled'
|
1436
1590
|
property :product, as: 'product', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonProduct::Representation
|
1437
1591
|
|
1438
1592
|
property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
@@ -1531,7 +1685,10 @@ module Google
|
|
1531
1685
|
property :integer_restrictions, as: 'integerRestrictions', class: Google::Apis::AlloydbV1beta::IntegerRestrictions, decorator: Google::Apis::AlloydbV1beta::IntegerRestrictions::Representation
|
1532
1686
|
|
1533
1687
|
property :name, as: 'name'
|
1688
|
+
property :recommended_integer_value, :numeric_string => true, as: 'recommendedIntegerValue'
|
1689
|
+
property :recommended_string_value, as: 'recommendedStringValue'
|
1534
1690
|
property :requires_db_restart, as: 'requiresDbRestart'
|
1691
|
+
property :scope, as: 'scope'
|
1535
1692
|
property :string_restrictions, as: 'stringRestrictions', class: Google::Apis::AlloydbV1beta::StringRestrictions, decorator: Google::Apis::AlloydbV1beta::StringRestrictions::Representation
|
1536
1693
|
|
1537
1694
|
collection :supported_db_versions, as: 'supportedDbVersions'
|
@@ -1591,6 +1748,18 @@ module Google
|
|
1591
1748
|
end
|
1592
1749
|
end
|
1593
1750
|
|
1751
|
+
class UpgradeClusterStatus
|
1752
|
+
# @private
|
1753
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1754
|
+
property :cancellable, as: 'cancellable'
|
1755
|
+
property :source_version, as: 'sourceVersion'
|
1756
|
+
collection :stages, as: 'stages', class: Google::Apis::AlloydbV1beta::StageStatus, decorator: Google::Apis::AlloydbV1beta::StageStatus::Representation
|
1757
|
+
|
1758
|
+
property :state, as: 'state'
|
1759
|
+
property :target_version, as: 'targetVersion'
|
1760
|
+
end
|
1761
|
+
end
|
1762
|
+
|
1594
1763
|
class User
|
1595
1764
|
# @private
|
1596
1765
|
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::AlloydbV1beta::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::AlloydbV1beta::Operation] parsed result object
|
627
|
+
# @yieldparam err [StandardError] error object if request failed
|
628
|
+
#
|
629
|
+
# @return [Google::Apis::AlloydbV1beta::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, 'v1beta/{+name}:import', options)
|
636
|
+
command.request_representation = Google::Apis::AlloydbV1beta::ImportClusterRequest::Representation
|
637
|
+
command.request_object = import_cluster_request_object
|
638
|
+
command.response_representation = Google::Apis::AlloydbV1beta::Operation::Representation
|
639
|
+
command.response_class = Google::Apis::AlloydbV1beta::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
|
@@ -1738,6 +1771,9 @@ module Google
|
|
1738
1771
|
# unspecified, server will pick an appropriate default.
|
1739
1772
|
# @param [String] page_token
|
1740
1773
|
# A token identifying a page of results the server should return.
|
1774
|
+
# @param [String] scope
|
1775
|
+
# Optional. The scope for which supported flags are requested. If not specified,
|
1776
|
+
# default is DATABASE.
|
1741
1777
|
# @param [String] fields
|
1742
1778
|
# Selector specifying which fields to include in a partial response.
|
1743
1779
|
# @param [String] quota_user
|
@@ -1755,13 +1791,14 @@ module Google
|
|
1755
1791
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1756
1792
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1757
1793
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1758
|
-
def list_project_location_supported_database_flags(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1794
|
+
def list_project_location_supported_database_flags(parent, page_size: nil, page_token: nil, scope: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1759
1795
|
command = make_simple_command(:get, 'v1beta/{+parent}/supportedDatabaseFlags', options)
|
1760
1796
|
command.response_representation = Google::Apis::AlloydbV1beta::ListSupportedDatabaseFlagsResponse::Representation
|
1761
1797
|
command.response_class = Google::Apis::AlloydbV1beta::ListSupportedDatabaseFlagsResponse
|
1762
1798
|
command.params['parent'] = parent unless parent.nil?
|
1763
1799
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1764
1800
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1801
|
+
command.query['scope'] = scope unless scope.nil?
|
1765
1802
|
command.query['fields'] = fields unless fields.nil?
|
1766
1803
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1767
1804
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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.22.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:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.5
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for AlloyDB API V1beta
|
79
79
|
test_files: []
|