Cloud SQL Admin V1 API - Module Google::Cloud::Sql::V1::ExecuteSqlPayload::PartialResultMode (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API module Google::Cloud::Sql::V1::ExecuteSqlPayload::PartialResultMode.

Controls how the API should respond when the SQL execution result exceeds 10 MB.

Constants

PARTIAL_RESULT_MODE_UNSPECIFIED

value: 0
Unspecified mode, effectively the same as FAIL_PARTIAL_RESULT.

FAIL_PARTIAL_RESULT

value: 1
Throw an error if the result exceeds 10 MB or if only a partial result can be retrieved. Don't return the result.

ALLOW_PARTIAL_RESULT

value: 2
Return a truncated result and set partial_result to true if the result exceeds 10 MB or if only a partial result can be retrieved due to error. Don't throw an error.