# Maintenance v1beta API - Class ResourceMaintenance.Types.Maintenance (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.ResourceMaintenance.Types.Maintenance)
- [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.ResourceMaintenance.Types.Maintenance)

    public sealed class ResourceMaintenance.Types.Maintenance : IMessage<ResourceMaintenance.Types.Maintenance>, IEquatable<ResourceMaintenance.Types.Maintenance>, IDeepCloneable<ResourceMaintenance.Types.Maintenance>, IBufferMessage, IMessage

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

Maintenance is the maintenance details of a resource's maintenance.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ResourceMaintenance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.ResourceMaintenance)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.ResourceMaintenance.Types)[Maintenance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.ResourceMaintenance.Types.Maintenance), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ResourceMaintenance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.ResourceMaintenance)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.ResourceMaintenance.Types)[Maintenance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.ResourceMaintenance.Types.Maintenance), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ResourceMaintenance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.ResourceMaintenance)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.ResourceMaintenance.Types)[Maintenance](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.ResourceMaintenance.Types.Maintenance), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## 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.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

## Constructors

### Maintenance()

    public Maintenance()

### Maintenance(Maintenance)

    public Maintenance(ResourceMaintenance.Types.Maintenance other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.ResourceMaintenancehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.ResourceMaintenance.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.ResourceMaintenance.Types.Maintenance` |

## Properties

### Category

    public MaintenanceCategory Category { get; set; }

Output only. The category of the maintenance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Maintenance.Api.V1Beta/latest/Google.Cloud.Maintenance.Api.V1Beta.MaintenanceCategory` |   |

### Description

    public string Description { get; set; }

Output only. The description of the maintenance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### MaintenanceName

    public string MaintenanceName { get; set; }

Maintenance is the name of the corresponding maintenance resource
following the standard naming scheme: `"{maintenance-id}"`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Title

    public string Title { get; set; }

Output only. The title of the maintenance.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |