google-apis-alloydb_v1alpha 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: cc992b04e4de1c4e1ba50638354205b5b2d1a46c01150191ebecd0cfc70537de
|
4
|
+
data.tar.gz: 0a68785c3858f7132c544709c04d4d6d298cf0cb9bb2ca8668ac8089f4f7e195
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68ebbd2db515b7c361a694fd286e96ed72e60c984f5c86cd9b775afdf4a0aea82309a577a33234a6af906c3f47779cbbd61b6d3976e360e0bc90de04cd141b71
|
7
|
+
data.tar.gz: 9ff89d3b647e85413226a72d8fc8cbcccb3ad3c0e4ed430ccaba44aba468ef74d1cc003cff4ddb23f25344e8c38ca21c1697268eb222b02c361cf20ca3eee587
|
data/CHANGELOG.md
CHANGED
@@ -952,6 +952,56 @@ module Google
|
|
952
952
|
end
|
953
953
|
end
|
954
954
|
|
955
|
+
# Options for importing data in CSV format.
|
956
|
+
class CsvImportOptions
|
957
|
+
include Google::Apis::Core::Hashable
|
958
|
+
|
959
|
+
# Optional. The columns to which CSV data is imported. If not specified, all
|
960
|
+
# columns of the database table are loaded with CSV data.
|
961
|
+
# Corresponds to the JSON property `columns`
|
962
|
+
# @return [Array<String>]
|
963
|
+
attr_accessor :columns
|
964
|
+
|
965
|
+
# Optional. Specifies the character that should appear before a data character
|
966
|
+
# that needs to be escaped. The default is same as quote character. The value of
|
967
|
+
# this argument has to be a character in Hex ASCII Code.
|
968
|
+
# Corresponds to the JSON property `escapeCharacter`
|
969
|
+
# @return [String]
|
970
|
+
attr_accessor :escape_character
|
971
|
+
|
972
|
+
# Optional. Specifies the character that separates columns within each row (line)
|
973
|
+
# of the file. The default is comma. The value of this argument has to be a
|
974
|
+
# character in Hex ASCII Code.
|
975
|
+
# Corresponds to the JSON property `fieldDelimiter`
|
976
|
+
# @return [String]
|
977
|
+
attr_accessor :field_delimiter
|
978
|
+
|
979
|
+
# Optional. Specifies the quoting character to be used when a data value is
|
980
|
+
# quoted. The default is double-quote. The value of this argument has to be a
|
981
|
+
# character in Hex ASCII Code.
|
982
|
+
# Corresponds to the JSON property `quoteCharacter`
|
983
|
+
# @return [String]
|
984
|
+
attr_accessor :quote_character
|
985
|
+
|
986
|
+
# Required. The database table to import CSV file into.
|
987
|
+
# Corresponds to the JSON property `table`
|
988
|
+
# @return [String]
|
989
|
+
attr_accessor :table
|
990
|
+
|
991
|
+
def initialize(**args)
|
992
|
+
update!(**args)
|
993
|
+
end
|
994
|
+
|
995
|
+
# Update properties of this object
|
996
|
+
def update!(**args)
|
997
|
+
@columns = args[:columns] if args.key?(:columns)
|
998
|
+
@escape_character = args[:escape_character] if args.key?(:escape_character)
|
999
|
+
@field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
|
1000
|
+
@quote_character = args[:quote_character] if args.key?(:quote_character)
|
1001
|
+
@table = args[:table] if args.key?(:table)
|
1002
|
+
end
|
1003
|
+
end
|
1004
|
+
|
955
1005
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
956
1006
|
# messages in your APIs. A typical example is to use it as the request or the
|
957
1007
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -1277,6 +1327,55 @@ module Google
|
|
1277
1327
|
end
|
1278
1328
|
end
|
1279
1329
|
|
1330
|
+
# Import cluster request.
|
1331
|
+
class ImportClusterRequest
|
1332
|
+
include Google::Apis::Core::Hashable
|
1333
|
+
|
1334
|
+
# Options for importing data in CSV format.
|
1335
|
+
# Corresponds to the JSON property `csvImportOptions`
|
1336
|
+
# @return [Google::Apis::AlloydbV1alpha::CsvImportOptions]
|
1337
|
+
attr_accessor :csv_import_options
|
1338
|
+
|
1339
|
+
# Optional. Name of the database to which the import will be done. For import
|
1340
|
+
# from SQL file, this is required only if the file does not specify a database.
|
1341
|
+
# Note - Value provided should be the same as expected from `SELECT
|
1342
|
+
# current_database();` and NOT as a resource reference.
|
1343
|
+
# Corresponds to the JSON property `database`
|
1344
|
+
# @return [String]
|
1345
|
+
attr_accessor :database
|
1346
|
+
|
1347
|
+
# Required. The path to the file in Google Cloud Storage where the source file
|
1348
|
+
# for import will be stored. The URI is in the form `gs://bucketName/fileName`.
|
1349
|
+
# Corresponds to the JSON property `gcsUri`
|
1350
|
+
# @return [String]
|
1351
|
+
attr_accessor :gcs_uri
|
1352
|
+
|
1353
|
+
# Options for importing data in SQL format.
|
1354
|
+
# Corresponds to the JSON property `sqlImportOptions`
|
1355
|
+
# @return [Google::Apis::AlloydbV1alpha::SqlImportOptions]
|
1356
|
+
attr_accessor :sql_import_options
|
1357
|
+
|
1358
|
+
# Optional. Database user to be used for importing the data. Note - Value
|
1359
|
+
# provided should be the same as expected from `SELECT current_user;` and NOT as
|
1360
|
+
# a resource reference.
|
1361
|
+
# Corresponds to the JSON property `user`
|
1362
|
+
# @return [String]
|
1363
|
+
attr_accessor :user
|
1364
|
+
|
1365
|
+
def initialize(**args)
|
1366
|
+
update!(**args)
|
1367
|
+
end
|
1368
|
+
|
1369
|
+
# Update properties of this object
|
1370
|
+
def update!(**args)
|
1371
|
+
@csv_import_options = args[:csv_import_options] if args.key?(:csv_import_options)
|
1372
|
+
@database = args[:database] if args.key?(:database)
|
1373
|
+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
1374
|
+
@sql_import_options = args[:sql_import_options] if args.key?(:sql_import_options)
|
1375
|
+
@user = args[:user] if args.key?(:user)
|
1376
|
+
end
|
1377
|
+
end
|
1378
|
+
|
1280
1379
|
# Message for triggering fault injection on an instance
|
1281
1380
|
class InjectFaultRequest
|
1282
1381
|
include Google::Apis::Core::Hashable
|
@@ -1515,7 +1614,7 @@ module Google
|
|
1515
1614
|
attr_accessor :update_time
|
1516
1615
|
|
1517
1616
|
# Details of a single node in the instance. Nodes in an AlloyDB instance are
|
1518
|
-
#
|
1617
|
+
# ephemeral, they can change during update, failover, autohealing and resize
|
1519
1618
|
# operations.
|
1520
1619
|
# Corresponds to the JSON property `writableNode`
|
1521
1620
|
# @return [Google::Apis::AlloydbV1alpha::Node]
|
@@ -1981,7 +2080,7 @@ module Google
|
|
1981
2080
|
end
|
1982
2081
|
|
1983
2082
|
# Details of a single node in the instance. Nodes in an AlloyDB instance are
|
1984
|
-
#
|
2083
|
+
# ephemeral, they can change during update, failover, autohealing and resize
|
1985
2084
|
# operations.
|
1986
2085
|
class Node
|
1987
2086
|
include Google::Apis::Core::Hashable
|
@@ -2206,6 +2305,11 @@ module Google
|
|
2206
2305
|
# @return [String]
|
2207
2306
|
attr_accessor :target
|
2208
2307
|
|
2308
|
+
# Message for current status of the Major Version Upgrade operation.
|
2309
|
+
# Corresponds to the JSON property `upgradeClusterStatus`
|
2310
|
+
# @return [Google::Apis::AlloydbV1alpha::UpgradeClusterStatus]
|
2311
|
+
attr_accessor :upgrade_cluster_status
|
2312
|
+
|
2209
2313
|
# Output only. Name of the verb executed by the operation.
|
2210
2314
|
# Corresponds to the JSON property `verb`
|
2211
2315
|
# @return [String]
|
@@ -2223,6 +2327,7 @@ module Google
|
|
2223
2327
|
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
2224
2328
|
@status_message = args[:status_message] if args.key?(:status_message)
|
2225
2329
|
@target = args[:target] if args.key?(:target)
|
2330
|
+
@upgrade_cluster_status = args[:upgrade_cluster_status] if args.key?(:upgrade_cluster_status)
|
2226
2331
|
@verb = args[:verb] if args.key?(:verb)
|
2227
2332
|
end
|
2228
2333
|
end
|
@@ -2293,6 +2398,53 @@ module Google
|
|
2293
2398
|
end
|
2294
2399
|
end
|
2295
2400
|
|
2401
|
+
# Configuration for setting up PSC service automation. Consumer projects in the
|
2402
|
+
# configs will be allowlisted automatically for the instance.
|
2403
|
+
class PscAutoConnectionConfig
|
2404
|
+
include Google::Apis::Core::Hashable
|
2405
|
+
|
2406
|
+
# The consumer network for the PSC service automation, example: "projects/vpc-
|
2407
|
+
# host-project/global/networks/default". The consumer network might be hosted a
|
2408
|
+
# different project than the consumer project.
|
2409
|
+
# Corresponds to the JSON property `consumerNetwork`
|
2410
|
+
# @return [String]
|
2411
|
+
attr_accessor :consumer_network
|
2412
|
+
|
2413
|
+
# Output only. The status of the service connection policy.
|
2414
|
+
# Corresponds to the JSON property `consumerNetworkStatus`
|
2415
|
+
# @return [String]
|
2416
|
+
attr_accessor :consumer_network_status
|
2417
|
+
|
2418
|
+
# The consumer project to which the PSC service automation endpoint will be
|
2419
|
+
# created.
|
2420
|
+
# Corresponds to the JSON property `consumerProject`
|
2421
|
+
# @return [String]
|
2422
|
+
attr_accessor :consumer_project
|
2423
|
+
|
2424
|
+
# Output only. The IP address of the PSC service automation endpoint.
|
2425
|
+
# Corresponds to the JSON property `ipAddress`
|
2426
|
+
# @return [String]
|
2427
|
+
attr_accessor :ip_address
|
2428
|
+
|
2429
|
+
# Output only. The status of the PSC service automation connection.
|
2430
|
+
# Corresponds to the JSON property `status`
|
2431
|
+
# @return [String]
|
2432
|
+
attr_accessor :status
|
2433
|
+
|
2434
|
+
def initialize(**args)
|
2435
|
+
update!(**args)
|
2436
|
+
end
|
2437
|
+
|
2438
|
+
# Update properties of this object
|
2439
|
+
def update!(**args)
|
2440
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
2441
|
+
@consumer_network_status = args[:consumer_network_status] if args.key?(:consumer_network_status)
|
2442
|
+
@consumer_project = args[:consumer_project] if args.key?(:consumer_project)
|
2443
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
2444
|
+
@status = args[:status] if args.key?(:status)
|
2445
|
+
end
|
2446
|
+
end
|
2447
|
+
|
2296
2448
|
# PscConfig contains PSC related configuration at a cluster level.
|
2297
2449
|
class PscConfig
|
2298
2450
|
include Google::Apis::Core::Hashable
|
@@ -2331,6 +2483,11 @@ module Google
|
|
2331
2483
|
# @return [Array<String>]
|
2332
2484
|
attr_accessor :allowed_consumer_projects
|
2333
2485
|
|
2486
|
+
# Optional. Configurations for setting up PSC service automation.
|
2487
|
+
# Corresponds to the JSON property `pscAutoConnections`
|
2488
|
+
# @return [Array<Google::Apis::AlloydbV1alpha::PscAutoConnectionConfig>]
|
2489
|
+
attr_accessor :psc_auto_connections
|
2490
|
+
|
2334
2491
|
# Output only. The DNS name of the instance for PSC connectivity. Name
|
2335
2492
|
# convention: ...alloydb-psc.goog
|
2336
2493
|
# Corresponds to the JSON property `pscDnsName`
|
@@ -2358,6 +2515,7 @@ module Google
|
|
2358
2515
|
# Update properties of this object
|
2359
2516
|
def update!(**args)
|
2360
2517
|
@allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
|
2518
|
+
@psc_auto_connections = args[:psc_auto_connections] if args.key?(:psc_auto_connections)
|
2361
2519
|
@psc_dns_name = args[:psc_dns_name] if args.key?(:psc_dns_name)
|
2362
2520
|
@psc_interface_configs = args[:psc_interface_configs] if args.key?(:psc_interface_configs)
|
2363
2521
|
@service_attachment_link = args[:service_attachment_link] if args.key?(:service_attachment_link)
|
@@ -2503,6 +2661,25 @@ module Google
|
|
2503
2661
|
end
|
2504
2662
|
end
|
2505
2663
|
|
2664
|
+
# Read pool instances upgrade specific status.
|
2665
|
+
class ReadPoolInstancesUpgradeStageStatus
|
2666
|
+
include Google::Apis::Core::Hashable
|
2667
|
+
|
2668
|
+
# Upgrade stats for read pool instances.
|
2669
|
+
# Corresponds to the JSON property `upgradeStats`
|
2670
|
+
# @return [Google::Apis::AlloydbV1alpha::Stats]
|
2671
|
+
attr_accessor :upgrade_stats
|
2672
|
+
|
2673
|
+
def initialize(**args)
|
2674
|
+
update!(**args)
|
2675
|
+
end
|
2676
|
+
|
2677
|
+
# Update properties of this object
|
2678
|
+
def update!(**args)
|
2679
|
+
@upgrade_stats = args[:upgrade_stats] if args.key?(:upgrade_stats)
|
2680
|
+
end
|
2681
|
+
end
|
2682
|
+
|
2506
2683
|
#
|
2507
2684
|
class RestartInstanceRequest
|
2508
2685
|
include Google::Apis::Core::Hashable
|
@@ -2707,6 +2884,19 @@ module Google
|
|
2707
2884
|
end
|
2708
2885
|
end
|
2709
2886
|
|
2887
|
+
# Options for importing data in SQL format.
|
2888
|
+
class SqlImportOptions
|
2889
|
+
include Google::Apis::Core::Hashable
|
2890
|
+
|
2891
|
+
def initialize(**args)
|
2892
|
+
update!(**args)
|
2893
|
+
end
|
2894
|
+
|
2895
|
+
# Update properties of this object
|
2896
|
+
def update!(**args)
|
2897
|
+
end
|
2898
|
+
end
|
2899
|
+
|
2710
2900
|
# SSL configuration.
|
2711
2901
|
class SslConfig
|
2712
2902
|
include Google::Apis::Core::Hashable
|
@@ -2766,6 +2956,74 @@ module Google
|
|
2766
2956
|
end
|
2767
2957
|
end
|
2768
2958
|
|
2959
|
+
# Status of an upgrade stage.
|
2960
|
+
class StageStatus
|
2961
|
+
include Google::Apis::Core::Hashable
|
2962
|
+
|
2963
|
+
# Read pool instances upgrade specific status.
|
2964
|
+
# Corresponds to the JSON property `readPoolInstancesUpgrade`
|
2965
|
+
# @return [Google::Apis::AlloydbV1alpha::ReadPoolInstancesUpgradeStageStatus]
|
2966
|
+
attr_accessor :read_pool_instances_upgrade
|
2967
|
+
|
2968
|
+
# Upgrade stage.
|
2969
|
+
# Corresponds to the JSON property `stage`
|
2970
|
+
# @return [String]
|
2971
|
+
attr_accessor :stage
|
2972
|
+
|
2973
|
+
# State of this stage.
|
2974
|
+
# Corresponds to the JSON property `state`
|
2975
|
+
# @return [String]
|
2976
|
+
attr_accessor :state
|
2977
|
+
|
2978
|
+
def initialize(**args)
|
2979
|
+
update!(**args)
|
2980
|
+
end
|
2981
|
+
|
2982
|
+
# Update properties of this object
|
2983
|
+
def update!(**args)
|
2984
|
+
@read_pool_instances_upgrade = args[:read_pool_instances_upgrade] if args.key?(:read_pool_instances_upgrade)
|
2985
|
+
@stage = args[:stage] if args.key?(:stage)
|
2986
|
+
@state = args[:state] if args.key?(:state)
|
2987
|
+
end
|
2988
|
+
end
|
2989
|
+
|
2990
|
+
# Upgrade stats for read pool instances.
|
2991
|
+
class Stats
|
2992
|
+
include Google::Apis::Core::Hashable
|
2993
|
+
|
2994
|
+
# Number of read pool instances which failed to upgrade.
|
2995
|
+
# Corresponds to the JSON property `failed`
|
2996
|
+
# @return [Fixnum]
|
2997
|
+
attr_accessor :failed
|
2998
|
+
|
2999
|
+
# Number of read pool instances for which upgrade has not started.
|
3000
|
+
# Corresponds to the JSON property `notStarted`
|
3001
|
+
# @return [Fixnum]
|
3002
|
+
attr_accessor :not_started
|
3003
|
+
|
3004
|
+
# Number of read pool instances undergoing upgrade.
|
3005
|
+
# Corresponds to the JSON property `ongoing`
|
3006
|
+
# @return [Fixnum]
|
3007
|
+
attr_accessor :ongoing
|
3008
|
+
|
3009
|
+
# Number of read pool instances successfully upgraded.
|
3010
|
+
# Corresponds to the JSON property `success`
|
3011
|
+
# @return [Fixnum]
|
3012
|
+
attr_accessor :success
|
3013
|
+
|
3014
|
+
def initialize(**args)
|
3015
|
+
update!(**args)
|
3016
|
+
end
|
3017
|
+
|
3018
|
+
# Update properties of this object
|
3019
|
+
def update!(**args)
|
3020
|
+
@failed = args[:failed] if args.key?(:failed)
|
3021
|
+
@not_started = args[:not_started] if args.key?(:not_started)
|
3022
|
+
@ongoing = args[:ongoing] if args.key?(:ongoing)
|
3023
|
+
@success = args[:success] if args.key?(:success)
|
3024
|
+
end
|
3025
|
+
end
|
3026
|
+
|
2769
3027
|
# The `Status` type defines a logical error model that is suitable for different
|
2770
3028
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2771
3029
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -3013,7 +3271,7 @@ module Google
|
|
3013
3271
|
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
|
3014
3272
|
attr_accessor :resource_id
|
3015
3273
|
|
3016
|
-
# Common model for database resource instance metadata. Next ID:
|
3274
|
+
# Common model for database resource instance metadata. Next ID: 25
|
3017
3275
|
# Corresponds to the JSON property `resourceMetadata`
|
3018
3276
|
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
|
3019
3277
|
attr_accessor :resource_metadata
|
@@ -3188,7 +3446,7 @@ module Google
|
|
3188
3446
|
end
|
3189
3447
|
end
|
3190
3448
|
|
3191
|
-
# Common model for database resource instance metadata. Next ID:
|
3449
|
+
# Common model for database resource instance metadata. Next ID: 25
|
3192
3450
|
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
|
3193
3451
|
include Google::Apis::Core::Hashable
|
3194
3452
|
|
@@ -3244,6 +3502,11 @@ module Google
|
|
3244
3502
|
# @return [String]
|
3245
3503
|
attr_accessor :expected_state
|
3246
3504
|
|
3505
|
+
# GCBDR Configuration for the resource.
|
3506
|
+
# Corresponds to the JSON property `gcbdrConfiguration`
|
3507
|
+
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration]
|
3508
|
+
attr_accessor :gcbdr_configuration
|
3509
|
+
|
3247
3510
|
# DatabaseResourceId will serve as primary key for any resource ingestion event.
|
3248
3511
|
# Corresponds to the JSON property `id`
|
3249
3512
|
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
|
@@ -3297,6 +3560,11 @@ module Google
|
|
3297
3560
|
# @return [String]
|
3298
3561
|
attr_accessor :resource_name
|
3299
3562
|
|
3563
|
+
# Optional. Suspension reason for the resource.
|
3564
|
+
# Corresponds to the JSON property `suspensionReason`
|
3565
|
+
# @return [String]
|
3566
|
+
attr_accessor :suspension_reason
|
3567
|
+
|
3300
3568
|
# Message type for storing tags. Tags provide a way to create annotations for
|
3301
3569
|
# resources, and in some cases conditionally allow or deny policies based on
|
3302
3570
|
# whether a resource has a specific tag.
|
@@ -3331,6 +3599,7 @@ module Google
|
|
3331
3599
|
@edition = args[:edition] if args.key?(:edition)
|
3332
3600
|
@entitlements = args[:entitlements] if args.key?(:entitlements)
|
3333
3601
|
@expected_state = args[:expected_state] if args.key?(:expected_state)
|
3602
|
+
@gcbdr_configuration = args[:gcbdr_configuration] if args.key?(:gcbdr_configuration)
|
3334
3603
|
@id = args[:id] if args.key?(:id)
|
3335
3604
|
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
3336
3605
|
@location = args[:location] if args.key?(:location)
|
@@ -3340,6 +3609,7 @@ module Google
|
|
3340
3609
|
@product = args[:product] if args.key?(:product)
|
3341
3610
|
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
3342
3611
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
3612
|
+
@suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
|
3343
3613
|
@tags_set = args[:tags_set] if args.key?(:tags_set)
|
3344
3614
|
@updation_time = args[:updation_time] if args.key?(:updation_time)
|
3345
3615
|
@user_label_set = args[:user_label_set] if args.key?(:user_label_set)
|
@@ -3445,6 +3715,26 @@ module Google
|
|
3445
3715
|
end
|
3446
3716
|
end
|
3447
3717
|
|
3718
|
+
# GCBDR Configuration for the resource.
|
3719
|
+
class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
|
3720
|
+
include Google::Apis::Core::Hashable
|
3721
|
+
|
3722
|
+
# Whether the resource is managed by GCBDR.
|
3723
|
+
# Corresponds to the JSON property `gcbdrManaged`
|
3724
|
+
# @return [Boolean]
|
3725
|
+
attr_accessor :gcbdr_managed
|
3726
|
+
alias_method :gcbdr_managed?, :gcbdr_managed
|
3727
|
+
|
3728
|
+
def initialize(**args)
|
3729
|
+
update!(**args)
|
3730
|
+
end
|
3731
|
+
|
3732
|
+
# Update properties of this object
|
3733
|
+
def update!(**args)
|
3734
|
+
@gcbdr_managed = args[:gcbdr_managed] if args.key?(:gcbdr_managed)
|
3735
|
+
end
|
3736
|
+
end
|
3737
|
+
|
3448
3738
|
# Metadata for individual internal resources in an instance. e.g. spanner
|
3449
3739
|
# instance can have multiple databases with unique configuration settings.
|
3450
3740
|
# Similarly bigtable can have multiple clusters within same bigtable instance.
|
@@ -3461,6 +3751,12 @@ module Google
|
|
3461
3751
|
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun]
|
3462
3752
|
attr_accessor :backup_run
|
3463
3753
|
|
3754
|
+
# Whether deletion protection is enabled for this internal resource.
|
3755
|
+
# Corresponds to the JSON property `isDeletionProtectionEnabled`
|
3756
|
+
# @return [Boolean]
|
3757
|
+
attr_accessor :is_deletion_protection_enabled
|
3758
|
+
alias_method :is_deletion_protection_enabled?, :is_deletion_protection_enabled
|
3759
|
+
|
3464
3760
|
# Product specification for Condor resources.
|
3465
3761
|
# Corresponds to the JSON property `product`
|
3466
3762
|
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonProduct]
|
@@ -3485,6 +3781,7 @@ module Google
|
|
3485
3781
|
def update!(**args)
|
3486
3782
|
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
|
3487
3783
|
@backup_run = args[:backup_run] if args.key?(:backup_run)
|
3784
|
+
@is_deletion_protection_enabled = args[:is_deletion_protection_enabled] if args.key?(:is_deletion_protection_enabled)
|
3488
3785
|
@product = args[:product] if args.key?(:product)
|
3489
3786
|
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
3490
3787
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
@@ -3816,6 +4113,16 @@ module Google
|
|
3816
4113
|
# @return [String]
|
3817
4114
|
attr_accessor :name
|
3818
4115
|
|
4116
|
+
# The recommended value for an INTEGER flag.
|
4117
|
+
# Corresponds to the JSON property `recommendedIntegerValue`
|
4118
|
+
# @return [Fixnum]
|
4119
|
+
attr_accessor :recommended_integer_value
|
4120
|
+
|
4121
|
+
# The recommended value for a STRING flag.
|
4122
|
+
# Corresponds to the JSON property `recommendedStringValue`
|
4123
|
+
# @return [String]
|
4124
|
+
attr_accessor :recommended_string_value
|
4125
|
+
|
3819
4126
|
# Whether setting or updating this flag on an Instance requires a database
|
3820
4127
|
# restart. If a flag that requires database restart is set, the backend will
|
3821
4128
|
# automatically restart the database (making sure to satisfy any availability
|
@@ -3825,6 +4132,11 @@ module Google
|
|
3825
4132
|
attr_accessor :requires_db_restart
|
3826
4133
|
alias_method :requires_db_restart?, :requires_db_restart
|
3827
4134
|
|
4135
|
+
# The scope of the flag.
|
4136
|
+
# Corresponds to the JSON property `scope`
|
4137
|
+
# @return [String]
|
4138
|
+
attr_accessor :scope
|
4139
|
+
|
3828
4140
|
# Restrictions on STRING type values
|
3829
4141
|
# Corresponds to the JSON property `stringRestrictions`
|
3830
4142
|
# @return [Google::Apis::AlloydbV1alpha::StringRestrictions]
|
@@ -3850,7 +4162,10 @@ module Google
|
|
3850
4162
|
@flag_name = args[:flag_name] if args.key?(:flag_name)
|
3851
4163
|
@integer_restrictions = args[:integer_restrictions] if args.key?(:integer_restrictions)
|
3852
4164
|
@name = args[:name] if args.key?(:name)
|
4165
|
+
@recommended_integer_value = args[:recommended_integer_value] if args.key?(:recommended_integer_value)
|
4166
|
+
@recommended_string_value = args[:recommended_string_value] if args.key?(:recommended_string_value)
|
3853
4167
|
@requires_db_restart = args[:requires_db_restart] if args.key?(:requires_db_restart)
|
4168
|
+
@scope = args[:scope] if args.key?(:scope)
|
3854
4169
|
@string_restrictions = args[:string_restrictions] if args.key?(:string_restrictions)
|
3855
4170
|
@supported_db_versions = args[:supported_db_versions] if args.key?(:supported_db_versions)
|
3856
4171
|
@value_type = args[:value_type] if args.key?(:value_type)
|
@@ -4054,6 +4369,50 @@ module Google
|
|
4054
4369
|
end
|
4055
4370
|
end
|
4056
4371
|
|
4372
|
+
# Message for current status of the Major Version Upgrade operation.
|
4373
|
+
class UpgradeClusterStatus
|
4374
|
+
include Google::Apis::Core::Hashable
|
4375
|
+
|
4376
|
+
# Whether the operation is cancellable.
|
4377
|
+
# Corresponds to the JSON property `cancellable`
|
4378
|
+
# @return [Boolean]
|
4379
|
+
attr_accessor :cancellable
|
4380
|
+
alias_method :cancellable?, :cancellable
|
4381
|
+
|
4382
|
+
# Source database major version.
|
4383
|
+
# Corresponds to the JSON property `sourceVersion`
|
4384
|
+
# @return [String]
|
4385
|
+
attr_accessor :source_version
|
4386
|
+
|
4387
|
+
# Status of all upgrade stages.
|
4388
|
+
# Corresponds to the JSON property `stages`
|
4389
|
+
# @return [Array<Google::Apis::AlloydbV1alpha::StageStatus>]
|
4390
|
+
attr_accessor :stages
|
4391
|
+
|
4392
|
+
# Cluster Major Version Upgrade state.
|
4393
|
+
# Corresponds to the JSON property `state`
|
4394
|
+
# @return [String]
|
4395
|
+
attr_accessor :state
|
4396
|
+
|
4397
|
+
# Target database major version.
|
4398
|
+
# Corresponds to the JSON property `targetVersion`
|
4399
|
+
# @return [String]
|
4400
|
+
attr_accessor :target_version
|
4401
|
+
|
4402
|
+
def initialize(**args)
|
4403
|
+
update!(**args)
|
4404
|
+
end
|
4405
|
+
|
4406
|
+
# Update properties of this object
|
4407
|
+
def update!(**args)
|
4408
|
+
@cancellable = args[:cancellable] if args.key?(:cancellable)
|
4409
|
+
@source_version = args[:source_version] if args.key?(:source_version)
|
4410
|
+
@stages = args[:stages] if args.key?(:stages)
|
4411
|
+
@state = args[:state] if args.key?(:state)
|
4412
|
+
@target_version = args[:target_version] if args.key?(:target_version)
|
4413
|
+
end
|
4414
|
+
end
|
4415
|
+
|
4057
4416
|
# Message describing User object.
|
4058
4417
|
class User
|
4059
4418
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AlloydbV1alpha
|
18
18
|
# Version of the google-apis-alloydb_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
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
|
@@ -112,6 +112,12 @@ module Google
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
+
class CsvImportOptions
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
115
121
|
class Empty
|
116
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
123
|
|
@@ -178,6 +184,12 @@ module Google
|
|
178
184
|
include Google::Apis::Core::JsonObjectSupport
|
179
185
|
end
|
180
186
|
|
187
|
+
class ImportClusterRequest
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
181
193
|
class InjectFaultRequest
|
182
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
195
|
|
@@ -316,6 +328,12 @@ module Google
|
|
316
328
|
include Google::Apis::Core::JsonObjectSupport
|
317
329
|
end
|
318
330
|
|
331
|
+
class PscAutoConnectionConfig
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
319
337
|
class PscConfig
|
320
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
339
|
|
@@ -358,6 +376,12 @@ module Google
|
|
358
376
|
include Google::Apis::Core::JsonObjectSupport
|
359
377
|
end
|
360
378
|
|
379
|
+
class ReadPoolInstancesUpgradeStageStatus
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
361
385
|
class RestartInstanceRequest
|
362
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
387
|
|
@@ -388,6 +412,12 @@ module Google
|
|
388
412
|
include Google::Apis::Core::JsonObjectSupport
|
389
413
|
end
|
390
414
|
|
415
|
+
class SqlImportOptions
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
391
421
|
class SslConfig
|
392
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
423
|
|
@@ -400,6 +430,18 @@ module Google
|
|
400
430
|
include Google::Apis::Core::JsonObjectSupport
|
401
431
|
end
|
402
432
|
|
433
|
+
class StageStatus
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
439
|
+
class Stats
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
403
445
|
class Status
|
404
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
447
|
|
@@ -472,6 +514,12 @@ module Google
|
|
472
514
|
include Google::Apis::Core::JsonObjectSupport
|
473
515
|
end
|
474
516
|
|
517
|
+
class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
475
523
|
class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
|
476
524
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
525
|
|
@@ -574,6 +622,12 @@ module Google
|
|
574
622
|
include Google::Apis::Core::JsonObjectSupport
|
575
623
|
end
|
576
624
|
|
625
|
+
class UpgradeClusterStatus
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
+
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
629
|
+
end
|
630
|
+
|
577
631
|
class User
|
578
632
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
633
|
|
@@ -815,6 +869,17 @@ module Google
|
|
815
869
|
end
|
816
870
|
end
|
817
871
|
|
872
|
+
class CsvImportOptions
|
873
|
+
# @private
|
874
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
875
|
+
collection :columns, as: 'columns'
|
876
|
+
property :escape_character, as: 'escapeCharacter'
|
877
|
+
property :field_delimiter, as: 'fieldDelimiter'
|
878
|
+
property :quote_character, as: 'quoteCharacter'
|
879
|
+
property :table, as: 'table'
|
880
|
+
end
|
881
|
+
end
|
882
|
+
|
818
883
|
class Empty
|
819
884
|
# @private
|
820
885
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -908,6 +973,19 @@ module Google
|
|
908
973
|
end
|
909
974
|
end
|
910
975
|
|
976
|
+
class ImportClusterRequest
|
977
|
+
# @private
|
978
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
979
|
+
property :csv_import_options, as: 'csvImportOptions', class: Google::Apis::AlloydbV1alpha::CsvImportOptions, decorator: Google::Apis::AlloydbV1alpha::CsvImportOptions::Representation
|
980
|
+
|
981
|
+
property :database, as: 'database'
|
982
|
+
property :gcs_uri, as: 'gcsUri'
|
983
|
+
property :sql_import_options, as: 'sqlImportOptions', class: Google::Apis::AlloydbV1alpha::SqlImportOptions, decorator: Google::Apis::AlloydbV1alpha::SqlImportOptions::Representation
|
984
|
+
|
985
|
+
property :user, as: 'user'
|
986
|
+
end
|
987
|
+
end
|
988
|
+
|
911
989
|
class InjectFaultRequest
|
912
990
|
# @private
|
913
991
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1144,6 +1222,8 @@ module Google
|
|
1144
1222
|
property :requested_cancellation, as: 'requestedCancellation'
|
1145
1223
|
property :status_message, as: 'statusMessage'
|
1146
1224
|
property :target, as: 'target'
|
1225
|
+
property :upgrade_cluster_status, as: 'upgradeClusterStatus', class: Google::Apis::AlloydbV1alpha::UpgradeClusterStatus, decorator: Google::Apis::AlloydbV1alpha::UpgradeClusterStatus::Representation
|
1226
|
+
|
1147
1227
|
property :verb, as: 'verb'
|
1148
1228
|
end
|
1149
1229
|
end
|
@@ -1164,6 +1244,17 @@ module Google
|
|
1164
1244
|
end
|
1165
1245
|
end
|
1166
1246
|
|
1247
|
+
class PscAutoConnectionConfig
|
1248
|
+
# @private
|
1249
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1250
|
+
property :consumer_network, as: 'consumerNetwork'
|
1251
|
+
property :consumer_network_status, as: 'consumerNetworkStatus'
|
1252
|
+
property :consumer_project, as: 'consumerProject'
|
1253
|
+
property :ip_address, as: 'ipAddress'
|
1254
|
+
property :status, as: 'status'
|
1255
|
+
end
|
1256
|
+
end
|
1257
|
+
|
1167
1258
|
class PscConfig
|
1168
1259
|
# @private
|
1169
1260
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1176,6 +1267,8 @@ module Google
|
|
1176
1267
|
# @private
|
1177
1268
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1178
1269
|
collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
|
1270
|
+
collection :psc_auto_connections, as: 'pscAutoConnections', class: Google::Apis::AlloydbV1alpha::PscAutoConnectionConfig, decorator: Google::Apis::AlloydbV1alpha::PscAutoConnectionConfig::Representation
|
1271
|
+
|
1179
1272
|
property :psc_dns_name, as: 'pscDnsName'
|
1180
1273
|
collection :psc_interface_configs, as: 'pscInterfaceConfigs', class: Google::Apis::AlloydbV1alpha::PscInterfaceConfig, decorator: Google::Apis::AlloydbV1alpha::PscInterfaceConfig::Representation
|
1181
1274
|
|
@@ -1222,6 +1315,14 @@ module Google
|
|
1222
1315
|
end
|
1223
1316
|
end
|
1224
1317
|
|
1318
|
+
class ReadPoolInstancesUpgradeStageStatus
|
1319
|
+
# @private
|
1320
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1321
|
+
property :upgrade_stats, as: 'upgradeStats', class: Google::Apis::AlloydbV1alpha::Stats, decorator: Google::Apis::AlloydbV1alpha::Stats::Representation
|
1322
|
+
|
1323
|
+
end
|
1324
|
+
end
|
1325
|
+
|
1225
1326
|
class RestartInstanceRequest
|
1226
1327
|
# @private
|
1227
1328
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1274,6 +1375,12 @@ module Google
|
|
1274
1375
|
end
|
1275
1376
|
end
|
1276
1377
|
|
1378
|
+
class SqlImportOptions
|
1379
|
+
# @private
|
1380
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1381
|
+
end
|
1382
|
+
end
|
1383
|
+
|
1277
1384
|
class SslConfig
|
1278
1385
|
# @private
|
1279
1386
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1291,6 +1398,26 @@ module Google
|
|
1291
1398
|
end
|
1292
1399
|
end
|
1293
1400
|
|
1401
|
+
class StageStatus
|
1402
|
+
# @private
|
1403
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1404
|
+
property :read_pool_instances_upgrade, as: 'readPoolInstancesUpgrade', class: Google::Apis::AlloydbV1alpha::ReadPoolInstancesUpgradeStageStatus, decorator: Google::Apis::AlloydbV1alpha::ReadPoolInstancesUpgradeStageStatus::Representation
|
1405
|
+
|
1406
|
+
property :stage, as: 'stage'
|
1407
|
+
property :state, as: 'state'
|
1408
|
+
end
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
class Stats
|
1412
|
+
# @private
|
1413
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1414
|
+
property :failed, as: 'failed'
|
1415
|
+
property :not_started, as: 'notStarted'
|
1416
|
+
property :ongoing, as: 'ongoing'
|
1417
|
+
property :success, as: 'success'
|
1418
|
+
end
|
1419
|
+
end
|
1420
|
+
|
1294
1421
|
class Status
|
1295
1422
|
# @private
|
1296
1423
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1414,6 +1541,8 @@ module Google
|
|
1414
1541
|
collection :entitlements, as: 'entitlements', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainEntitlement, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainEntitlement::Representation
|
1415
1542
|
|
1416
1543
|
property :expected_state, as: 'expectedState'
|
1544
|
+
property :gcbdr_configuration, as: 'gcbdrConfiguration', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration::Representation
|
1545
|
+
|
1417
1546
|
property :id, as: 'id', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
1418
1547
|
|
1419
1548
|
property :instance_type, as: 'instanceType'
|
@@ -1427,6 +1556,7 @@ module Google
|
|
1427
1556
|
|
1428
1557
|
property :resource_container, as: 'resourceContainer'
|
1429
1558
|
property :resource_name, as: 'resourceName'
|
1559
|
+
property :suspension_reason, as: 'suspensionReason'
|
1430
1560
|
property :tags_set, as: 'tagsSet', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainTags, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainTags::Representation
|
1431
1561
|
|
1432
1562
|
property :updation_time, as: 'updationTime'
|
@@ -1457,6 +1587,13 @@ module Google
|
|
1457
1587
|
end
|
1458
1588
|
end
|
1459
1589
|
|
1590
|
+
class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
|
1591
|
+
# @private
|
1592
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1593
|
+
property :gcbdr_managed, as: 'gcbdrManaged'
|
1594
|
+
end
|
1595
|
+
end
|
1596
|
+
|
1460
1597
|
class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
|
1461
1598
|
# @private
|
1462
1599
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1464,6 +1601,7 @@ module Google
|
|
1464
1601
|
|
1465
1602
|
property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
|
1466
1603
|
|
1604
|
+
property :is_deletion_protection_enabled, as: 'isDeletionProtectionEnabled'
|
1467
1605
|
property :product, as: 'product', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonProduct::Representation
|
1468
1606
|
|
1469
1607
|
property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
@@ -1562,7 +1700,10 @@ module Google
|
|
1562
1700
|
property :integer_restrictions, as: 'integerRestrictions', class: Google::Apis::AlloydbV1alpha::IntegerRestrictions, decorator: Google::Apis::AlloydbV1alpha::IntegerRestrictions::Representation
|
1563
1701
|
|
1564
1702
|
property :name, as: 'name'
|
1703
|
+
property :recommended_integer_value, :numeric_string => true, as: 'recommendedIntegerValue'
|
1704
|
+
property :recommended_string_value, as: 'recommendedStringValue'
|
1565
1705
|
property :requires_db_restart, as: 'requiresDbRestart'
|
1706
|
+
property :scope, as: 'scope'
|
1566
1707
|
property :string_restrictions, as: 'stringRestrictions', class: Google::Apis::AlloydbV1alpha::StringRestrictions, decorator: Google::Apis::AlloydbV1alpha::StringRestrictions::Representation
|
1567
1708
|
|
1568
1709
|
collection :supported_db_versions, as: 'supportedDbVersions'
|
@@ -1622,6 +1763,18 @@ module Google
|
|
1622
1763
|
end
|
1623
1764
|
end
|
1624
1765
|
|
1766
|
+
class UpgradeClusterStatus
|
1767
|
+
# @private
|
1768
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1769
|
+
property :cancellable, as: 'cancellable'
|
1770
|
+
property :source_version, as: 'sourceVersion'
|
1771
|
+
collection :stages, as: 'stages', class: Google::Apis::AlloydbV1alpha::StageStatus, decorator: Google::Apis::AlloydbV1alpha::StageStatus::Representation
|
1772
|
+
|
1773
|
+
property :state, as: 'state'
|
1774
|
+
property :target_version, as: 'targetVersion'
|
1775
|
+
end
|
1776
|
+
end
|
1777
|
+
|
1625
1778
|
class User
|
1626
1779
|
# @private
|
1627
1780
|
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::AlloydbV1alpha::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::AlloydbV1alpha::Operation] parsed result object
|
627
|
+
# @yieldparam err [StandardError] error object if request failed
|
628
|
+
#
|
629
|
+
# @return [Google::Apis::AlloydbV1alpha::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, 'v1alpha/{+name}:import', options)
|
636
|
+
command.request_representation = Google::Apis::AlloydbV1alpha::ImportClusterRequest::Representation
|
637
|
+
command.request_object = import_cluster_request_object
|
638
|
+
command.response_representation = Google::Apis::AlloydbV1alpha::Operation::Representation
|
639
|
+
command.response_class = Google::Apis::AlloydbV1alpha::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
|
@@ -1741,6 +1774,9 @@ module Google
|
|
1741
1774
|
# unspecified, server will pick an appropriate default.
|
1742
1775
|
# @param [String] page_token
|
1743
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.
|
1744
1780
|
# @param [String] fields
|
1745
1781
|
# Selector specifying which fields to include in a partial response.
|
1746
1782
|
# @param [String] quota_user
|
@@ -1758,13 +1794,14 @@ module Google
|
|
1758
1794
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1759
1795
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1760
1796
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1761
|
-
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)
|
1762
1798
|
command = make_simple_command(:get, 'v1alpha/{+parent}/supportedDatabaseFlags', options)
|
1763
1799
|
command.response_representation = Google::Apis::AlloydbV1alpha::ListSupportedDatabaseFlagsResponse::Representation
|
1764
1800
|
command.response_class = Google::Apis::AlloydbV1alpha::ListSupportedDatabaseFlagsResponse
|
1765
1801
|
command.params['parent'] = parent unless parent.nil?
|
1766
1802
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1767
1803
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1804
|
+
command.query['scope'] = scope unless scope.nil?
|
1768
1805
|
command.query['fields'] = fields unless fields.nil?
|
1769
1806
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1770
1807
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-alloydb_v1alpha
|
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_v1alpha/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.22.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1alpha
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -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 V1alpha
|
79
79
|
test_files: []
|