Cloud Storage v2 API - Class CreateRapidCacheMetadata (1.9.0)

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

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

Message returned in the metadata field of the Operation resource for CreateRapidCache operations.

Inheritance

object > CreateRapidCacheMetadata

Namespace

Google.Cloud.Storage.Control.V2

Assembly

Google.Cloud.Storage.Control.V2.dll

Constructors

CreateRapidCacheMetadata()

public CreateRapidCacheMetadata()

CreateRapidCacheMetadata(CreateRapidCacheMetadata)

public CreateRapidCacheMetadata(CreateRapidCacheMetadata other)
Parameter
Name Description
other CreateRapidCacheMetadata

Properties

AdmissionPolicy

public string AdmissionPolicy { get; set; }

Anywhere Cache entry Admission Policy in kebab-case (e.g., "admit-on-first-miss"). Default admission policy (admit-on-first-miss) is applied if not specified in the create 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; }

Optional. Specifies whether objects are ingested into the cache upon write. 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. A cache-level config that is applied to all new cache entries on admission. Default ttl value (24hrs) is applied if not specified in the create 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