Class AnywhereCache (1.6.0)

AnywhereCache(mapping=None, *, ignore_unknown_fields=False, **kwargs)

An Anywhere Cache Instance.

Attributes

Name Description
name str
Immutable. The resource name of this AnywhereCache. Format: projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}
zone str
Immutable. The zone in which the cache instance is running. For example, us-central1-a.
ttl google.protobuf.duration_pb2.Duration
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.
admission_policy str
Cache admission policy. Valid policies includes: admit-on-first-miss and admit-on-second-miss. Defaults to admit-on-first-miss. Default value is applied if not specified in the create request.
state str
Output only. Cache state including RUNNING, CREATING, DISABLED and PAUSED.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when Anywhere cache instance is allocated.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when Anywhere cache instance is last updated, including creation.
pending_update bool
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.