# Google Workspace Add-ons v1 API - Class GSuiteAddOns.GSuiteAddOnsBase (2.5.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.5.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/Google.Cloud.GSuiteAddOns.V1.GSuiteAddOns.GSuiteAddOnsBase)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/2.4.0/Google.Cloud.GSuiteAddOns.V1.GSuiteAddOns.GSuiteAddOnsBase)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/2.3.0/Google.Cloud.GSuiteAddOns.V1.GSuiteAddOns.GSuiteAddOnsBase)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/2.2.0/Google.Cloud.GSuiteAddOns.V1.GSuiteAddOns.GSuiteAddOnsBase)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/2.1.0/Google.Cloud.GSuiteAddOns.V1.GSuiteAddOns.GSuiteAddOnsBase)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/2.0.0/Google.Cloud.GSuiteAddOns.V1.GSuiteAddOns.GSuiteAddOnsBase)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/1.1.0/Google.Cloud.GSuiteAddOns.V1.GSuiteAddOns.GSuiteAddOnsBase)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/1.0.0/Google.Cloud.GSuiteAddOns.V1.GSuiteAddOns.GSuiteAddOnsBase)

    [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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GSuiteAddOns.GSuiteAddOnsBase

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.GSuiteAddOns.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/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** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/Google.Cloud.GSuiteAddOns.V1.CreateDeploymentRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/Google.Cloud.GSuiteAddOns.V1.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** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/Google.Cloud.GSuiteAddOns.V1.DeleteDeploymentRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | 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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/Google.Cloud.GSuiteAddOns.V1.GetAuthorizationRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/Google.Cloud.GSuiteAddOns.V1.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** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/Google.Cloud.GSuiteAddOns.V1.GetDeploymentRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/Google.Cloud.GSuiteAddOns.V1.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** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/Google.Cloud.GSuiteAddOns.V1.GetInstallStatusRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/Google.Cloud.GSuiteAddOns.V1.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)

Installs a deployment in developer mode.
See:
<https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons>.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/Google.Cloud.GSuiteAddOns.V1.InstallDeploymentRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | 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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/Google.Cloud.GSuiteAddOns.V1.ListDeploymentsRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/Google.Cloud.GSuiteAddOns.V1.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** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/Google.Cloud.GSuiteAddOns.V1.ReplaceDeploymentRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/Google.Cloud.GSuiteAddOns.V1.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)

Uninstalls a developer mode deployment.
See:
<https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons>.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GSuiteAddOns.V1/latest/Google.Cloud.GSuiteAddOns.V1.UninstallDeploymentRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.html` | The response to send back to the client (wrapped by a task). |