[BindServiceMethod(typeof(GSuiteAddOns), "BindService")]
public abstract class GSuiteAddOns.GSuiteAddOnsBase
Reference documentation and code samples for the Google Workspace Add-ons v1 API class GSuiteAddOns.GSuiteAddOnsBase.
Base class for server-side implementations of GSuiteAddOns
Namespace
Google.Cloud.GSuiteAddOns.V1Assembly
Google.Cloud.GSuiteAddOns.V1.dll
Methods
CreateDeployment(CreateDeploymentRequest, ServerCallContext)
public virtual Task<Deployment> CreateDeployment(CreateDeploymentRequest request, ServerCallContext context)
Creates a deployment with the specified name and configuration.
Parameters | |
---|---|
Name | Description |
request |
CreateDeploymentRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
The response to send back to the client (wrapped by a task). |
DeleteDeployment(DeleteDeploymentRequest, ServerCallContext)
public virtual Task<Empty> DeleteDeployment(DeleteDeploymentRequest request, ServerCallContext context)
Deletes the deployment with the given name.
Parameters | |
---|---|
Name | Description |
request |
DeleteDeploymentRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
GetAuthorization(GetAuthorizationRequest, ServerCallContext)
public virtual Task<Authorization> GetAuthorization(GetAuthorizationRequest request, ServerCallContext context)
Gets the authorization information for deployments in a given project.
Parameters | |
---|---|
Name | Description |
request |
GetAuthorizationRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskAuthorization |
The response to send back to the client (wrapped by a task). |
GetDeployment(GetDeploymentRequest, ServerCallContext)
public virtual Task<Deployment> GetDeployment(GetDeploymentRequest request, ServerCallContext context)
Gets the deployment with the specified name.
Parameters | |
---|---|
Name | Description |
request |
GetDeploymentRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
The response to send back to the client (wrapped by a task). |
GetInstallStatus(GetInstallStatusRequest, ServerCallContext)
public virtual Task<InstallStatus> GetInstallStatus(GetInstallStatusRequest request, ServerCallContext context)
Fetches the install status of a developer mode deployment.
Parameters | |
---|---|
Name | Description |
request |
GetInstallStatusRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskInstallStatus |
The response to send back to the client (wrapped by a task). |
InstallDeployment(InstallDeploymentRequest, ServerCallContext)
public virtual Task<Empty> InstallDeployment(InstallDeploymentRequest request, ServerCallContext context)
Installs a deployment in developer mode. See: https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
Parameters | |
---|---|
Name | Description |
request |
InstallDeploymentRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
ListDeployments(ListDeploymentsRequest, ServerCallContext)
public virtual Task<ListDeploymentsResponse> ListDeployments(ListDeploymentsRequest request, ServerCallContext context)
Lists all deployments in a particular project.
Parameters | |
---|---|
Name | Description |
request |
ListDeploymentsRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskListDeploymentsResponse |
The response to send back to the client (wrapped by a task). |
ReplaceDeployment(ReplaceDeploymentRequest, ServerCallContext)
public virtual Task<Deployment> ReplaceDeployment(ReplaceDeploymentRequest request, ServerCallContext context)
Creates or replaces a deployment with the specified name.
Parameters | |
---|---|
Name | Description |
request |
ReplaceDeploymentRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskDeployment |
The response to send back to the client (wrapped by a task). |
UninstallDeployment(UninstallDeploymentRequest, ServerCallContext)
public virtual Task<Empty> UninstallDeployment(UninstallDeploymentRequest request, ServerCallContext context)
Uninstalls a developer mode deployment. See: https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
Parameters | |
---|---|
Name | Description |
request |
UninstallDeploymentRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |