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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/recommendationengine_v1beta1/classes.rb,
lib/google/apis/recommendationengine_v1beta1/representations.rb,
lib/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.



851
852
853
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 851

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



834
835
836
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 834

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



839
840
841
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 839

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



844
845
846
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 844

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



849
850
851
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 849

def user_event_inline_source
  @user_event_inline_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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