Cloud Storage v2 API - Class RapidCache (1.9.0)

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

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

A Rapid Cache Instance.

Inheritance

object > RapidCache

Namespace

Google.Cloud.Storage.Control.V2

Assembly

Google.Cloud.Storage.Control.V2.dll

Constructors

RapidCache()

public RapidCache()

RapidCache(RapidCache)

public RapidCache(RapidCache other)
Parameter
Name Description
other RapidCache

Properties

AdmissionPolicy

public string AdmissionPolicy { get; set; }

Cache admission policy. Valid policies includes: no_read_admission, admit-on-first-miss and admit-on-second-miss. Defaults to admit-on-first-miss for both AC and RCU. Default value is applied if not specified in the create request.

Property Value
Type Description
string

CacheType

public string CacheType { get; set; }

Immutable. The type of Rapid Cache this represents. Valid values include: 'rapid-cache' and 'rapid-cache-ultra'.

Property Value
Type Description
string

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Time when Rapid cache instance is allocated.

Property Value
Type Description
Timestamp

Name

public string Name { get; set; }

Immutable. The resource name of this RapidCache. Format: projects/{project}/buckets/{bucket}/rapidCaches/{rapid_cache}

Property Value
Type Description
string

PendingUpdate

public bool PendingUpdate { get; set; }

Output only. True if there is an active update operation against this cache instance. Subsequential update requests will be rejected if this field is true. Output only.

Property Value
Type Description
bool

RapidCacheName

public RapidCacheName RapidCacheName { get; set; }

RapidCacheName-typed view over the Name resource name property.

Property Value
Type Description
RapidCacheName

State

public string State { get; set; }

Output only. Cache state including running, creating, and disabled.

Property Value
Type Description
string

Ttl

public Duration Ttl { get; set; }

Cache entry TTL (ranges between 1h to 7d). This is a cache-level config that defines how long a cache entry can live. Default ttl value (24hrs) is applied if not specified in the create request. TTL must be in whole seconds.

Property Value
Type Description
Duration

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Time when Rapid cache instance is last updated, including creation.

Property Value
Type Description
Timestamp

Zone

public string Zone { get; set; }

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

Property Value
Type Description
string