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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest

Returns a new instance of GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest.



644
645
646
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 644

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



623
624
625
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 623

def errors_config
  @errors_config
end

#input_configGoogle::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1InputConfig

The input config source. Corresponds to the JSON property inputConfig



628
629
630
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 628

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)


636
637
638
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 636

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)


642
643
644
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 642

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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