Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ImportUserEventsRequest

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

Request message for the ImportUserEvents request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1ImportUserEventsRequest

Returns a new instance of GoogleCloudRecommendationengineV1beta1ImportUserEventsRequest.



781
782
783
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 781

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

Instance Attribute Details

#errors_configGoogle::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ImportErrorsConfig

Configuration of destination for Import related errors. Corresponds to the JSON property errorsConfig



765
766
767
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 765

def errors_config
  @errors_config
end

#input_configGoogle::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1InputConfig

The input config source. Corresponds to the JSON property inputConfig



770
771
772
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 770

def input_config
  @input_config
end

#request_idString

Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency for expensive long running operations. Server- generated if unspecified. Up to 128 characters long. This is returned as google.longrunning.Operation.name in the response. Note that this field must not be set if the desired input config is catalog_inline_source. Corresponds to the JSON property requestId

Returns:

  • (String)


779
780
781
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 779

def request_id
  @request_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



786
787
788
789
790
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 786

def update!(**args)
  @errors_config = args[:errors_config] if args.key?(:errors_config)
  @input_config = args[:input_config] if args.key?(:input_config)
  @request_id = args[:request_id] if args.key?(:request_id)
end