google-apis-alloydb_v1alpha 0.21.0 → 0.23.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: d3b015913c3fadf6e01831cd5bae33fa52db75e78779d0f5ed8ab12427fecf3d
4
- data.tar.gz: a519754f8e8702b42662ee4756b5285a2382e05df2d6efc4cea26a85056ea978
3
+ metadata.gz: 895518f90153c645f0f6fbb491021bf66df2120c2f1eb83b51113d61a5d753c7
4
+ data.tar.gz: 5f28a225cf17c6389c3377fe521b4e0e54c49b42e68da27d19e6f7c3225cf93c
5
5
  SHA512:
6
- metadata.gz: 2bc4a527889c410919bf51d3874fe5b20f911c423f759a7b32e85d4c52f34fb9d1c6a951f895dff366066e3da05497c935b7fff9489b68dca2b53b71ca9b6b2d
7
- data.tar.gz: cad5ccbb8c65b7e981f48c12d6eabf398f27edfa0b0c77a50ea90c07b3f1a53fcc1691b5761b5f0d778f9a93c995609b950c8a69dbe2db1bd2dcbc06fd0fe395
6
+ metadata.gz: 93efeb07d5d27c614caf9161fad31564ad84af45f64923417b069815895e9e562f1c762c81eb1ee67813167b289d8699cbfe2488196f0501a80ad12eb5880640
7
+ data.tar.gz: f2e97dca9243bbaaab42ba9ca571ec0aa50da35eb97de8354897b9fb9d833b09ce56e9103e2025dac24a5f2d04d0dcfc3ae064e396a8f44625db6e87480b648e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-alloydb_v1alpha
2
2
 
3
+ ### v0.23.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250227
6
+
7
+ ### v0.22.0 (2025-02-26)
8
+
9
+ * Regenerated from discovery document revision 20250219
10
+
3
11
  ### v0.21.0 (2025-01-12)
4
12
 
5
13
  * Regenerated from discovery document revision 20241228
@@ -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.
@@ -1092,6 +1142,26 @@ module Google
1092
1142
  end
1093
1143
  end
1094
1144
 
1145
+ # Instance level configuration parameters related to the Gemini Cloud Assist
1146
+ # product.
1147
+ class GcaInstanceConfig
1148
+ include Google::Apis::Core::Hashable
1149
+
1150
+ # Output only. Represents the GCA entitlement state of the instance.
1151
+ # Corresponds to the JSON property `gcaEntitlement`
1152
+ # @return [String]
1153
+ attr_accessor :gca_entitlement
1154
+
1155
+ def initialize(**args)
1156
+ update!(**args)
1157
+ end
1158
+
1159
+ # Update properties of this object
1160
+ def update!(**args)
1161
+ @gca_entitlement = args[:gca_entitlement] if args.key?(:gca_entitlement)
1162
+ end
1163
+ end
1164
+
1095
1165
  # Destination for Export. Export will be done to cloud storage.
1096
1166
  class GcsDestination
1097
1167
  include Google::Apis::Core::Hashable
@@ -1277,6 +1347,55 @@ module Google
1277
1347
  end
1278
1348
  end
1279
1349
 
1350
+ # Import cluster request.
1351
+ class ImportClusterRequest
1352
+ include Google::Apis::Core::Hashable
1353
+
1354
+ # Options for importing data in CSV format.
1355
+ # Corresponds to the JSON property `csvImportOptions`
1356
+ # @return [Google::Apis::AlloydbV1alpha::CsvImportOptions]
1357
+ attr_accessor :csv_import_options
1358
+
1359
+ # Optional. Name of the database to which the import will be done. For import
1360
+ # from SQL file, this is required only if the file does not specify a database.
1361
+ # Note - Value provided should be the same as expected from `SELECT
1362
+ # current_database();` and NOT as a resource reference.
1363
+ # Corresponds to the JSON property `database`
1364
+ # @return [String]
1365
+ attr_accessor :database
1366
+
1367
+ # Required. The path to the file in Google Cloud Storage where the source file
1368
+ # for import will be stored. The URI is in the form `gs://bucketName/fileName`.
1369
+ # Corresponds to the JSON property `gcsUri`
1370
+ # @return [String]
1371
+ attr_accessor :gcs_uri
1372
+
1373
+ # Options for importing data in SQL format.
1374
+ # Corresponds to the JSON property `sqlImportOptions`
1375
+ # @return [Google::Apis::AlloydbV1alpha::SqlImportOptions]
1376
+ attr_accessor :sql_import_options
1377
+
1378
+ # Optional. Database user to be used for importing the data. Note - Value
1379
+ # provided should be the same as expected from `SELECT current_user;` and NOT as
1380
+ # a resource reference.
1381
+ # Corresponds to the JSON property `user`
1382
+ # @return [String]
1383
+ attr_accessor :user
1384
+
1385
+ def initialize(**args)
1386
+ update!(**args)
1387
+ end
1388
+
1389
+ # Update properties of this object
1390
+ def update!(**args)
1391
+ @csv_import_options = args[:csv_import_options] if args.key?(:csv_import_options)
1392
+ @database = args[:database] if args.key?(:database)
1393
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
1394
+ @sql_import_options = args[:sql_import_options] if args.key?(:sql_import_options)
1395
+ @user = args[:user] if args.key?(:user)
1396
+ end
1397
+ end
1398
+
1280
1399
  # Message for triggering fault injection on an instance
1281
1400
  class InjectFaultRequest
1282
1401
  include Google::Apis::Core::Hashable
@@ -1380,6 +1499,12 @@ module Google
1380
1499
  # @return [String]
1381
1500
  attr_accessor :etag
1382
1501
 
1502
+ # Instance level configuration parameters related to the Gemini Cloud Assist
1503
+ # product.
1504
+ # Corresponds to the JSON property `gcaConfig`
1505
+ # @return [Google::Apis::AlloydbV1alpha::GcaInstanceConfig]
1506
+ attr_accessor :gca_config
1507
+
1383
1508
  # The Compute Engine zone that the instance should serve from, per https://cloud.
1384
1509
  # google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL
1385
1510
  # instances. If present for a REGIONAL instance, an error will be thrown. If
@@ -1515,7 +1640,7 @@ module Google
1515
1640
  attr_accessor :update_time
1516
1641
 
1517
1642
  # Details of a single node in the instance. Nodes in an AlloyDB instance are
1518
- # ephemereal, they can change during update, failover, autohealing and resize
1643
+ # ephemeral, they can change during update, failover, autohealing and resize
1519
1644
  # operations.
1520
1645
  # Corresponds to the JSON property `writableNode`
1521
1646
  # @return [Google::Apis::AlloydbV1alpha::Node]
@@ -1535,6 +1660,7 @@ module Google
1535
1660
  @delete_time = args[:delete_time] if args.key?(:delete_time)
1536
1661
  @display_name = args[:display_name] if args.key?(:display_name)
1537
1662
  @etag = args[:etag] if args.key?(:etag)
1663
+ @gca_config = args[:gca_config] if args.key?(:gca_config)
1538
1664
  @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
1539
1665
  @gemini_config = args[:gemini_config] if args.key?(:gemini_config)
1540
1666
  @instance_type = args[:instance_type] if args.key?(:instance_type)
@@ -1981,7 +2107,7 @@ module Google
1981
2107
  end
1982
2108
 
1983
2109
  # Details of a single node in the instance. Nodes in an AlloyDB instance are
1984
- # ephemereal, they can change during update, failover, autohealing and resize
2110
+ # ephemeral, they can change during update, failover, autohealing and resize
1985
2111
  # operations.
1986
2112
  class Node
1987
2113
  include Google::Apis::Core::Hashable
@@ -2065,16 +2191,10 @@ module Google
2065
2191
  attr_accessor :track_active_queries
2066
2192
  alias_method :track_active_queries?, :track_active_queries
2067
2193
 
2068
- # Track client address for an instance. If not set, default value is "off".
2069
- # Corresponds to the JSON property `trackClientAddress`
2070
- # @return [Boolean]
2071
- attr_accessor :track_client_address
2072
- alias_method :track_client_address?, :track_client_address
2073
-
2074
2194
  # Output only. Track wait event types during query execution for an instance.
2075
2195
  # This flag is turned "on" by default but tracking is enabled only after
2076
2196
  # observability enabled flag is also turned on. This is read-only flag and only
2077
- # modifiable by producer API.
2197
+ # modifiable by internal API.
2078
2198
  # Corresponds to the JSON property `trackWaitEventTypes`
2079
2199
  # @return [Boolean]
2080
2200
  attr_accessor :track_wait_event_types
@@ -2100,7 +2220,6 @@ module Google
2100
2220
  @query_plans_per_minute = args[:query_plans_per_minute] if args.key?(:query_plans_per_minute)
2101
2221
  @record_application_tags = args[:record_application_tags] if args.key?(:record_application_tags)
2102
2222
  @track_active_queries = args[:track_active_queries] if args.key?(:track_active_queries)
2103
- @track_client_address = args[:track_client_address] if args.key?(:track_client_address)
2104
2223
  @track_wait_event_types = args[:track_wait_event_types] if args.key?(:track_wait_event_types)
2105
2224
  @track_wait_events = args[:track_wait_events] if args.key?(:track_wait_events)
2106
2225
  end
@@ -2206,6 +2325,11 @@ module Google
2206
2325
  # @return [String]
2207
2326
  attr_accessor :target
2208
2327
 
2328
+ # Message for current status of the Major Version Upgrade operation.
2329
+ # Corresponds to the JSON property `upgradeClusterStatus`
2330
+ # @return [Google::Apis::AlloydbV1alpha::UpgradeClusterStatus]
2331
+ attr_accessor :upgrade_cluster_status
2332
+
2209
2333
  # Output only. Name of the verb executed by the operation.
2210
2334
  # Corresponds to the JSON property `verb`
2211
2335
  # @return [String]
@@ -2223,6 +2347,7 @@ module Google
2223
2347
  @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
2224
2348
  @status_message = args[:status_message] if args.key?(:status_message)
2225
2349
  @target = args[:target] if args.key?(:target)
2350
+ @upgrade_cluster_status = args[:upgrade_cluster_status] if args.key?(:upgrade_cluster_status)
2226
2351
  @verb = args[:verb] if args.key?(:verb)
2227
2352
  end
2228
2353
  end
@@ -2293,6 +2418,53 @@ module Google
2293
2418
  end
2294
2419
  end
2295
2420
 
2421
+ # Configuration for setting up PSC service automation. Consumer projects in the
2422
+ # configs will be allowlisted automatically for the instance.
2423
+ class PscAutoConnectionConfig
2424
+ include Google::Apis::Core::Hashable
2425
+
2426
+ # The consumer network for the PSC service automation, example: "projects/vpc-
2427
+ # host-project/global/networks/default". The consumer network might be hosted a
2428
+ # different project than the consumer project.
2429
+ # Corresponds to the JSON property `consumerNetwork`
2430
+ # @return [String]
2431
+ attr_accessor :consumer_network
2432
+
2433
+ # Output only. The status of the service connection policy.
2434
+ # Corresponds to the JSON property `consumerNetworkStatus`
2435
+ # @return [String]
2436
+ attr_accessor :consumer_network_status
2437
+
2438
+ # The consumer project to which the PSC service automation endpoint will be
2439
+ # created.
2440
+ # Corresponds to the JSON property `consumerProject`
2441
+ # @return [String]
2442
+ attr_accessor :consumer_project
2443
+
2444
+ # Output only. The IP address of the PSC service automation endpoint.
2445
+ # Corresponds to the JSON property `ipAddress`
2446
+ # @return [String]
2447
+ attr_accessor :ip_address
2448
+
2449
+ # Output only. The status of the PSC service automation connection.
2450
+ # Corresponds to the JSON property `status`
2451
+ # @return [String]
2452
+ attr_accessor :status
2453
+
2454
+ def initialize(**args)
2455
+ update!(**args)
2456
+ end
2457
+
2458
+ # Update properties of this object
2459
+ def update!(**args)
2460
+ @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
2461
+ @consumer_network_status = args[:consumer_network_status] if args.key?(:consumer_network_status)
2462
+ @consumer_project = args[:consumer_project] if args.key?(:consumer_project)
2463
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
2464
+ @status = args[:status] if args.key?(:status)
2465
+ end
2466
+ end
2467
+
2296
2468
  # PscConfig contains PSC related configuration at a cluster level.
2297
2469
  class PscConfig
2298
2470
  include Google::Apis::Core::Hashable
@@ -2331,6 +2503,11 @@ module Google
2331
2503
  # @return [Array<String>]
2332
2504
  attr_accessor :allowed_consumer_projects
2333
2505
 
2506
+ # Optional. Configurations for setting up PSC service automation.
2507
+ # Corresponds to the JSON property `pscAutoConnections`
2508
+ # @return [Array<Google::Apis::AlloydbV1alpha::PscAutoConnectionConfig>]
2509
+ attr_accessor :psc_auto_connections
2510
+
2334
2511
  # Output only. The DNS name of the instance for PSC connectivity. Name
2335
2512
  # convention: ...alloydb-psc.goog
2336
2513
  # Corresponds to the JSON property `pscDnsName`
@@ -2358,6 +2535,7 @@ module Google
2358
2535
  # Update properties of this object
2359
2536
  def update!(**args)
2360
2537
  @allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
2538
+ @psc_auto_connections = args[:psc_auto_connections] if args.key?(:psc_auto_connections)
2361
2539
  @psc_dns_name = args[:psc_dns_name] if args.key?(:psc_dns_name)
2362
2540
  @psc_interface_configs = args[:psc_interface_configs] if args.key?(:psc_interface_configs)
2363
2541
  @service_attachment_link = args[:service_attachment_link] if args.key?(:service_attachment_link)
@@ -2503,6 +2681,25 @@ module Google
2503
2681
  end
2504
2682
  end
2505
2683
 
2684
+ # Read pool instances upgrade specific status.
2685
+ class ReadPoolInstancesUpgradeStageStatus
2686
+ include Google::Apis::Core::Hashable
2687
+
2688
+ # Upgrade stats for read pool instances.
2689
+ # Corresponds to the JSON property `upgradeStats`
2690
+ # @return [Google::Apis::AlloydbV1alpha::Stats]
2691
+ attr_accessor :upgrade_stats
2692
+
2693
+ def initialize(**args)
2694
+ update!(**args)
2695
+ end
2696
+
2697
+ # Update properties of this object
2698
+ def update!(**args)
2699
+ @upgrade_stats = args[:upgrade_stats] if args.key?(:upgrade_stats)
2700
+ end
2701
+ end
2702
+
2506
2703
  #
2507
2704
  class RestartInstanceRequest
2508
2705
  include Google::Apis::Core::Hashable
@@ -2707,6 +2904,19 @@ module Google
2707
2904
  end
2708
2905
  end
2709
2906
 
2907
+ # Options for importing data in SQL format.
2908
+ class SqlImportOptions
2909
+ include Google::Apis::Core::Hashable
2910
+
2911
+ def initialize(**args)
2912
+ update!(**args)
2913
+ end
2914
+
2915
+ # Update properties of this object
2916
+ def update!(**args)
2917
+ end
2918
+ end
2919
+
2710
2920
  # SSL configuration.
2711
2921
  class SslConfig
2712
2922
  include Google::Apis::Core::Hashable
@@ -2766,6 +2976,74 @@ module Google
2766
2976
  end
2767
2977
  end
2768
2978
 
2979
+ # Status of an upgrade stage.
2980
+ class StageStatus
2981
+ include Google::Apis::Core::Hashable
2982
+
2983
+ # Read pool instances upgrade specific status.
2984
+ # Corresponds to the JSON property `readPoolInstancesUpgrade`
2985
+ # @return [Google::Apis::AlloydbV1alpha::ReadPoolInstancesUpgradeStageStatus]
2986
+ attr_accessor :read_pool_instances_upgrade
2987
+
2988
+ # Upgrade stage.
2989
+ # Corresponds to the JSON property `stage`
2990
+ # @return [String]
2991
+ attr_accessor :stage
2992
+
2993
+ # State of this stage.
2994
+ # Corresponds to the JSON property `state`
2995
+ # @return [String]
2996
+ attr_accessor :state
2997
+
2998
+ def initialize(**args)
2999
+ update!(**args)
3000
+ end
3001
+
3002
+ # Update properties of this object
3003
+ def update!(**args)
3004
+ @read_pool_instances_upgrade = args[:read_pool_instances_upgrade] if args.key?(:read_pool_instances_upgrade)
3005
+ @stage = args[:stage] if args.key?(:stage)
3006
+ @state = args[:state] if args.key?(:state)
3007
+ end
3008
+ end
3009
+
3010
+ # Upgrade stats for read pool instances.
3011
+ class Stats
3012
+ include Google::Apis::Core::Hashable
3013
+
3014
+ # Number of read pool instances which failed to upgrade.
3015
+ # Corresponds to the JSON property `failed`
3016
+ # @return [Fixnum]
3017
+ attr_accessor :failed
3018
+
3019
+ # Number of read pool instances for which upgrade has not started.
3020
+ # Corresponds to the JSON property `notStarted`
3021
+ # @return [Fixnum]
3022
+ attr_accessor :not_started
3023
+
3024
+ # Number of read pool instances undergoing upgrade.
3025
+ # Corresponds to the JSON property `ongoing`
3026
+ # @return [Fixnum]
3027
+ attr_accessor :ongoing
3028
+
3029
+ # Number of read pool instances successfully upgraded.
3030
+ # Corresponds to the JSON property `success`
3031
+ # @return [Fixnum]
3032
+ attr_accessor :success
3033
+
3034
+ def initialize(**args)
3035
+ update!(**args)
3036
+ end
3037
+
3038
+ # Update properties of this object
3039
+ def update!(**args)
3040
+ @failed = args[:failed] if args.key?(:failed)
3041
+ @not_started = args[:not_started] if args.key?(:not_started)
3042
+ @ongoing = args[:ongoing] if args.key?(:ongoing)
3043
+ @success = args[:success] if args.key?(:success)
3044
+ end
3045
+ end
3046
+
2769
3047
  # The `Status` type defines a logical error model that is suitable for different
2770
3048
  # programming environments, including REST APIs and RPC APIs. It is used by [
2771
3049
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -3013,7 +3291,7 @@ module Google
3013
3291
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
3014
3292
  attr_accessor :resource_id
3015
3293
 
3016
- # Common model for database resource instance metadata. Next ID: 23
3294
+ # Common model for database resource instance metadata. Next ID: 25
3017
3295
  # Corresponds to the JSON property `resourceMetadata`
3018
3296
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
3019
3297
  attr_accessor :resource_metadata
@@ -3188,7 +3466,7 @@ module Google
3188
3466
  end
3189
3467
  end
3190
3468
 
3191
- # Common model for database resource instance metadata. Next ID: 23
3469
+ # Common model for database resource instance metadata. Next ID: 25
3192
3470
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
3193
3471
  include Google::Apis::Core::Hashable
3194
3472
 
@@ -3244,6 +3522,11 @@ module Google
3244
3522
  # @return [String]
3245
3523
  attr_accessor :expected_state
3246
3524
 
3525
+ # GCBDR Configuration for the resource.
3526
+ # Corresponds to the JSON property `gcbdrConfiguration`
3527
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration]
3528
+ attr_accessor :gcbdr_configuration
3529
+
3247
3530
  # DatabaseResourceId will serve as primary key for any resource ingestion event.
3248
3531
  # Corresponds to the JSON property `id`
3249
3532
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
@@ -3297,6 +3580,11 @@ module Google
3297
3580
  # @return [String]
3298
3581
  attr_accessor :resource_name
3299
3582
 
3583
+ # Optional. Suspension reason for the resource.
3584
+ # Corresponds to the JSON property `suspensionReason`
3585
+ # @return [String]
3586
+ attr_accessor :suspension_reason
3587
+
3300
3588
  # Message type for storing tags. Tags provide a way to create annotations for
3301
3589
  # resources, and in some cases conditionally allow or deny policies based on
3302
3590
  # whether a resource has a specific tag.
@@ -3331,6 +3619,7 @@ module Google
3331
3619
  @edition = args[:edition] if args.key?(:edition)
3332
3620
  @entitlements = args[:entitlements] if args.key?(:entitlements)
3333
3621
  @expected_state = args[:expected_state] if args.key?(:expected_state)
3622
+ @gcbdr_configuration = args[:gcbdr_configuration] if args.key?(:gcbdr_configuration)
3334
3623
  @id = args[:id] if args.key?(:id)
3335
3624
  @instance_type = args[:instance_type] if args.key?(:instance_type)
3336
3625
  @location = args[:location] if args.key?(:location)
@@ -3340,6 +3629,7 @@ module Google
3340
3629
  @product = args[:product] if args.key?(:product)
3341
3630
  @resource_container = args[:resource_container] if args.key?(:resource_container)
3342
3631
  @resource_name = args[:resource_name] if args.key?(:resource_name)
3632
+ @suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
3343
3633
  @tags_set = args[:tags_set] if args.key?(:tags_set)
3344
3634
  @updation_time = args[:updation_time] if args.key?(:updation_time)
3345
3635
  @user_label_set = args[:user_label_set] if args.key?(:user_label_set)
@@ -3445,6 +3735,26 @@ module Google
3445
3735
  end
3446
3736
  end
3447
3737
 
3738
+ # GCBDR Configuration for the resource.
3739
+ class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
3740
+ include Google::Apis::Core::Hashable
3741
+
3742
+ # Whether the resource is managed by GCBDR.
3743
+ # Corresponds to the JSON property `gcbdrManaged`
3744
+ # @return [Boolean]
3745
+ attr_accessor :gcbdr_managed
3746
+ alias_method :gcbdr_managed?, :gcbdr_managed
3747
+
3748
+ def initialize(**args)
3749
+ update!(**args)
3750
+ end
3751
+
3752
+ # Update properties of this object
3753
+ def update!(**args)
3754
+ @gcbdr_managed = args[:gcbdr_managed] if args.key?(:gcbdr_managed)
3755
+ end
3756
+ end
3757
+
3448
3758
  # Metadata for individual internal resources in an instance. e.g. spanner
3449
3759
  # instance can have multiple databases with unique configuration settings.
3450
3760
  # Similarly bigtable can have multiple clusters within same bigtable instance.
@@ -3461,6 +3771,12 @@ module Google
3461
3771
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun]
3462
3772
  attr_accessor :backup_run
3463
3773
 
3774
+ # Whether deletion protection is enabled for this internal resource.
3775
+ # Corresponds to the JSON property `isDeletionProtectionEnabled`
3776
+ # @return [Boolean]
3777
+ attr_accessor :is_deletion_protection_enabled
3778
+ alias_method :is_deletion_protection_enabled?, :is_deletion_protection_enabled
3779
+
3464
3780
  # Product specification for Condor resources.
3465
3781
  # Corresponds to the JSON property `product`
3466
3782
  # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonProduct]
@@ -3485,6 +3801,7 @@ module Google
3485
3801
  def update!(**args)
3486
3802
  @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
3487
3803
  @backup_run = args[:backup_run] if args.key?(:backup_run)
3804
+ @is_deletion_protection_enabled = args[:is_deletion_protection_enabled] if args.key?(:is_deletion_protection_enabled)
3488
3805
  @product = args[:product] if args.key?(:product)
3489
3806
  @resource_id = args[:resource_id] if args.key?(:resource_id)
3490
3807
  @resource_name = args[:resource_name] if args.key?(:resource_name)
@@ -3496,14 +3813,14 @@ module Google
3496
3813
  class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
3497
3814
  include Google::Apis::Core::Hashable
3498
3815
 
3499
- # The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/
3500
- # 342346271) add proto validations again after bug fix.
3816
+ # The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add
3817
+ # proto validations again after bug fix.
3501
3818
  # Corresponds to the JSON property `cpuCount`
3502
3819
  # @return [Fixnum]
3503
3820
  attr_accessor :cpu_count
3504
3821
 
3505
- # Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations
3506
- # again after bug fix.
3822
+ # Memory size in bytes. TODO(b/342344482) add proto validations again after bug
3823
+ # fix.
3507
3824
  # Corresponds to the JSON property `memorySizeInBytes`
3508
3825
  # @return [Fixnum]
3509
3826
  attr_accessor :memory_size_in_bytes
@@ -3513,8 +3830,8 @@ module Google
3513
3830
  # @return [Fixnum]
3514
3831
  attr_accessor :shard_count
3515
3832
 
3516
- # Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto
3517
- # validations again after bug fix.
3833
+ # Optional. The number of vCPUs. TODO(b/342344482) add proto validations again
3834
+ # after bug fix.
3518
3835
  # Corresponds to the JSON property `vcpuCount`
3519
3836
  # @return [Float]
3520
3837
  attr_accessor :vcpu_count
@@ -3816,6 +4133,16 @@ module Google
3816
4133
  # @return [String]
3817
4134
  attr_accessor :name
3818
4135
 
4136
+ # The recommended value for an INTEGER flag.
4137
+ # Corresponds to the JSON property `recommendedIntegerValue`
4138
+ # @return [Fixnum]
4139
+ attr_accessor :recommended_integer_value
4140
+
4141
+ # The recommended value for a STRING flag.
4142
+ # Corresponds to the JSON property `recommendedStringValue`
4143
+ # @return [String]
4144
+ attr_accessor :recommended_string_value
4145
+
3819
4146
  # Whether setting or updating this flag on an Instance requires a database
3820
4147
  # restart. If a flag that requires database restart is set, the backend will
3821
4148
  # automatically restart the database (making sure to satisfy any availability
@@ -3825,6 +4152,11 @@ module Google
3825
4152
  attr_accessor :requires_db_restart
3826
4153
  alias_method :requires_db_restart?, :requires_db_restart
3827
4154
 
4155
+ # The scope of the flag.
4156
+ # Corresponds to the JSON property `scope`
4157
+ # @return [String]
4158
+ attr_accessor :scope
4159
+
3828
4160
  # Restrictions on STRING type values
3829
4161
  # Corresponds to the JSON property `stringRestrictions`
3830
4162
  # @return [Google::Apis::AlloydbV1alpha::StringRestrictions]
@@ -3850,7 +4182,10 @@ module Google
3850
4182
  @flag_name = args[:flag_name] if args.key?(:flag_name)
3851
4183
  @integer_restrictions = args[:integer_restrictions] if args.key?(:integer_restrictions)
3852
4184
  @name = args[:name] if args.key?(:name)
4185
+ @recommended_integer_value = args[:recommended_integer_value] if args.key?(:recommended_integer_value)
4186
+ @recommended_string_value = args[:recommended_string_value] if args.key?(:recommended_string_value)
3853
4187
  @requires_db_restart = args[:requires_db_restart] if args.key?(:requires_db_restart)
4188
+ @scope = args[:scope] if args.key?(:scope)
3854
4189
  @string_restrictions = args[:string_restrictions] if args.key?(:string_restrictions)
3855
4190
  @supported_db_versions = args[:supported_db_versions] if args.key?(:supported_db_versions)
3856
4191
  @value_type = args[:value_type] if args.key?(:value_type)
@@ -4054,6 +4389,50 @@ module Google
4054
4389
  end
4055
4390
  end
4056
4391
 
4392
+ # Message for current status of the Major Version Upgrade operation.
4393
+ class UpgradeClusterStatus
4394
+ include Google::Apis::Core::Hashable
4395
+
4396
+ # Whether the operation is cancellable.
4397
+ # Corresponds to the JSON property `cancellable`
4398
+ # @return [Boolean]
4399
+ attr_accessor :cancellable
4400
+ alias_method :cancellable?, :cancellable
4401
+
4402
+ # Source database major version.
4403
+ # Corresponds to the JSON property `sourceVersion`
4404
+ # @return [String]
4405
+ attr_accessor :source_version
4406
+
4407
+ # Status of all upgrade stages.
4408
+ # Corresponds to the JSON property `stages`
4409
+ # @return [Array<Google::Apis::AlloydbV1alpha::StageStatus>]
4410
+ attr_accessor :stages
4411
+
4412
+ # Cluster Major Version Upgrade state.
4413
+ # Corresponds to the JSON property `state`
4414
+ # @return [String]
4415
+ attr_accessor :state
4416
+
4417
+ # Target database major version.
4418
+ # Corresponds to the JSON property `targetVersion`
4419
+ # @return [String]
4420
+ attr_accessor :target_version
4421
+
4422
+ def initialize(**args)
4423
+ update!(**args)
4424
+ end
4425
+
4426
+ # Update properties of this object
4427
+ def update!(**args)
4428
+ @cancellable = args[:cancellable] if args.key?(:cancellable)
4429
+ @source_version = args[:source_version] if args.key?(:source_version)
4430
+ @stages = args[:stages] if args.key?(:stages)
4431
+ @state = args[:state] if args.key?(:state)
4432
+ @target_version = args[:target_version] if args.key?(:target_version)
4433
+ end
4434
+ end
4435
+
4057
4436
  # Message describing User object.
4058
4437
  class User
4059
4438
  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.21.0"
19
+ GEM_VERSION = "0.23.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 = "20241228"
25
+ REVISION = "20250227"
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
 
@@ -142,6 +148,12 @@ module Google
142
148
  include Google::Apis::Core::JsonObjectSupport
143
149
  end
144
150
 
151
+ class GcaInstanceConfig
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
145
157
  class GcsDestination
146
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
159
 
@@ -178,6 +190,12 @@ module Google
178
190
  include Google::Apis::Core::JsonObjectSupport
179
191
  end
180
192
 
193
+ class ImportClusterRequest
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
181
199
  class InjectFaultRequest
182
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
201
 
@@ -316,6 +334,12 @@ module Google
316
334
  include Google::Apis::Core::JsonObjectSupport
317
335
  end
318
336
 
337
+ class PscAutoConnectionConfig
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
319
343
  class PscConfig
320
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
345
 
@@ -358,6 +382,12 @@ module Google
358
382
  include Google::Apis::Core::JsonObjectSupport
359
383
  end
360
384
 
385
+ class ReadPoolInstancesUpgradeStageStatus
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
361
391
  class RestartInstanceRequest
362
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
393
 
@@ -388,6 +418,12 @@ module Google
388
418
  include Google::Apis::Core::JsonObjectSupport
389
419
  end
390
420
 
421
+ class SqlImportOptions
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
391
427
  class SslConfig
392
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
429
 
@@ -400,6 +436,18 @@ module Google
400
436
  include Google::Apis::Core::JsonObjectSupport
401
437
  end
402
438
 
439
+ class StageStatus
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class Stats
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
403
451
  class Status
404
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
453
 
@@ -472,6 +520,12 @@ module Google
472
520
  include Google::Apis::Core::JsonObjectSupport
473
521
  end
474
522
 
523
+ class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
475
529
  class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
476
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
531
 
@@ -574,6 +628,12 @@ module Google
574
628
  include Google::Apis::Core::JsonObjectSupport
575
629
  end
576
630
 
631
+ class UpgradeClusterStatus
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
577
637
  class User
578
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
639
 
@@ -815,6 +875,17 @@ module Google
815
875
  end
816
876
  end
817
877
 
878
+ class CsvImportOptions
879
+ # @private
880
+ class Representation < Google::Apis::Core::JsonRepresentation
881
+ collection :columns, as: 'columns'
882
+ property :escape_character, as: 'escapeCharacter'
883
+ property :field_delimiter, as: 'fieldDelimiter'
884
+ property :quote_character, as: 'quoteCharacter'
885
+ property :table, as: 'table'
886
+ end
887
+ end
888
+
818
889
  class Empty
819
890
  # @private
820
891
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -857,6 +928,13 @@ module Google
857
928
  end
858
929
  end
859
930
 
931
+ class GcaInstanceConfig
932
+ # @private
933
+ class Representation < Google::Apis::Core::JsonRepresentation
934
+ property :gca_entitlement, as: 'gcaEntitlement'
935
+ end
936
+ end
937
+
860
938
  class GcsDestination
861
939
  # @private
862
940
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -908,6 +986,19 @@ module Google
908
986
  end
909
987
  end
910
988
 
989
+ class ImportClusterRequest
990
+ # @private
991
+ class Representation < Google::Apis::Core::JsonRepresentation
992
+ property :csv_import_options, as: 'csvImportOptions', class: Google::Apis::AlloydbV1alpha::CsvImportOptions, decorator: Google::Apis::AlloydbV1alpha::CsvImportOptions::Representation
993
+
994
+ property :database, as: 'database'
995
+ property :gcs_uri, as: 'gcsUri'
996
+ property :sql_import_options, as: 'sqlImportOptions', class: Google::Apis::AlloydbV1alpha::SqlImportOptions, decorator: Google::Apis::AlloydbV1alpha::SqlImportOptions::Representation
997
+
998
+ property :user, as: 'user'
999
+ end
1000
+ end
1001
+
911
1002
  class InjectFaultRequest
912
1003
  # @private
913
1004
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -929,6 +1020,8 @@ module Google
929
1020
  property :delete_time, as: 'deleteTime'
930
1021
  property :display_name, as: 'displayName'
931
1022
  property :etag, as: 'etag'
1023
+ property :gca_config, as: 'gcaConfig', class: Google::Apis::AlloydbV1alpha::GcaInstanceConfig, decorator: Google::Apis::AlloydbV1alpha::GcaInstanceConfig::Representation
1024
+
932
1025
  property :gce_zone, as: 'gceZone'
933
1026
  property :gemini_config, as: 'geminiConfig', class: Google::Apis::AlloydbV1alpha::GeminiInstanceConfig, decorator: Google::Apis::AlloydbV1alpha::GeminiInstanceConfig::Representation
934
1027
 
@@ -1117,7 +1210,6 @@ module Google
1117
1210
  property :query_plans_per_minute, as: 'queryPlansPerMinute'
1118
1211
  property :record_application_tags, as: 'recordApplicationTags'
1119
1212
  property :track_active_queries, as: 'trackActiveQueries'
1120
- property :track_client_address, as: 'trackClientAddress'
1121
1213
  property :track_wait_event_types, as: 'trackWaitEventTypes'
1122
1214
  property :track_wait_events, as: 'trackWaitEvents'
1123
1215
  end
@@ -1144,6 +1236,8 @@ module Google
1144
1236
  property :requested_cancellation, as: 'requestedCancellation'
1145
1237
  property :status_message, as: 'statusMessage'
1146
1238
  property :target, as: 'target'
1239
+ property :upgrade_cluster_status, as: 'upgradeClusterStatus', class: Google::Apis::AlloydbV1alpha::UpgradeClusterStatus, decorator: Google::Apis::AlloydbV1alpha::UpgradeClusterStatus::Representation
1240
+
1147
1241
  property :verb, as: 'verb'
1148
1242
  end
1149
1243
  end
@@ -1164,6 +1258,17 @@ module Google
1164
1258
  end
1165
1259
  end
1166
1260
 
1261
+ class PscAutoConnectionConfig
1262
+ # @private
1263
+ class Representation < Google::Apis::Core::JsonRepresentation
1264
+ property :consumer_network, as: 'consumerNetwork'
1265
+ property :consumer_network_status, as: 'consumerNetworkStatus'
1266
+ property :consumer_project, as: 'consumerProject'
1267
+ property :ip_address, as: 'ipAddress'
1268
+ property :status, as: 'status'
1269
+ end
1270
+ end
1271
+
1167
1272
  class PscConfig
1168
1273
  # @private
1169
1274
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1176,6 +1281,8 @@ module Google
1176
1281
  # @private
1177
1282
  class Representation < Google::Apis::Core::JsonRepresentation
1178
1283
  collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
1284
+ collection :psc_auto_connections, as: 'pscAutoConnections', class: Google::Apis::AlloydbV1alpha::PscAutoConnectionConfig, decorator: Google::Apis::AlloydbV1alpha::PscAutoConnectionConfig::Representation
1285
+
1179
1286
  property :psc_dns_name, as: 'pscDnsName'
1180
1287
  collection :psc_interface_configs, as: 'pscInterfaceConfigs', class: Google::Apis::AlloydbV1alpha::PscInterfaceConfig, decorator: Google::Apis::AlloydbV1alpha::PscInterfaceConfig::Representation
1181
1288
 
@@ -1222,6 +1329,14 @@ module Google
1222
1329
  end
1223
1330
  end
1224
1331
 
1332
+ class ReadPoolInstancesUpgradeStageStatus
1333
+ # @private
1334
+ class Representation < Google::Apis::Core::JsonRepresentation
1335
+ property :upgrade_stats, as: 'upgradeStats', class: Google::Apis::AlloydbV1alpha::Stats, decorator: Google::Apis::AlloydbV1alpha::Stats::Representation
1336
+
1337
+ end
1338
+ end
1339
+
1225
1340
  class RestartInstanceRequest
1226
1341
  # @private
1227
1342
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1274,6 +1389,12 @@ module Google
1274
1389
  end
1275
1390
  end
1276
1391
 
1392
+ class SqlImportOptions
1393
+ # @private
1394
+ class Representation < Google::Apis::Core::JsonRepresentation
1395
+ end
1396
+ end
1397
+
1277
1398
  class SslConfig
1278
1399
  # @private
1279
1400
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1291,6 +1412,26 @@ module Google
1291
1412
  end
1292
1413
  end
1293
1414
 
1415
+ class StageStatus
1416
+ # @private
1417
+ class Representation < Google::Apis::Core::JsonRepresentation
1418
+ property :read_pool_instances_upgrade, as: 'readPoolInstancesUpgrade', class: Google::Apis::AlloydbV1alpha::ReadPoolInstancesUpgradeStageStatus, decorator: Google::Apis::AlloydbV1alpha::ReadPoolInstancesUpgradeStageStatus::Representation
1419
+
1420
+ property :stage, as: 'stage'
1421
+ property :state, as: 'state'
1422
+ end
1423
+ end
1424
+
1425
+ class Stats
1426
+ # @private
1427
+ class Representation < Google::Apis::Core::JsonRepresentation
1428
+ property :failed, as: 'failed'
1429
+ property :not_started, as: 'notStarted'
1430
+ property :ongoing, as: 'ongoing'
1431
+ property :success, as: 'success'
1432
+ end
1433
+ end
1434
+
1294
1435
  class Status
1295
1436
  # @private
1296
1437
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1414,6 +1555,8 @@ module Google
1414
1555
  collection :entitlements, as: 'entitlements', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainEntitlement, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainEntitlement::Representation
1415
1556
 
1416
1557
  property :expected_state, as: 'expectedState'
1558
+ property :gcbdr_configuration, as: 'gcbdrConfiguration', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration::Representation
1559
+
1417
1560
  property :id, as: 'id', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1418
1561
 
1419
1562
  property :instance_type, as: 'instanceType'
@@ -1427,6 +1570,7 @@ module Google
1427
1570
 
1428
1571
  property :resource_container, as: 'resourceContainer'
1429
1572
  property :resource_name, as: 'resourceName'
1573
+ property :suspension_reason, as: 'suspensionReason'
1430
1574
  property :tags_set, as: 'tagsSet', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainTags, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainTags::Representation
1431
1575
 
1432
1576
  property :updation_time, as: 'updationTime'
@@ -1457,6 +1601,13 @@ module Google
1457
1601
  end
1458
1602
  end
1459
1603
 
1604
+ class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
1605
+ # @private
1606
+ class Representation < Google::Apis::Core::JsonRepresentation
1607
+ property :gcbdr_managed, as: 'gcbdrManaged'
1608
+ end
1609
+ end
1610
+
1460
1611
  class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
1461
1612
  # @private
1462
1613
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1464,6 +1615,7 @@ module Google
1464
1615
 
1465
1616
  property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
1466
1617
 
1618
+ property :is_deletion_protection_enabled, as: 'isDeletionProtectionEnabled'
1467
1619
  property :product, as: 'product', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonProduct::Representation
1468
1620
 
1469
1621
  property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
@@ -1562,7 +1714,10 @@ module Google
1562
1714
  property :integer_restrictions, as: 'integerRestrictions', class: Google::Apis::AlloydbV1alpha::IntegerRestrictions, decorator: Google::Apis::AlloydbV1alpha::IntegerRestrictions::Representation
1563
1715
 
1564
1716
  property :name, as: 'name'
1717
+ property :recommended_integer_value, :numeric_string => true, as: 'recommendedIntegerValue'
1718
+ property :recommended_string_value, as: 'recommendedStringValue'
1565
1719
  property :requires_db_restart, as: 'requiresDbRestart'
1720
+ property :scope, as: 'scope'
1566
1721
  property :string_restrictions, as: 'stringRestrictions', class: Google::Apis::AlloydbV1alpha::StringRestrictions, decorator: Google::Apis::AlloydbV1alpha::StringRestrictions::Representation
1567
1722
 
1568
1723
  collection :supported_db_versions, as: 'supportedDbVersions'
@@ -1622,6 +1777,18 @@ module Google
1622
1777
  end
1623
1778
  end
1624
1779
 
1780
+ class UpgradeClusterStatus
1781
+ # @private
1782
+ class Representation < Google::Apis::Core::JsonRepresentation
1783
+ property :cancellable, as: 'cancellable'
1784
+ property :source_version, as: 'sourceVersion'
1785
+ collection :stages, as: 'stages', class: Google::Apis::AlloydbV1alpha::StageStatus, decorator: Google::Apis::AlloydbV1alpha::StageStatus::Representation
1786
+
1787
+ property :state, as: 'state'
1788
+ property :target_version, as: 'targetVersion'
1789
+ end
1790
+ end
1791
+
1625
1792
  class User
1626
1793
  # @private
1627
1794
  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.21.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-12 00:00:00.000000000 Z
10
+ date: 2025-03-09 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.21.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1alpha/v0.23.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.2
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: []