Reference documentation and code samples for the Storage Control V2 API class Google::Cloud::Storage::Control::V2::CreateAnywhereCacheMetadata.
Message returned in the metadata field of the Operation resource for CreateAnywhereCache operations.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#admission_policy
def admission_policy() -> ::String
Returns
- (::String) — 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.
#admission_policy=
def admission_policy=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.
#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
- (::Google::Cloud::Storage::Control::V2::CommonLongRunningOperationMetadata) — Generic metadata for the long running operation.
#common_metadata=
def common_metadata=(value) -> ::Google::Cloud::Storage::Control::V2::CommonLongRunningOperationMetadata
Parameter
- value (::Google::Cloud::Storage::Control::V2::CommonLongRunningOperationMetadata) — Generic metadata for the long running operation.
Returns
- (::Google::Cloud::Storage::Control::V2::CommonLongRunningOperationMetadata) — Generic metadata for the long running operation.
#ttl
def ttl() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Anywhere 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.
#ttl=
def ttl=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Anywhere 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.
Returns
- (::Google::Protobuf::Duration) — Anywhere 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.
#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.