# Maintenance v1beta API - Class Maintenance.MaintenanceBase (1.0.0-beta02)

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

- [1.0.0-beta02 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.Maintenance.MaintenanceBase)
- [1.0.0-beta01](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/1.0.0-beta01/Google.Cloud.Maintenance.Api.V1Beta.Maintenance.MaintenanceBase)

    [BindServiceMethod(typeof(Maintenance), "BindService")]
    public abstract class Maintenance.MaintenanceBase

Reference documentation and code samples for the Maintenance v1beta API class Maintenance.MaintenanceBase.

Base class for server-side implementations of Maintenance

## Inheritance

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

## 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.Maintenance.Api.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta)

## Assembly

Google.Cloud.Maintenance.Api.V1Beta.dll

## Methods

### GetResourceMaintenance(GetResourceMaintenanceRequest, ServerCallContext)

    public virtual Task<ResourceMaintenance> GetResourceMaintenance(GetResourceMaintenanceRequest request, ServerCallContext context)

Retrieve a single resource maintenance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.GetResourceMaintenanceRequest` 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.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.ResourceMaintenance` | The response to send back to the client (wrapped by a task). |

### ListResourceMaintenances(ListResourceMaintenancesRequest, ServerCallContext)

    public virtual Task<ListResourceMaintenancesResponse> ListResourceMaintenances(ListResourceMaintenancesRequest request, ServerCallContext context)

Retrieve a collection of resource maintenances.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.ListResourceMaintenancesRequest` 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.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.ListResourceMaintenancesResponse` | The response to send back to the client (wrapped by a task). |

### SummarizeMaintenances(SummarizeMaintenancesRequest, ServerCallContext)

    public virtual Task<SummarizeMaintenancesResponse> SummarizeMaintenances(SummarizeMaintenancesRequest request, ServerCallContext context)

Retrieves the statistics of a specific maintenance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.SummarizeMaintenancesRequest` 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.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.SummarizeMaintenancesResponse` | The response to send back to the client (wrapped by a task). |