Package com.google.cloud.gsuiteaddons.v1
Class GSuiteAddOnsGrpc.GSuiteAddOnsStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<GSuiteAddOnsGrpc.GSuiteAddOnsStub>
com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsGrpc.GSuiteAddOnsStub
- Enclosing class:
- GSuiteAddOnsGrpc
public static final class GSuiteAddOnsGrpc.GSuiteAddOnsStub
extends io.grpc.stub.AbstractAsyncStub<GSuiteAddOnsGrpc.GSuiteAddOnsStub>
A stub to allow clients to do asynchronous 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected GSuiteAddOnsGrpc.GSuiteAddOnsStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateDeployment(CreateDeploymentRequest request, io.grpc.stub.StreamObserver<Deployment> responseObserver) Creates a deployment with the specified name and configuration.voiddeleteDeployment(DeleteDeploymentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the deployment with the given name.voidgetAuthorization(GetAuthorizationRequest request, io.grpc.stub.StreamObserver<Authorization> responseObserver) Gets the authorization information for deployments in a given project.voidgetDeployment(GetDeploymentRequest request, io.grpc.stub.StreamObserver<Deployment> responseObserver) Gets the deployment with the specified name.voidgetInstallStatus(GetInstallStatusRequest request, io.grpc.stub.StreamObserver<InstallStatus> responseObserver) Fetches the install status of a developer mode deployment.voidinstallDeployment(InstallDeploymentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Installs a deployment in developer mode.voidlistDeployments(ListDeploymentsRequest request, io.grpc.stub.StreamObserver<ListDeploymentsResponse> responseObserver) Lists all deployments in a particular project.voidreplaceDeployment(ReplaceDeploymentRequest request, io.grpc.stub.StreamObserver<Deployment> responseObserver) Creates or replaces a deployment with the specified name.voiduninstallDeployment(UninstallDeploymentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Uninstalls a developer mode deployment.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected GSuiteAddOnsGrpc.GSuiteAddOnsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GSuiteAddOnsGrpc.GSuiteAddOnsStub>
-
getAuthorization
public void getAuthorization(GetAuthorizationRequest request, io.grpc.stub.StreamObserver<Authorization> responseObserver) Gets the authorization information for deployments in a given project.
-
createDeployment
public void createDeployment(CreateDeploymentRequest request, io.grpc.stub.StreamObserver<Deployment> responseObserver) Creates a deployment with the specified name and configuration.
-
replaceDeployment
public void replaceDeployment(ReplaceDeploymentRequest request, io.grpc.stub.StreamObserver<Deployment> responseObserver) Creates or replaces a deployment with the specified name.
-
getDeployment
public void getDeployment(GetDeploymentRequest request, io.grpc.stub.StreamObserver<Deployment> responseObserver) Gets the deployment with the specified name.
-
listDeployments
public void listDeployments(ListDeploymentsRequest request, io.grpc.stub.StreamObserver<ListDeploymentsResponse> responseObserver) Lists all deployments in a particular project.
-
deleteDeployment
public void deleteDeployment(DeleteDeploymentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the deployment with the given name.
-
installDeployment
public void installDeployment(InstallDeploymentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Installs a deployment in developer mode. See: https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
-
uninstallDeployment
public void uninstallDeployment(UninstallDeploymentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Uninstalls a developer mode deployment. See: https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
-
getInstallStatus
public void getInstallStatus(GetInstallStatusRequest request, io.grpc.stub.StreamObserver<InstallStatus> responseObserver) Fetches the install status of a developer mode deployment.
-