pub async fn add_local_inventories(
            &mut self,
            request: impl tonic::IntoRequest<super::AddLocalInventoriesRequest>,
        ) -> Result<
            tonic::Response<super::super::super::super::longrunning::Operation>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.retail.v2beta.ProductService/AddLocalInventories",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
/// Updates local inventory information for a
/// [Product][google.cloud.retail.v2beta.Product] at a list of places, while
/// respecting the last update timestamps of each inventory field.
///
/// This process is asynchronous and does not require the
/// [Product][google.cloud.retail.v2beta.Product] to exist before updating
/// inventory information. If the request is valid, the update will be enqueued
/// and processed downstream. As a consequence, when a response is returned,
/// updates are not immediately manifested in the
/// [Product][google.cloud.retail.v2beta.Product] queried by
/// [GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct] or
/// [ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts].
///
/// Local inventory information can only be modified using this method.
/// [CreateProduct][google.cloud.retail.v2beta.ProductService.CreateProduct]
/// and
/// [UpdateProduct][google.cloud.retail.v2beta.ProductService.UpdateProduct]
/// has no effect on local inventories.
///
/// This feature is only available for users who have Retail Search enabled.
/// Please enable Retail Search on Cloud Console before using this feature.
Updates local inventory information for a
[Product][google.cloud.retail.v2beta.Product] at a list of places, while
respecting the last update timestamps of each inventory field.

This process is asynchronous and does not require the
[Product][google.cloud.retail.v2beta.Product] to exist before updating
inventory information. If the request is valid, the update will be enqueued
and processed downstream. As a consequence, when a response is returned,
updates are not immediately manifested in the
[Product][google.cloud.retail.v2beta.Product] queried by
[GetProduct][google.cloud.retail.v2beta.ProductService.GetProduct] or
[ListProducts][google.cloud.retail.v2beta.ProductService.ListProducts].

Local inventory information can only be modified using this method.

This feature is only available for users who have Retail Search enabled.
Please enable Retail Search on Cloud Console before using this feature.
Updates local inventory information for a [ Product ] [ google . cloud . retail . v2beta . Product ] at a list of places while respecting the last update timestamps of each inventory field . This process is asynchronous and does not require the [ Product ] [ google . cloud . retail . v2beta . Product ] to exist before updating inventory information . If the request is valid the update will be enqueued and processed downstream . As a consequence when a response is returned updates are not immediately manifested in the [ Product ] [ google . cloud . retail . v2beta . Product ] queried by [ GetProduct ] [ google . cloud . retail . v2beta . ProductService . GetProduct ] or [ ListProducts ] [ google . cloud . retail . v2beta . ProductService . ListProducts ] . Local inventory information can only be modified using this method . This feature is only available for users who have Retail Search enabled . Please enable Retail Search on Cloud Console before using this feature .
pub async fn add_local_inventories(
            &mut self,
            request: impl tonic::IntoRequest<super::AddLocalInventoriesRequest>,
        ) -> Result<
            tonic::Response<super::super::super::super::longrunning::Operation>,
            tonic::Status,
        > {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.retail.v2beta.ProductService/AddLocalInventories",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn add_local_inventories ( & mut self , request : impl tonic :: IntoRequest < super :: AddLocalInventoriesRequest > , ) -> Result < tonic :: Response < super :: super :: super :: super :: longrunning :: Operation > , tonic :: Status , > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
Updates local inventory information for a
[Product][google.cloud.retail.v2beta.Product] at a list of places, while
respecting the last update timestamps of each inventory field.
Updates local inventory information for a [ Product ] [ google . cloud . retail . v2beta . Product ] at a list of places while respecting the last update timestamps of each inventory field .
&mut self
request
impl tonic::IntoRequest<super::AddLocalInventoriesRequest>
&mut self
request
impl tonic::IntoRequest<super::AddLocalInventoriesRequest>