public sealed class BigQuerySource : IMessage<BigQuerySource>, IEquatable<BigQuerySource>, IDeepCloneable<BigQuerySource>, IBufferMessage, IMessage
BigQuery source import data from.
Implements
IMessage<BigQuerySource>, IEquatable<BigQuerySource>, IDeepCloneable<BigQuerySource>, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.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 product imports:
product
(default): One JSON [Product][google.cloud.retail.v2.Product] per line. Each product must have a valid [Product.id][google.cloud.retail.v2.Product.id].product_merchant_center
: See Importing catalog data from Merchant Center.
Supported values for user events imports:
user_event
(default): One JSON [UserEvent][google.cloud.retail.v2.UserEvent] per line.user_event_ga360
: The schema is available here: https://support.google.com/analytics/answer/3437719.user_event_ga4
: The schema is available here: https://support.google.com/analytics/answer/7029846.
Supported values for auto-completion imports:
suggestions
(default): One JSON completion suggestion per line.denylist
: One JSON deny suggestion per line.allowlist
: One JSON allow suggestion per line.
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 |
BigQuerySource.PartitionOneofCase |
PartitionDate
public Date PartitionDate { get; set; }
BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format.
Only supported in [ImportProductsRequest][google.cloud.retail.v2.ImportProductsRequest].
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 |