class Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1BigQuerySource

BigQuery source import data from.

Attributes

data_schema[RW]

Optional. The schema to use when parsing the data from the source. Supported values for catalog imports: 1: “catalog_recommendations_ai” using https:// cloud.google.com/recommendations-ai/docs/upload-catalog#json (Default for catalogItems.import) 2: “catalog_merchant_center” using cloud.google. com/recommendations-ai/docs/upload-catalog#mc Supported values for user event imports: 1: “user_events_recommendations_ai” using cloud.google.com/ recommendations-ai/docs/manage-user-events#import (Default for userEvents. import) 2. “user_events_ga360” using support.google.com/analytics/ answer/3437719?hl=en Corresponds to the JSON property `dataSchema` @return [String]

dataset_id[RW]

Required. The BigQuery data set to copy the data from. Corresponds to the JSON property `datasetId` @return [String]

gcs_staging_dir[RW]

Optional. Intermediate Cloud Storage directory used for the import. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory. Corresponds to the JSON property `gcsStagingDir` @return [String]

project_id[RW]

Optional. The project id (can be project # or id) that the BigQuery source is in. If not specified, inherits the project id from the parent request. Corresponds to the JSON property `projectId` @return [String]

table_id[RW]

Required. The BigQuery table to copy the data from. Corresponds to the JSON property `tableId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/recommendationengine_v1beta1/classes.rb, line 179
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/recommendationengine_v1beta1/classes.rb, line 184
def update!(**args)
  @data_schema = args[:data_schema] if args.key?(:data_schema)
  @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
  @gcs_staging_dir = args[:gcs_staging_dir] if args.key?(:gcs_staging_dir)
  @project_id = args[:project_id] if args.key?(:project_id)
  @table_id = args[:table_id] if args.key?(:table_id)
end