google-apis-alloydb_v1 0.18.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df03b7c6913e7c6299c214e96e8ee803039a82458668dbc6ec5a842b1ce382a7
4
- data.tar.gz: 0da1b7890c69755778f0d637190028a1c5b892a0dd8ce3dfd03a016e8b74b57b
3
+ metadata.gz: 212763de46feb75d8bdecc39a4480d29158ea599c7f1c53ac74f23bc7fd63f46
4
+ data.tar.gz: ec0a13151a479c3cd616b753f59e4708c15e828f8a3c4dde8bff7735e46a05d3
5
5
  SHA512:
6
- metadata.gz: 9855acfc0ae35b7067af69cbf65e79d117464d2f07a46a3aed96a5286f97e63d36a24e35827b5813ab57b92b43ed6772829cdff254e03dc3175e040f00376be1
7
- data.tar.gz: 2d01117a9c43750388bb2420b0c79c6f942217c7496fcfcf84b540928c9c7937bb94c83ff22288bc77a0f5d4e4749ce307e8942efaae4b59b32f16144fd3caa4
6
+ metadata.gz: 5aeef8152f080e12ed4c54525d1da52587b0b9cfece77340a3011db580fcf975c7c06ac2aa6b6dfb422ddd15d449d3dd24a8d126571c940d5275b98ea5d43c38
7
+ data.tar.gz: '06589a7f0c4b57ee1d9197ee30667f0c4500862be69a0f539d1a84e34aaa0575b909487c27cb2cbb79cbfc2cb0de5063cb623a69933f6a125d3a03ad738f3a63'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.18.0 (2024-07-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20240627
@@ -624,6 +624,57 @@ module Google
624
624
  end
625
625
  end
626
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
+
627
678
  # ConnectionInfo singleton resource. https://google.aip.dev/156
628
679
  class ConnectionInfo
629
680
  include Google::Apis::Core::Hashable
@@ -1259,6 +1310,37 @@ module Google
1259
1310
  end
1260
1311
  end
1261
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
+
1262
1344
  # Restrictions on INTEGER type values.
1263
1345
  class IntegerRestrictions
1264
1346
  include Google::Apis::Core::Hashable
@@ -2017,6 +2099,12 @@ module Google
2017
2099
  class RestartInstanceRequest
2018
2100
  include Google::Apis::Core::Hashable
2019
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
+
2020
2108
  # Optional. An optional request ID to identify requests. Specify a unique
2021
2109
  # request ID so that if you must retry your request, the server will know to
2022
2110
  # ignore the request if it has already been completed. The server will guarantee
@@ -2044,6 +2132,7 @@ module Google
2044
2132
 
2045
2133
  # Update properties of this object
2046
2134
  def update!(**args)
2135
+ @node_ids = args[:node_ids] if args.key?(:node_ids)
2047
2136
  @request_id = args[:request_id] if args.key?(:request_id)
2048
2137
  @validate_only = args[:validate_only] if args.key?(:validate_only)
2049
2138
  end
@@ -2159,6 +2248,39 @@ module Google
2159
2248
  end
2160
2249
  end
2161
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
+
2162
2284
  # The `Status` type defines a logical error model that is suitable for different
2163
2285
  # programming environments, including REST APIs and RPC APIs. It is used by [
2164
2286
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -2340,16 +2462,17 @@ module Google
2340
2462
  end
2341
2463
  end
2342
2464
 
2343
- # Any custom metadata associated with the resource. i.e. A spanner instance can
2465
+ # Any custom metadata associated with the resource. e.g. A spanner instance can
2344
2466
  # have multiple databases with its own unique metadata. Information for these
2345
2467
  # individual databases can be captured in custom metadata data
2346
2468
  class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
2347
2469
  include Google::Apis::Core::Hashable
2348
2470
 
2349
- #
2350
- # Corresponds to the JSON property `databaseMetadata`
2351
- # @return [Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata>]
2352
- attr_accessor :database_metadata
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
2353
2476
 
2354
2477
  def initialize(**args)
2355
2478
  update!(**args)
@@ -2357,52 +2480,7 @@ module Google
2357
2480
 
2358
2481
  # Update properties of this object
2359
2482
  def update!(**args)
2360
- @database_metadata = args[:database_metadata] if args.key?(:database_metadata)
2361
- end
2362
- end
2363
-
2364
- # Metadata for individual databases created in an instance. i.e. spanner
2365
- # instance can have multiple databases with unique configuration settings.
2366
- class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
2367
- include Google::Apis::Core::Hashable
2368
-
2369
- # Configuration for automatic backups
2370
- # Corresponds to the JSON property `backupConfiguration`
2371
- # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration]
2372
- attr_accessor :backup_configuration
2373
-
2374
- # A backup run.
2375
- # Corresponds to the JSON property `backupRun`
2376
- # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun]
2377
- attr_accessor :backup_run
2378
-
2379
- # Product specification for Condor resources.
2380
- # Corresponds to the JSON property `product`
2381
- # @return [Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct]
2382
- attr_accessor :product
2383
-
2384
- # DatabaseResourceId will serve as primary key for any resource ingestion event.
2385
- # Corresponds to the JSON property `resourceId`
2386
- # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
2387
- attr_accessor :resource_id
2388
-
2389
- # Required. Database name. Resource name to follow CAIS resource_name format as
2390
- # noted here go/condor-common-datamodel
2391
- # Corresponds to the JSON property `resourceName`
2392
- # @return [String]
2393
- attr_accessor :resource_name
2394
-
2395
- def initialize(**args)
2396
- update!(**args)
2397
- end
2398
-
2399
- # Update properties of this object
2400
- def update!(**args)
2401
- @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
2402
- @backup_run = args[:backup_run] if args.key?(:backup_run)
2403
- @product = args[:product] if args.key?(:product)
2404
- @resource_id = args[:resource_id] if args.key?(:resource_id)
2405
- @resource_name = args[:resource_name] if args.key?(:resource_name)
2483
+ @internal_resource_metadata = args[:internal_resource_metadata] if args.key?(:internal_resource_metadata)
2406
2484
  end
2407
2485
  end
2408
2486
 
@@ -2421,7 +2499,7 @@ module Google
2421
2499
  # @return [String]
2422
2500
  attr_accessor :feed_type
2423
2501
 
2424
- # More feed data would be added in subsequent CLs
2502
+ #
2425
2503
  # Corresponds to the JSON property `observabilityMetricData`
2426
2504
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData]
2427
2505
  attr_accessor :observability_metric_data
@@ -2534,6 +2612,11 @@ module Google
2534
2612
  # @return [String]
2535
2613
  attr_accessor :signal_id
2536
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
+
2537
2620
  # Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `
2538
2621
  # LOGGING_MOST_ERRORS`, etc.
2539
2622
  # Corresponds to the JSON property `signalType`
@@ -2562,6 +2645,7 @@ module Google
2562
2645
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2563
2646
  @signal_class = args[:signal_class] if args.key?(:signal_class)
2564
2647
  @signal_id = args[:signal_id] if args.key?(:signal_id)
2648
+ @signal_severity = args[:signal_severity] if args.key?(:signal_severity)
2565
2649
  @signal_type = args[:signal_type] if args.key?(:signal_type)
2566
2650
  @state = args[:state] if args.key?(:state)
2567
2651
  end
@@ -2583,8 +2667,10 @@ module Google
2583
2667
 
2584
2668
  # Required. The type of resource this ID is identifying. Ex redis.googleapis.com/
2585
2669
  # Instance, redis.googleapis.com/Cluster, alloydb.googleapis.com/Cluster,
2586
- # alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance REQUIRED
2587
- # Please refer go/condor-common-datamodel
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
2588
2674
  # Corresponds to the JSON property `resourceType`
2589
2675
  # @return [String]
2590
2676
  attr_accessor :resource_type
@@ -2638,7 +2724,7 @@ module Google
2638
2724
  # @return [String]
2639
2725
  attr_accessor :current_state
2640
2726
 
2641
- # Any custom metadata associated with the resource. i.e. A spanner instance can
2727
+ # Any custom metadata associated with the resource. e.g. A spanner instance can
2642
2728
  # have multiple databases with its own unique metadata. Information for these
2643
2729
  # individual databases can be captured in custom metadata data
2644
2730
  # Corresponds to the JSON property `customMetadata`
@@ -2842,6 +2928,52 @@ module Google
2842
2928
  end
2843
2929
  end
2844
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
+
2845
2977
  # MachineConfiguration describes the configuration of a machine specific to
2846
2978
  # Database Resource.
2847
2979
  class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
@@ -3227,6 +3359,11 @@ module Google
3227
3359
  # @return [String]
3228
3360
  attr_accessor :end_time
3229
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
+
3230
3367
  # start time of the trial cluster.
3231
3368
  # Corresponds to the JSON property `startTime`
3232
3369
  # @return [String]
@@ -3244,11 +3381,45 @@ module Google
3244
3381
  # Update properties of this object
3245
3382
  def update!(**args)
3246
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)
3247
3385
  @start_time = args[:start_time] if args.key?(:start_time)
3248
3386
  @upgrade_time = args[:upgrade_time] if args.key?(:upgrade_time)
3249
3387
  end
3250
3388
  end
3251
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
+
3252
3423
  # Message describing User object.
3253
3424
  class User
3254
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.18.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.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240627"
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
 
@@ -472,6 +490,12 @@ module Google
472
490
  include Google::Apis::Core::JsonObjectSupport
473
491
  end
474
492
 
493
+ class UpgradeClusterResponse
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
475
499
  class User
476
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
501
 
@@ -631,6 +655,20 @@ module Google
631
655
  end
632
656
  end
633
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
+
634
672
  class ConnectionInfo
635
673
  # @private
636
674
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -787,6 +825,15 @@ module Google
787
825
  end
788
826
  end
789
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
+
790
837
  class IntegerRestrictions
791
838
  # @private
792
839
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1003,6 +1050,7 @@ module Google
1003
1050
  class RestartInstanceRequest
1004
1051
  # @private
1005
1052
  class Representation < Google::Apis::Core::JsonRepresentation
1053
+ collection :node_ids, as: 'nodeIds'
1006
1054
  property :request_id, as: 'requestId'
1007
1055
  property :validate_only, as: 'validateOnly'
1008
1056
  end
@@ -1038,6 +1086,15 @@ module Google
1038
1086
  end
1039
1087
  end
1040
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
+
1041
1098
  class Status
1042
1099
  # @private
1043
1100
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1089,23 +1146,8 @@ module Google
1089
1146
  class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
1090
1147
  # @private
1091
1148
  class Representation < Google::Apis::Core::JsonRepresentation
1092
- collection :database_metadata, as: 'databaseMetadata', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata::Representation
1093
-
1094
- end
1095
- end
1096
-
1097
- class StorageDatabasecenterPartnerapiV1mainDatabaseMetadata
1098
- # @private
1099
- class Representation < Google::Apis::Core::JsonRepresentation
1100
- property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration::Representation
1101
-
1102
- 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
1103
1150
 
1104
- property :product, as: 'product', class: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct::Representation
1105
-
1106
- property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1107
-
1108
- property :resource_name, as: 'resourceName'
1109
1151
  end
1110
1152
  end
1111
1153
 
@@ -1142,6 +1184,7 @@ module Google
1142
1184
  property :resource_name, as: 'resourceName'
1143
1185
  property :signal_class, as: 'signalClass'
1144
1186
  property :signal_id, as: 'signalId'
1187
+ property :signal_severity, as: 'signalSeverity'
1145
1188
  property :signal_type, as: 'signalType'
1146
1189
  property :state, as: 'state'
1147
1190
  end
@@ -1213,6 +1256,21 @@ module Google
1213
1256
  end
1214
1257
  end
1215
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
+
1216
1274
  class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
1217
1275
  # @private
1218
1276
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1319,11 +1377,22 @@ module Google
1319
1377
  # @private
1320
1378
  class Representation < Google::Apis::Core::JsonRepresentation
1321
1379
  property :end_time, as: 'endTime'
1380
+ property :grace_end_time, as: 'graceEndTime'
1322
1381
  property :start_time, as: 'startTime'
1323
1382
  property :upgrade_time, as: 'upgradeTime'
1324
1383
  end
1325
1384
  end
1326
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
+
1327
1396
  class User
1328
1397
  # @private
1329
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.18.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-07-25 00:00:00.000000000 Z
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.18.0
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: []