public sealed class JobConfiguration.Types.Query : IMessage<JobConfiguration.Types.Query>, IEquatable<JobConfiguration.Types.Query>, IDeepCloneable<JobConfiguration.Types.Query>, IBufferMessage, IMessage
Reference documentation and code samples for the BigQuery Audit Data Logging v1 API class JobConfiguration.Types.Query.
Describes a query job, which executes a SQL-like query.
Implements
IMessageJobConfigurationTypesQuery, IEquatableJobConfigurationTypesQuery, IDeepCloneableJobConfigurationTypesQuery, IBufferMessage, IMessageNamespace
Google.Cloud.BigQuery.Logging.V1Assembly
Google.Cloud.BigQuery.Logging.V1.dll
Constructors
Query()
public Query()
Query(Query)
public Query(JobConfiguration.Types.Query other)
Parameter | |
---|---|
Name | Description |
other | JobConfigurationTypesQuery |
Properties
CreateDisposition
public string CreateDisposition { get; set; }
Describes when a job is allowed to create a table:
CREATE_IF_NEEDED
, CREATE_NEVER
.
Property Value | |
---|---|
Type | Description |
string |
DefaultDataset
public DatasetName DefaultDataset { get; set; }
If a table name is specified without a dataset in a query, this dataset will be added to table name.
Property Value | |
---|---|
Type | Description |
DatasetName |
DestinationTable
public TableName DestinationTable { get; set; }
The table where results are written.
Property Value | |
---|---|
Type | Description |
TableName |
DestinationTableEncryption
public EncryptionInfo DestinationTableEncryption { get; set; }
Result table encryption information. Set when non-default encryption is used.
Property Value | |
---|---|
Type | Description |
EncryptionInfo |
QueryPriority
public string QueryPriority { get; set; }
Describes the priority given to the query:
QUERY_INTERACTIVE
or QUERY_BATCH
.
Property Value | |
---|---|
Type | Description |
string |
Query_
public string Query_ { get; set; }
The SQL query to run.
Property Value | |
---|---|
Type | Description |
string |
StatementType
public string StatementType { get; set; }
Type of the statement (e.g. SELECT, INSERT, CREATE_TABLE, CREATE_MODEL..)
Property Value | |
---|---|
Type | Description |
string |
TableDefinitions
public RepeatedField<TableDefinition> TableDefinitions { get; }
Describes data sources outside BigQuery, if needed.
Property Value | |
---|---|
Type | Description |
RepeatedFieldTableDefinition |
WriteDisposition
public string WriteDisposition { get; set; }
Describes how writes affect existing tables:
WRITE_TRUNCATE
, WRITE_APPEND
, WRITE_EMPTY
.
Property Value | |
---|---|
Type | Description |
string |