1.0.0 (latest) 1.0.0-beta01

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

Reference documentation and code samples for the Maintenance v1 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.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1/latest/Google.Cloud.Maintenance.Api.V1)

## Assembly

Google.Cloud.Maintenance.Api.V1.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.V1/latest/Google.Cloud.Maintenance.Api.V1.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.V1/latest/Google.Cloud.Maintenance.Api.V1.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.V1/latest/Google.Cloud.Maintenance.Api.V1.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.V1/latest/Google.Cloud.Maintenance.Api.V1.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.V1/latest/Google.Cloud.Maintenance.Api.V1.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.V1/latest/Google.Cloud.Maintenance.Api.V1.SummarizeMaintenancesResponse` | The response to send back to the client (wrapped by a task). |