Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImportProductsRequest
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImportProductsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/representations.rb
Overview
Request message for Import methods.
Instance Attribute Summary collapse
-
#errors_config ⇒ Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImportErrorsConfig
Configuration of destination for Import related errors.
-
#input_config ⇒ Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductInputConfig
The input config source for products.
-
#update_mask ⇒ String
Indicates which fields in the provided imported 'products' to update.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaImportProductsRequest
constructor
A new instance of GoogleCloudRetailV2betaImportProductsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaImportProductsRequest
Returns a new instance of GoogleCloudRetailV2betaImportProductsRequest.
1193 1194 1195 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1193 def initialize(**args) update!(**args) end |
Instance Attribute Details
#errors_config ⇒ Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImportErrorsConfig
Configuration of destination for Import related errors.
Corresponds to the JSON property errorsConfig
1180 1181 1182 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1180 def errors_config @errors_config end |
#input_config ⇒ Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductInputConfig
The input config source for products.
Corresponds to the JSON property inputConfig
1185 1186 1187 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1185 def input_config @input_config end |
#update_mask ⇒ String
Indicates which fields in the provided imported 'products' to update. If not
set, will by default update all fields.
Corresponds to the JSON property updateMask
1191 1192 1193 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1191 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1198 1199 1200 1201 1202 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 1198 def update!(**args) @errors_config = args[:errors_config] if args.key?(:errors_config) @input_config = args[:input_config] if args.key?(:input_config) @update_mask = args[:update_mask] if args.key?(:update_mask) end |