Class GSuiteAddOns.GSuiteAddOnsBase (1.1.0)

[BindServiceMethod(typeof(GSuiteAddOns), "BindService")]
public abstract class GSuiteAddOnsBase

Base class for server-side implementations of GSuiteAddOns

Inheritance

Object > GSuiteAddOns.GSuiteAddOnsBase

Namespace

Google.Cloud.GSuiteAddOns.V1

Assembly

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
NameDescription
requestCreateDeploymentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Deployment>

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
NameDescription
requestDeleteDeploymentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

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
NameDescription
requestGetAuthorizationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Authorization>

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
NameDescription
requestGetDeploymentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Deployment>

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
NameDescription
requestGetInstallStatusRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<InstallStatus>

The response to send back to the client (wrapped by a task).

InstallDeployment(InstallDeploymentRequest, ServerCallContext)

public virtual Task<Empty> InstallDeployment(InstallDeploymentRequest request, ServerCallContext context)
Parameters
NameDescription
requestInstallDeploymentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

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
NameDescription
requestListDeploymentsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListDeploymentsResponse>

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
NameDescription
requestReplaceDeploymentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Deployment>

The response to send back to the client (wrapped by a task).

UninstallDeployment(UninstallDeploymentRequest, ServerCallContext)

public virtual Task<Empty> UninstallDeployment(UninstallDeploymentRequest request, ServerCallContext context)
Parameters
NameDescription
requestUninstallDeploymentRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

The response to send back to the client (wrapped by a task).