Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1InputConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/recommendationengine_v1beta1/classes.rb,
generated/google/apis/recommendationengine_v1beta1/representations.rb,
generated/google/apis/recommendationengine_v1beta1/representations.rb

Overview

The input config source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1InputConfig

Returns a new instance of GoogleCloudRecommendationengineV1beta1InputConfig.



850
851
852
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 850

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#big_query_sourceGoogle::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1BigQuerySource

BigQuery source import data from. Corresponds to the JSON property bigQuerySource



833
834
835
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 833

def big_query_source
  @big_query_source
end

#catalog_inline_sourceGoogle::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogInlineSource

The inline source for the input config for ImportCatalogItems method. Corresponds to the JSON property catalogInlineSource



838
839
840
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 838

def catalog_inline_source
  @catalog_inline_source
end

#gcs_sourceGoogle::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1GcsSource

Google Cloud Storage location for input content. format. Corresponds to the JSON property gcsSource



843
844
845
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 843

def gcs_source
  @gcs_source
end

#user_event_inline_sourceGoogle::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEventInlineSource

The inline source for the input config for ImportUserEvents method. Corresponds to the JSON property userEventInlineSource



848
849
850
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 848

def user_event_inline_source
  @user_event_inline_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



855
856
857
858
859
860
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 855

def update!(**args)
  @big_query_source = args[:big_query_source] if args.key?(:big_query_source)
  @catalog_inline_source = args[:catalog_inline_source] if args.key?(:catalog_inline_source)
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
  @user_event_inline_source = args[:user_event_inline_source] if args.key?(:user_event_inline_source)
end