1.11.0 (latest) 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1

    public sealed class UpdateRapidCacheMetadata : IMessage<UpdateRapidCacheMetadata>, IEquatable<UpdateRapidCacheMetadata>, IDeepCloneable<UpdateRapidCacheMetadata>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Storage v2 API class UpdateRapidCacheMetadata.

Message returned in the metadata field of the Operation resource for
UpdateRapidCache operation.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[UpdateRapidCacheMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.Control.V2/latest/Google.Cloud.Storage.Control.V2.UpdateRapidCacheMetadata.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateRapidCacheMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.Control.V2/latest/Google.Cloud.Storage.Control.V2.UpdateRapidCacheMetadata.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[UpdateRapidCacheMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.Control.V2/latest/Google.Cloud.Storage.Control.V2.UpdateRapidCacheMetadata.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.Storage.Control.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Storage.Control.V2/latest/Google.Cloud.Storage.Control.V2.md.txt)

## Assembly

Google.Cloud.Storage.Control.V2.dll

## Constructors

### UpdateRapidCacheMetadata()

    public UpdateRapidCacheMetadata()

### UpdateRapidCacheMetadata(UpdateRapidCacheMetadata)

    public UpdateRapidCacheMetadata(UpdateRapidCacheMetadata other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `UpdateRapidCacheMetadata` |

## Properties

### AdmissionPolicy

    public string AdmissionPolicy { get; set; }

Optional. Rapid Cache entry Admission Policy in kebab-case (e.g.,
"admit-on-first-miss"). If `admission_policy` is pending
update, this field equals to the new value specified in the Update request.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### CacheType

    public string CacheType { get; set; }

Optional. The type of cache. Either rapid cache or rapid cache ultra.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### CommonMetadata

    public CommonLongRunningOperationMetadata CommonMetadata { get; set; }

Generic metadata for the long running operation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CommonLongRunningOperationMetadata` |   |

### HasAdmissionPolicy

    public bool HasAdmissionPolicy { get; }

Gets whether the "admission_policy" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasCacheType

    public bool HasCacheType { get; }

Gets whether the "cache_type" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasIngestOnWrite

    public bool HasIngestOnWrite { get; }

Gets whether the "ingest_on_write" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasRapidCacheId

    public bool HasRapidCacheId { get; }

Gets whether the "rapid_cache_id" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasZone

    public bool HasZone { get; }

Gets whether the "zone" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### IngestOnWrite

    public bool IngestOnWrite { get; set; }

Specifies whether objects are ingested into the cache upon write. If not
set, it defaults to false.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### RapidCacheId

    public string RapidCacheId { get; set; }

Rapid Cache ID.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### Ttl

    public Duration Ttl { get; set; }

Rapid Cache entry's TTL between 1h and 7days. A cache-level config that
is applied to all new cache entries on admission. If `ttl` is pending
update, this field equals to the new value specified in the Update request.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Duration` |   |

### Zone

    public string Zone { get; set; }

The zone in which the cache instance is running. For example,
us-central1-a.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |