Class ExecuteSqlPayload
The request payload used to execute SQL statements.
Implements
Inherited Members
Namespace: Google.Apis.SQLAdmin.v1beta4.Data
Assembly: Google.Apis.SQLAdmin.v1beta4.dll
Syntax
public class ExecuteSqlPayload : IDirectResponseSchema
Properties
AutoIamAuthn
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.
Declaration
[JsonProperty("autoIamAuthn")]
public virtual bool? AutoIamAuthn { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Database
Optional. Name of the database on which the statement will be executed.
Declaration
[JsonProperty("database")]
public virtual string Database { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PartialResultMode
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.
Declaration
[JsonProperty("partialResultMode")]
public virtual string PartialResultMode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RowLimit
Optional. The maximum number of rows returned per SQL statement.
Declaration
[JsonProperty("rowLimit")]
public virtual long? RowLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
SqlStatement
Required. SQL statements to run on the database. It can be a single statement or a sequence of statements separated by semicolons.
Declaration
[JsonProperty("sqlStatement")]
public virtual string SqlStatement { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
User
Optional. The name of an existing database user to connect to the database. When auto_iam_authn is set to
true, this field is ignored and the API caller's IAM user is used.
Declaration
[JsonProperty("user")]
public virtual string User { get; set; }
Property Value
| Type | Description |
|---|---|
| string |