ExecuteSqlPayload
import type { ExecuteSqlPayload } from "https://googleapis.deno.dev/v1/sqladmin:v1.ts";The request payload used to execute SQL statements.
interface ExecuteSqlPayload {
application?: string;
autoIamAuthn?: boolean;
database?: string;
partialResultMode?: "PARTIAL_RESULT_MODE_UNSPECIFIED" | "FAIL_PARTIAL_RESULT" | "ALLOW_PARTIAL_RESULT";
rowLimit?: bigint;
sqlStatement?: string;
user?: string;
}§Properties
§
application?: string
[src]Optional. Specifies the name of the application that is making the request. This field is used for telemetry. Only alphanumeric characters, dashes, and underscores are allowed. The maximum length is 32 characters.
§
autoIamAuthn?: boolean
[src]Optional. When set to true, the API caller identity associated with the
request is used for database authentication. The API caller must be an IAM
user in the database.
§
partialResultMode?: "PARTIAL_RESULT_MODE_UNSPECIFIED" | "FAIL_PARTIAL_RESULT" | "ALLOW_PARTIAL_RESULT"
[src]Optional. Controls how the API should respond when the SQL execution result is incomplete due to the size limit or another error. The default mode is to throw an error.