1.4.0 (latest) 1.3.0 1.2.0 1.1.0 1.0.0

    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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> JobConfiguration.Types.Query

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[JobConfiguration](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Logging.V1/latest/Google.Cloud.BigQuery.Logging.V1.JobConfiguration.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Logging.V1/latest/Google.Cloud.BigQuery.Logging.V1.JobConfiguration.Types.md.txt)[Query](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Logging.V1/latest/Google.Cloud.BigQuery.Logging.V1.JobConfiguration.Types.Query.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[JobConfiguration](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Logging.V1/latest/Google.Cloud.BigQuery.Logging.V1.JobConfiguration.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Logging.V1/latest/Google.Cloud.BigQuery.Logging.V1.JobConfiguration.Types.md.txt)[Query](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Logging.V1/latest/Google.Cloud.BigQuery.Logging.V1.JobConfiguration.Types.Query.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[JobConfiguration](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Logging.V1/latest/Google.Cloud.BigQuery.Logging.V1.JobConfiguration.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Logging.V1/latest/Google.Cloud.BigQuery.Logging.V1.JobConfiguration.Types.md.txt)[Query](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Logging.V1/latest/Google.Cloud.BigQuery.Logging.V1.JobConfiguration.Types.Query.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BigQuery.Logging.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Logging.V1/latest/Google.Cloud.BigQuery.Logging.V1.md.txt)

## Assembly

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` |   |