Class ImportProductsRequest (1.9.0)

Stay organized with collections Save and categorize content based on your preferences.
ImportProductsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for Import methods.

Attributes

NameDescription
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, all fields are updated.
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
Full Pub/Sub topic name for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a `Operation][google.longrunning.Operation]`. Format of the Pub/Sub topic is ``projects/{project}/topics/{topic}``. It has to be within the same project as ImportProductsRequest.parent. Make sure that ``service-

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.