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

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

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.



780
781
782
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 780

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



764
765
766
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 764

def errors_config
  @errors_config
end

#input_configGoogle::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1InputConfig

The input config source. Corresponds to the JSON property inputConfig



769
770
771
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 769

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)


778
779
780
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 778

def request_id
  @request_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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