Discovery Engine v1 API - Class BigQuerySource (1.1.0)

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

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

BigQuery source import data from.

Inheritance

object > BigQuerySource

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

BigQuerySource()

public BigQuerySource()

BigQuerySource(BigQuerySource)

public BigQuerySource(BigQuerySource other)
Parameter
Name Description
other 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.v1.UserEvent] per row.

Supported values for document imports:

  • document (default): One [Document][google.cloud.discoveryengine.v1.Document] format per row. Each document must have a valid [Document.id][google.cloud.discoveryengine.v1.Document.id] and one of [Document.json_data][google.cloud.discoveryengine.v1.Document.json_data] or [Document.struct_data][google.cloud.discoveryengine.v1.Document.struct_data].
  • custom: One custom data per row in arbitrary format that conforms to the defined [Schema][google.cloud.discoveryengine.v1.Schema] of the data store. This can only be used by the GENERIC Data Store vertical.
Property Value
Type Description
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
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
string

PartitionCase

public BigQuerySource.PartitionOneofCase PartitionCase { get; }
Property Value
Type Description
BigQuerySourcePartitionOneofCase

PartitionDate

public Date PartitionDate { get; set; }

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

Property Value
Type Description
Date

ProjectId

public string ProjectId { get; set; }

The project ID (can be project # or ID) that the BigQuery source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.

Property Value
Type Description
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
string