google-apis-alloydb_v1 0.18.0 → 0.20.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: b5809365db66834073f0eddf7a1dd55e7597f3fad16a9ec844000bf97d87cfba
4
+ data.tar.gz: f9c4d85e361e112d000d4ad3cb170309ac84652619096439725eebc76d0080c5
5
5
  SHA512:
6
- metadata.gz: 9855acfc0ae35b7067af69cbf65e79d117464d2f07a46a3aed96a5286f97e63d36a24e35827b5813ab57b92b43ed6772829cdff254e03dc3175e040f00376be1
7
- data.tar.gz: 2d01117a9c43750388bb2420b0c79c6f942217c7496fcfcf84b540928c9c7937bb94c83ff22288bc77a0f5d4e4749ce307e8942efaae4b59b32f16144fd3caa4
6
+ metadata.gz: 6ff8614c35df36e99e90b7f9b530a27cb4ddf7c37a2c51e78e659e0cc93d1704254621d88fb96ca1e2ca0c90aa615ddfaeb4662dadfc2ca55b483a7fafda87f7
7
+ data.tar.gz: cff53559ba89bfd1992351db338c2eed9b4e5cf87a00c4cd32b9bf72960ab65e5f338cd3502bf11b59b69e20c7116a730bfb1dea45f06d79b81720e4d9e978bc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-alloydb_v1
2
2
 
3
+ ### v0.20.0 (2024-09-01)
4
+
5
+ * Regenerated from discovery document revision 20240823
6
+
7
+ ### v0.19.0 (2024-08-18)
8
+
9
+ * Regenerated from discovery document revision 20240806
10
+ * Regenerated using generator version 0.15.1
11
+
3
12
  ### v0.18.0 (2024-07-25)
4
13
 
5
14
  * 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
@@ -2202,6 +2324,14 @@ module Google
2202
2324
  class StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration
2203
2325
  include Google::Apis::Core::Hashable
2204
2326
 
2327
+ # Checks for existence of (multi-cluster) routing configuration that allows
2328
+ # automatic failover to a different zone/region in case of an outage. Applicable
2329
+ # to Bigtable resources.
2330
+ # Corresponds to the JSON property `automaticFailoverRoutingConfigured`
2331
+ # @return [Boolean]
2332
+ attr_accessor :automatic_failover_routing_configured
2333
+ alias_method :automatic_failover_routing_configured?, :automatic_failover_routing_configured
2334
+
2205
2335
  # Availability type. Potential values: * `ZONAL`: The instance serves data from
2206
2336
  # only one zone. Outages in that zone affect data accessibility. * `REGIONAL`:
2207
2337
  # The instance can serve data from more than one zone in a region (it is highly
@@ -2235,6 +2365,7 @@ module Google
2235
2365
 
2236
2366
  # Update properties of this object
2237
2367
  def update!(**args)
2368
+ @automatic_failover_routing_configured = args[:automatic_failover_routing_configured] if args.key?(:automatic_failover_routing_configured)
2238
2369
  @availability_type = args[:availability_type] if args.key?(:availability_type)
2239
2370
  @cross_region_replica_configured = args[:cross_region_replica_configured] if args.key?(:cross_region_replica_configured)
2240
2371
  @external_replica_configured = args[:external_replica_configured] if args.key?(:external_replica_configured)
@@ -2340,16 +2471,17 @@ module Google
2340
2471
  end
2341
2472
  end
2342
2473
 
2343
- # Any custom metadata associated with the resource. i.e. A spanner instance can
2474
+ # Any custom metadata associated with the resource. e.g. A spanner instance can
2344
2475
  # have multiple databases with its own unique metadata. Information for these
2345
2476
  # individual databases can be captured in custom metadata data
2346
2477
  class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
2347
2478
  include Google::Apis::Core::Hashable
2348
2479
 
2349
- #
2350
- # Corresponds to the JSON property `databaseMetadata`
2351
- # @return [Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseMetadata>]
2352
- attr_accessor :database_metadata
2480
+ # Metadata for individual internal resources in an instance. e.g. spanner
2481
+ # instance can have multiple databases with unique configuration.
2482
+ # Corresponds to the JSON property `internalResourceMetadata`
2483
+ # @return [Array<Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata>]
2484
+ attr_accessor :internal_resource_metadata
2353
2485
 
2354
2486
  def initialize(**args)
2355
2487
  update!(**args)
@@ -2357,52 +2489,7 @@ module Google
2357
2489
 
2358
2490
  # Update properties of this object
2359
2491
  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)
2492
+ @internal_resource_metadata = args[:internal_resource_metadata] if args.key?(:internal_resource_metadata)
2406
2493
  end
2407
2494
  end
2408
2495
 
@@ -2421,7 +2508,7 @@ module Google
2421
2508
  # @return [String]
2422
2509
  attr_accessor :feed_type
2423
2510
 
2424
- # More feed data would be added in subsequent CLs
2511
+ #
2425
2512
  # Corresponds to the JSON property `observabilityMetricData`
2426
2513
  # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainObservabilityMetricData]
2427
2514
  attr_accessor :observability_metric_data
@@ -2534,6 +2621,11 @@ module Google
2534
2621
  # @return [String]
2535
2622
  attr_accessor :signal_id
2536
2623
 
2624
+ # The severity of the signal, such as if it's a HIGH or LOW severity.
2625
+ # Corresponds to the JSON property `signalSeverity`
2626
+ # @return [String]
2627
+ attr_accessor :signal_severity
2628
+
2537
2629
  # Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `
2538
2630
  # LOGGING_MOST_ERRORS`, etc.
2539
2631
  # Corresponds to the JSON property `signalType`
@@ -2562,6 +2654,7 @@ module Google
2562
2654
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2563
2655
  @signal_class = args[:signal_class] if args.key?(:signal_class)
2564
2656
  @signal_id = args[:signal_id] if args.key?(:signal_id)
2657
+ @signal_severity = args[:signal_severity] if args.key?(:signal_severity)
2565
2658
  @signal_type = args[:signal_type] if args.key?(:signal_type)
2566
2659
  @state = args[:state] if args.key?(:state)
2567
2660
  end
@@ -2583,8 +2676,10 @@ module Google
2583
2676
 
2584
2677
  # Required. The type of resource this ID is identifying. Ex redis.googleapis.com/
2585
2678
  # 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
2679
+ # alloydb.googleapis.com/Instance, spanner.googleapis.com/Instance, spanner.
2680
+ # googleapis.com/Database, firestore.googleapis.com/Database, sqladmin.
2681
+ # googleapis.com/Instance, bigtableadmin.googleapis.com/Cluster, bigtableadmin.
2682
+ # googleapis.com/Instance REQUIRED Please refer go/condor-common-datamodel
2588
2683
  # Corresponds to the JSON property `resourceType`
2589
2684
  # @return [String]
2590
2685
  attr_accessor :resource_type
@@ -2638,7 +2733,7 @@ module Google
2638
2733
  # @return [String]
2639
2734
  attr_accessor :current_state
2640
2735
 
2641
- # Any custom metadata associated with the resource. i.e. A spanner instance can
2736
+ # Any custom metadata associated with the resource. e.g. A spanner instance can
2642
2737
  # have multiple databases with its own unique metadata. Information for these
2643
2738
  # individual databases can be captured in custom metadata data
2644
2739
  # Corresponds to the JSON property `customMetadata`
@@ -2842,6 +2937,52 @@ module Google
2842
2937
  end
2843
2938
  end
2844
2939
 
2940
+ # Metadata for individual internal resources in an instance. e.g. spanner
2941
+ # instance can have multiple databases with unique configuration settings.
2942
+ # Similarly bigtable can have multiple clusters within same bigtable instance.
2943
+ class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
2944
+ include Google::Apis::Core::Hashable
2945
+
2946
+ # Configuration for automatic backups
2947
+ # Corresponds to the JSON property `backupConfiguration`
2948
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration]
2949
+ attr_accessor :backup_configuration
2950
+
2951
+ # A backup run.
2952
+ # Corresponds to the JSON property `backupRun`
2953
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun]
2954
+ attr_accessor :backup_run
2955
+
2956
+ # Product specification for Condor resources.
2957
+ # Corresponds to the JSON property `product`
2958
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct]
2959
+ attr_accessor :product
2960
+
2961
+ # DatabaseResourceId will serve as primary key for any resource ingestion event.
2962
+ # Corresponds to the JSON property `resourceId`
2963
+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
2964
+ attr_accessor :resource_id
2965
+
2966
+ # Required. internal resource name for spanner this will be database name e.g."
2967
+ # spanner.googleapis.com/projects/123/abc/instances/inst1/databases/db1"
2968
+ # Corresponds to the JSON property `resourceName`
2969
+ # @return [String]
2970
+ attr_accessor :resource_name
2971
+
2972
+ def initialize(**args)
2973
+ update!(**args)
2974
+ end
2975
+
2976
+ # Update properties of this object
2977
+ def update!(**args)
2978
+ @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
2979
+ @backup_run = args[:backup_run] if args.key?(:backup_run)
2980
+ @product = args[:product] if args.key?(:product)
2981
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
2982
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
2983
+ end
2984
+ end
2985
+
2845
2986
  # MachineConfiguration describes the configuration of a machine specific to
2846
2987
  # Database Resource.
2847
2988
  class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
@@ -3227,6 +3368,11 @@ module Google
3227
3368
  # @return [String]
3228
3369
  attr_accessor :end_time
3229
3370
 
3371
+ # grace end time of the cluster.
3372
+ # Corresponds to the JSON property `graceEndTime`
3373
+ # @return [String]
3374
+ attr_accessor :grace_end_time
3375
+
3230
3376
  # start time of the trial cluster.
3231
3377
  # Corresponds to the JSON property `startTime`
3232
3378
  # @return [String]
@@ -3244,11 +3390,45 @@ module Google
3244
3390
  # Update properties of this object
3245
3391
  def update!(**args)
3246
3392
  @end_time = args[:end_time] if args.key?(:end_time)
3393
+ @grace_end_time = args[:grace_end_time] if args.key?(:grace_end_time)
3247
3394
  @start_time = args[:start_time] if args.key?(:start_time)
3248
3395
  @upgrade_time = args[:upgrade_time] if args.key?(:upgrade_time)
3249
3396
  end
3250
3397
  end
3251
3398
 
3399
+ # UpgradeClusterResponse contains the response for upgrade cluster operation.
3400
+ class UpgradeClusterResponse
3401
+ include Google::Apis::Core::Hashable
3402
+
3403
+ # Array of upgrade details for the current cluster and all the secondary
3404
+ # clusters associated with this cluster.
3405
+ # Corresponds to the JSON property `clusterUpgradeDetails`
3406
+ # @return [Array<Google::Apis::AlloydbV1::ClusterUpgradeDetails>]
3407
+ attr_accessor :cluster_upgrade_details
3408
+
3409
+ # A user friendly message summarising the upgrade operation details and the next
3410
+ # steps for the user if there is any.
3411
+ # Corresponds to the JSON property `message`
3412
+ # @return [String]
3413
+ attr_accessor :message
3414
+
3415
+ # Status of upgrade operation.
3416
+ # Corresponds to the JSON property `status`
3417
+ # @return [String]
3418
+ attr_accessor :status
3419
+
3420
+ def initialize(**args)
3421
+ update!(**args)
3422
+ end
3423
+
3424
+ # Update properties of this object
3425
+ def update!(**args)
3426
+ @cluster_upgrade_details = args[:cluster_upgrade_details] if args.key?(:cluster_upgrade_details)
3427
+ @message = args[:message] if args.key?(:message)
3428
+ @status = args[:status] if args.key?(:status)
3429
+ end
3430
+ end
3431
+
3252
3432
  # Message describing User object.
3253
3433
  class User
3254
3434
  include Google::Apis::Core::Hashable
@@ -3259,6 +3439,13 @@ module Google
3259
3439
  # @return [Array<String>]
3260
3440
  attr_accessor :database_roles
3261
3441
 
3442
+ # Input only. If the user already exists and it has additional roles, keep them
3443
+ # granted.
3444
+ # Corresponds to the JSON property `keepExtraRoles`
3445
+ # @return [Boolean]
3446
+ attr_accessor :keep_extra_roles
3447
+ alias_method :keep_extra_roles?, :keep_extra_roles
3448
+
3262
3449
  # Output only. Name of the resource in the form of projects/`project`/locations/`
3263
3450
  # location`/cluster/`cluster`/users/`user`.
3264
3451
  # Corresponds to the JSON property `name`
@@ -3282,6 +3469,7 @@ module Google
3282
3469
  # Update properties of this object
3283
3470
  def update!(**args)
3284
3471
  @database_roles = args[:database_roles] if args.key?(:database_roles)
3472
+ @keep_extra_roles = args[:keep_extra_roles] if args.key?(:keep_extra_roles)
3285
3473
  @name = args[:name] if args.key?(:name)
3286
3474
  @password = args[:password] if args.key?(:password)
3287
3475
  @user_type = args[:user_type] if args.key?(:user_type)
@@ -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.20.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 = "20240823"
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
@@ -1050,6 +1107,7 @@ module Google
1050
1107
  class StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration
1051
1108
  # @private
1052
1109
  class Representation < Google::Apis::Core::JsonRepresentation
1110
+ property :automatic_failover_routing_configured, as: 'automaticFailoverRoutingConfigured'
1053
1111
  property :availability_type, as: 'availabilityType'
1054
1112
  property :cross_region_replica_configured, as: 'crossRegionReplicaConfigured'
1055
1113
  property :external_replica_configured, as: 'externalReplicaConfigured'
@@ -1089,23 +1147,8 @@ module Google
1089
1147
  class StorageDatabasecenterPartnerapiV1mainCustomMetadataData
1090
1148
  # @private
1091
1149
  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
1150
+ collection :internal_resource_metadata, as: 'internalResourceMetadata', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata::Representation
1103
1151
 
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
1152
  end
1110
1153
  end
1111
1154
 
@@ -1142,6 +1185,7 @@ module Google
1142
1185
  property :resource_name, as: 'resourceName'
1143
1186
  property :signal_class, as: 'signalClass'
1144
1187
  property :signal_id, as: 'signalId'
1188
+ property :signal_severity, as: 'signalSeverity'
1145
1189
  property :signal_type, as: 'signalType'
1146
1190
  property :state, as: 'state'
1147
1191
  end
@@ -1213,6 +1257,21 @@ module Google
1213
1257
  end
1214
1258
  end
1215
1259
 
1260
+ class StorageDatabasecenterPartnerapiV1mainInternalResourceMetadata
1261
+ # @private
1262
+ class Representation < Google::Apis::Core::JsonRepresentation
1263
+ property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration::Representation
1264
+
1265
+ property :backup_run, as: 'backupRun', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun::Representation
1266
+
1267
+ property :product, as: 'product', class: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct::Representation
1268
+
1269
+ property :resource_id, as: 'resourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation
1270
+
1271
+ property :resource_name, as: 'resourceName'
1272
+ end
1273
+ end
1274
+
1216
1275
  class StorageDatabasecenterPartnerapiV1mainMachineConfiguration
1217
1276
  # @private
1218
1277
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1319,15 +1378,27 @@ module Google
1319
1378
  # @private
1320
1379
  class Representation < Google::Apis::Core::JsonRepresentation
1321
1380
  property :end_time, as: 'endTime'
1381
+ property :grace_end_time, as: 'graceEndTime'
1322
1382
  property :start_time, as: 'startTime'
1323
1383
  property :upgrade_time, as: 'upgradeTime'
1324
1384
  end
1325
1385
  end
1326
1386
 
1387
+ class UpgradeClusterResponse
1388
+ # @private
1389
+ class Representation < Google::Apis::Core::JsonRepresentation
1390
+ collection :cluster_upgrade_details, as: 'clusterUpgradeDetails', class: Google::Apis::AlloydbV1::ClusterUpgradeDetails, decorator: Google::Apis::AlloydbV1::ClusterUpgradeDetails::Representation
1391
+
1392
+ property :message, as: 'message'
1393
+ property :status, as: 'status'
1394
+ end
1395
+ end
1396
+
1327
1397
  class User
1328
1398
  # @private
1329
1399
  class Representation < Google::Apis::Core::JsonRepresentation
1330
1400
  collection :database_roles, as: 'databaseRoles'
1401
+ property :keep_extra_roles, as: 'keepExtraRoles'
1331
1402
  property :name, as: 'name'
1332
1403
  property :password, as: 'password'
1333
1404
  property :user_type, as: 'userType'
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.20.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-09-01 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.20.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: []