Struct gapi_grpc::google::cloud::gsuiteaddons::v1::g_suite_add_ons_client::GSuiteAddOnsClient [−][src]
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]
D: TryInto<Endpoint>,
D::Error: Into<StdError>,
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]
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send,
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]
&mut self,
request: impl IntoRequest<GetAuthorizationRequest>
) -> Result<Response<Authorization>, Status>
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]
&mut self,
request: impl IntoRequest<CreateDeploymentRequest>
) -> Result<Response<Deployment>, Status>
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]
&mut self,
request: impl IntoRequest<ReplaceDeploymentRequest>
) -> Result<Response<Deployment>, Status>
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]
&mut self,
request: impl IntoRequest<GetDeploymentRequest>
) -> Result<Response<Deployment>, Status>
Gets the deployment with the specified name.
pub async fn list_deployments(
&mut self,
request: impl IntoRequest<ListDeploymentsRequest>
) -> Result<Response<ListDeploymentsResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<ListDeploymentsRequest>
) -> Result<Response<ListDeploymentsResponse>, Status>
Lists all deployments in a particular project.
pub async fn delete_deployment(
&mut self,
request: impl IntoRequest<DeleteDeploymentRequest>
) -> Result<Response<()>, Status>
[src]
&mut self,
request: impl IntoRequest<DeleteDeploymentRequest>
) -> Result<Response<()>, Status>
Deletes the deployment with the given name.
pub async fn install_deployment(
&mut self,
request: impl IntoRequest<InstallDeploymentRequest>
) -> Result<Response<()>, Status>
[src]
&mut self,
request: impl IntoRequest<InstallDeploymentRequest>
) -> Result<Response<()>, Status>
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]
&mut self,
request: impl IntoRequest<UninstallDeploymentRequest>
) -> Result<Response<()>, Status>
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]
&mut self,
request: impl IntoRequest<GetInstallStatusRequest>
) -> Result<Response<InstallStatus>, Status>
Fetches the install status of a developer mode deployment.
Trait Implementations
impl<T: Clone> Clone for GSuiteAddOnsClient<T>
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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,
T: Send,
impl<T> Sync for GSuiteAddOnsClient<T> where
T: Sync,
T: Sync,
impl<T> Unpin for GSuiteAddOnsClient<T> where
T: Unpin,
T: Unpin,
impl<T> !UnwindSafe for GSuiteAddOnsClient<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,