Struct gapi_grpc::google::cloud::retail::v2::UpdateCatalogRequest[][src]

pub struct UpdateCatalogRequest {
    pub catalog: Option<Catalog>,
    pub update_mask: Option<FieldMask>,
}

Request for [CatalogService.UpdateCatalog][google.cloud.retail.v2.CatalogService.UpdateCatalog] method.

Fields

catalog: Option<Catalog>

Required. The [Catalog][google.cloud.retail.v2.Catalog] to update.

If the caller does not have permission to update the [Catalog][google.cloud.retail.v2.Catalog], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the [Catalog][google.cloud.retail.v2.Catalog] to update does not exist, a NOT_FOUND error is returned.

update_mask: Option<FieldMask>

Indicates which fields in the provided [Catalog][google.cloud.retail.v2.Catalog] to update. If not set, will only update the [Catalog.product_level_config][google.cloud.retail.v2.Catalog.product_level_config] field, which is also the only currently supported field to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

Trait Implementations

impl Clone for UpdateCatalogRequest[src]

impl Debug for UpdateCatalogRequest[src]

impl Default for UpdateCatalogRequest[src]

impl Message for UpdateCatalogRequest[src]

impl PartialEq<UpdateCatalogRequest> for UpdateCatalogRequest[src]

impl StructuralPartialEq for UpdateCatalogRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for UpdateCatalogRequest

impl Send for UpdateCatalogRequest

impl Sync for UpdateCatalogRequest

impl Unpin for UpdateCatalogRequest

impl UnwindSafe for UpdateCatalogRequest

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]