google-apis-sqladmin_v1 0.86.0 → 0.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db84d759454b10e34359ab79fcb5751bcf22e6de05846c38b95fba6403275ef2
4
- data.tar.gz: 5f7fece6b9cd0d7ea1ce6b8c259d13e9321913e141c86664ae18bfcd535d16e6
3
+ metadata.gz: 679187535d15297a959e210b132c54529776cdc2543066cc3c7ec0a5736526e7
4
+ data.tar.gz: 49bec3e0eac28da045a2938825394244c2a654e8c1b566f75f128a5204d89e73
5
5
  SHA512:
6
- metadata.gz: f4ed02b223d98873990618d69920c0cad4215558148ef58930b1af92dbf2c3af8c8172b97287c630585a8ea5e2abf31f3a23e902d5a1e26493c40c57c2d4a349
7
- data.tar.gz: 824817907341dec976d2481cc84fca95f91cb87371f580852e32660757cfcb18832c8adebe42966d145fa6c798299e90c61f9dbb8dacbfc571a6481161f585fd
6
+ metadata.gz: 3947b1fe0ae4fd7be29ed549ec3f724ff2305e444e2eae6f5c81c249fff12d2183ebc066305711aa3aec4dc4c5cf0c0111068b4f1b211325daae17b7d48ce123
7
+ data.tar.gz: 670c1a89f9d1abf3b50985aadccd417685a5c2c66da4f1fcb4143e823476b23a83f78702f7fe8aca795ca0ce545166889cd4beaf4066d03104c55b266125056e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.87.0 (2025-10-19)
4
+
5
+ * Regenerated from discovery document revision 20251006
6
+
3
7
  ### v0.86.0 (2025-09-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20250915
@@ -1882,8 +1882,9 @@ module Google
1882
1882
  # @return [String]
1883
1883
  attr_accessor :database
1884
1884
 
1885
- # Optional. Controls how the API should respond when the SQL execution result
1886
- # exceeds 10 MB. The default mode is to throw an error.
1885
+ # Optional. Controls how the API should respond when the SQL execution result is
1886
+ # incomplete due to the size limit or another error. The default mode is to
1887
+ # throw an error.
1887
1888
  # Corresponds to the JSON property `partialResultMode`
1888
1889
  # @return [String]
1889
1890
  attr_accessor :partial_result_mode
@@ -4601,7 +4602,8 @@ module Google
4601
4602
  # @return [String]
4602
4603
  attr_accessor :message
4603
4604
 
4604
- # Set to true if the SQL execution's result is truncated due to size limits.
4605
+ # Set to true if the SQL execution's result is truncated due to size limits or
4606
+ # an error retrieving results.
4605
4607
  # Corresponds to the JSON property `partialResult`
4606
4608
  # @return [Boolean]
4607
4609
  attr_accessor :partial_result
@@ -4612,6 +4614,16 @@ module Google
4612
4614
  # @return [Array<Google::Apis::SqladminV1::Row>]
4613
4615
  attr_accessor :rows
4614
4616
 
4617
+ # The `Status` type defines a logical error model that is suitable for different
4618
+ # programming environments, including REST APIs and RPC APIs. It is used by [
4619
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
4620
+ # data: error code, error message, and error details. You can find out more
4621
+ # about this error model and how to work with it in the [API Design Guide](https:
4622
+ # //cloud.google.com/apis/design/errors).
4623
+ # Corresponds to the JSON property `status`
4624
+ # @return [Google::Apis::SqladminV1::Status]
4625
+ attr_accessor :status
4626
+
4615
4627
  def initialize(**args)
4616
4628
  update!(**args)
4617
4629
  end
@@ -4622,6 +4634,7 @@ module Google
4622
4634
  @message = args[:message] if args.key?(:message)
4623
4635
  @partial_result = args[:partial_result] if args.key?(:partial_result)
4624
4636
  @rows = args[:rows] if args.key?(:rows)
4637
+ @status = args[:status] if args.key?(:status)
4625
4638
  end
4626
4639
  end
4627
4640
 
@@ -4960,6 +4973,14 @@ module Google
4960
4973
  # @return [Array<String>]
4961
4974
  attr_accessor :authorized_gae_applications
4962
4975
 
4976
+ # Optional. Cloud SQL for MySQL auto-upgrade configuration. When this parameter
4977
+ # is set to true, auto-upgrade is enabled for MySQL 8.0 minor versions. The
4978
+ # MySQL version must be 8.0.35 or higher.
4979
+ # Corresponds to the JSON property `autoUpgradeEnabled`
4980
+ # @return [Boolean]
4981
+ attr_accessor :auto_upgrade_enabled
4982
+ alias_method :auto_upgrade_enabled?, :auto_upgrade_enabled
4983
+
4963
4984
  # Availability type. Potential values: * `ZONAL`: The instance serves data from
4964
4985
  # only one zone. Outages in that zone affect data accessibility. * `REGIONAL`:
4965
4986
  # The instance can serve data from more than one zone in a region (it is highly
@@ -5201,6 +5222,7 @@ module Google
5201
5222
  @active_directory_config = args[:active_directory_config] if args.key?(:active_directory_config)
5202
5223
  @advanced_machine_features = args[:advanced_machine_features] if args.key?(:advanced_machine_features)
5203
5224
  @authorized_gae_applications = args[:authorized_gae_applications] if args.key?(:authorized_gae_applications)
5225
+ @auto_upgrade_enabled = args[:auto_upgrade_enabled] if args.key?(:auto_upgrade_enabled)
5204
5226
  @availability_type = args[:availability_type] if args.key?(:availability_type)
5205
5227
  @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
5206
5228
  @collation = args[:collation] if args.key?(:collation)
@@ -5366,6 +5388,16 @@ module Google
5366
5388
  # @return [Array<Google::Apis::SqladminV1::QueryResult>]
5367
5389
  attr_accessor :results
5368
5390
 
5391
+ # The `Status` type defines a logical error model that is suitable for different
5392
+ # programming environments, including REST APIs and RPC APIs. It is used by [
5393
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
5394
+ # data: error code, error message, and error details. You can find out more
5395
+ # about this error model and how to work with it in the [API Design Guide](https:
5396
+ # //cloud.google.com/apis/design/errors).
5397
+ # Corresponds to the JSON property `status`
5398
+ # @return [Google::Apis::SqladminV1::Status]
5399
+ attr_accessor :status
5400
+
5369
5401
  def initialize(**args)
5370
5402
  update!(**args)
5371
5403
  end
@@ -5375,6 +5407,7 @@ module Google
5375
5407
  @messages = args[:messages] if args.key?(:messages)
5376
5408
  @metadata = args[:metadata] if args.key?(:metadata)
5377
5409
  @results = args[:results] if args.key?(:results)
5410
+ @status = args[:status] if args.key?(:status)
5378
5411
  end
5379
5412
  end
5380
5413
 
@@ -6018,6 +6051,45 @@ module Google
6018
6051
  end
6019
6052
  end
6020
6053
 
6054
+ # The `Status` type defines a logical error model that is suitable for different
6055
+ # programming environments, including REST APIs and RPC APIs. It is used by [
6056
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
6057
+ # data: error code, error message, and error details. You can find out more
6058
+ # about this error model and how to work with it in the [API Design Guide](https:
6059
+ # //cloud.google.com/apis/design/errors).
6060
+ class Status
6061
+ include Google::Apis::Core::Hashable
6062
+
6063
+ # The status code, which should be an enum value of google.rpc.Code.
6064
+ # Corresponds to the JSON property `code`
6065
+ # @return [Fixnum]
6066
+ attr_accessor :code
6067
+
6068
+ # A list of messages that carry the error details. There is a common set of
6069
+ # message types for APIs to use.
6070
+ # Corresponds to the JSON property `details`
6071
+ # @return [Array<Hash<String,Object>>]
6072
+ attr_accessor :details
6073
+
6074
+ # A developer-facing error message, which should be in English. Any user-facing
6075
+ # error message should be localized and sent in the google.rpc.Status.details
6076
+ # field, or localized by the client.
6077
+ # Corresponds to the JSON property `message`
6078
+ # @return [String]
6079
+ attr_accessor :message
6080
+
6081
+ def initialize(**args)
6082
+ update!(**args)
6083
+ end
6084
+
6085
+ # Update properties of this object
6086
+ def update!(**args)
6087
+ @code = args[:code] if args.key?(:code)
6088
+ @details = args[:details] if args.key?(:details)
6089
+ @message = args[:message] if args.key?(:message)
6090
+ end
6091
+ end
6092
+
6021
6093
  # Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL
6022
6094
  # external server initial dump.
6023
6095
  class SyncFlags
@@ -6188,6 +6260,12 @@ module Google
6188
6260
  # @return [String]
6189
6261
  attr_accessor :host
6190
6262
 
6263
+ # Optional. The full email for an IAM user. For normal database users, this will
6264
+ # not be filled. Only applicable to MySQL database users.
6265
+ # Corresponds to the JSON property `iamEmail`
6266
+ # @return [String]
6267
+ attr_accessor :iam_email
6268
+
6191
6269
  # Indicates if a group is active or inactive for IAM database authentication.
6192
6270
  # Corresponds to the JSON property `iamStatus`
6193
6271
  # @return [String]
@@ -6247,6 +6325,7 @@ module Google
6247
6325
  @dual_password_type = args[:dual_password_type] if args.key?(:dual_password_type)
6248
6326
  @etag = args[:etag] if args.key?(:etag)
6249
6327
  @host = args[:host] if args.key?(:host)
6328
+ @iam_email = args[:iam_email] if args.key?(:iam_email)
6250
6329
  @iam_status = args[:iam_status] if args.key?(:iam_status)
6251
6330
  @instance = args[:instance] if args.key?(:instance)
6252
6331
  @kind = args[:kind] if args.key?(:kind)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SqladminV1
18
18
  # Version of the google-apis-sqladmin_v1 gem
19
- GEM_VERSION = "0.86.0"
19
+ GEM_VERSION = "0.87.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 = "20250915"
25
+ REVISION = "20251006"
26
26
  end
27
27
  end
28
28
  end
@@ -832,6 +832,12 @@ module Google
832
832
  include Google::Apis::Core::JsonObjectSupport
833
833
  end
834
834
 
835
+ class Status
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
835
841
  class SyncFlags
836
842
  class Representation < Google::Apis::Core::JsonRepresentation; end
837
843
 
@@ -2060,6 +2066,8 @@ module Google
2060
2066
  property :partial_result, as: 'partialResult'
2061
2067
  collection :rows, as: 'rows', class: Google::Apis::SqladminV1::Row, decorator: Google::Apis::SqladminV1::Row::Representation
2062
2068
 
2069
+ property :status, as: 'status', class: Google::Apis::SqladminV1::Status, decorator: Google::Apis::SqladminV1::Status::Representation
2070
+
2063
2071
  end
2064
2072
  end
2065
2073
 
@@ -2155,6 +2163,7 @@ module Google
2155
2163
  property :advanced_machine_features, as: 'advancedMachineFeatures', class: Google::Apis::SqladminV1::AdvancedMachineFeatures, decorator: Google::Apis::SqladminV1::AdvancedMachineFeatures::Representation
2156
2164
 
2157
2165
  collection :authorized_gae_applications, as: 'authorizedGaeApplications'
2166
+ property :auto_upgrade_enabled, as: 'autoUpgradeEnabled'
2158
2167
  property :availability_type, as: 'availabilityType'
2159
2168
  property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1::BackupConfiguration, decorator: Google::Apis::SqladminV1::BackupConfiguration::Representation
2160
2169
 
@@ -2245,6 +2254,8 @@ module Google
2245
2254
 
2246
2255
  collection :results, as: 'results', class: Google::Apis::SqladminV1::QueryResult, decorator: Google::Apis::SqladminV1::QueryResult::Representation
2247
2256
 
2257
+ property :status, as: 'status', class: Google::Apis::SqladminV1::Status, decorator: Google::Apis::SqladminV1::Status::Representation
2258
+
2248
2259
  end
2249
2260
  end
2250
2261
 
@@ -2438,6 +2449,15 @@ module Google
2438
2449
  end
2439
2450
  end
2440
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
+
2441
2461
  class SyncFlags
2442
2462
  # @private
2443
2463
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2488,6 +2508,7 @@ module Google
2488
2508
  property :dual_password_type, as: 'dualPasswordType'
2489
2509
  property :etag, as: 'etag'
2490
2510
  property :host, as: 'host'
2511
+ property :iam_email, as: 'iamEmail'
2491
2512
  property :iam_status, as: 'iamStatus'
2492
2513
  property :instance, as: 'instance'
2493
2514
  property :kind, as: 'kind'
@@ -1184,9 +1184,9 @@ module Google
1184
1184
 
1185
1185
  # Retrieves a resource containing information about a Cloud SQL instance.
1186
1186
  # @param [String] project
1187
- # Project ID of the project that contains the instance.
1187
+ # Required. Project ID of the project that contains the instance.
1188
1188
  # @param [String] instance
1189
- # Database instance ID. This does not include the project ID.
1189
+ # Required. Database instance ID. This does not include the project ID.
1190
1190
  # @param [String] fields
1191
1191
  # Selector specifying which fields to include in a partial response.
1192
1192
  # @param [String] quota_user
@@ -1949,9 +1949,9 @@ module Google
1949
1949
 
1950
1950
  # Retrieves an instance operation that has been performed on an instance.
1951
1951
  # @param [String] project
1952
- # Project ID of the project that contains the instance.
1952
+ # Required. Project ID of the project that contains the instance.
1953
1953
  # @param [String] operation
1954
- # Instance operation ID.
1954
+ # Required. Instance operation ID.
1955
1955
  # @param [String] fields
1956
1956
  # Selector specifying which fields to include in a partial response.
1957
1957
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.86.0
4
+ version: 0.87.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.86.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.87.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
62
62
  rdoc_options: []
63
63
  require_paths: