@@ -1882,8 +1882,9 @@ class ExecuteSqlPayload
18821882 # @return [String]
18831883 attr_accessor :database
18841884
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.
18871888 # Corresponds to the JSON property `partialResultMode`
18881889 # @return [String]
18891890 attr_accessor :partial_result_mode
@@ -4601,7 +4602,8 @@ class QueryResult
46014602 # @return [String]
46024603 attr_accessor :message
46034604
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.
46054607 # Corresponds to the JSON property `partialResult`
46064608 # @return [Boolean]
46074609 attr_accessor :partial_result
@@ -4612,6 +4614,16 @@ class QueryResult
46124614 # @return [Array<Google::Apis::SqladminV1::Row>]
46134615 attr_accessor :rows
46144616
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+
46154627 def initialize ( **args )
46164628 update! ( **args )
46174629 end
@@ -4622,6 +4634,7 @@ def update!(**args)
46224634 @message = args [ :message ] if args . key? ( :message )
46234635 @partial_result = args [ :partial_result ] if args . key? ( :partial_result )
46244636 @rows = args [ :rows ] if args . key? ( :rows )
4637+ @status = args [ :status ] if args . key? ( :status )
46254638 end
46264639 end
46274640
@@ -4960,6 +4973,14 @@ class Settings
49604973 # @return [Array<String>]
49614974 attr_accessor :authorized_gae_applications
49624975
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+
49634984 # Availability type. Potential values: * `ZONAL`: The instance serves data from
49644985 # only one zone. Outages in that zone affect data accessibility. * `REGIONAL`:
49654986 # The instance can serve data from more than one zone in a region (it is highly
@@ -5201,6 +5222,7 @@ def update!(**args)
52015222 @active_directory_config = args [ :active_directory_config ] if args . key? ( :active_directory_config )
52025223 @advanced_machine_features = args [ :advanced_machine_features ] if args . key? ( :advanced_machine_features )
52035224 @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 )
52045226 @availability_type = args [ :availability_type ] if args . key? ( :availability_type )
52055227 @backup_configuration = args [ :backup_configuration ] if args . key? ( :backup_configuration )
52065228 @collation = args [ :collation ] if args . key? ( :collation )
@@ -5366,6 +5388,16 @@ class SqlInstancesExecuteSqlResponse
53665388 # @return [Array<Google::Apis::SqladminV1::QueryResult>]
53675389 attr_accessor :results
53685390
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+
53695401 def initialize ( **args )
53705402 update! ( **args )
53715403 end
@@ -5375,6 +5407,7 @@ def update!(**args)
53755407 @messages = args [ :messages ] if args . key? ( :messages )
53765408 @metadata = args [ :metadata ] if args . key? ( :metadata )
53775409 @results = args [ :results ] if args . key? ( :results )
5410+ @status = args [ :status ] if args . key? ( :status )
53785411 end
53795412 end
53805413
@@ -6018,6 +6051,45 @@ def update!(**args)
60186051 end
60196052 end
60206053
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+
60216093 # Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL
60226094 # external server initial dump.
60236095 class SyncFlags
@@ -6188,6 +6260,12 @@ class User
61886260 # @return [String]
61896261 attr_accessor :host
61906262
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+
61916269 # Indicates if a group is active or inactive for IAM database authentication.
61926270 # Corresponds to the JSON property `iamStatus`
61936271 # @return [String]
@@ -6247,6 +6325,7 @@ def update!(**args)
62476325 @dual_password_type = args [ :dual_password_type ] if args . key? ( :dual_password_type )
62486326 @etag = args [ :etag ] if args . key? ( :etag )
62496327 @host = args [ :host ] if args . key? ( :host )
6328+ @iam_email = args [ :iam_email ] if args . key? ( :iam_email )
62506329 @iam_status = args [ :iam_status ] if args . key? ( :iam_status )
62516330 @instance = args [ :instance ] if args . key? ( :instance )
62526331 @kind = args [ :kind ] if args . key? ( :kind )
0 commit comments