Class GSuiteAddOnsGrpc (2.22.0)

public final class GSuiteAddOnsGrpc

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

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(GSuiteAddOnsGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(GSuiteAddOnsGrpc.AsyncService service)
Parameter
NameDescription
serviceGSuiteAddOnsGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateDeploymentMethod()

public static MethodDescriptor<CreateDeploymentRequest,Deployment> getCreateDeploymentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateDeploymentRequest,Deployment>

getDeleteDeploymentMethod()

public static MethodDescriptor<DeleteDeploymentRequest,Empty> getDeleteDeploymentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteDeploymentRequest,Empty>

getGetAuthorizationMethod()

public static MethodDescriptor<GetAuthorizationRequest,Authorization> getGetAuthorizationMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetAuthorizationRequest,Authorization>

getGetDeploymentMethod()

public static MethodDescriptor<GetDeploymentRequest,Deployment> getGetDeploymentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetDeploymentRequest,Deployment>

getGetInstallStatusMethod()

public static MethodDescriptor<GetInstallStatusRequest,InstallStatus> getGetInstallStatusMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetInstallStatusRequest,InstallStatus>

getInstallDeploymentMethod()

public static MethodDescriptor<InstallDeploymentRequest,Empty> getInstallDeploymentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<InstallDeploymentRequest,Empty>

getListDeploymentsMethod()

public static MethodDescriptor<ListDeploymentsRequest,ListDeploymentsResponse> getListDeploymentsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListDeploymentsRequest,ListDeploymentsResponse>

getReplaceDeploymentMethod()

public static MethodDescriptor<ReplaceDeploymentRequest,Deployment> getReplaceDeploymentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ReplaceDeploymentRequest,Deployment>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUninstallDeploymentMethod()

public static MethodDescriptor<UninstallDeploymentRequest,Empty> getUninstallDeploymentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UninstallDeploymentRequest,Empty>

newBlockingStub(Channel channel)

public static GSuiteAddOnsGrpc.GSuiteAddOnsBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
GSuiteAddOnsGrpc.GSuiteAddOnsBlockingStub

newFutureStub(Channel channel)

public static GSuiteAddOnsGrpc.GSuiteAddOnsFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
GSuiteAddOnsGrpc.GSuiteAddOnsFutureStub

newStub(Channel channel)

public static GSuiteAddOnsGrpc.GSuiteAddOnsStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
GSuiteAddOnsGrpc.GSuiteAddOnsStub