google-apis-alloydb_v1beta 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: 8d3310fb543c98d91a0614727218701c7f29406eeabd7b3e8ad9372745fb974c
4
- data.tar.gz: 91c2e412812f5cced2a2b7e888f9704cde4f9363ca4eeb536bca73aaca4c5782
3
+ metadata.gz: 440cc5a3c1838f6dbe0ae52424558fa7b65025c1da37ca95c4f9299a89fc5f48
4
+ data.tar.gz: df84293cac84edf3b20d12bf488759f42edae81103880068afc1d074c148bf20
5
5
  SHA512:
6
- metadata.gz: 1870e416273f84c6b8fce1fd9b3120227782e75fabf2bc11e502f3c8e799f5e83b5a605a69d0489d62b928be648292dabb13afe500a6c267a9b364917f9fde4f
7
- data.tar.gz: 2f241fe3755b2f6f4063733f7f7b20c9ecdc68851218479db752a3a15abc58190cb06702937ef26c5f5435a9c1c5d279379839a72a4fc3b1c85880fe557086b7
6
+ metadata.gz: 53ed4cd3cd4339fb961bf0fe1dd687e63c11b56a4350fe2f3cf5eda7e85ac5dbd9bb5297230f727f7f5582e966c058dde319f251871f3b6ca8352d31b8359115
7
+ data.tar.gz: 9b41e7df0c66a7017acf20fc544e9a9602aa08049af9e68cc200b32f4da736bd6a30e8f1fbe230d293e792d5bdb0d85d79a7a5f3e9ff4135ef117792703194cc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-alloydb_v1beta
2
2
 
3
+ ### v0.23.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250227
6
+
7
+ ### v0.22.0 (2025-03-02)
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
@@ -925,6 +925,56 @@ module Google
925
925
  end
926
926
  end
927
927
 
928
+ # Options for importing data in CSV format.
929
+ class CsvImportOptions
930
+ include Google::Apis::Core::Hashable
931
+
932
+ # Optional. The columns to which CSV data is imported. If not specified, all
933
+ # columns of the database table are loaded with CSV data.
934
+ # Corresponds to the JSON property `columns`
935
+ # @return [Array<String>]
936
+ attr_accessor :columns
937
+
938
+ # Optional. Specifies the character that should appear before a data character
939
+ # that needs to be escaped. The default is same as quote character. The value of
940
+ # this argument has to be a character in Hex ASCII Code.
941
+ # Corresponds to the JSON property `escapeCharacter`
942
+ # @return [String]
943
+ attr_accessor :escape_character
944
+
945
+ # Optional. Specifies the character that separates columns within each row (line)
946
+ # of the file. The default is comma. The value of this argument has to be a
947
+ # character in Hex ASCII Code.
948
+ # Corresponds to the JSON property `fieldDelimiter`
949
+ # @return [String]
950
+ attr_accessor :field_delimiter
951
+
952
+ # Optional. Specifies the quoting character to be used when a data value is
953
+ # quoted. The default is double-quote. The value of this argument has to be a
954
+ # character in Hex ASCII Code.
955
+ # Corresponds to the JSON property `quoteCharacter`
956
+ # @return [String]
957
+ attr_accessor :quote_character
958
+
959
+ # Required. The database table to import CSV file into.
960
+ # Corresponds to the JSON property `table`
961
+ # @return [String]
962
+ attr_accessor :table
963
+
964
+ def initialize(**args)
965
+ update!(**args)
966
+ end
967
+
968
+ # Update properties of this object
969
+ def update!(**args)
970
+ @columns = args[:columns] if args.key?(:columns)
971
+ @escape_character = args[:escape_character] if args.key?(:escape_character)
972
+ @field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
973
+ @quote_character = args[:quote_character] if args.key?(:quote_character)
974
+ @table = args[:table] if args.key?(:table)
975
+ end
976
+ end
977
+
928
978
  # A generic empty message that you can re-use to avoid defining duplicated empty
929
979
  # messages in your APIs. A typical example is to use it as the request or the
930
980
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1065,6 +1115,26 @@ module Google
1065
1115
  end
1066
1116
  end
1067
1117
 
1118
+ # Instance level configuration parameters related to the Gemini Cloud Assist
1119
+ # product.
1120
+ class GcaInstanceConfig
1121
+ include Google::Apis::Core::Hashable
1122
+
1123
+ # Output only. Represents the GCA entitlement state of the instance.
1124
+ # Corresponds to the JSON property `gcaEntitlement`
1125
+ # @return [String]
1126
+ attr_accessor :gca_entitlement
1127
+
1128
+ def initialize(**args)
1129
+ update!(**args)
1130
+ end
1131
+
1132
+ # Update properties of this object
1133
+ def update!(**args)
1134
+ @gca_entitlement = args[:gca_entitlement] if args.key?(:gca_entitlement)
1135
+ end
1136
+ end
1137
+
1068
1138
  # Destination for Export. Export will be done to cloud storage.
1069
1139
  class GcsDestination
1070
1140
  include Google::Apis::Core::Hashable
@@ -1250,6 +1320,55 @@ module Google
1250
1320
  end
1251
1321
  end
1252
1322
 
1323
+ # Import cluster request.
1324
+ class ImportClusterRequest
1325
+ include Google::Apis::Core::Hashable
1326
+
1327
+ # Options for importing data in CSV format.
1328
+ # Corresponds to the JSON property `csvImportOptions`
1329
+ # @return [Google::Apis::AlloydbV1beta::CsvImportOptions]
1330
+ attr_accessor :csv_import_options
1331
+
1332
+ # Optional. Name of the database to which the import will be done. For import
1333
+ # from SQL file, this is required only if the file does not specify a database.
1334
+ # Note - Value provided should be the same as expected from `SELECT
1335
+ # current_database();` and NOT as a resource reference.
1336
+ # Corresponds to the JSON property `database`
1337
+ # @return [String]
1338
+ attr_accessor :database
1339
+
1340
+ # Required. The path to the file in Google Cloud Storage where the source file
1341
+ # for import will be stored. The URI is in the form `gs://bucketName/fileName`.
1342
+ # Corresponds to the JSON property `gcsUri`
1343
+ # @return [String]
1344
+ attr_accessor :gcs_uri
1345
+
1346
+ # Options for importing data in SQL format.
1347
+ # Corresponds to the JSON property `sqlImportOptions`
1348
+ # @return [Google::Apis::AlloydbV1beta::SqlImportOptions]
1349
+ attr_accessor :sql_import_options
1350
+
1351
+ # Optional. Database user to be used for importing the data. Note - Value
1352
+ # provided should be the same as expected from `SELECT current_user;` and NOT as
1353
+ # a resource reference.
1354
+ # Corresponds to the JSON property `user`
1355
+ # @return [String]
1356
+ attr_accessor :user
1357
+
1358
+ def initialize(**args)
1359
+ update!(**args)
1360
+ end
1361
+
1362
+ # Update properties of this object
1363
+ def update!(**args)
1364
+ @csv_import_options = args[:csv_import_options] if args.key?(:csv_import_options)
1365
+ @database = args[:database] if args.key?(:database)
1366
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
1367
+ @sql_import_options = args[:sql_import_options] if args.key?(:sql_import_options)
1368
+ @user = args[:user] if args.key?(:user)
1369
+ end
1370
+ end
1371
+
1253
1372
  # Message for triggering fault injection on an instance
1254
1373
  class InjectFaultRequest
1255
1374
  include Google::Apis::Core::Hashable
@@ -1353,6 +1472,12 @@ module Google
1353
1472
  # @return [String]
1354
1473
  attr_accessor :etag
1355
1474
 
1475
+ # Instance level configuration parameters related to the Gemini Cloud Assist
1476
+ # product.
1477
+ # Corresponds to the JSON property `gcaConfig`
1478
+ # @return [Google::Apis::AlloydbV1beta::GcaInstanceConfig]
1479
+ attr_accessor :gca_config
1480
+
1356
1481
  # The Compute Engine zone that the instance should serve from, per https://cloud.
1357
1482
  # google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL
1358
1483
  # instances. If present for a REGIONAL instance, an error will be thrown. If
@@ -1482,7 +1607,7 @@ module Google
1482
1607
  attr_accessor :update_time
1483
1608
 
1484
1609
  # Details of a single node in the instance. Nodes in an AlloyDB instance are
1485
- # ephemereal, they can change during update, failover, autohealing and resize
1610
+ # ephemeral, they can change during update, failover, autohealing and resize
1486
1611
  # operations.
1487
1612
  # Corresponds to the JSON property `writableNode`
1488
1613
  # @return [Google::Apis::AlloydbV1beta::Node]
@@ -1502,6 +1627,7 @@ module Google
1502
1627
  @delete_time = args[:delete_time] if args.key?(:delete_time)
1503
1628
  @display_name = args[:display_name] if args.key?(:display_name)
1504
1629
  @etag = args[:etag] if args.key?(:etag)
1630
+ @gca_config = args[:gca_config] if args.key?(:gca_config)
1505
1631
  @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
1506
1632
  @gemini_config = args[:gemini_config] if args.key?(:gemini_config)
1507
1633
  @instance_type = args[:instance_type] if args.key?(:instance_type)
@@ -1947,7 +2073,7 @@ module Google
1947
2073
  end
1948
2074
 
1949
2075
  # Details of a single node in the instance. Nodes in an AlloyDB instance are
1950
- # ephemereal, they can change during update, failover, autohealing and resize
2076
+ # ephemeral, they can change during update, failover, autohealing and resize
1951
2077
  # operations.
1952
2078
  class Node
1953
2079
  include Google::Apis::Core::Hashable
@@ -2031,16 +2157,10 @@ module Google
2031
2157
  attr_accessor :track_active_queries
2032
2158
  alias_method :track_active_queries?, :track_active_queries
2033
2159
 
2034
- # Track client address for an instance. If not set, default value is "off".
2035
- # Corresponds to the JSON property `trackClientAddress`
2036
- # @return [Boolean]
2037
- attr_accessor :track_client_address
2038
- alias_method :track_client_address?, :track_client_address
2039
-
2040
2160
  # Output only. Track wait event types during query execution for an instance.
2041
2161
  # This flag is turned "on" by default but tracking is enabled only after
2042
2162
  # observability enabled flag is also turned on. This is read-only flag and only
2043
- # modifiable by producer API.
2163
+ # modifiable by internal API.
2044
2164
  # Corresponds to the JSON property `trackWaitEventTypes`
2045
2165
  # @return [Boolean]
2046
2166
  attr_accessor :track_wait_event_types
@@ -2066,7 +2186,6 @@ module Google
2066
2186
  @query_plans_per_minute = args[:query_plans_per_minute] if args.key?(:query_plans_per_minute)
2067
2187
  @record_application_tags = args[:record_application_tags] if args.key?(:record_application_tags)
2068
2188
  @track_active_queries = args[:track_active_queries] if args.key?(:track_active_queries)
2069
- @track_client_address = args[:track_client_address] if args.key?(:track_client_address)
2070
2189
  @track_wait_event_types = args[:track_wait_event_types] if args.key?(:track_wait_event_types)
2071
2190
  @track_wait_events = args[:track_wait_events] if args.key?(:track_wait_events)
2072
2191
  end
@@ -2172,6 +2291,11 @@ module Google
2172
2291
  # @return [String]
2173
2292
  attr_accessor :target
2174
2293
 
2294
+ # Message for current status of the Major Version Upgrade operation.
2295
+ # Corresponds to the JSON property `upgradeClusterStatus`
2296
+ # @return [Google::Apis::AlloydbV1beta::UpgradeClusterStatus]
2297
+ attr_accessor :upgrade_cluster_status
2298
+
2175
2299
  # Output only. Name of the verb executed by the operation.
2176
2300
  # Corresponds to the JSON property `verb`
2177
2301
  # @return [String]
@@ -2189,6 +2313,7 @@ module Google
2189
2313
  @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
2190
2314
  @status_message = args[:status_message] if args.key?(:status_message)
2191
2315
  @target = args[:target] if args.key?(:target)
2316
+ @upgrade_cluster_status = args[:upgrade_cluster_status] if args.key?(:upgrade_cluster_status)
2192
2317
  @verb = args[:verb] if args.key?(:verb)
2193
2318
  end
2194
2319
  end
@@ -2259,6 +2384,53 @@ module Google
2259
2384
  end
2260
2385
  end
2261
2386
 
2387
+ # Configuration for setting up PSC service automation. Consumer projects in the
2388
+ # configs will be allowlisted automatically for the instance.
2389
+ class PscAutoConnectionConfig
2390
+ include Google::Apis::Core::Hashable
2391
+
2392
+ # The consumer network for the PSC service automation, example: "projects/vpc-
2393
+ # host-project/global/networks/default". The consumer network might be hosted a
2394
+ # different project than the consumer project.
2395
+ # Corresponds to the JSON property `consumerNetwork`
2396
+ # @return [String]
2397
+ attr_accessor :consumer_network
2398
+
2399
+ # Output only. The status of the service connection policy.
2400
+ # Corresponds to the JSON property `consumerNetworkStatus`
2401
+ # @return [String]
2402
+ attr_accessor :consumer_network_status
2403
+
2404
+ # The consumer project to which the PSC service automation endpoint will be
2405
+ # created.
2406
+ # Corresponds to the JSON property `consumerProject`
2407
+ # @return [String]
2408
+ attr_accessor :consumer_project
2409
+
2410
+ # Output only. The IP address of the PSC service automation endpoint.
2411
+ # Corresponds to the JSON property `ipAddress`
2412
+ # @return [String]
2413
+ attr_accessor :ip_address
2414
+
2415
+ # Output only. The status of the PSC service automation connection.
2416
+ # Corresponds to the JSON property `status`
2417
+ # @return [String]
2418
+ attr_accessor :status
2419
+
2420
+ def initialize(**args)
2421
+ update!(**args)
2422
+ end
2423
+
2424
+ # Update properties of this object
2425
+ def update!(**args)
2426
+ @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
2427
+ @consumer_network_status = args[:consumer_network_status] if args.key?(:consumer_network_status)
2428
+ @consumer_project = args[:consumer_project] if args.key?(:consumer_project)
2429
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
2430
+ @status = args[:status] if args.key?(:status)
2431
+ end
2432
+ end
2433
+
2262
2434
  # PscConfig contains PSC related configuration at a cluster level.
2263
2435
  class PscConfig
2264
2436
  include Google::Apis::Core::Hashable
@@ -2270,6 +2442,12 @@ module Google
2270
2442
  attr_accessor :psc_enabled
2271
2443
  alias_method :psc_enabled?, :psc_enabled
2272
2444
 
2445
+ # Output only. The project number that needs to be allowlisted on the network
2446
+ # attachment to enable outbound connectivity.
2447
+ # Corresponds to the JSON property `serviceOwnedProjectNumber`
2448
+ # @return [Fixnum]
2449
+ attr_accessor :service_owned_project_number
2450
+
2273
2451
  def initialize(**args)
2274
2452
  update!(**args)
2275
2453
  end
@@ -2277,6 +2455,7 @@ module Google
2277
2455
  # Update properties of this object
2278
2456
  def update!(**args)
2279
2457
  @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
2458
+ @service_owned_project_number = args[:service_owned_project_number] if args.key?(:service_owned_project_number)
2280
2459
  end
2281
2460
  end
2282
2461
 
@@ -2290,12 +2469,24 @@ module Google
2290
2469
  # @return [Array<String>]
2291
2470
  attr_accessor :allowed_consumer_projects
2292
2471
 
2472
+ # Optional. Configurations for setting up PSC service automation.
2473
+ # Corresponds to the JSON property `pscAutoConnections`
2474
+ # @return [Array<Google::Apis::AlloydbV1beta::PscAutoConnectionConfig>]
2475
+ attr_accessor :psc_auto_connections
2476
+
2293
2477
  # Output only. The DNS name of the instance for PSC connectivity. Name
2294
2478
  # convention: ...alloydb-psc.goog
2295
2479
  # Corresponds to the JSON property `pscDnsName`
2296
2480
  # @return [String]
2297
2481
  attr_accessor :psc_dns_name
2298
2482
 
2483
+ # Optional. Configurations for setting up PSC interfaces attached to the
2484
+ # instance which are used for outbound connectivity. Only primary instances can
2485
+ # have PSC interface attached. Currently we only support 0 or 1 PSC interface.
2486
+ # Corresponds to the JSON property `pscInterfaceConfigs`
2487
+ # @return [Array<Google::Apis::AlloydbV1beta::PscInterfaceConfig>]
2488
+ attr_accessor :psc_interface_configs
2489
+
2299
2490
  # Output only. The service attachment created when Private Service Connect (PSC)
2300
2491
  # is enabled for the instance. The name of the resource will be in the format of
2301
2492
  # `projects//regions//serviceAttachments/`
@@ -2310,11 +2501,36 @@ module Google
2310
2501
  # Update properties of this object
2311
2502
  def update!(**args)
2312
2503
  @allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
2504
+ @psc_auto_connections = args[:psc_auto_connections] if args.key?(:psc_auto_connections)
2313
2505
  @psc_dns_name = args[:psc_dns_name] if args.key?(:psc_dns_name)
2506
+ @psc_interface_configs = args[:psc_interface_configs] if args.key?(:psc_interface_configs)
2314
2507
  @service_attachment_link = args[:service_attachment_link] if args.key?(:service_attachment_link)
2315
2508
  end
2316
2509
  end
2317
2510
 
2511
+ # Configuration for setting up a PSC interface to enable outbound connectivity.
2512
+ class PscInterfaceConfig
2513
+ include Google::Apis::Core::Hashable
2514
+
2515
+ # The network attachment resource created in the consumer network to which the
2516
+ # PSC interface will be linked. This is of the format: "projects/$`
2517
+ # CONSUMER_PROJECT`/regions/$`REGION`/networkAttachments/$`
2518
+ # NETWORK_ATTACHMENT_NAME`". The network attachment must be in the same region
2519
+ # as the instance.
2520
+ # Corresponds to the JSON property `networkAttachmentResource`
2521
+ # @return [String]
2522
+ attr_accessor :network_attachment_resource
2523
+
2524
+ def initialize(**args)
2525
+ update!(**args)
2526
+ end
2527
+
2528
+ # Update properties of this object
2529
+ def update!(**args)
2530
+ @network_attachment_resource = args[:network_attachment_resource] if args.key?(:network_attachment_resource)
2531
+ end
2532
+ end
2533
+
2318
2534
  # A backup's position in a quantity-based retention queue, of backups with the
2319
2535
  # same source cluster and type, with length, retention, specified by the backup'
2320
2536
  # s retention policy. Once the position is greater than the retention, the
@@ -2431,6 +2647,25 @@ module Google
2431
2647
  end
2432
2648
  end
2433
2649
 
2650
+ # Read pool instances upgrade specific status.
2651
+ class ReadPoolInstancesUpgradeStageStatus
2652
+ include Google::Apis::Core::Hashable
2653
+
2654
+ # Upgrade stats for read pool instances.
2655
+ # Corresponds to the JSON property `upgradeStats`
2656
+ # @return [Google::Apis::AlloydbV1beta::Stats]
2657
+ attr_accessor :upgrade_stats
2658
+
2659
+ def initialize(**args)
2660
+ update!(**args)
2661
+ end
2662
+
2663
+ # Update properties of this object
2664
+ def update!(**args)
2665
+ @upgrade_stats = args[:upgrade_stats] if args.key?(:upgrade_stats)
2666
+ end
2667
+ end
2668
+
2434
2669
  #
2435
2670
  class RestartInstanceRequest
2436
2671
  include Google::Apis::Core::Hashable
@@ -2635,6 +2870,19 @@ module Google
2635
2870
  end
2636
2871
  end
2637
2872
 
2873
+ # Options for importing data in SQL format.
2874
+ class SqlImportOptions
2875
+ include Google::Apis::Core::Hashable
2876
+
2877
+ def initialize(**args)
2878
+ update!(**args)
2879
+ end
2880
+
2881
+ # Update properties of this object
2882
+ def update!(**args)
2883
+ end
2884
+ end
2885
+
2638
2886
  # SSL configuration.
2639
2887
  class SslConfig
2640
2888
  include Google::Apis::Core::Hashable
@@ -2694,6 +2942,74 @@ module Google
2694
2942
  end
2695
2943
  end
2696
2944
 
2945
+ # Status of an upgrade stage.
2946
+ class StageStatus
2947
+ include Google::Apis::Core::Hashable
2948
+
2949
+ # Read pool instances upgrade specific status.
2950
+ # Corresponds to the JSON property `readPoolInstancesUpgrade`
2951
+ # @return [Google::Apis::AlloydbV1beta::ReadPoolInstancesUpgradeStageStatus]
2952
+ attr_accessor :read_pool_instances_upgrade
2953
+
2954
+ # Upgrade stage.
2955
+ # Corresponds to the JSON property `stage`
2956
+ # @return [String]
2957
+ attr_accessor :stage
2958
+
2959
+ # State of this stage.
2960
+ # Corresponds to the JSON property `state`
2961
+ # @return [String]
2962
+ attr_accessor :state
2963
+
2964
+ def initialize(**args)
2965
+ update!(**args)
2966
+ end
2967
+
2968
+ # Update properties of this object
2969
+ def update!(**args)
2970
+ @read_pool_instances_upgrade = args[:read_pool_instances_upgrade] if args.key?(:read_pool_instances_upgrade)
2971
+ @stage = args[:stage] if args.key?(:stage)
2972
+ @state = args[:state] if args.key?(:state)
2973
+ end
2974
+ end
2975
+
2976
+ # Upgrade stats for read pool instances.
2977
+ class Stats
2978
+ include Google::Apis::Core::Hashable
2979
+
2980
+ # Number of read pool instances which failed to upgrade.
2981
+ # Corresponds to the JSON property `failed`
2982
+ # @return [Fixnum]
2983
+ attr_accessor :failed
2984
+
2985
+ # Number of read pool instances for which upgrade has not started.
2986
+ # Corresponds to the JSON property `notStarted`
2987
+ # @return [Fixnum]
2988
+ attr_accessor :not_started
2989
+
2990
+ # Number of read pool instances undergoing upgrade.
2991
+ # Corresponds to the JSON property `ongoing`
2992
+ # @return [Fixnum]
2993
+ attr_accessor :ongoing
2994
+
2995
+ # Number of read pool instances successfully upgraded.
2996
+ # Corresponds to the JSON property `success`
2997
+ # @return [Fixnum]
2998
+ attr_accessor :success
2999
+
3000
+ def initialize(**args)
3001
+ update!(**args)
3002
+ end
3003
+
3004
+ # Update properties of this object
3005
+ def update!(**args)
3006
+ @failed = args[:failed] if args.key?(:failed)
3007
+ @not_started = args[:not_started] if args.key?(:not_started)
3008
+ @ongoing = args[:ongoing] if args.key?(:ongoing)
3009
+ @success = args[:success] if args.key?(:success)
3010
+ end
3011
+ end
3012
+
2697
3013
  # The `Status` type defines a logical error model that is suitable for different
2698
3014
  # programming environments, including REST APIs and RPC APIs. It is used by [
2699
3015
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -2941,7 +3257,7 @@ module Google
2941
3257
  # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
2942
3258
  attr_accessor :resource_id
2943
3259
 
2944
- # Common model for database resource instance metadata. Next ID: 23
3260
+ # Common model for database resource instance metadata. Next ID: 25
2945
3261
  # Corresponds to the JSON property `resourceMetadata`
2946
3262
  # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
2947
3263
  attr_accessor :resource_metadata
@@ -3116,7 +3432,7 @@ module Google
3116
3432
  end
3117
3433
  end
3118
3434
 
3119
- # Common model for database resource instance metadata. Next ID: 23
3435
+ # Common model for database resource instance metadata. Next ID: 25
3120
3436
  class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
3121
3437
  include Google::Apis::Core::Hashable
3122
3438
 
@@ -3172,6 +3488,11 @@ module Google
3172
3488
  # @return [String]
3173
3489
  attr_accessor :expected_state
3174
3490
 
3491
+ # GCBDR Configuration for the resource.
3492
+ # Corresponds to the JSON property `gcbdrConfiguration`
3493
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration]
3494
+ attr_accessor :gcbdr_configuration
3495
+
3175
3496
  # DatabaseResourceId will serve as primary key for any resource ingestion event.
3176
3497
  # Corresponds to the JSON property `id`
3177
3498
  # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
@@ -3225,6 +3546,11 @@ module Google
3225
3546
  # @return [String]
3226
3547
  attr_accessor :resource_name
3227
3548
 
3549
+ # Optional. Suspension reason for the resource.
3550
+ # Corresponds to the JSON property `suspensionReason`
3551
+ # @return [String]
3552
+ attr_accessor :suspension_reason
3553
+
3228
3554
  # Message type for storing tags. Tags provide a way to create annotations for
3229
3555
  # resources, and in some cases conditionally allow or deny policies based on
3230
3556
  # whether a resource has a specific tag.
@@ -3259,6 +3585,7 @@ module Google
3259
3585
  @edition = args[:edition] if args.key?(:edition)
3260
3586
  @entitlements = args[:entitlements] if args.key?(:entitlements)
3261
3587
  @expected_state = args[:expected_state] if args.key?(:expected_state)
3588
+ @gcbdr_configuration = args[:gcbdr_configuration] if args.key?(:gcbdr_configuration)
3262
3589
  @id = args[:id] if args.key?(:id)
3263
3590
  @instance_type = args[:instance_type] if args.key?(:instance_type)
3264
3591
  @location = args[:location] if args.key?(:location)
@@ -3268,6 +3595,7 @@ module Google
3268
3595
  @product = args[:product] if args.key?(:product)
3269
3596
  @resource_container = args[:resource_container] if args.key?(:resource_container)
3270
3597
  @resource_name = args[:resource_name] if args.key?(:resource_name)
3598
+ @suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
3271
3599
  @tags_set = args[:tags_set] if args.key?(:tags_set)
3272
3600
  @updation_time = args[:updation_time] if args.key?(:updation_time)
3273
3601
  @user_label_set = args[:user_label_set] if args.key?(:user_label_set)
@@ -3373,6 +3701,26 @@ module Google
3373
3701
  end
3374
3702
  end
3375
3703
 
3704
+ # GCBDR Configuration for the resource.
3705
+ class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
3706
+ include Google::Apis::Core::Hashable
3707
+
3708
+ # Whether the resource is managed by GCBDR.
3709
+ # Corresponds to the JSON property `gcbdrManaged`
3710
+ # @return [Boolean]
3711
+ attr_accessor :gcbdr_managed
3712
+ alias_method :gcbdr_managed?, :gcbdr_managed
3713
+
3714
+ def initialize(**args)
3715
+ update!(**args)
3716
+ end
3717
+
3718
+ # Update properties of this object
3719
+ def update!(**args)
3720
+ @gcbdr_managed = args[:gcbdr_managed] if args.key?(:gcbdr_managed)
3721
+ end
3722
+ end
3723
+
3376
3724
  # Metadata for individual internal resources in an instance. e.g. spanner
3377
3725
  # instance can have multiple databases with unique configuration settings.
3378
3726
  # Similarly bigtable can have multiple clusters within same bigtable instance.
@@ -3389,6 +3737,12 @@ module Google
3389
3737
  # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupRun]
3390
3738
  attr_accessor :backup_run
3391
3739
 
3740
+ # Whether deletion protection is enabled for this internal resource.
3741
+ # Corresponds to the JSON property `isDeletionProtectionEnabled`
3742
+ # @return [Boolean]
3743
+ attr_accessor :is_deletion_protection_enabled
3744
+ alias_method :is_deletion_protection_enabled?, :is_deletion_protection_enabled
3745
+
3392
3746
  # Product specification for Condor resources.
3393
3747
  # Corresponds to the JSON property `product`
3394
3748
  # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonProduct]
@@ -3413,6 +3767,7 @@ module Google
3413
3767
  def update!(**args)
3414
3768
  @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
3415
3769
  @backup_run = args[:backup_run] if args.key?(:backup_run)
3770
+ @is_deletion_protection_enabled = args[:is_deletion_protection_enabled] if args.key?(:is_deletion_protection_enabled)
3416
3771
  @product = args[:product] if args.key?(:product)
3417
3772
  @resource_id = args[:resource_id] if args.key?(:resource_id)
3418
3773
  @resource_name = args[:resource_name] if args.key?(:resource_name)
@@ -3424,14 +3779,14 @@ module Google
3424
3779
  class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
3425
3780
  include Google::Apis::Core::Hashable
3426
3781
 
3427
- # The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/
3428
- # 342346271) add proto validations again after bug fix.
3782
+ # The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add
3783
+ # proto validations again after bug fix.
3429
3784
  # Corresponds to the JSON property `cpuCount`
3430
3785
  # @return [Fixnum]
3431
3786
  attr_accessor :cpu_count
3432
3787
 
3433
- # Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations
3434
- # again after bug fix.
3788
+ # Memory size in bytes. TODO(b/342344482) add proto validations again after bug
3789
+ # fix.
3435
3790
  # Corresponds to the JSON property `memorySizeInBytes`
3436
3791
  # @return [Fixnum]
3437
3792
  attr_accessor :memory_size_in_bytes
@@ -3441,8 +3796,8 @@ module Google
3441
3796
  # @return [Fixnum]
3442
3797
  attr_accessor :shard_count
3443
3798
 
3444
- # Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto
3445
- # validations again after bug fix.
3799
+ # Optional. The number of vCPUs. TODO(b/342344482) add proto validations again
3800
+ # after bug fix.
3446
3801
  # Corresponds to the JSON property `vcpuCount`
3447
3802
  # @return [Float]
3448
3803
  attr_accessor :vcpu_count
@@ -3744,6 +4099,16 @@ module Google
3744
4099
  # @return [String]
3745
4100
  attr_accessor :name
3746
4101
 
4102
+ # The recommended value for an INTEGER flag.
4103
+ # Corresponds to the JSON property `recommendedIntegerValue`
4104
+ # @return [Fixnum]
4105
+ attr_accessor :recommended_integer_value
4106
+
4107
+ # The recommended value for a STRING flag.
4108
+ # Corresponds to the JSON property `recommendedStringValue`
4109
+ # @return [String]
4110
+ attr_accessor :recommended_string_value
4111
+
3747
4112
  # Whether setting or updating this flag on an Instance requires a database
3748
4113
  # restart. If a flag that requires database restart is set, the backend will
3749
4114
  # automatically restart the database (making sure to satisfy any availability
@@ -3753,6 +4118,11 @@ module Google
3753
4118
  attr_accessor :requires_db_restart
3754
4119
  alias_method :requires_db_restart?, :requires_db_restart
3755
4120
 
4121
+ # The scope of the flag.
4122
+ # Corresponds to the JSON property `scope`
4123
+ # @return [String]
4124
+ attr_accessor :scope
4125
+
3756
4126
  # Restrictions on STRING type values
3757
4127
  # Corresponds to the JSON property `stringRestrictions`
3758
4128
  # @return [Google::Apis::AlloydbV1beta::StringRestrictions]
@@ -3778,7 +4148,10 @@ module Google
3778
4148
  @flag_name = args[:flag_name] if args.key?(:flag_name)
3779
4149
  @integer_restrictions = args[:integer_restrictions] if args.key?(:integer_restrictions)
3780
4150
  @name = args[:name] if args.key?(:name)
4151
+ @recommended_integer_value = args[:recommended_integer_value] if args.key?(:recommended_integer_value)
4152
+ @recommended_string_value = args[:recommended_string_value] if args.key?(:recommended_string_value)
3781
4153
  @requires_db_restart = args[:requires_db_restart] if args.key?(:requires_db_restart)
4154
+ @scope = args[:scope] if args.key?(:scope)
3782
4155
  @string_restrictions = args[:string_restrictions] if args.key?(:string_restrictions)
3783
4156
  @supported_db_versions = args[:supported_db_versions] if args.key?(:supported_db_versions)
3784
4157
  @value_type = args[:value_type] if args.key?(:value_type)
@@ -3982,6 +4355,50 @@ module Google
3982
4355
  end
3983
4356
  end
3984
4357
 
4358
+ # Message for current status of the Major Version Upgrade operation.
4359
+ class UpgradeClusterStatus
4360
+ include Google::Apis::Core::Hashable
4361
+
4362
+ # Whether the operation is cancellable.
4363
+ # Corresponds to the JSON property `cancellable`
4364
+ # @return [Boolean]
4365
+ attr_accessor :cancellable
4366
+ alias_method :cancellable?, :cancellable
4367
+
4368
+ # Source database major version.
4369
+ # Corresponds to the JSON property `sourceVersion`
4370
+ # @return [String]
4371
+ attr_accessor :source_version
4372
+
4373
+ # Status of all upgrade stages.
4374
+ # Corresponds to the JSON property `stages`
4375
+ # @return [Array<Google::Apis::AlloydbV1beta::StageStatus>]
4376
+ attr_accessor :stages
4377
+
4378
+ # Cluster Major Version Upgrade state.
4379
+ # Corresponds to the JSON property `state`
4380
+ # @return [String]
4381
+ attr_accessor :state
4382
+
4383
+ # Target database major version.
4384
+ # Corresponds to the JSON property `targetVersion`
4385
+ # @return [String]
4386
+ attr_accessor :target_version
4387
+
4388
+ def initialize(**args)
4389
+ update!(**args)
4390
+ end
4391
+
4392
+ # Update properties of this object
4393
+ def update!(**args)
4394
+ @cancellable = args[:cancellable] if args.key?(:cancellable)
4395
+ @source_version = args[:source_version] if args.key?(:source_version)
4396
+ @stages = args[:stages] if args.key?(:stages)
4397
+ @state = args[:state] if args.key?(:state)
4398
+ @target_version = args[:target_version] if args.key?(:target_version)
4399
+ end
4400
+ end
4401
+
3985
4402
  # Message describing User object.
3986
4403
  class User
3987
4404
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AlloydbV1beta
18
18
  # Version of the google-apis-alloydb_v1beta gem
19
- GEM_VERSION = "0.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
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class CsvImportOptions
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class Empty
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -136,6 +142,12 @@ module Google
136
142
  include Google::Apis::Core::JsonObjectSupport
137
143
  end
138
144
 
145
+ class GcaInstanceConfig
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
139
151
  class GcsDestination
140
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
153
 
@@ -172,6 +184,12 @@ module Google
172
184
  include Google::Apis::Core::JsonObjectSupport
173
185
  end
174
186
 
187
+ class ImportClusterRequest
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
175
193
  class InjectFaultRequest
176
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
195
 
@@ -310,6 +328,12 @@ module Google
310
328
  include Google::Apis::Core::JsonObjectSupport
311
329
  end
312
330
 
331
+ class PscAutoConnectionConfig
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
313
337
  class PscConfig
314
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
339
 
@@ -322,6 +346,12 @@ module Google
322
346
  include Google::Apis::Core::JsonObjectSupport
323
347
  end
324
348
 
349
+ class PscInterfaceConfig
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
325
355
  class QuantityBasedExpiry
326
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
357
 
@@ -346,6 +376,12 @@ module Google
346
376
  include Google::Apis::Core::JsonObjectSupport
347
377
  end
348
378
 
379
+ class ReadPoolInstancesUpgradeStageStatus
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
349
385
  class RestartInstanceRequest
350
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
387
 
@@ -376,6 +412,12 @@ module Google
376
412
  include Google::Apis::Core::JsonObjectSupport
377
413
  end
378
414
 
415
+ class SqlImportOptions
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
379
421
  class SslConfig
380
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
423
 
@@ -388,6 +430,18 @@ module Google
388
430
  include Google::Apis::Core::JsonObjectSupport
389
431
  end
390
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
+
391
445
  class Status
392
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
447
 
@@ -460,6 +514,12 @@ module Google
460
514
  include Google::Apis::Core::JsonObjectSupport
461
515
  end
462
516
 
517
+ class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
463
523
  class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
464
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
525
 
@@ -562,6 +622,12 @@ module Google
562
622
  include Google::Apis::Core::JsonObjectSupport
563
623
  end
564
624
 
625
+ class UpgradeClusterStatus
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
565
631
  class User
566
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
633
 
@@ -795,6 +861,17 @@ module Google
795
861
  end
796
862
  end
797
863
 
864
+ class CsvImportOptions
865
+ # @private
866
+ class Representation < Google::Apis::Core::JsonRepresentation
867
+ collection :columns, as: 'columns'
868
+ property :escape_character, as: 'escapeCharacter'
869
+ property :field_delimiter, as: 'fieldDelimiter'
870
+ property :quote_character, as: 'quoteCharacter'
871
+ property :table, as: 'table'
872
+ end
873
+ end
874
+
798
875
  class Empty
799
876
  # @private
800
877
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -837,6 +914,13 @@ module Google
837
914
  end
838
915
  end
839
916
 
917
+ class GcaInstanceConfig
918
+ # @private
919
+ class Representation < Google::Apis::Core::JsonRepresentation
920
+ property :gca_entitlement, as: 'gcaEntitlement'
921
+ end
922
+ end
923
+
840
924
  class GcsDestination
841
925
  # @private
842
926
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -888,6 +972,19 @@ module Google
888
972
  end
889
973
  end
890
974
 
975
+ class ImportClusterRequest
976
+ # @private
977
+ class Representation < Google::Apis::Core::JsonRepresentation
978
+ property :csv_import_options, as: 'csvImportOptions', class: Google::Apis::AlloydbV1beta::CsvImportOptions, decorator: Google::Apis::AlloydbV1beta::CsvImportOptions::Representation
979
+
980
+ property :database, as: 'database'
981
+ property :gcs_uri, as: 'gcsUri'
982
+ property :sql_import_options, as: 'sqlImportOptions', class: Google::Apis::AlloydbV1beta::SqlImportOptions, decorator: Google::Apis::AlloydbV1beta::SqlImportOptions::Representation
983
+
984
+ property :user, as: 'user'
985
+ end
986
+ end
987
+
891
988
  class InjectFaultRequest
892
989
  # @private
893
990
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -909,6 +1006,8 @@ module Google
909
1006
  property :delete_time, as: 'deleteTime'
910
1007
  property :display_name, as: 'displayName'
911
1008
  property :etag, as: 'etag'
1009
+ property :gca_config, as: 'gcaConfig', class: Google::Apis::AlloydbV1beta::GcaInstanceConfig, decorator: Google::Apis::AlloydbV1beta::GcaInstanceConfig::Representation
1010
+
912
1011
  property :gce_zone, as: 'gceZone'
913
1012
  property :gemini_config, as: 'geminiConfig', class: Google::Apis::AlloydbV1beta::GeminiInstanceConfig, decorator: Google::Apis::AlloydbV1beta::GeminiInstanceConfig::Representation
914
1013
 
@@ -1096,7 +1195,6 @@ module Google
1096
1195
  property :query_plans_per_minute, as: 'queryPlansPerMinute'
1097
1196
  property :record_application_tags, as: 'recordApplicationTags'
1098
1197
  property :track_active_queries, as: 'trackActiveQueries'
1099
- property :track_client_address, as: 'trackClientAddress'
1100
1198
  property :track_wait_event_types, as: 'trackWaitEventTypes'
1101
1199
  property :track_wait_events, as: 'trackWaitEvents'
1102
1200
  end
@@ -1123,6 +1221,8 @@ module Google
1123
1221
  property :requested_cancellation, as: 'requestedCancellation'
1124
1222
  property :status_message, as: 'statusMessage'
1125
1223
  property :target, as: 'target'
1224
+ property :upgrade_cluster_status, as: 'upgradeClusterStatus', class: Google::Apis::AlloydbV1beta::UpgradeClusterStatus, decorator: Google::Apis::AlloydbV1beta::UpgradeClusterStatus::Representation
1225
+
1126
1226
  property :verb, as: 'verb'
1127
1227
  end
1128
1228
  end
@@ -1143,10 +1243,22 @@ module Google
1143
1243
  end
1144
1244
  end
1145
1245
 
1246
+ class PscAutoConnectionConfig
1247
+ # @private
1248
+ class Representation < Google::Apis::Core::JsonRepresentation
1249
+ property :consumer_network, as: 'consumerNetwork'
1250
+ property :consumer_network_status, as: 'consumerNetworkStatus'
1251
+ property :consumer_project, as: 'consumerProject'
1252
+ property :ip_address, as: 'ipAddress'
1253
+ property :status, as: 'status'
1254
+ end
1255
+ end
1256
+
1146
1257
  class PscConfig
1147
1258
  # @private
1148
1259
  class Representation < Google::Apis::Core::JsonRepresentation
1149
1260
  property :psc_enabled, as: 'pscEnabled'
1261
+ property :service_owned_project_number, :numeric_string => true, as: 'serviceOwnedProjectNumber'
1150
1262
  end
1151
1263
  end
1152
1264
 
@@ -1154,11 +1266,22 @@ module Google
1154
1266
  # @private
1155
1267
  class Representation < Google::Apis::Core::JsonRepresentation
1156
1268
  collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
1269
+ collection :psc_auto_connections, as: 'pscAutoConnections', class: Google::Apis::AlloydbV1beta::PscAutoConnectionConfig, decorator: Google::Apis::AlloydbV1beta::PscAutoConnectionConfig::Representation
1270
+
1157
1271
  property :psc_dns_name, as: 'pscDnsName'
1272
+ collection :psc_interface_configs, as: 'pscInterfaceConfigs', class: Google::Apis::AlloydbV1beta::PscInterfaceConfig, decorator: Google::Apis::AlloydbV1beta::PscInterfaceConfig::Representation
1273
+
1158
1274
  property :service_attachment_link, as: 'serviceAttachmentLink'
1159
1275
  end
1160
1276
  end
1161
1277
 
1278
+ class PscInterfaceConfig
1279
+ # @private
1280
+ class Representation < Google::Apis::Core::JsonRepresentation
1281
+ property :network_attachment_resource, as: 'networkAttachmentResource'
1282
+ end
1283
+ end
1284
+
1162
1285
  class QuantityBasedExpiry
1163
1286
  # @private
1164
1287
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1191,6 +1314,14 @@ module Google
1191
1314
  end
1192
1315
  end
1193
1316
 
1317
+ class ReadPoolInstancesUpgradeStageStatus
1318
+ # @private
1319
+ class Representation < Google::Apis::Core::JsonRepresentation
1320
+ property :upgrade_stats, as: 'upgradeStats', class: Google::Apis::AlloydbV1beta::Stats, decorator: Google::Apis::AlloydbV1beta::Stats::Representation
1321
+
1322
+ end
1323
+ end
1324
+
1194
1325
  class RestartInstanceRequest
1195
1326
  # @private
1196
1327
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1243,6 +1374,12 @@ module Google
1243
1374
  end
1244
1375
  end
1245
1376
 
1377
+ class SqlImportOptions
1378
+ # @private
1379
+ class Representation < Google::Apis::Core::JsonRepresentation
1380
+ end
1381
+ end
1382
+
1246
1383
  class SslConfig
1247
1384
  # @private
1248
1385
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1260,6 +1397,26 @@ module Google
1260
1397
  end
1261
1398
  end
1262
1399
 
1400
+ class StageStatus
1401
+ # @private
1402
+ class Representation < Google::Apis::Core::JsonRepresentation
1403
+ property :read_pool_instances_upgrade, as: 'readPoolInstancesUpgrade', class: Google::Apis::AlloydbV1beta::ReadPoolInstancesUpgradeStageStatus, decorator: Google::Apis::AlloydbV1beta::ReadPoolInstancesUpgradeStageStatus::Representation
1404
+
1405
+ property :stage, as: 'stage'
1406
+ property :state, as: 'state'
1407
+ end
1408
+ end
1409
+
1410
+ class Stats
1411
+ # @private
1412
+ class Representation < Google::Apis::Core::JsonRepresentation
1413
+ property :failed, as: 'failed'
1414
+ property :not_started, as: 'notStarted'
1415
+ property :ongoing, as: 'ongoing'
1416
+ property :success, as: 'success'
1417
+ end
1418
+ end
1419
+
1263
1420
  class Status
1264
1421
  # @private
1265
1422
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1383,6 +1540,8 @@ module Google
1383
1540
  collection :entitlements, as: 'entitlements', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainEntitlement, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainEntitlement::Representation
1384
1541
 
1385
1542
  property :expected_state, as: 'expectedState'
1543
+ property :gcbdr_configuration, as: 'gcbdrConfiguration', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration::Representation
1544
+
1386
1545
  property :id, as: 'id', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1387
1546
 
1388
1547
  property :instance_type, as: 'instanceType'
@@ -1396,6 +1555,7 @@ module Google
1396
1555
 
1397
1556
  property :resource_container, as: 'resourceContainer'
1398
1557
  property :resource_name, as: 'resourceName'
1558
+ property :suspension_reason, as: 'suspensionReason'
1399
1559
  property :tags_set, as: 'tagsSet', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainTags, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainTags::Representation
1400
1560
 
1401
1561
  property :updation_time, as: 'updationTime'
@@ -1426,6 +1586,13 @@ module Google
1426
1586
  end
1427
1587
  end
1428
1588
 
1589
+ class StorageDatabasecenterPartnerapiV1mainGcbdrConfiguration
1590
+ # @private
1591
+ class Representation < Google::Apis::Core::JsonRepresentation
1592
+ property :gcbdr_managed, as: 'gcbdrManaged'
1593
+ end
1594
+ end
1595
+
1429
1596
  class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
1430
1597
  # @private
1431
1598
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1433,6 +1600,7 @@ module Google
1433
1600
 
1434
1601
  property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
1435
1602
 
1603
+ property :is_deletion_protection_enabled, as: 'isDeletionProtectionEnabled'
1436
1604
  property :product, as: 'product', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonProduct::Representation
1437
1605
 
1438
1606
  property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
@@ -1531,7 +1699,10 @@ module Google
1531
1699
  property :integer_restrictions, as: 'integerRestrictions', class: Google::Apis::AlloydbV1beta::IntegerRestrictions, decorator: Google::Apis::AlloydbV1beta::IntegerRestrictions::Representation
1532
1700
 
1533
1701
  property :name, as: 'name'
1702
+ property :recommended_integer_value, :numeric_string => true, as: 'recommendedIntegerValue'
1703
+ property :recommended_string_value, as: 'recommendedStringValue'
1534
1704
  property :requires_db_restart, as: 'requiresDbRestart'
1705
+ property :scope, as: 'scope'
1535
1706
  property :string_restrictions, as: 'stringRestrictions', class: Google::Apis::AlloydbV1beta::StringRestrictions, decorator: Google::Apis::AlloydbV1beta::StringRestrictions::Representation
1536
1707
 
1537
1708
  collection :supported_db_versions, as: 'supportedDbVersions'
@@ -1591,6 +1762,18 @@ module Google
1591
1762
  end
1592
1763
  end
1593
1764
 
1765
+ class UpgradeClusterStatus
1766
+ # @private
1767
+ class Representation < Google::Apis::Core::JsonRepresentation
1768
+ property :cancellable, as: 'cancellable'
1769
+ property :source_version, as: 'sourceVersion'
1770
+ collection :stages, as: 'stages', class: Google::Apis::AlloydbV1beta::StageStatus, decorator: Google::Apis::AlloydbV1beta::StageStatus::Representation
1771
+
1772
+ property :state, as: 'state'
1773
+ property :target_version, as: 'targetVersion'
1774
+ end
1775
+ end
1776
+
1594
1777
  class User
1595
1778
  # @private
1596
1779
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -610,6 +610,39 @@ module Google
610
610
  execute_or_queue_command(command, &block)
611
611
  end
612
612
 
613
+ # Imports data to the cluster. Imperative only.
614
+ # @param [String] name
615
+ # Required. The resource name of the cluster.
616
+ # @param [Google::Apis::AlloydbV1beta::ImportClusterRequest] import_cluster_request_object
617
+ # @param [String] fields
618
+ # Selector specifying which fields to include in a partial response.
619
+ # @param [String] quota_user
620
+ # Available to use for quota purposes for server-side applications. Can be any
621
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
622
+ # @param [Google::Apis::RequestOptions] options
623
+ # Request-specific options
624
+ #
625
+ # @yield [result, err] Result & error if block supplied
626
+ # @yieldparam result [Google::Apis::AlloydbV1beta::Operation] parsed result object
627
+ # @yieldparam err [StandardError] error object if request failed
628
+ #
629
+ # @return [Google::Apis::AlloydbV1beta::Operation]
630
+ #
631
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
632
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
633
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
634
+ def import_cluster(name, import_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
635
+ command = make_simple_command(:post, 'v1beta/{+name}:import', options)
636
+ command.request_representation = Google::Apis::AlloydbV1beta::ImportClusterRequest::Representation
637
+ command.request_object = import_cluster_request_object
638
+ command.response_representation = Google::Apis::AlloydbV1beta::Operation::Representation
639
+ command.response_class = Google::Apis::AlloydbV1beta::Operation
640
+ command.params['name'] = name unless name.nil?
641
+ command.query['fields'] = fields unless fields.nil?
642
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
643
+ execute_or_queue_command(command, &block)
644
+ end
645
+
613
646
  # Lists Clusters in a given project and location.
614
647
  # @param [String] parent
615
648
  # Required. The name of the parent resource. For the required format, see the
@@ -1738,6 +1771,9 @@ module Google
1738
1771
  # unspecified, server will pick an appropriate default.
1739
1772
  # @param [String] page_token
1740
1773
  # A token identifying a page of results the server should return.
1774
+ # @param [String] scope
1775
+ # Optional. The scope for which supported flags are requested. If not specified,
1776
+ # default is DATABASE.
1741
1777
  # @param [String] fields
1742
1778
  # Selector specifying which fields to include in a partial response.
1743
1779
  # @param [String] quota_user
@@ -1755,13 +1791,14 @@ module Google
1755
1791
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1756
1792
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1757
1793
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1758
- def list_project_location_supported_database_flags(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1794
+ def list_project_location_supported_database_flags(parent, page_size: nil, page_token: nil, scope: nil, fields: nil, quota_user: nil, options: nil, &block)
1759
1795
  command = make_simple_command(:get, 'v1beta/{+parent}/supportedDatabaseFlags', options)
1760
1796
  command.response_representation = Google::Apis::AlloydbV1beta::ListSupportedDatabaseFlagsResponse::Representation
1761
1797
  command.response_class = Google::Apis::AlloydbV1beta::ListSupportedDatabaseFlagsResponse
1762
1798
  command.params['parent'] = parent unless parent.nil?
1763
1799
  command.query['pageSize'] = page_size unless page_size.nil?
1764
1800
  command.query['pageToken'] = page_token unless page_token.nil?
1801
+ command.query['scope'] = scope unless scope.nil?
1765
1802
  command.query['fields'] = fields unless fields.nil?
1766
1803
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1767
1804
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-alloydb_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.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_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.21.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1beta/v0.23.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1beta
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.2
76
+ rubygems_version: 3.6.5
77
77
  specification_version: 4
78
78
  summary: Simple REST client for AlloyDB API V1beta
79
79
  test_files: []