Storage Control V2 API - Class Google::Cloud::Storage::Control::V2::UpdateAnywhereCacheMetadata (v1.4.0)

Reference documentation and code samples for the Storage Control V2 API class Google::Cloud::Storage::Control::V2::UpdateAnywhereCacheMetadata.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#admission_policy

def admission_policy() -> ::String
Returns
  • (::String) — 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.

#admission_policy=

def admission_policy=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#anywhere_cache_id

def anywhere_cache_id() -> ::String
Returns
  • (::String) — Anywhere Cache ID.

#anywhere_cache_id=

def anywhere_cache_id=(value) -> ::String
Parameter
  • value (::String) — Anywhere Cache ID.
Returns
  • (::String) — Anywhere Cache ID.

#common_metadata

def common_metadata() -> ::Google::Cloud::Storage::Control::V2::CommonLongRunningOperationMetadata
Returns

#common_metadata=

def common_metadata=(value) -> ::Google::Cloud::Storage::Control::V2::CommonLongRunningOperationMetadata
Parameter
Returns

#ttl

def ttl() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — 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.

#ttl=

def ttl=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — 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.
Returns
  • (::Google::Protobuf::Duration) — 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.

#zone

def zone() -> ::String
Returns
  • (::String) — The zone in which the cache instance is running. For example, us-central1-a.

#zone=

def zone=(value) -> ::String
Parameter
  • value (::String) — The zone in which the cache instance is running. For example, us-central1-a.
Returns
  • (::String) — The zone in which the cache instance is running. For example, us-central1-a.