Struct gapi_grpc::google::cloud::retail::v2beta::ProductLevelConfig[][src]

pub struct ProductLevelConfig {
    pub ingestion_product_type: String,
    pub merchant_center_product_id_field: String,
}

Configures what level the product should be uploaded with regards to how users will be send events and how predictions will be made.

Fields

ingestion_product_type: String

The type of [Product][google.cloud.retail.v2beta.Product]s allowed to be ingested into the catalog. Acceptable values are:

If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.

If this field is variant and [merchant_center_product_id_field][google.cloud.retail.v2beta.ProductLevelConfig.merchant_center_product_id_field] is itemGroupId, an INVALID_ARGUMENT error is returned.

See Using catalog levels for more details.

merchant_center_product_id_field: String

Which field of Merchant Center Product should be imported as [Product.id][google.cloud.retail.v2beta.Product.id]. Acceptable values are:

If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.

If this field is itemGroupId and [ingestion_product_type][google.cloud.retail.v2beta.ProductLevelConfig.ingestion_product_type] is variant, an INVALID_ARGUMENT error is returned.

See Using catalog levels for more details.

Trait Implementations

impl Clone for ProductLevelConfig[src]

impl Debug for ProductLevelConfig[src]

impl Default for ProductLevelConfig[src]

impl Message for ProductLevelConfig[src]

impl PartialEq<ProductLevelConfig> for ProductLevelConfig[src]

impl StructuralPartialEq for ProductLevelConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for ProductLevelConfig

impl Send for ProductLevelConfig

impl Sync for ProductLevelConfig

impl Unpin for ProductLevelConfig

impl UnwindSafe for ProductLevelConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]