Class Query
A wrapper around the SQL query statement. This is needed so that the JSON representation of
ExecuteSqlQueryRequest has the following format: {"query":"select *"}
.
Implements
Inherited Members
Namespace: Google.Apis.Connectors.v2.Data
Assembly: Google.Apis.Connectors.v2.dll
Syntax
public class Query : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MaxRows
Sets the limit for the maximum number of rows returned after the query execution.
Declaration
[JsonProperty("maxRows")]
public virtual long? MaxRows { get; set; }
Property Value
Type | Description |
---|---|
long? |
QueryParameters
In the struct, the value corresponds to the value of query parameter and date type corresponds to the date type of the query parameter.
Declaration
[JsonProperty("queryParameters")]
public virtual IList<QueryParameter> QueryParameters { get; set; }
Property Value
Type | Description |
---|---|
IList<QueryParameter> |
QueryValue
Required. Sql query to execute.
Declaration
[JsonProperty("query")]
public virtual string QueryValue { get; set; }
Property Value
Type | Description |
---|---|
string |
Timeout
Sets the number of seconds the driver will wait for a query to execute.
Declaration
[JsonProperty("timeout")]
public virtual long? Timeout { get; set; }
Property Value
Type | Description |
---|---|
long? |