google-apis-alloydb_v1 0.17.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/alloydb_v1/classes.rb +269 -55
- data/lib/google/apis/alloydb_v1/gem_version.rb +3 -3
- data/lib/google/apis/alloydb_v1/representations.rb +109 -22
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 212763de46feb75d8bdecc39a4480d29158ea599c7f1c53ac74f23bc7fd63f46
|
4
|
+
data.tar.gz: ec0a13151a479c3cd616b753f59e4708c15e828f8a3c4dde8bff7735e46a05d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5aeef8152f080e12ed4c54525d1da52587b0b9cfece77340a3011db580fcf975c7c06ac2aa6b6dfb422ddd15d449d3dd24a8d126571c940d5275b98ea5d43c38
|
7
|
+
data.tar.gz: '06589a7f0c4b57ee1d9197ee30667f0c4500862be69a0f539d1a84e34aaa0575b909487c27cb2cbb79cbfc2cb0de5063cb623a69933f6a125d3a03ad738f3a63'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-alloydb_v1
|
2
2
|
|
3
|
+
### v0.19.0 (2024-08-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240806
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.18.0 (2024-07-25)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240627
|
11
|
+
|
3
12
|
### v0.17.0 (2024-06-23)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240612
|
@@ -562,6 +562,16 @@ module Google
|
|
562
562
|
# @return [String]
|
563
563
|
attr_accessor :state
|
564
564
|
|
565
|
+
# Optional. Subscription type of the cluster.
|
566
|
+
# Corresponds to the JSON property `subscriptionType`
|
567
|
+
# @return [String]
|
568
|
+
attr_accessor :subscription_type
|
569
|
+
|
570
|
+
# Contains information and all metadata related to TRIAL clusters.
|
571
|
+
# Corresponds to the JSON property `trialMetadata`
|
572
|
+
# @return [Google::Apis::AlloydbV1::TrialMetadata]
|
573
|
+
attr_accessor :trial_metadata
|
574
|
+
|
565
575
|
# Output only. The system-generated UID of the resource. The UID is assigned
|
566
576
|
# when the resource is created, and it is retained until it is deleted.
|
567
577
|
# Corresponds to the JSON property `uid`
|
@@ -607,11 +617,64 @@ module Google
|
|
607
617
|
@secondary_config = args[:secondary_config] if args.key?(:secondary_config)
|
608
618
|
@ssl_config = args[:ssl_config] if args.key?(:ssl_config)
|
609
619
|
@state = args[:state] if args.key?(:state)
|
620
|
+
@subscription_type = args[:subscription_type] if args.key?(:subscription_type)
|
621
|
+
@trial_metadata = args[:trial_metadata] if args.key?(:trial_metadata)
|
610
622
|
@uid = args[:uid] if args.key?(:uid)
|
611
623
|
@update_time = args[:update_time] if args.key?(:update_time)
|
612
624
|
end
|
613
625
|
end
|
614
626
|
|
627
|
+
# Upgrade details of a cluster. This cluster can be primary or secondary.
|
628
|
+
class ClusterUpgradeDetails
|
629
|
+
include Google::Apis::Core::Hashable
|
630
|
+
|
631
|
+
# Cluster type which can either be primary or secondary.
|
632
|
+
# Corresponds to the JSON property `clusterType`
|
633
|
+
# @return [String]
|
634
|
+
attr_accessor :cluster_type
|
635
|
+
|
636
|
+
# Database version of the cluster after the upgrade operation. This will be the
|
637
|
+
# target version if the upgrade was successful otherwise it remains the same as
|
638
|
+
# that before the upgrade operation.
|
639
|
+
# Corresponds to the JSON property `databaseVersion`
|
640
|
+
# @return [String]
|
641
|
+
attr_accessor :database_version
|
642
|
+
|
643
|
+
# Upgrade details of the instances directly associated with this cluster.
|
644
|
+
# Corresponds to the JSON property `instanceUpgradeDetails`
|
645
|
+
# @return [Array<Google::Apis::AlloydbV1::InstanceUpgradeDetails>]
|
646
|
+
attr_accessor :instance_upgrade_details
|
647
|
+
|
648
|
+
# Normalized name of the cluster
|
649
|
+
# Corresponds to the JSON property `name`
|
650
|
+
# @return [String]
|
651
|
+
attr_accessor :name
|
652
|
+
|
653
|
+
# Array containing stage info associated with this cluster.
|
654
|
+
# Corresponds to the JSON property `stageInfo`
|
655
|
+
# @return [Array<Google::Apis::AlloydbV1::StageInfo>]
|
656
|
+
attr_accessor :stage_info
|
657
|
+
|
658
|
+
# Upgrade status of the cluster.
|
659
|
+
# Corresponds to the JSON property `upgradeStatus`
|
660
|
+
# @return [String]
|
661
|
+
attr_accessor :upgrade_status
|
662
|
+
|
663
|
+
def initialize(**args)
|
664
|
+
update!(**args)
|
665
|
+
end
|
666
|
+
|
667
|
+
# Update properties of this object
|
668
|
+
def update!(**args)
|
669
|
+
@cluster_type = args[:cluster_type] if args.key?(:cluster_type)
|
670
|
+
@database_version = args[:database_version] if args.key?(:database_version)
|
671
|
+
@instance_upgrade_details = args[:instance_upgrade_details] if args.key?(:instance_upgrade_details)
|
672
|
+
@name = args[:name] if args.key?(:name)
|
673
|
+
@stage_info = args[:stage_info] if args.key?(:stage_info)
|
674
|
+
@upgrade_status = args[:upgrade_status] if args.key?(:upgrade_status)
|
675
|
+
end
|
676
|
+
end
|
677
|
+
|
615
678
|
# ConnectionInfo singleton resource. https://google.aip.dev/156
|
616
679
|
class ConnectionInfo
|
617
680
|
include Google::Apis::Core::Hashable
|
@@ -1247,6 +1310,37 @@ module Google
|
|
1247
1310
|
end
|
1248
1311
|
end
|
1249
1312
|
|
1313
|
+
# Details regarding the upgrade of instaces associated with a cluster.
|
1314
|
+
class InstanceUpgradeDetails
|
1315
|
+
include Google::Apis::Core::Hashable
|
1316
|
+
|
1317
|
+
# Instance type.
|
1318
|
+
# Corresponds to the JSON property `instanceType`
|
1319
|
+
# @return [String]
|
1320
|
+
attr_accessor :instance_type
|
1321
|
+
|
1322
|
+
# Normalized name of the instance.
|
1323
|
+
# Corresponds to the JSON property `name`
|
1324
|
+
# @return [String]
|
1325
|
+
attr_accessor :name
|
1326
|
+
|
1327
|
+
# Upgrade status of the instance.
|
1328
|
+
# Corresponds to the JSON property `upgradeStatus`
|
1329
|
+
# @return [String]
|
1330
|
+
attr_accessor :upgrade_status
|
1331
|
+
|
1332
|
+
def initialize(**args)
|
1333
|
+
update!(**args)
|
1334
|
+
end
|
1335
|
+
|
1336
|
+
# Update properties of this object
|
1337
|
+
def update!(**args)
|
1338
|
+
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
1339
|
+
@name = args[:name] if args.key?(:name)
|
1340
|
+
@upgrade_status = args[:upgrade_status] if args.key?(:upgrade_status)
|
1341
|
+
end
|
1342
|
+
end
|
1343
|
+
|
1250
1344
|
# Restrictions on INTEGER type values.
|
1251
1345
|
class IntegerRestrictions
|
1252
1346
|
include Google::Apis::Core::Hashable
|
@@ -2005,6 +2099,12 @@ module Google
|
|
2005
2099
|
class RestartInstanceRequest
|
2006
2100
|
include Google::Apis::Core::Hashable
|
2007
2101
|
|
2102
|
+
# Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to
|
2103
|
+
# restart upon. Only applicable for read instances.
|
2104
|
+
# Corresponds to the JSON property `nodeIds`
|
2105
|
+
# @return [Array<String>]
|
2106
|
+
attr_accessor :node_ids
|
2107
|
+
|
2008
2108
|
# Optional. An optional request ID to identify requests. Specify a unique
|
2009
2109
|
# request ID so that if you must retry your request, the server will know to
|
2010
2110
|
# ignore the request if it has already been completed. The server will guarantee
|
@@ -2032,6 +2132,7 @@ module Google
|
|
2032
2132
|
|
2033
2133
|
# Update properties of this object
|
2034
2134
|
def update!(**args)
|
2135
|
+
@node_ids = args[:node_ids] if args.key?(:node_ids)
|
2035
2136
|
@request_id = args[:request_id] if args.key?(:request_id)
|
2036
2137
|
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
2037
2138
|
end
|
@@ -2147,6 +2248,39 @@ module Google
|
|
2147
2248
|
end
|
2148
2249
|
end
|
2149
2250
|
|
2251
|
+
# Stage information for different stages in the upgrade process.
|
2252
|
+
class StageInfo
|
2253
|
+
include Google::Apis::Core::Hashable
|
2254
|
+
|
2255
|
+
# logs_url is the URL for the logs associated with a stage if that stage has
|
2256
|
+
# logs. Right now, only three stages have logs: ALLOYDB_PRECHECK,
|
2257
|
+
# PG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE.
|
2258
|
+
# Corresponds to the JSON property `logsUrl`
|
2259
|
+
# @return [String]
|
2260
|
+
attr_accessor :logs_url
|
2261
|
+
|
2262
|
+
# The stage.
|
2263
|
+
# Corresponds to the JSON property `stage`
|
2264
|
+
# @return [String]
|
2265
|
+
attr_accessor :stage
|
2266
|
+
|
2267
|
+
# Status of the stage.
|
2268
|
+
# Corresponds to the JSON property `status`
|
2269
|
+
# @return [String]
|
2270
|
+
attr_accessor :status
|
2271
|
+
|
2272
|
+
def initialize(**args)
|
2273
|
+
update!(**args)
|
2274
|
+
end
|
2275
|
+
|
2276
|
+
# Update properties of this object
|
2277
|
+
def update!(**args)
|
2278
|
+
@logs_url = args[:logs_url] if args.key?(:logs_url)
|
2279
|
+
@stage = args[:stage] if args.key?(:stage)
|
2280
|
+
@status = args[:status] if args.key?(:status)
|
2281
|
+
end
|
2282
|
+
end
|
2283
|
+
|
2150
2284
|
# The `Status` type defines a logical error model that is suitable for different
|
2151
2285
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
2152
2286
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -2328,16 +2462,17 @@ module Google
|
|
2328
2462
|
end
|
2329
2463
|
end
|
2330
2464
|
|
2331
|
-
# Any custom metadata associated with the resource.
|
2465
|
+
# Any custom metadata associated with the resource. e.g. A spanner instance can
|
2332
2466
|
# have multiple databases with its own unique metadata. Information for these
|
2333
2467
|
# individual databases can be captured in custom metadata data
|
2334
2468
|
class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
|
2335
2469
|
include Google::Apis::Core::Hashable
|
2336
2470
|
|
2337
|
-
#
|
2338
|
-
#
|
2339
|
-
#
|
2340
|
-
|
2471
|
+
# Metadata for individual internal resources in an instance. e.g. spanner
|
2472
|
+
# instance can have multiple databases with unique configuration.
|
2473
|
+
# Corresponds to the JSON property `internalResourceMetadata`
|
2474
|
+
# @return [Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata>]
|
2475
|
+
attr_accessor :internal_resource_metadata
|
2341
2476
|
|
2342
2477
|
def initialize(**args)
|
2343
2478
|
update!(**args)
|
@@ -2345,52 +2480,7 @@ module Google
|
|
2345
2480
|
|
2346
2481
|
# Update properties of this object
|
2347
2482
|
def update!(**args)
|
2348
|
-
@
|
2349
|
-
end
|
2350
|
-
end
|
2351
|
-
|
2352
|
-
# Metadata for individual databases created in an instance. i.e. spanner
|
2353
|
-
# instance can have multiple databases with unique configuration settings.
|
2354
|
-
class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
|
2355
|
-
include Google::Apis::Core::Hashable
|
2356
|
-
|
2357
|
-
# Configuration for automatic backups
|
2358
|
-
# Corresponds to the JSON property `backupConfiguration`
|
2359
|
-
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration]
|
2360
|
-
attr_accessor :backup_configuration
|
2361
|
-
|
2362
|
-
# A backup run.
|
2363
|
-
# Corresponds to the JSON property `backupRun`
|
2364
|
-
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun]
|
2365
|
-
attr_accessor :backup_run
|
2366
|
-
|
2367
|
-
# Product specification for Condor resources.
|
2368
|
-
# Corresponds to the JSON property `product`
|
2369
|
-
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct]
|
2370
|
-
attr_accessor :product
|
2371
|
-
|
2372
|
-
# DatabaseResourceId will serve as primary key for any resource ingestion event.
|
2373
|
-
# Corresponds to the JSON property `resourceId`
|
2374
|
-
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
|
2375
|
-
attr_accessor :resource_id
|
2376
|
-
|
2377
|
-
# Required. Database name. Resource name to follow CAIS resource_name format as
|
2378
|
-
# noted here go/condor-common-datamodel
|
2379
|
-
# Corresponds to the JSON property `resourceName`
|
2380
|
-
# @return [String]
|
2381
|
-
attr_accessor :resource_name
|
2382
|
-
|
2383
|
-
def initialize(**args)
|
2384
|
-
update!(**args)
|
2385
|
-
end
|
2386
|
-
|
2387
|
-
# Update properties of this object
|
2388
|
-
def update!(**args)
|
2389
|
-
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
|
2390
|
-
@backup_run = args[:backup_run] if args.key?(:backup_run)
|
2391
|
-
@product = args[:product] if args.key?(:product)
|
2392
|
-
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
2393
|
-
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2483
|
+
@internal_resource_metadata = args[:internal_resource_metadata] if args.key?(:internal_resource_metadata)
|
2394
2484
|
end
|
2395
2485
|
end
|
2396
2486
|
|
@@ -2409,7 +2499,7 @@ module Google
|
|
2409
2499
|
# @return [String]
|
2410
2500
|
attr_accessor :feed_type
|
2411
2501
|
|
2412
|
-
#
|
2502
|
+
#
|
2413
2503
|
# Corresponds to the JSON property `observabilityMetricData`
|
2414
2504
|
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData]
|
2415
2505
|
attr_accessor :observability_metric_data
|
@@ -2522,6 +2612,11 @@ module Google
|
|
2522
2612
|
# @return [String]
|
2523
2613
|
attr_accessor :signal_id
|
2524
2614
|
|
2615
|
+
# The severity of the signal, such as if it's a HIGH or LOW severity.
|
2616
|
+
# Corresponds to the JSON property `signalSeverity`
|
2617
|
+
# @return [String]
|
2618
|
+
attr_accessor :signal_severity
|
2619
|
+
|
2525
2620
|
# Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `
|
2526
2621
|
# LOGGING_MOST_ERRORS`, etc.
|
2527
2622
|
# Corresponds to the JSON property `signalType`
|
@@ -2550,6 +2645,7 @@ module Google
|
|
2550
2645
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2551
2646
|
@signal_class = args[:signal_class] if args.key?(:signal_class)
|
2552
2647
|
@signal_id = args[:signal_id] if args.key?(:signal_id)
|
2648
|
+
@signal_severity = args[:signal_severity] if args.key?(:signal_severity)
|
2553
2649
|
@signal_type = args[:signal_type] if args.key?(:signal_type)
|
2554
2650
|
@state = args[:state] if args.key?(:state)
|
2555
2651
|
end
|
@@ -2571,8 +2667,10 @@ module Google
|
|
2571
2667
|
|
2572
2668
|
# Required. The type of resource this ID is identifying. Ex redis.googleapis.com/
|
2573
2669
|
# Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster,
|
2574
|
-
# alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance
|
2575
|
-
#
|
2670
|
+
# alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance, spanner.
|
2671
|
+
# googleapis.com/Database, firestore.googleapis.com/Database, sqladmin.
|
2672
|
+
# googleapis.com/Instance, bigtableadmin.googleapis.com/Cluster, bigtableadmin.
|
2673
|
+
# googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel
|
2576
2674
|
# Corresponds to the JSON property `resourceType`
|
2577
2675
|
# @return [String]
|
2578
2676
|
attr_accessor :resource_type
|
@@ -2626,7 +2724,7 @@ module Google
|
|
2626
2724
|
# @return [String]
|
2627
2725
|
attr_accessor :current_state
|
2628
2726
|
|
2629
|
-
# Any custom metadata associated with the resource.
|
2727
|
+
# Any custom metadata associated with the resource. e.g. A spanner instance can
|
2630
2728
|
# have multiple databases with its own unique metadata. Information for these
|
2631
2729
|
# individual databases can be captured in custom metadata data
|
2632
2730
|
# Corresponds to the JSON property `customMetadata`
|
@@ -2830,6 +2928,52 @@ module Google
|
|
2830
2928
|
end
|
2831
2929
|
end
|
2832
2930
|
|
2931
|
+
# Metadata for individual internal resources in an instance. e.g. spanner
|
2932
|
+
# instance can have multiple databases with unique configuration settings.
|
2933
|
+
# Similarly bigtable can have multiple clusters within same bigtable instance.
|
2934
|
+
class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
|
2935
|
+
include Google::Apis::Core::Hashable
|
2936
|
+
|
2937
|
+
# Configuration for automatic backups
|
2938
|
+
# Corresponds to the JSON property `backupConfiguration`
|
2939
|
+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration]
|
2940
|
+
attr_accessor :backup_configuration
|
2941
|
+
|
2942
|
+
# A backup run.
|
2943
|
+
# Corresponds to the JSON property `backupRun`
|
2944
|
+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun]
|
2945
|
+
attr_accessor :backup_run
|
2946
|
+
|
2947
|
+
# Product specification for Condor resources.
|
2948
|
+
# Corresponds to the JSON property `product`
|
2949
|
+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct]
|
2950
|
+
attr_accessor :product
|
2951
|
+
|
2952
|
+
# DatabaseResourceId will serve as primary key for any resource ingestion event.
|
2953
|
+
# Corresponds to the JSON property `resourceId`
|
2954
|
+
# @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
|
2955
|
+
attr_accessor :resource_id
|
2956
|
+
|
2957
|
+
# Required. internal resource name for spanner this will be database name e.g."
|
2958
|
+
# spanner.googleapis.com/projects/123/abc/instances/inst1/databases/db1"
|
2959
|
+
# Corresponds to the JSON property `resourceName`
|
2960
|
+
# @return [String]
|
2961
|
+
attr_accessor :resource_name
|
2962
|
+
|
2963
|
+
def initialize(**args)
|
2964
|
+
update!(**args)
|
2965
|
+
end
|
2966
|
+
|
2967
|
+
# Update properties of this object
|
2968
|
+
def update!(**args)
|
2969
|
+
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
|
2970
|
+
@backup_run = args[:backup_run] if args.key?(:backup_run)
|
2971
|
+
@product = args[:product] if args.key?(:product)
|
2972
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
2973
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
2974
|
+
end
|
2975
|
+
end
|
2976
|
+
|
2833
2977
|
# MachineConfiguration describes the configuration of a machine specific to
|
2834
2978
|
# Database Resource.
|
2835
2979
|
class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
|
@@ -3206,6 +3350,76 @@ module Google
|
|
3206
3350
|
end
|
3207
3351
|
end
|
3208
3352
|
|
3353
|
+
# Contains information and all metadata related to TRIAL clusters.
|
3354
|
+
class TrialMetadata
|
3355
|
+
include Google::Apis::Core::Hashable
|
3356
|
+
|
3357
|
+
# End time of the trial cluster.
|
3358
|
+
# Corresponds to the JSON property `endTime`
|
3359
|
+
# @return [String]
|
3360
|
+
attr_accessor :end_time
|
3361
|
+
|
3362
|
+
# grace end time of the cluster.
|
3363
|
+
# Corresponds to the JSON property `graceEndTime`
|
3364
|
+
# @return [String]
|
3365
|
+
attr_accessor :grace_end_time
|
3366
|
+
|
3367
|
+
# start time of the trial cluster.
|
3368
|
+
# Corresponds to the JSON property `startTime`
|
3369
|
+
# @return [String]
|
3370
|
+
attr_accessor :start_time
|
3371
|
+
|
3372
|
+
# Upgrade time of trial cluster to Standard cluster.
|
3373
|
+
# Corresponds to the JSON property `upgradeTime`
|
3374
|
+
# @return [String]
|
3375
|
+
attr_accessor :upgrade_time
|
3376
|
+
|
3377
|
+
def initialize(**args)
|
3378
|
+
update!(**args)
|
3379
|
+
end
|
3380
|
+
|
3381
|
+
# Update properties of this object
|
3382
|
+
def update!(**args)
|
3383
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
3384
|
+
@grace_end_time = args[:grace_end_time] if args.key?(:grace_end_time)
|
3385
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
3386
|
+
@upgrade_time = args[:upgrade_time] if args.key?(:upgrade_time)
|
3387
|
+
end
|
3388
|
+
end
|
3389
|
+
|
3390
|
+
# UpgradeClusterResponse contains the response for upgrade cluster operation.
|
3391
|
+
class UpgradeClusterResponse
|
3392
|
+
include Google::Apis::Core::Hashable
|
3393
|
+
|
3394
|
+
# Array of upgrade details for the current cluster and all the secondary
|
3395
|
+
# clusters associated with this cluster.
|
3396
|
+
# Corresponds to the JSON property `clusterUpgradeDetails`
|
3397
|
+
# @return [Array<Google::Apis::AlloydbV1::ClusterUpgradeDetails>]
|
3398
|
+
attr_accessor :cluster_upgrade_details
|
3399
|
+
|
3400
|
+
# A user friendly message summarising the upgrade operation details and the next
|
3401
|
+
# steps for the user if there is any.
|
3402
|
+
# Corresponds to the JSON property `message`
|
3403
|
+
# @return [String]
|
3404
|
+
attr_accessor :message
|
3405
|
+
|
3406
|
+
# Status of upgrade operation.
|
3407
|
+
# Corresponds to the JSON property `status`
|
3408
|
+
# @return [String]
|
3409
|
+
attr_accessor :status
|
3410
|
+
|
3411
|
+
def initialize(**args)
|
3412
|
+
update!(**args)
|
3413
|
+
end
|
3414
|
+
|
3415
|
+
# Update properties of this object
|
3416
|
+
def update!(**args)
|
3417
|
+
@cluster_upgrade_details = args[:cluster_upgrade_details] if args.key?(:cluster_upgrade_details)
|
3418
|
+
@message = args[:message] if args.key?(:message)
|
3419
|
+
@status = args[:status] if args.key?(:status)
|
3420
|
+
end
|
3421
|
+
end
|
3422
|
+
|
3209
3423
|
# Message describing User object.
|
3210
3424
|
class User
|
3211
3425
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AlloydbV1
|
18
18
|
# Version of the google-apis-alloydb_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240806"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class ClusterUpgradeDetails
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class ConnectionInfo
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -154,6 +160,12 @@ module Google
|
|
154
160
|
include Google::Apis::Core::JsonObjectSupport
|
155
161
|
end
|
156
162
|
|
163
|
+
class InstanceUpgradeDetails
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
157
169
|
class IntegerRestrictions
|
158
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
171
|
|
@@ -322,6 +334,12 @@ module Google
|
|
322
334
|
include Google::Apis::Core::JsonObjectSupport
|
323
335
|
end
|
324
336
|
|
337
|
+
class StageInfo
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
325
343
|
class Status
|
326
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
345
|
|
@@ -358,12 +376,6 @@ module Google
|
|
358
376
|
include Google::Apis::Core::JsonObjectSupport
|
359
377
|
end
|
360
378
|
|
361
|
-
class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
|
362
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
-
|
364
|
-
include Google::Apis::Core::JsonObjectSupport
|
365
|
-
end
|
366
|
-
|
367
379
|
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
|
368
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
381
|
|
@@ -400,6 +412,12 @@ module Google
|
|
400
412
|
include Google::Apis::Core::JsonObjectSupport
|
401
413
|
end
|
402
414
|
|
415
|
+
class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
403
421
|
class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
|
404
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
423
|
|
@@ -466,6 +484,18 @@ module Google
|
|
466
484
|
include Google::Apis::Core::JsonObjectSupport
|
467
485
|
end
|
468
486
|
|
487
|
+
class TrialMetadata
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
493
|
+
class UpgradeClusterResponse
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
469
499
|
class User
|
470
500
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
501
|
|
@@ -617,11 +647,28 @@ module Google
|
|
617
647
|
property :ssl_config, as: 'sslConfig', class: Google::Apis::AlloydbV1::SslConfig, decorator: Google::Apis::AlloydbV1::SslConfig::Representation
|
618
648
|
|
619
649
|
property :state, as: 'state'
|
650
|
+
property :subscription_type, as: 'subscriptionType'
|
651
|
+
property :trial_metadata, as: 'trialMetadata', class: Google::Apis::AlloydbV1::TrialMetadata, decorator: Google::Apis::AlloydbV1::TrialMetadata::Representation
|
652
|
+
|
620
653
|
property :uid, as: 'uid'
|
621
654
|
property :update_time, as: 'updateTime'
|
622
655
|
end
|
623
656
|
end
|
624
657
|
|
658
|
+
class ClusterUpgradeDetails
|
659
|
+
# @private
|
660
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
661
|
+
property :cluster_type, as: 'clusterType'
|
662
|
+
property :database_version, as: 'databaseVersion'
|
663
|
+
collection :instance_upgrade_details, as: 'instanceUpgradeDetails', class: Google::Apis::AlloydbV1::InstanceUpgradeDetails, decorator: Google::Apis::AlloydbV1::InstanceUpgradeDetails::Representation
|
664
|
+
|
665
|
+
property :name, as: 'name'
|
666
|
+
collection :stage_info, as: 'stageInfo', class: Google::Apis::AlloydbV1::StageInfo, decorator: Google::Apis::AlloydbV1::StageInfo::Representation
|
667
|
+
|
668
|
+
property :upgrade_status, as: 'upgradeStatus'
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
625
672
|
class ConnectionInfo
|
626
673
|
# @private
|
627
674
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -778,6 +825,15 @@ module Google
|
|
778
825
|
end
|
779
826
|
end
|
780
827
|
|
828
|
+
class InstanceUpgradeDetails
|
829
|
+
# @private
|
830
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
831
|
+
property :instance_type, as: 'instanceType'
|
832
|
+
property :name, as: 'name'
|
833
|
+
property :upgrade_status, as: 'upgradeStatus'
|
834
|
+
end
|
835
|
+
end
|
836
|
+
|
781
837
|
class IntegerRestrictions
|
782
838
|
# @private
|
783
839
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -994,6 +1050,7 @@ module Google
|
|
994
1050
|
class RestartInstanceRequest
|
995
1051
|
# @private
|
996
1052
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1053
|
+
collection :node_ids, as: 'nodeIds'
|
997
1054
|
property :request_id, as: 'requestId'
|
998
1055
|
property :validate_only, as: 'validateOnly'
|
999
1056
|
end
|
@@ -1029,6 +1086,15 @@ module Google
|
|
1029
1086
|
end
|
1030
1087
|
end
|
1031
1088
|
|
1089
|
+
class StageInfo
|
1090
|
+
# @private
|
1091
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1092
|
+
property :logs_url, as: 'logsUrl'
|
1093
|
+
property :stage, as: 'stage'
|
1094
|
+
property :status, as: 'status'
|
1095
|
+
end
|
1096
|
+
end
|
1097
|
+
|
1032
1098
|
class Status
|
1033
1099
|
# @private
|
1034
1100
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1080,23 +1146,8 @@ module Google
|
|
1080
1146
|
class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
|
1081
1147
|
# @private
|
1082
1148
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1083
|
-
collection :
|
1084
|
-
|
1085
|
-
end
|
1086
|
-
end
|
1087
|
-
|
1088
|
-
class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
|
1089
|
-
# @private
|
1090
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1091
|
-
property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration::Representation
|
1092
|
-
|
1093
|
-
property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
|
1149
|
+
collection :internal_resource_metadata, as: 'internalResourceMetadata', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata::Representation
|
1094
1150
|
|
1095
|
-
property :product, as: 'product', class: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct::Representation
|
1096
|
-
|
1097
|
-
property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
1098
|
-
|
1099
|
-
property :resource_name, as: 'resourceName'
|
1100
1151
|
end
|
1101
1152
|
end
|
1102
1153
|
|
@@ -1133,6 +1184,7 @@ module Google
|
|
1133
1184
|
property :resource_name, as: 'resourceName'
|
1134
1185
|
property :signal_class, as: 'signalClass'
|
1135
1186
|
property :signal_id, as: 'signalId'
|
1187
|
+
property :signal_severity, as: 'signalSeverity'
|
1136
1188
|
property :signal_type, as: 'signalType'
|
1137
1189
|
property :state, as: 'state'
|
1138
1190
|
end
|
@@ -1204,6 +1256,21 @@ module Google
|
|
1204
1256
|
end
|
1205
1257
|
end
|
1206
1258
|
|
1259
|
+
class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
|
1260
|
+
# @private
|
1261
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1262
|
+
property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration::Representation
|
1263
|
+
|
1264
|
+
property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
|
1265
|
+
|
1266
|
+
property :product, as: 'product', class: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct::Representation
|
1267
|
+
|
1268
|
+
property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
|
1269
|
+
|
1270
|
+
property :resource_name, as: 'resourceName'
|
1271
|
+
end
|
1272
|
+
end
|
1273
|
+
|
1207
1274
|
class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
|
1208
1275
|
# @private
|
1209
1276
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1306,6 +1373,26 @@ module Google
|
|
1306
1373
|
end
|
1307
1374
|
end
|
1308
1375
|
|
1376
|
+
class TrialMetadata
|
1377
|
+
# @private
|
1378
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1379
|
+
property :end_time, as: 'endTime'
|
1380
|
+
property :grace_end_time, as: 'graceEndTime'
|
1381
|
+
property :start_time, as: 'startTime'
|
1382
|
+
property :upgrade_time, as: 'upgradeTime'
|
1383
|
+
end
|
1384
|
+
end
|
1385
|
+
|
1386
|
+
class UpgradeClusterResponse
|
1387
|
+
# @private
|
1388
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1389
|
+
collection :cluster_upgrade_details, as: 'clusterUpgradeDetails', class: Google::Apis::AlloydbV1::ClusterUpgradeDetails, decorator: Google::Apis::AlloydbV1::ClusterUpgradeDetails::Representation
|
1390
|
+
|
1391
|
+
property :message, as: 'message'
|
1392
|
+
property :status, as: 'status'
|
1393
|
+
end
|
1394
|
+
end
|
1395
|
+
|
1309
1396
|
class User
|
1310
1397
|
# @private
|
1311
1398
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-alloydb_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-alloydb_v1/v0.19.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-alloydb_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|