ImportProductsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Request message for Import methods.
Attributes
Name | Description |
parent |
str
Required. ``projects/1234/locations/global/catalogs/default_catalog/branches/default_branch`` If no updateMask is specified, requires products.create permission. If updateMask is specified, requires products.update permission. |
request_id |
str
Deprecated. This field has no effect. |
input_config |
google.cloud.retail_v2.types.ProductInputConfig
Required. The desired input location of the data. |
errors_config |
google.cloud.retail_v2.types.ImportErrorsConfig
The desired location of errors incurred during the Import. |
update_mask |
google.protobuf.field_mask_pb2.FieldMask
Indicates which fields in the provided imported 'products' to update. If not set, will by default update all fields. |
reconciliation_mode |
google.cloud.retail_v2.types.ImportProductsRequest.ReconciliationMode
The mode of reconciliation between existing products and the products to be imported. Defaults to ReconciliationMode.INCREMENTAL. |
notification_pubsub_topic |
str
Pub/Sub topic for receiving notification. If this field is set, when the import is finished, a notification will be sent to specified Pub/Sub topic. The message data will be JSON string of a `Operation][google.longrunning.Operation]`. Format of the Pub/Sub topic is ``projects/{project}/topics/{topic}``. Only supported when ImportProductsRequest.reconciliation_mode is set to ``FULL``. |
Inheritance
builtins.object > proto.message.Message > ImportProductsRequestClasses
ReconciliationMode
ReconciliationMode(value)
Indicates how imported products are reconciled with the existing products created or imported before.