[][src]Struct gcp_client::google::cloud::recommendationengine::v1beta1::catalog_service_client::CatalogServiceClient

pub struct CatalogServiceClient<T> { /* fields omitted */ }

Service for ingesting catalog information of the customer's website.

Implementations

impl<T> CatalogServiceClient<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

pub async fn create_catalog_item<'_>(
    &'_ mut self,
    request: impl IntoRequest<CreateCatalogItemRequest>
) -> Result<Response<CatalogItem>, Status>
[src]

Creates a catalog item.

pub async fn get_catalog_item<'_>(
    &'_ mut self,
    request: impl IntoRequest<GetCatalogItemRequest>
) -> Result<Response<CatalogItem>, Status>
[src]

Gets a specific catalog item.

pub async fn list_catalog_items<'_>(
    &'_ mut self,
    request: impl IntoRequest<ListCatalogItemsRequest>
) -> Result<Response<ListCatalogItemsResponse>, Status>
[src]

Gets a list of catalog items.

pub async fn update_catalog_item<'_>(
    &'_ mut self,
    request: impl IntoRequest<UpdateCatalogItemRequest>
) -> Result<Response<CatalogItem>, Status>
[src]

Updates a catalog item. Partial updating is supported. Non-existing items will be created.

pub async fn delete_catalog_item<'_>(
    &'_ mut self,
    request: impl IntoRequest<DeleteCatalogItemRequest>
) -> Result<Response<()>, Status>
[src]

Deletes a catalog item.

pub async fn import_catalog_items<'_>(
    &'_ mut self,
    request: impl IntoRequest<ImportCatalogItemsRequest>
) -> Result<Response<Operation>, Status>
[src]

Bulk import of multiple catalog items. Request processing may be synchronous. No partial updating supported. Non-existing items will be created.

Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully updated.

Trait Implementations

impl<T: Clone> Clone for CatalogServiceClient<T>[src]

impl<T> Debug for CatalogServiceClient<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for CatalogServiceClient<T>

impl<T> Send for CatalogServiceClient<T> where
    T: Send

impl<T> Sync for CatalogServiceClient<T> where
    T: Sync

impl<T> Unpin for CatalogServiceClient<T> where
    T: Unpin

impl<T> !UnwindSafe for CatalogServiceClient<T>

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, 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>, 

impl<T> WithSubscriber for T[src]