bigquery  v2
Properties | List of all members
Google.Apis.Bigquery.v2.Data.QueryRequest Class Reference
Inheritance diagram for Google.Apis.Bigquery.v2.Data.QueryRequest:
Google::Apis::Requests::IDirectResponseSchema

Properties

virtual DatasetReference DefaultDataset [get, set]
 [Optional] Specifies the default datasetId and projectId to assume for any unqualified table names in the query. If not set, all table names in the query string must be qualified in the format 'datasetId.tableId'. More...
 
virtual System.Nullable< bool > DryRun [get, set]
 [Optional] If set to true, BigQuery doesn't run the job. Instead, if the query is valid, BigQuery returns statistics about the job such as how many bytes would be processed. If the query is invalid, an error returns. The default value is false. More...
 
virtual string Kind [get, set]
 The resource type of the request. More...
 
virtual string Location [get, set]
 The geographic location where the job should run. See details at https://cloud.google.com/bigquery/docs/locations#specifying_your_location. More...
 
virtual System.Nullable< long > MaxResults [get, set]
 [Optional] The maximum number of rows of data to return per page of results. Setting this flag to a small value such as 1000 and then paging through results might improve reliability when the query result set is large. In addition to this limit, responses are also limited to 10 MB. By default, there is no maximum row count, and only the byte limit applies. More...
 
virtual string ParameterMode [get, set]
 Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named () query parameters in this query. More...
 
virtual System.Nullable< bool > PreserveNulls [get, set]
 [Deprecated] This property is deprecated. More...
 
virtual string Query [get, set]
 [Required] A query string, following the BigQuery query syntax, of the query to execute. Example: "SELECT count(f1) FROM [myProjectId:myDatasetId.myTableId]". More...
 
virtual System.Collections.Generic.IList< QueryParameterQueryParameters [get, set]
 Query parameters for Standard SQL queries. More...
 
virtual System.Nullable< long > TimeoutMs [get, set]
 [Optional] How long to wait for the query to complete, in milliseconds, before the request times out and returns. Note that this is only a timeout for the request, not the query. If the query takes longer to run than the timeout value, the call returns without any results and with the 'jobComplete' flag set to false. You can call GetQueryResults() to wait for the query to complete and read the results. The default value is 10000 milliseconds (10 seconds). More...
 
virtual System.Nullable< bool > UseLegacySql [get, set]
 Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is true. If set to false, the query will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql- reference/ When useLegacySql is set to false, the value of flattenResults is ignored; query will be run as if flattenResults is false. More...
 
virtual System.Nullable< bool > UseQueryCache [get, set]
 [Optional] Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. The default value is true. More...
 
virtual string ETag [get, set]
 The ETag of the item. More...
 
- Properties inherited from Google::Apis::Requests::IDirectResponseSchema
string ETag
 

Property Documentation

◆ DefaultDataset

virtual DatasetReference Google.Apis.Bigquery.v2.Data.QueryRequest.DefaultDataset
getset

[Optional] Specifies the default datasetId and projectId to assume for any unqualified table names in the query. If not set, all table names in the query string must be qualified in the format 'datasetId.tableId'.

◆ DryRun

virtual System.Nullable<bool> Google.Apis.Bigquery.v2.Data.QueryRequest.DryRun
getset

[Optional] If set to true, BigQuery doesn't run the job. Instead, if the query is valid, BigQuery returns statistics about the job such as how many bytes would be processed. If the query is invalid, an error returns. The default value is false.

◆ ETag

virtual string Google.Apis.Bigquery.v2.Data.QueryRequest.ETag
getset

The ETag of the item.

◆ Kind

virtual string Google.Apis.Bigquery.v2.Data.QueryRequest.Kind
getset

The resource type of the request.

◆ Location

virtual string Google.Apis.Bigquery.v2.Data.QueryRequest.Location
getset

The geographic location where the job should run. See details at https://cloud.google.com/bigquery/docs/locations#specifying_your_location.

◆ MaxResults

virtual System.Nullable<long> Google.Apis.Bigquery.v2.Data.QueryRequest.MaxResults
getset

[Optional] The maximum number of rows of data to return per page of results. Setting this flag to a small value such as 1000 and then paging through results might improve reliability when the query result set is large. In addition to this limit, responses are also limited to 10 MB. By default, there is no maximum row count, and only the byte limit applies.

◆ ParameterMode

virtual string Google.Apis.Bigquery.v2.Data.QueryRequest.ParameterMode
getset

Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named () query parameters in this query.

◆ PreserveNulls

virtual System.Nullable<bool> Google.Apis.Bigquery.v2.Data.QueryRequest.PreserveNulls
getset

[Deprecated] This property is deprecated.

◆ Query

virtual string Google.Apis.Bigquery.v2.Data.QueryRequest.Query
getset

[Required] A query string, following the BigQuery query syntax, of the query to execute. Example: "SELECT count(f1) FROM [myProjectId:myDatasetId.myTableId]".

◆ QueryParameters

virtual System.Collections.Generic.IList<QueryParameter> Google.Apis.Bigquery.v2.Data.QueryRequest.QueryParameters
getset

Query parameters for Standard SQL queries.

◆ TimeoutMs

virtual System.Nullable<long> Google.Apis.Bigquery.v2.Data.QueryRequest.TimeoutMs
getset

[Optional] How long to wait for the query to complete, in milliseconds, before the request times out and returns. Note that this is only a timeout for the request, not the query. If the query takes longer to run than the timeout value, the call returns without any results and with the 'jobComplete' flag set to false. You can call GetQueryResults() to wait for the query to complete and read the results. The default value is 10000 milliseconds (10 seconds).

◆ UseLegacySql

virtual System.Nullable<bool> Google.Apis.Bigquery.v2.Data.QueryRequest.UseLegacySql
getset

Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is true. If set to false, the query will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql- reference/ When useLegacySql is set to false, the value of flattenResults is ignored; query will be run as if flattenResults is false.

◆ UseQueryCache

virtual System.Nullable<bool> Google.Apis.Bigquery.v2.Data.QueryRequest.UseQueryCache
getset

[Optional] Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. The default value is true.


The documentation for this class was generated from the following file: