Class GSuiteAddOnsGrpc.GSuiteAddOnsFutureStub (2.15.0)

public static final class GSuiteAddOnsGrpc.GSuiteAddOnsFutureStub extends AbstractFutureStub<GSuiteAddOnsGrpc.GSuiteAddOnsFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service GSuiteAddOns.

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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > GSuiteAddOnsGrpc.GSuiteAddOnsFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected GSuiteAddOnsGrpc.GSuiteAddOnsFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
GSuiteAddOnsGrpc.GSuiteAddOnsFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createDeployment(CreateDeploymentRequest request)

public ListenableFuture<Deployment> createDeployment(CreateDeploymentRequest request)

Creates a deployment with the specified name and configuration.

Parameter
NameDescription
requestCreateDeploymentRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Deployment>

deleteDeployment(DeleteDeploymentRequest request)

public ListenableFuture<Empty> deleteDeployment(DeleteDeploymentRequest request)

Deletes the deployment with the given name.

Parameter
NameDescription
requestDeleteDeploymentRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getAuthorization(GetAuthorizationRequest request)

public ListenableFuture<Authorization> getAuthorization(GetAuthorizationRequest request)

Gets the authorization information for deployments in a given project.

Parameter
NameDescription
requestGetAuthorizationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Authorization>

getDeployment(GetDeploymentRequest request)

public ListenableFuture<Deployment> getDeployment(GetDeploymentRequest request)

Gets the deployment with the specified name.

Parameter
NameDescription
requestGetDeploymentRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Deployment>

getInstallStatus(GetInstallStatusRequest request)

public ListenableFuture<InstallStatus> getInstallStatus(GetInstallStatusRequest request)

Fetches the install status of a developer mode deployment.

Parameter
NameDescription
requestGetInstallStatusRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<InstallStatus>

installDeployment(InstallDeploymentRequest request)

public ListenableFuture<Empty> installDeployment(InstallDeploymentRequest request)
Parameter
NameDescription
requestInstallDeploymentRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

listDeployments(ListDeploymentsRequest request)

public ListenableFuture<ListDeploymentsResponse> listDeployments(ListDeploymentsRequest request)

Lists all deployments in a particular project.

Parameter
NameDescription
requestListDeploymentsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListDeploymentsResponse>

replaceDeployment(ReplaceDeploymentRequest request)

public ListenableFuture<Deployment> replaceDeployment(ReplaceDeploymentRequest request)

Creates or replaces a deployment with the specified name.

Parameter
NameDescription
requestReplaceDeploymentRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Deployment>

uninstallDeployment(UninstallDeploymentRequest request)

public ListenableFuture<Empty> uninstallDeployment(UninstallDeploymentRequest request)
Parameter
NameDescription
requestUninstallDeploymentRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>