# Discovery Engine v1beta API - Class BigQuerySource (1.0.0-beta23)

1.0.0-beta23 (latest) 1.0.0-beta22

    public sealed class BigQuerySource : IMessage<BigQuerySource>, IEquatable<BigQuerySource>, IDeepCloneable<BigQuerySource>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class BigQuerySource.

BigQuery source import data from.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BigQuerySource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BigQuerySource), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BigQuerySource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BigQuerySource), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BigQuerySource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BigQuerySource), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## 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.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### BigQuerySource()

    public BigQuerySource()

### BigQuerySource(BigQuerySource)

    public BigQuerySource(BigQuerySource other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BigQuerySource` |

## Properties

### DataSchema

    public string DataSchema { get; set; }

The schema to use when parsing the data from the source.

Supported values for user event imports:

- `user_event` (default): One \[UserEvent\]\[google.cloud.discoveryengine.v1beta.UserEvent\] per row.

Supported values for document imports:

- `document` (default): One \[Document\]\[google.cloud.discoveryengine.v1beta.Document\] format per row. Each document must have a valid \[Document.id\]\[google.cloud.discoveryengine.v1beta.Document.id\] and one of \[Document.json_data\]\[google.cloud.discoveryengine.v1beta.Document.json_data\] or \[Document.struct_data\]\[google.cloud.discoveryengine.v1beta.Document.struct_data\].
- `custom`: One custom data per row in arbitrary format that conforms to the defined \[Schema\]\[google.cloud.discoveryengine.v1beta.Schema\] of the data store. This can only be used by the GENERIC Data Store vertical.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DatasetId

    public string DatasetId { get; set; }

Required. The BigQuery data set to copy the data from with a length limit
of 1,024 characters.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### GcsStagingDir

    public string GcsStagingDir { get; set; }

Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters. Can be specified if one wants to have the
BigQuery export to a specific Cloud Storage directory.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### PartitionCase

    public BigQuerySource.PartitionOneofCase PartitionCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BigQuerySourcehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.BigQuerySource.PartitionOneofCase` |   |

### PartitionDate

    public Date PartitionDate { get; set; }

BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Type.Date.html` |   |

### ProjectId

    public string ProjectId { get; set; }

The project ID or the project number that contains the BigQuery source. Has
a length limit of 128 characters. If not specified, inherits the project
ID from the parent request.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### TableId

    public string TableId { get; set; }

Required. The BigQuery table to copy the data from with a length limit of
1,024 characters.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |