Cloud Storage v2 API - Class UpdateAnywhereCacheMetadata (1.3.0)

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

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

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

Inheritance

object > UpdateAnywhereCacheMetadata

Namespace

Google.Cloud.Storage.Control.V2

Assembly

Google.Cloud.Storage.Control.V2.dll

Constructors

UpdateAnywhereCacheMetadata()

public UpdateAnywhereCacheMetadata()

UpdateAnywhereCacheMetadata(UpdateAnywhereCacheMetadata)

public UpdateAnywhereCacheMetadata(UpdateAnywhereCacheMetadata other)
Parameter
Name Description
other UpdateAnywhereCacheMetadata

Properties

AdmissionPolicy

public string AdmissionPolicy { get; set; }

L4 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

AnywhereCacheId

public string AnywhereCacheId { get; set; }

Anywhere Cache ID.

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

HasAnywhereCacheId

public bool HasAnywhereCacheId { get; }

Gets whether the "anywhere_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

Ttl

public Duration Ttl { get; set; }

Anywhere 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