Class BigQuerySource
BigQuery source import data from.
Inheritance
System.Object
BigQuerySource
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Retail.V2
Assembly: Google.Cloud.Retail.V2.dll
Syntax
public sealed class BigQuerySource : IMessage<BigQuerySource>, IEquatable<BigQuerySource>, IDeepCloneable<BigQuerySource>, IBufferMessage, IMessage
Constructors
BigQuerySource()
Declaration
public BigQuerySource()
BigQuerySource(BigQuerySource)
Declaration
public BigQuerySource(BigQuerySource other)
Parameters
Type | Name | Description |
---|---|---|
BigQuerySource | other |
Properties
DataSchema
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
: Using https://support.google.com/analytics/answer/3437719?hl=en.
Declaration
public string DataSchema { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DatasetId
Required. The BigQuery data set to copy the data from with a length limit of 1,024 characters.
Declaration
public string DatasetId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GcsStagingDir
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.
Declaration
public string GcsStagingDir { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ProjectId
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.
Declaration
public string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TableId
Required. The BigQuery table to copy the data from with a length limit of 1,024 characters.
Declaration
public string TableId { get; set; }
Property Value
Type | Description |
---|---|
System.String |