Struct gapi_grpc::google::cloud::gsuiteaddons::v1::g_suite_add_ons_client::GSuiteAddOnsClient[][src]

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

A service for managing Google Workspace Add-ons deployments.

A Google Workspace Add-on is a third-party embedded component that can be installed in Google Workspace Applications like Gmail, Calendar, Drive, and the Google Docs, Sheets, and Slides editors. Google Workspace Add-ons can display UI cards, receive contextual information from the host application, and perform actions in the host application (See: https://developers.google.com/gsuite/add-ons/overview for more information).

A Google Workspace Add-on deployment resource specifies metadata about the add-on, including a specification of the entry points in the host application that trigger add-on executions (see: https://developers.google.com/gsuite/add-ons/concepts/gsuite-manifests). Add-on deployments defined via the Google Workspace Add-ons API define their entrypoints using HTTPS URLs (See: https://developers.google.com/gsuite/add-ons/guides/alternate-runtimes),

A Google Workspace Add-on deployment can be installed in developer mode, which allows an add-on developer to test the experience an end-user would see when installing and running the add-on in their G Suite applications. When running in developer mode, more detailed error messages are exposed in the add-on UI to aid in debugging.

A Google Workspace Add-on deployment can be published to Google Workspace Marketplace, which allows other Google Workspace users to discover and install the add-on. See: https://developers.google.com/gsuite/add-ons/how-tos/publish-add-on-overview for details.

Implementations

impl GSuiteAddOnsClient<Channel>[src]

pub async fn connect<D>(dst: D) -> Result<Self, Error> where
    D: TryInto<Endpoint>,
    D::Error: Into<StdError>, 
[src]

Attempt to create a new client by connecting to a given endpoint.

impl<T> GSuiteAddOnsClient<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 get_authorization(
    &mut self,
    request: impl IntoRequest<GetAuthorizationRequest>
) -> Result<Response<Authorization>, Status>
[src]

Gets the authorization information for deployments in a given project.

pub async fn create_deployment(
    &mut self,
    request: impl IntoRequest<CreateDeploymentRequest>
) -> Result<Response<Deployment>, Status>
[src]

Creates a deployment with the specified name and configuration.

pub async fn replace_deployment(
    &mut self,
    request: impl IntoRequest<ReplaceDeploymentRequest>
) -> Result<Response<Deployment>, Status>
[src]

Creates or replaces a deployment with the specified name.

pub async fn get_deployment(
    &mut self,
    request: impl IntoRequest<GetDeploymentRequest>
) -> Result<Response<Deployment>, Status>
[src]

Gets the deployment with the specified name.

pub async fn list_deployments(
    &mut self,
    request: impl IntoRequest<ListDeploymentsRequest>
) -> Result<Response<ListDeploymentsResponse>, Status>
[src]

Lists all deployments in a particular project.

pub async fn delete_deployment(
    &mut self,
    request: impl IntoRequest<DeleteDeploymentRequest>
) -> Result<Response<()>, Status>
[src]

Deletes the deployment with the given name.

pub async fn install_deployment(
    &mut self,
    request: impl IntoRequest<InstallDeploymentRequest>
) -> Result<Response<()>, Status>
[src]

Installs a deployment in developer mode. See: https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.

pub async fn uninstall_deployment(
    &mut self,
    request: impl IntoRequest<UninstallDeploymentRequest>
) -> Result<Response<()>, Status>
[src]

Uninstalls a developer mode deployment. See: https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.

pub async fn get_install_status(
    &mut self,
    request: impl IntoRequest<GetInstallStatusRequest>
) -> Result<Response<InstallStatus>, Status>
[src]

Fetches the install status of a developer mode deployment.

Trait Implementations

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

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

Auto Trait Implementations

impl<T> !RefUnwindSafe for GSuiteAddOnsClient<T>

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

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

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

impl<T> !UnwindSafe for GSuiteAddOnsClient<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> 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]