google-apis-sqladmin_v1beta4 0.90.0 → 0.92.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/sqladmin_v1beta4/classes.rb +181 -3
- data/lib/google/apis/sqladmin_v1beta4/gem_version.rb +2 -2
- data/lib/google/apis/sqladmin_v1beta4/representations.rb +70 -0
- data/lib/google/apis/sqladmin_v1beta4/service.rb +38 -1
- data/lib/google/apis/sqladmin_v1beta4.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c87af8740afd85edd9be7e9b96f56ed90a29ffcc8cc378d85a8bf4b22ca9bafe
|
4
|
+
data.tar.gz: f487b4a6492fe4fb10e9ef900e53f602398ad0f773ad29c1affbe4f15eb71d87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94c29701f761b19145b6751ec2abdb7ab470dbace10678644ca2c2a47325859f071e3573094895ea27863ebfffa8d82062c379f93f8efce815d5a187e7afb1f8
|
7
|
+
data.tar.gz: b4ebe5f9dc490d5ad8b9547f25adedf0aab1f9276b8f3498fc60a1f28696273ee4369ce296fe3b3399d3b1d097da446a5ca937b61a7c4ae5e4431392e8f3dcf3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1beta4
|
2
2
|
|
3
|
+
### v0.92.0 (2025-10-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20251006
|
6
|
+
|
7
|
+
### v0.91.0 (2025-09-28)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250915
|
10
|
+
|
3
11
|
### v0.90.0 (2025-09-21)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250908
|
data/OVERVIEW.md
CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
|
|
79
79
|
|
80
80
|
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
|
81
81
|
|
82
|
-
The [product documentation](https://
|
82
|
+
The [product documentation](https://cloud.google.com/sql/docs) may provide guidance regarding the preferred client library to use.
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
@@ -1880,8 +1880,9 @@ module Google
|
|
1880
1880
|
# @return [String]
|
1881
1881
|
attr_accessor :database
|
1882
1882
|
|
1883
|
-
# Optional. Controls how the API should respond when the SQL execution result
|
1884
|
-
#
|
1883
|
+
# Optional. Controls how the API should respond when the SQL execution result is
|
1884
|
+
# incomplete due to the size limit or another error. The default mode is to
|
1885
|
+
# throw an error.
|
1885
1886
|
# Corresponds to the JSON property `partialResultMode`
|
1886
1887
|
# @return [String]
|
1887
1888
|
attr_accessor :partial_result_mode
|
@@ -3243,6 +3244,25 @@ module Google
|
|
3243
3244
|
end
|
3244
3245
|
end
|
3245
3246
|
|
3247
|
+
# Request for Pre-checks for MVU
|
3248
|
+
class InstancesPreCheckMajorVersionUpgradeRequest
|
3249
|
+
include Google::Apis::Core::Hashable
|
3250
|
+
|
3251
|
+
# Pre-check major version upgrade context.
|
3252
|
+
# Corresponds to the JSON property `preCheckMajorVersionUpgradeContext`
|
3253
|
+
# @return [Google::Apis::SqladminV1beta4::PreCheckMajorVersionUpgradeContext]
|
3254
|
+
attr_accessor :pre_check_major_version_upgrade_context
|
3255
|
+
|
3256
|
+
def initialize(**args)
|
3257
|
+
update!(**args)
|
3258
|
+
end
|
3259
|
+
|
3260
|
+
# Update properties of this object
|
3261
|
+
def update!(**args)
|
3262
|
+
@pre_check_major_version_upgrade_context = args[:pre_check_major_version_upgrade_context] if args.key?(:pre_check_major_version_upgrade_context)
|
3263
|
+
end
|
3264
|
+
end
|
3265
|
+
|
3246
3266
|
# Database Instance reencrypt request.
|
3247
3267
|
class InstancesReencryptRequest
|
3248
3268
|
include Google::Apis::Core::Hashable
|
@@ -3967,6 +3987,11 @@ module Google
|
|
3967
3987
|
# @return [String]
|
3968
3988
|
attr_accessor :operation_type
|
3969
3989
|
|
3990
|
+
# Pre-check major version upgrade context.
|
3991
|
+
# Corresponds to the JSON property `preCheckMajorVersionUpgradeContext`
|
3992
|
+
# @return [Google::Apis::SqladminV1beta4::PreCheckMajorVersionUpgradeContext]
|
3993
|
+
attr_accessor :pre_check_major_version_upgrade_context
|
3994
|
+
|
3970
3995
|
# The URI of this resource.
|
3971
3996
|
# Corresponds to the JSON property `selfLink`
|
3972
3997
|
# @return [String]
|
@@ -4025,6 +4050,7 @@ module Google
|
|
4025
4050
|
@kind = args[:kind] if args.key?(:kind)
|
4026
4051
|
@name = args[:name] if args.key?(:name)
|
4027
4052
|
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
4053
|
+
@pre_check_major_version_upgrade_context = args[:pre_check_major_version_upgrade_context] if args.key?(:pre_check_major_version_upgrade_context)
|
4028
4054
|
@self_link = args[:self_link] if args.key?(:self_link)
|
4029
4055
|
@start_time = args[:start_time] if args.key?(:start_time)
|
4030
4056
|
@status = args[:status] if args.key?(:status)
|
@@ -4407,6 +4433,68 @@ module Google
|
|
4407
4433
|
end
|
4408
4434
|
end
|
4409
4435
|
|
4436
|
+
# Pre-check major version upgrade context.
|
4437
|
+
class PreCheckMajorVersionUpgradeContext
|
4438
|
+
include Google::Apis::Core::Hashable
|
4439
|
+
|
4440
|
+
# Optional. This is always `sql#preCheckMajorVersionUpgradeContext`.
|
4441
|
+
# Corresponds to the JSON property `kind`
|
4442
|
+
# @return [String]
|
4443
|
+
attr_accessor :kind
|
4444
|
+
|
4445
|
+
# Output only. The responses from the precheck operation.
|
4446
|
+
# Corresponds to the JSON property `preCheckResponse`
|
4447
|
+
# @return [Array<Google::Apis::SqladminV1beta4::PreCheckResponse>]
|
4448
|
+
attr_accessor :pre_check_response
|
4449
|
+
|
4450
|
+
# Required. The target database version to upgrade to.
|
4451
|
+
# Corresponds to the JSON property `targetDatabaseVersion`
|
4452
|
+
# @return [String]
|
4453
|
+
attr_accessor :target_database_version
|
4454
|
+
|
4455
|
+
def initialize(**args)
|
4456
|
+
update!(**args)
|
4457
|
+
end
|
4458
|
+
|
4459
|
+
# Update properties of this object
|
4460
|
+
def update!(**args)
|
4461
|
+
@kind = args[:kind] if args.key?(:kind)
|
4462
|
+
@pre_check_response = args[:pre_check_response] if args.key?(:pre_check_response)
|
4463
|
+
@target_database_version = args[:target_database_version] if args.key?(:target_database_version)
|
4464
|
+
end
|
4465
|
+
end
|
4466
|
+
|
4467
|
+
# Structured PreCheckResponse containing message, type, and required actions.
|
4468
|
+
class PreCheckResponse
|
4469
|
+
include Google::Apis::Core::Hashable
|
4470
|
+
|
4471
|
+
# The actions that the user needs to take. Use repeated for multiple actions.
|
4472
|
+
# Corresponds to the JSON property `actionsRequired`
|
4473
|
+
# @return [Array<String>]
|
4474
|
+
attr_accessor :actions_required
|
4475
|
+
|
4476
|
+
# The message to be displayed to the user.
|
4477
|
+
# Corresponds to the JSON property `message`
|
4478
|
+
# @return [String]
|
4479
|
+
attr_accessor :message
|
4480
|
+
|
4481
|
+
# The type of message whether it is an info, warning, or error.
|
4482
|
+
# Corresponds to the JSON property `messageType`
|
4483
|
+
# @return [String]
|
4484
|
+
attr_accessor :message_type
|
4485
|
+
|
4486
|
+
def initialize(**args)
|
4487
|
+
update!(**args)
|
4488
|
+
end
|
4489
|
+
|
4490
|
+
# Update properties of this object
|
4491
|
+
def update!(**args)
|
4492
|
+
@actions_required = args[:actions_required] if args.key?(:actions_required)
|
4493
|
+
@message = args[:message] if args.key?(:message)
|
4494
|
+
@message_type = args[:message_type] if args.key?(:message_type)
|
4495
|
+
end
|
4496
|
+
end
|
4497
|
+
|
4410
4498
|
# Settings for an automatically-setup Private Service Connect consumer endpoint
|
4411
4499
|
# that is used to connect to a Cloud SQL instance.
|
4412
4500
|
class PscAutoConnectionConfig
|
@@ -4515,7 +4603,8 @@ module Google
|
|
4515
4603
|
# @return [String]
|
4516
4604
|
attr_accessor :message
|
4517
4605
|
|
4518
|
-
# Set to true if the SQL execution's result is truncated due to size limits
|
4606
|
+
# Set to true if the SQL execution's result is truncated due to size limits or
|
4607
|
+
# an error retrieving results.
|
4519
4608
|
# Corresponds to the JSON property `partialResult`
|
4520
4609
|
# @return [Boolean]
|
4521
4610
|
attr_accessor :partial_result
|
@@ -4526,6 +4615,16 @@ module Google
|
|
4526
4615
|
# @return [Array<Google::Apis::SqladminV1beta4::Row>]
|
4527
4616
|
attr_accessor :rows
|
4528
4617
|
|
4618
|
+
# The `Status` type defines a logical error model that is suitable for different
|
4619
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
4620
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
4621
|
+
# data: error code, error message, and error details. You can find out more
|
4622
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
4623
|
+
# //cloud.google.com/apis/design/errors).
|
4624
|
+
# Corresponds to the JSON property `status`
|
4625
|
+
# @return [Google::Apis::SqladminV1beta4::Status]
|
4626
|
+
attr_accessor :status
|
4627
|
+
|
4529
4628
|
def initialize(**args)
|
4530
4629
|
update!(**args)
|
4531
4630
|
end
|
@@ -4536,6 +4635,7 @@ module Google
|
|
4536
4635
|
@message = args[:message] if args.key?(:message)
|
4537
4636
|
@partial_result = args[:partial_result] if args.key?(:partial_result)
|
4538
4637
|
@rows = args[:rows] if args.key?(:rows)
|
4638
|
+
@status = args[:status] if args.key?(:status)
|
4539
4639
|
end
|
4540
4640
|
end
|
4541
4641
|
|
@@ -4566,6 +4666,16 @@ module Google
|
|
4566
4666
|
# @return [Fixnum]
|
4567
4667
|
attr_accessor :min_node_count
|
4568
4668
|
|
4669
|
+
# The cooldown period for scale in operations.
|
4670
|
+
# Corresponds to the JSON property `scaleInCooldownSeconds`
|
4671
|
+
# @return [Fixnum]
|
4672
|
+
attr_accessor :scale_in_cooldown_seconds
|
4673
|
+
|
4674
|
+
# The cooldown period for scale out operations.
|
4675
|
+
# Corresponds to the JSON property `scaleOutCooldownSeconds`
|
4676
|
+
# @return [Fixnum]
|
4677
|
+
attr_accessor :scale_out_cooldown_seconds
|
4678
|
+
|
4569
4679
|
# Optional. Target metrics for read pool auto scaling.
|
4570
4680
|
# Corresponds to the JSON property `targetMetrics`
|
4571
4681
|
# @return [Array<Google::Apis::SqladminV1beta4::TargetMetric>]
|
@@ -4581,6 +4691,8 @@ module Google
|
|
4581
4691
|
@enabled = args[:enabled] if args.key?(:enabled)
|
4582
4692
|
@max_node_count = args[:max_node_count] if args.key?(:max_node_count)
|
4583
4693
|
@min_node_count = args[:min_node_count] if args.key?(:min_node_count)
|
4694
|
+
@scale_in_cooldown_seconds = args[:scale_in_cooldown_seconds] if args.key?(:scale_in_cooldown_seconds)
|
4695
|
+
@scale_out_cooldown_seconds = args[:scale_out_cooldown_seconds] if args.key?(:scale_out_cooldown_seconds)
|
4584
4696
|
@target_metrics = args[:target_metrics] if args.key?(:target_metrics)
|
4585
4697
|
end
|
4586
4698
|
end
|
@@ -4862,6 +4974,14 @@ module Google
|
|
4862
4974
|
# @return [Array<String>]
|
4863
4975
|
attr_accessor :authorized_gae_applications
|
4864
4976
|
|
4977
|
+
# Optional. Cloud SQL for MySQL auto-upgrade configuration. When this parameter
|
4978
|
+
# is set to true, auto-upgrade is enabled for MySQL 8.0 minor versions. The
|
4979
|
+
# MySQL version must be 8.0.35 or higher.
|
4980
|
+
# Corresponds to the JSON property `autoUpgradeEnabled`
|
4981
|
+
# @return [Boolean]
|
4982
|
+
attr_accessor :auto_upgrade_enabled
|
4983
|
+
alias_method :auto_upgrade_enabled?, :auto_upgrade_enabled
|
4984
|
+
|
4865
4985
|
# Availability type. Potential values: * `ZONAL`: The instance serves data from
|
4866
4986
|
# only one zone. Outages in that zone affect data accessibility. * `REGIONAL`:
|
4867
4987
|
# The instance can serve data from more than one zone in a region (it is highly
|
@@ -5103,6 +5223,7 @@ module Google
|
|
5103
5223
|
@active_directory_config = args[:active_directory_config] if args.key?(:active_directory_config)
|
5104
5224
|
@advanced_machine_features = args[:advanced_machine_features] if args.key?(:advanced_machine_features)
|
5105
5225
|
@authorized_gae_applications = args[:authorized_gae_applications] if args.key?(:authorized_gae_applications)
|
5226
|
+
@auto_upgrade_enabled = args[:auto_upgrade_enabled] if args.key?(:auto_upgrade_enabled)
|
5106
5227
|
@availability_type = args[:availability_type] if args.key?(:availability_type)
|
5107
5228
|
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
|
5108
5229
|
@collation = args[:collation] if args.key?(:collation)
|
@@ -5268,6 +5389,16 @@ module Google
|
|
5268
5389
|
# @return [Array<Google::Apis::SqladminV1beta4::QueryResult>]
|
5269
5390
|
attr_accessor :results
|
5270
5391
|
|
5392
|
+
# The `Status` type defines a logical error model that is suitable for different
|
5393
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
5394
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
5395
|
+
# data: error code, error message, and error details. You can find out more
|
5396
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
5397
|
+
# //cloud.google.com/apis/design/errors).
|
5398
|
+
# Corresponds to the JSON property `status`
|
5399
|
+
# @return [Google::Apis::SqladminV1beta4::Status]
|
5400
|
+
attr_accessor :status
|
5401
|
+
|
5271
5402
|
def initialize(**args)
|
5272
5403
|
update!(**args)
|
5273
5404
|
end
|
@@ -5277,6 +5408,7 @@ module Google
|
|
5277
5408
|
@messages = args[:messages] if args.key?(:messages)
|
5278
5409
|
@metadata = args[:metadata] if args.key?(:metadata)
|
5279
5410
|
@results = args[:results] if args.key?(:results)
|
5411
|
+
@status = args[:status] if args.key?(:status)
|
5280
5412
|
end
|
5281
5413
|
end
|
5282
5414
|
|
@@ -5920,6 +6052,45 @@ module Google
|
|
5920
6052
|
end
|
5921
6053
|
end
|
5922
6054
|
|
6055
|
+
# The `Status` type defines a logical error model that is suitable for different
|
6056
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
6057
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
6058
|
+
# data: error code, error message, and error details. You can find out more
|
6059
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
6060
|
+
# //cloud.google.com/apis/design/errors).
|
6061
|
+
class Status
|
6062
|
+
include Google::Apis::Core::Hashable
|
6063
|
+
|
6064
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
6065
|
+
# Corresponds to the JSON property `code`
|
6066
|
+
# @return [Fixnum]
|
6067
|
+
attr_accessor :code
|
6068
|
+
|
6069
|
+
# A list of messages that carry the error details. There is a common set of
|
6070
|
+
# message types for APIs to use.
|
6071
|
+
# Corresponds to the JSON property `details`
|
6072
|
+
# @return [Array<Hash<String,Object>>]
|
6073
|
+
attr_accessor :details
|
6074
|
+
|
6075
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
6076
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
6077
|
+
# field, or localized by the client.
|
6078
|
+
# Corresponds to the JSON property `message`
|
6079
|
+
# @return [String]
|
6080
|
+
attr_accessor :message
|
6081
|
+
|
6082
|
+
def initialize(**args)
|
6083
|
+
update!(**args)
|
6084
|
+
end
|
6085
|
+
|
6086
|
+
# Update properties of this object
|
6087
|
+
def update!(**args)
|
6088
|
+
@code = args[:code] if args.key?(:code)
|
6089
|
+
@details = args[:details] if args.key?(:details)
|
6090
|
+
@message = args[:message] if args.key?(:message)
|
6091
|
+
end
|
6092
|
+
end
|
6093
|
+
|
5923
6094
|
# Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL
|
5924
6095
|
# external server initial dump.
|
5925
6096
|
class SyncFlags
|
@@ -6090,6 +6261,12 @@ module Google
|
|
6090
6261
|
# @return [String]
|
6091
6262
|
attr_accessor :host
|
6092
6263
|
|
6264
|
+
# Optional. The full email for an IAM user. For normal database users, this will
|
6265
|
+
# not be filled. Only applicable to MySQL database users.
|
6266
|
+
# Corresponds to the JSON property `iamEmail`
|
6267
|
+
# @return [String]
|
6268
|
+
attr_accessor :iam_email
|
6269
|
+
|
6093
6270
|
# Indicates if a group is active or inactive for IAM database authentication.
|
6094
6271
|
# Corresponds to the JSON property `iamStatus`
|
6095
6272
|
# @return [String]
|
@@ -6149,6 +6326,7 @@ module Google
|
|
6149
6326
|
@dual_password_type = args[:dual_password_type] if args.key?(:dual_password_type)
|
6150
6327
|
@etag = args[:etag] if args.key?(:etag)
|
6151
6328
|
@host = args[:host] if args.key?(:host)
|
6329
|
+
@iam_email = args[:iam_email] if args.key?(:iam_email)
|
6152
6330
|
@iam_status = args[:iam_status] if args.key?(:iam_status)
|
6153
6331
|
@instance = args[:instance] if args.key?(:instance)
|
6154
6332
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SqladminV1beta4
|
18
18
|
# Version of the google-apis-sqladmin_v1beta4 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.92.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20251006"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -436,6 +436,12 @@ module Google
|
|
436
436
|
include Google::Apis::Core::JsonObjectSupport
|
437
437
|
end
|
438
438
|
|
439
|
+
class InstancesPreCheckMajorVersionUpgradeRequest
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
439
445
|
class InstancesReencryptRequest
|
440
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
447
|
|
@@ -592,6 +598,18 @@ module Google
|
|
592
598
|
include Google::Apis::Core::JsonObjectSupport
|
593
599
|
end
|
594
600
|
|
601
|
+
class PreCheckMajorVersionUpgradeContext
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
|
+
|
604
|
+
include Google::Apis::Core::JsonObjectSupport
|
605
|
+
end
|
606
|
+
|
607
|
+
class PreCheckResponse
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
609
|
+
|
610
|
+
include Google::Apis::Core::JsonObjectSupport
|
611
|
+
end
|
612
|
+
|
595
613
|
class PscAutoConnectionConfig
|
596
614
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
615
|
|
@@ -814,6 +832,12 @@ module Google
|
|
814
832
|
include Google::Apis::Core::JsonObjectSupport
|
815
833
|
end
|
816
834
|
|
835
|
+
class Status
|
836
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
837
|
+
|
838
|
+
include Google::Apis::Core::JsonObjectSupport
|
839
|
+
end
|
840
|
+
|
817
841
|
class SyncFlags
|
818
842
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
819
843
|
|
@@ -1683,6 +1707,14 @@ module Google
|
|
1683
1707
|
end
|
1684
1708
|
end
|
1685
1709
|
|
1710
|
+
class InstancesPreCheckMajorVersionUpgradeRequest
|
1711
|
+
# @private
|
1712
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1713
|
+
property :pre_check_major_version_upgrade_context, as: 'preCheckMajorVersionUpgradeContext', class: Google::Apis::SqladminV1beta4::PreCheckMajorVersionUpgradeContext, decorator: Google::Apis::SqladminV1beta4::PreCheckMajorVersionUpgradeContext::Representation
|
1714
|
+
|
1715
|
+
end
|
1716
|
+
end
|
1717
|
+
|
1686
1718
|
class InstancesReencryptRequest
|
1687
1719
|
# @private
|
1688
1720
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1874,6 +1906,8 @@ module Google
|
|
1874
1906
|
property :kind, as: 'kind'
|
1875
1907
|
property :name, as: 'name'
|
1876
1908
|
property :operation_type, as: 'operationType'
|
1909
|
+
property :pre_check_major_version_upgrade_context, as: 'preCheckMajorVersionUpgradeContext', class: Google::Apis::SqladminV1beta4::PreCheckMajorVersionUpgradeContext, decorator: Google::Apis::SqladminV1beta4::PreCheckMajorVersionUpgradeContext::Representation
|
1910
|
+
|
1877
1911
|
property :self_link, as: 'selfLink'
|
1878
1912
|
property :start_time, as: 'startTime'
|
1879
1913
|
property :status, as: 'status'
|
@@ -1982,6 +2016,25 @@ module Google
|
|
1982
2016
|
end
|
1983
2017
|
end
|
1984
2018
|
|
2019
|
+
class PreCheckMajorVersionUpgradeContext
|
2020
|
+
# @private
|
2021
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2022
|
+
property :kind, as: 'kind'
|
2023
|
+
collection :pre_check_response, as: 'preCheckResponse', class: Google::Apis::SqladminV1beta4::PreCheckResponse, decorator: Google::Apis::SqladminV1beta4::PreCheckResponse::Representation
|
2024
|
+
|
2025
|
+
property :target_database_version, as: 'targetDatabaseVersion'
|
2026
|
+
end
|
2027
|
+
end
|
2028
|
+
|
2029
|
+
class PreCheckResponse
|
2030
|
+
# @private
|
2031
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2032
|
+
collection :actions_required, as: 'actionsRequired'
|
2033
|
+
property :message, as: 'message'
|
2034
|
+
property :message_type, as: 'messageType'
|
2035
|
+
end
|
2036
|
+
end
|
2037
|
+
|
1985
2038
|
class PscAutoConnectionConfig
|
1986
2039
|
# @private
|
1987
2040
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2013,6 +2066,8 @@ module Google
|
|
2013
2066
|
property :partial_result, as: 'partialResult'
|
2014
2067
|
collection :rows, as: 'rows', class: Google::Apis::SqladminV1beta4::Row, decorator: Google::Apis::SqladminV1beta4::Row::Representation
|
2015
2068
|
|
2069
|
+
property :status, as: 'status', class: Google::Apis::SqladminV1beta4::Status, decorator: Google::Apis::SqladminV1beta4::Status::Representation
|
2070
|
+
|
2016
2071
|
end
|
2017
2072
|
end
|
2018
2073
|
|
@@ -2023,6 +2078,8 @@ module Google
|
|
2023
2078
|
property :enabled, as: 'enabled'
|
2024
2079
|
property :max_node_count, as: 'maxNodeCount'
|
2025
2080
|
property :min_node_count, as: 'minNodeCount'
|
2081
|
+
property :scale_in_cooldown_seconds, as: 'scaleInCooldownSeconds'
|
2082
|
+
property :scale_out_cooldown_seconds, as: 'scaleOutCooldownSeconds'
|
2026
2083
|
collection :target_metrics, as: 'targetMetrics', class: Google::Apis::SqladminV1beta4::TargetMetric, decorator: Google::Apis::SqladminV1beta4::TargetMetric::Representation
|
2027
2084
|
|
2028
2085
|
end
|
@@ -2106,6 +2163,7 @@ module Google
|
|
2106
2163
|
property :advanced_machine_features, as: 'advancedMachineFeatures', class: Google::Apis::SqladminV1beta4::AdvancedMachineFeatures, decorator: Google::Apis::SqladminV1beta4::AdvancedMachineFeatures::Representation
|
2107
2164
|
|
2108
2165
|
collection :authorized_gae_applications, as: 'authorizedGaeApplications'
|
2166
|
+
property :auto_upgrade_enabled, as: 'autoUpgradeEnabled'
|
2109
2167
|
property :availability_type, as: 'availabilityType'
|
2110
2168
|
property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1beta4::BackupConfiguration, decorator: Google::Apis::SqladminV1beta4::BackupConfiguration::Representation
|
2111
2169
|
|
@@ -2196,6 +2254,8 @@ module Google
|
|
2196
2254
|
|
2197
2255
|
collection :results, as: 'results', class: Google::Apis::SqladminV1beta4::QueryResult, decorator: Google::Apis::SqladminV1beta4::QueryResult::Representation
|
2198
2256
|
|
2257
|
+
property :status, as: 'status', class: Google::Apis::SqladminV1beta4::Status, decorator: Google::Apis::SqladminV1beta4::Status::Representation
|
2258
|
+
|
2199
2259
|
end
|
2200
2260
|
end
|
2201
2261
|
|
@@ -2389,6 +2449,15 @@ module Google
|
|
2389
2449
|
end
|
2390
2450
|
end
|
2391
2451
|
|
2452
|
+
class Status
|
2453
|
+
# @private
|
2454
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2455
|
+
property :code, as: 'code'
|
2456
|
+
collection :details, as: 'details'
|
2457
|
+
property :message, as: 'message'
|
2458
|
+
end
|
2459
|
+
end
|
2460
|
+
|
2392
2461
|
class SyncFlags
|
2393
2462
|
# @private
|
2394
2463
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2439,6 +2508,7 @@ module Google
|
|
2439
2508
|
property :dual_password_type, as: 'dualPasswordType'
|
2440
2509
|
property :etag, as: 'etag'
|
2441
2510
|
property :host, as: 'host'
|
2511
|
+
property :iam_email, as: 'iamEmail'
|
2442
2512
|
property :iam_status, as: 'iamStatus'
|
2443
2513
|
property :instance, as: 'instance'
|
2444
2514
|
property :kind, as: 'kind'
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# Sqladmin = Google::Apis::SqladminV1beta4 # Alias the module
|
31
31
|
# service = Sqladmin::SQLAdminService.new
|
32
32
|
#
|
33
|
-
# @see https://
|
33
|
+
# @see https://cloud.google.com/sql/docs
|
34
34
|
class SQLAdminService < Google::Apis::Core::BaseService
|
35
35
|
DEFAULT_ENDPOINT_TEMPLATE = "https://sqladmin.$UNIVERSE_DOMAIN$/"
|
36
36
|
|
@@ -1442,6 +1442,42 @@ module Google
|
|
1442
1442
|
execute_or_queue_command(command, &block)
|
1443
1443
|
end
|
1444
1444
|
|
1445
|
+
# Execute MVU Pre-checks
|
1446
|
+
# @param [String] project
|
1447
|
+
# Required. Project ID of the project that contains the instance.
|
1448
|
+
# @param [String] instance
|
1449
|
+
# Required. Cloud SQL instance ID. This does not include the project ID.
|
1450
|
+
# @param [Google::Apis::SqladminV1beta4::InstancesPreCheckMajorVersionUpgradeRequest] instances_pre_check_major_version_upgrade_request_object
|
1451
|
+
# @param [String] fields
|
1452
|
+
# Selector specifying which fields to include in a partial response.
|
1453
|
+
# @param [String] quota_user
|
1454
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1455
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1456
|
+
# @param [Google::Apis::RequestOptions] options
|
1457
|
+
# Request-specific options
|
1458
|
+
#
|
1459
|
+
# @yield [result, err] Result & error if block supplied
|
1460
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
1461
|
+
# @yieldparam err [StandardError] error object if request failed
|
1462
|
+
#
|
1463
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
1464
|
+
#
|
1465
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1466
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1467
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1468
|
+
def pre_instance_check_major_version_upgrade(project, instance, instances_pre_check_major_version_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1469
|
+
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/preCheckMajorVersionUpgrade', options)
|
1470
|
+
command.request_representation = Google::Apis::SqladminV1beta4::InstancesPreCheckMajorVersionUpgradeRequest::Representation
|
1471
|
+
command.request_object = instances_pre_check_major_version_upgrade_request_object
|
1472
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
1473
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
1474
|
+
command.params['project'] = project unless project.nil?
|
1475
|
+
command.params['instance'] = instance unless instance.nil?
|
1476
|
+
command.query['fields'] = fields unless fields.nil?
|
1477
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1478
|
+
execute_or_queue_command(command, &block)
|
1479
|
+
end
|
1480
|
+
|
1445
1481
|
# Promotes the read replica instance to be an independent Cloud SQL primary
|
1446
1482
|
# instance. Using this operation might cause your instance to restart.
|
1447
1483
|
# @param [String] project
|
@@ -1879,6 +1915,7 @@ module Google
|
|
1879
1915
|
end
|
1880
1916
|
|
1881
1917
|
# Cancels an instance operation that has been performed on an instance.
|
1918
|
+
# Ordinarily, this method name should be `CancelSqlOperation`.
|
1882
1919
|
# @param [String] project
|
1883
1920
|
# Project ID of the project that contains the instance.
|
1884
1921
|
# @param [String] operation
|
@@ -23,7 +23,7 @@ module Google
|
|
23
23
|
#
|
24
24
|
# API for Cloud SQL database instance management
|
25
25
|
#
|
26
|
-
# @see https://
|
26
|
+
# @see https://cloud.google.com/sql/docs
|
27
27
|
module SqladminV1beta4
|
28
28
|
# Version of the Cloud SQL Admin API this client connects to.
|
29
29
|
# This is NOT the gem version.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-sqladmin_v1beta4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.92.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.92.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|