Class GoogleCloudRetailV2alphaImportProductsRequest
Request message for Import methods.
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha.Data
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class GoogleCloudRetailV2alphaImportProductsRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ErrorsConfig
The desired location of errors incurred during the Import.
Declaration
[JsonProperty("errorsConfig")]
public virtual GoogleCloudRetailV2alphaImportErrorsConfig ErrorsConfig { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRetailV2alphaImportErrorsConfig |
InputConfig
Required. The desired input location of the data.
Declaration
[JsonProperty("inputConfig")]
public virtual GoogleCloudRetailV2alphaProductInputConfig InputConfig { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRetailV2alphaProductInputConfig |
NotificationPubsubTopic
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. 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 both
cloud-retail-customer-data-access@system.gserviceaccount.com
and
service-@gcp-sa-retail.iam.gserviceaccount.com
have the pubsub.topics.publish
IAM permission on the
topic. Only supported when ImportProductsRequest.reconciliation_mode is set to FULL
.
Declaration
[JsonProperty("notificationPubsubTopic")]
public virtual string NotificationPubsubTopic { get; set; }
Property Value
Type | Description |
---|---|
string |
ReconciliationMode
The mode of reconciliation between existing products and the products to be imported. Defaults to ReconciliationMode.INCREMENTAL.
Declaration
[JsonProperty("reconciliationMode")]
public virtual string ReconciliationMode { get; set; }
Property Value
Type | Description |
---|---|
string |
RequestId
Deprecated. This field has no effect.
Declaration
[JsonProperty("requestId")]
public virtual string RequestId { get; set; }
Property Value
Type | Description |
---|---|
string |
SkipDefaultBranchProtection
If true, this performs the FULL import even if it would delete a large proportion of the products in the
default branch, which could potentially cause outages if you have live predict/search traffic. Only
supported when ImportProductsRequest.reconciliation_mode is set to FULL
.
Declaration
[JsonProperty("skipDefaultBranchProtection")]
public virtual bool? SkipDefaultBranchProtection { get; set; }
Property Value
Type | Description |
---|---|
bool? |
UpdateMask
Indicates which fields in the provided imported products
to update. If not set, all fields are updated. If
provided, only the existing product fields are updated. Missing products will not be created.
Declaration
[JsonProperty("updateMask")]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |