google-apis-sqladmin_v1 0.86.0 → 0.88.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: 2089c04e3de8edc6d237052513c8a3ed75b56ba04a5d62bc0ea95cc97d1ae0c1
4
+ data.tar.gz: 6d8e7a793bff5e2752c4cf01246154e9787a6a2d6bf64e323e0ee1aff6c22fe8
5
5
  SHA512:
6
- metadata.gz: f4ed02b223d98873990618d69920c0cad4215558148ef58930b1af92dbf2c3af8c8172b97287c630585a8ea5e2abf31f3a23e902d5a1e26493c40c57c2d4a349
7
- data.tar.gz: 824817907341dec976d2481cc84fca95f91cb87371f580852e32660757cfcb18832c8adebe42966d145fa6c798299e90c61f9dbb8dacbfc571a6481161f585fd
6
+ metadata.gz: d5b75d56d20167426a23521b9a32ec9bc29136a33061ea156d6c662ba488b636994b1453f4fc3dfd3c91113518dda6bc91f866a1be50e060ead7c549775d7830
7
+ data.tar.gz: e0b149d3b68ba7026910fa3c936b1f71354a45a5276dedb6ac42ad9e680b858f173674e115c737b564775212fc8bcfc363ea8e717ad71fcaa8109c29a1ffc5ba
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.88.0 (2025-11-02)
4
+
5
+ * Regenerated from discovery document revision 20251019
6
+
7
+ ### v0.87.0 (2025-10-19)
8
+
9
+ * Regenerated from discovery document revision 20251006
10
+
3
11
  ### v0.86.0 (2025-09-28)
4
12
 
5
13
  * Regenerated from discovery document revision 20250915
@@ -746,7 +746,7 @@ module Google
746
746
  # @return [Array<String>]
747
747
  attr_accessor :database_names
748
748
 
749
- # Name of the Cloud SQL instance to be created as a clone.
749
+ # Required. Name of the Cloud SQL instance to be created as a clone.
750
750
  # Corresponds to the JSON property `destinationInstanceName`
751
751
  # @return [String]
752
752
  attr_accessor :destination_instance_name
@@ -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
@@ -5003,6 +5024,12 @@ module Google
5003
5024
  attr_accessor :crash_safe_replication_enabled
5004
5025
  alias_method :crash_safe_replication_enabled?, :crash_safe_replication_enabled
5005
5026
 
5027
+ # This parameter controls whether to allow using Data API to connect to the
5028
+ # instance. Not allowed by default.
5029
+ # Corresponds to the JSON property `dataApiAccess`
5030
+ # @return [String]
5031
+ attr_accessor :data_api_access
5032
+
5006
5033
  # Data cache configurations.
5007
5034
  # Corresponds to the JSON property `dataCacheConfig`
5008
5035
  # @return [Google::Apis::SqladminV1::DataCacheConfig]
@@ -5201,12 +5228,14 @@ module Google
5201
5228
  @active_directory_config = args[:active_directory_config] if args.key?(:active_directory_config)
5202
5229
  @advanced_machine_features = args[:advanced_machine_features] if args.key?(:advanced_machine_features)
5203
5230
  @authorized_gae_applications = args[:authorized_gae_applications] if args.key?(:authorized_gae_applications)
5231
+ @auto_upgrade_enabled = args[:auto_upgrade_enabled] if args.key?(:auto_upgrade_enabled)
5204
5232
  @availability_type = args[:availability_type] if args.key?(:availability_type)
5205
5233
  @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
5206
5234
  @collation = args[:collation] if args.key?(:collation)
5207
5235
  @connection_pool_config = args[:connection_pool_config] if args.key?(:connection_pool_config)
5208
5236
  @connector_enforcement = args[:connector_enforcement] if args.key?(:connector_enforcement)
5209
5237
  @crash_safe_replication_enabled = args[:crash_safe_replication_enabled] if args.key?(:crash_safe_replication_enabled)
5238
+ @data_api_access = args[:data_api_access] if args.key?(:data_api_access)
5210
5239
  @data_cache_config = args[:data_cache_config] if args.key?(:data_cache_config)
5211
5240
  @data_disk_provisioned_iops = args[:data_disk_provisioned_iops] if args.key?(:data_disk_provisioned_iops)
5212
5241
  @data_disk_provisioned_throughput = args[:data_disk_provisioned_throughput] if args.key?(:data_disk_provisioned_throughput)
@@ -5366,6 +5395,16 @@ module Google
5366
5395
  # @return [Array<Google::Apis::SqladminV1::QueryResult>]
5367
5396
  attr_accessor :results
5368
5397
 
5398
+ # The `Status` type defines a logical error model that is suitable for different
5399
+ # programming environments, including REST APIs and RPC APIs. It is used by [
5400
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
5401
+ # data: error code, error message, and error details. You can find out more
5402
+ # about this error model and how to work with it in the [API Design Guide](https:
5403
+ # //cloud.google.com/apis/design/errors).
5404
+ # Corresponds to the JSON property `status`
5405
+ # @return [Google::Apis::SqladminV1::Status]
5406
+ attr_accessor :status
5407
+
5369
5408
  def initialize(**args)
5370
5409
  update!(**args)
5371
5410
  end
@@ -5375,6 +5414,7 @@ module Google
5375
5414
  @messages = args[:messages] if args.key?(:messages)
5376
5415
  @metadata = args[:metadata] if args.key?(:metadata)
5377
5416
  @results = args[:results] if args.key?(:results)
5417
+ @status = args[:status] if args.key?(:status)
5378
5418
  end
5379
5419
  end
5380
5420
 
@@ -6018,6 +6058,45 @@ module Google
6018
6058
  end
6019
6059
  end
6020
6060
 
6061
+ # The `Status` type defines a logical error model that is suitable for different
6062
+ # programming environments, including REST APIs and RPC APIs. It is used by [
6063
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
6064
+ # data: error code, error message, and error details. You can find out more
6065
+ # about this error model and how to work with it in the [API Design Guide](https:
6066
+ # //cloud.google.com/apis/design/errors).
6067
+ class Status
6068
+ include Google::Apis::Core::Hashable
6069
+
6070
+ # The status code, which should be an enum value of google.rpc.Code.
6071
+ # Corresponds to the JSON property `code`
6072
+ # @return [Fixnum]
6073
+ attr_accessor :code
6074
+
6075
+ # A list of messages that carry the error details. There is a common set of
6076
+ # message types for APIs to use.
6077
+ # Corresponds to the JSON property `details`
6078
+ # @return [Array<Hash<String,Object>>]
6079
+ attr_accessor :details
6080
+
6081
+ # A developer-facing error message, which should be in English. Any user-facing
6082
+ # error message should be localized and sent in the google.rpc.Status.details
6083
+ # field, or localized by the client.
6084
+ # Corresponds to the JSON property `message`
6085
+ # @return [String]
6086
+ attr_accessor :message
6087
+
6088
+ def initialize(**args)
6089
+ update!(**args)
6090
+ end
6091
+
6092
+ # Update properties of this object
6093
+ def update!(**args)
6094
+ @code = args[:code] if args.key?(:code)
6095
+ @details = args[:details] if args.key?(:details)
6096
+ @message = args[:message] if args.key?(:message)
6097
+ end
6098
+ end
6099
+
6021
6100
  # Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL
6022
6101
  # external server initial dump.
6023
6102
  class SyncFlags
@@ -6188,6 +6267,12 @@ module Google
6188
6267
  # @return [String]
6189
6268
  attr_accessor :host
6190
6269
 
6270
+ # Optional. The full email for an IAM user. For normal database users, this will
6271
+ # not be filled. Only applicable to MySQL database users.
6272
+ # Corresponds to the JSON property `iamEmail`
6273
+ # @return [String]
6274
+ attr_accessor :iam_email
6275
+
6191
6276
  # Indicates if a group is active or inactive for IAM database authentication.
6192
6277
  # Corresponds to the JSON property `iamStatus`
6193
6278
  # @return [String]
@@ -6247,6 +6332,7 @@ module Google
6247
6332
  @dual_password_type = args[:dual_password_type] if args.key?(:dual_password_type)
6248
6333
  @etag = args[:etag] if args.key?(:etag)
6249
6334
  @host = args[:host] if args.key?(:host)
6335
+ @iam_email = args[:iam_email] if args.key?(:iam_email)
6250
6336
  @iam_status = args[:iam_status] if args.key?(:iam_status)
6251
6337
  @instance = args[:instance] if args.key?(:instance)
6252
6338
  @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.88.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 = "20251019"
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
 
@@ -2163,6 +2172,7 @@ module Google
2163
2172
 
2164
2173
  property :connector_enforcement, as: 'connectorEnforcement'
2165
2174
  property :crash_safe_replication_enabled, as: 'crashSafeReplicationEnabled'
2175
+ property :data_api_access, as: 'dataApiAccess'
2166
2176
  property :data_cache_config, as: 'dataCacheConfig', class: Google::Apis::SqladminV1::DataCacheConfig, decorator: Google::Apis::SqladminV1::DataCacheConfig::Representation
2167
2177
 
2168
2178
  property :data_disk_provisioned_iops, :numeric_string => true, as: 'dataDiskProvisionedIops'
@@ -2245,6 +2255,8 @@ module Google
2245
2255
 
2246
2256
  collection :results, as: 'results', class: Google::Apis::SqladminV1::QueryResult, decorator: Google::Apis::SqladminV1::QueryResult::Representation
2247
2257
 
2258
+ property :status, as: 'status', class: Google::Apis::SqladminV1::Status, decorator: Google::Apis::SqladminV1::Status::Representation
2259
+
2248
2260
  end
2249
2261
  end
2250
2262
 
@@ -2438,6 +2450,15 @@ module Google
2438
2450
  end
2439
2451
  end
2440
2452
 
2453
+ class Status
2454
+ # @private
2455
+ class Representation < Google::Apis::Core::JsonRepresentation
2456
+ property :code, as: 'code'
2457
+ collection :details, as: 'details'
2458
+ property :message, as: 'message'
2459
+ end
2460
+ end
2461
+
2441
2462
  class SyncFlags
2442
2463
  # @private
2443
2464
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2488,6 +2509,7 @@ module Google
2488
2509
  property :dual_password_type, as: 'dualPasswordType'
2489
2510
  property :etag, as: 'etag'
2490
2511
  property :host, as: 'host'
2512
+ property :iam_email, as: 'iamEmail'
2491
2513
  property :iam_status, as: 'iamStatus'
2492
2514
  property :instance, as: 'instance'
2493
2515
  property :kind, as: 'kind'
@@ -913,10 +913,10 @@ module Google
913
913
  # Creates a Cloud SQL instance as a clone of the source instance. Using this
914
914
  # operation might cause your instance to restart.
915
915
  # @param [String] project
916
- # Project ID of the source as well as the clone Cloud SQL instance.
916
+ # Required. Project ID of the source as well as the clone Cloud SQL instance.
917
917
  # @param [String] instance
918
- # The ID of the Cloud SQL instance to be cloned (source). This does not include
919
- # the project ID.
918
+ # Required. The ID of the Cloud SQL instance to be cloned (source). This does
919
+ # not include the project ID.
920
920
  # @param [Google::Apis::SqladminV1::InstancesCloneRequest] instances_clone_request_object
921
921
  # @param [String] fields
922
922
  # Selector specifying which fields to include in a partial response.
@@ -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.88.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.88.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: