Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest

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 Import methods.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest

Returns a new instance of GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest.



645
646
647
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 645

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



624
625
626
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 624

def errors_config
  @errors_config
end

#input_configGoogle::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1InputConfig

The input config source. Corresponds to the JSON property inputConfig



629
630
631
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 629

def input_config
  @input_config
end

#request_idString

Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency and used for request deduplication. Server- generated if unspecified. Up to 128 characters long. This is returned as google.longrunning.Operation.name in the response. Corresponds to the JSON property requestId

Returns:

  • (String)


637
638
639
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 637

def request_id
  @request_id
end

#update_maskString

Optional. Indicates which fields in the provided imported 'items' to update. If not set, will by default update all fields. Corresponds to the JSON property updateMask

Returns:

  • (String)


643
644
645
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 643

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



650
651
652
653
654
655
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 650

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)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end