Class ImportProductsRequest

Request message for Import methods.

Attributes
NameDescription
strparent
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.
strrequest_id
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 and must match the pattern: ``[a-zA-Z0-9_]+``. This is returned as [Operation.name][] in ImportMetadata. Only supported when ImportProductsRequest.reconciliation_mode is set to ``FULL``.
google.cloud.retail_v2.types.ProductInputConfiginput_config
Required. The desired input location of the data.
google.cloud.retail_v2.types.ImportErrorsConfigerrors_config
The desired location of errors incurred during the Import.
google.protobuf.field_mask_pb2.FieldMaskupdate_mask
Indicates which fields in the provided imported 'products' to update. If not set, will by default update all fields.
google.cloud.retail_v2.types.ImportProductsRequest.ReconciliationModereconciliation_mode
The mode of reconciliation between existing products and the products to be imported. Defaults to ReconciliationMode.INCREMENTAL.
strnotification_pubsub_topic
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 > ImportProductsRequest

Classes

ReconciliationMode

ReconciliationMode(value)

Indicates how imported products are reconciled with the existing products created or imported before.