class Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1GcsSource

Google Cloud Storage location for input content. format.

Attributes

input_uris[RW]

Required. Google Cloud Storage URIs to input files. URI can be up to 2000 characters long. URIs can match the full object path (for example, `gs:// bucket/directory/object.json`) or a pattern matching one or more files, such as `gs://bucket/directory/*.json`. A request can contain at most 100 files, and each file can be up to 2 GB. See [Importing catalog information](/ recommendations-ai/docs/upload-catalog) for the expected file format and setup instructions. Corresponds to the JSON property `inputUris` @return [Array<String>]

json_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 events 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 `jsonSchema` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/recommendationengine_v1beta1/classes.rb, line 575
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 580
def update!(**args)
  @input_uris = args[:input_uris] if args.key?(:input_uris)
  @json_schema = args[:json_schema] if args.key?(:json_schema)
end