Struct gapi_grpc::google::cloud::retail::v2alpha::UpdateProductRequest[][src]

pub struct UpdateProductRequest {
    pub product: Option<Product>,
    pub update_mask: Option<FieldMask>,
}

Request message for [UpdateProduct][] method.

Fields

product: Option<Product>

Required. The product to update/create.

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

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

update_mask: Option<FieldMask>

Indicates which fields in the provided [Product][google.cloud.retail.v2alpha.Product] to update. The immutable and output only fields are NOT supported. If not set, all supported fields (the fields that are neither immutable nor output only) are updated.

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

Trait Implementations

impl Clone for UpdateProductRequest[src]

impl Debug for UpdateProductRequest[src]

impl Default for UpdateProductRequest[src]

impl Message for UpdateProductRequest[src]

impl PartialEq<UpdateProductRequest> for UpdateProductRequest[src]

impl StructuralPartialEq for UpdateProductRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for UpdateProductRequest

impl Send for UpdateProductRequest

impl Sync for UpdateProductRequest

impl Unpin for UpdateProductRequest

impl UnwindSafe for UpdateProductRequest

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]