Reference documentation and code samples for the Storage Control V2 API class Google::Cloud::Storage::Control::V2::CreateRapidCacheMetadata.
Message returned in the metadata field of the Operation resource for CreateRapidCache 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.
#cache_type
def cache_type() -> ::String
Returns
- (::String) — Optional. The type of cache. Either rapid cache or rapid cache ultra.
#cache_type=
def cache_type=(value) -> ::String
Parameter
- value (::String) — Optional. The type of cache. Either rapid cache or rapid cache ultra.
Returns
- (::String) — Optional. The type of cache. Either rapid cache or rapid cache ultra.
#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.
#ingest_on_write
def ingest_on_write() -> ::Boolean
Returns
- (::Boolean) — Optional. Specifies whether objects are ingested into the cache upon write. Defaults to false.
#ingest_on_write=
def ingest_on_write=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Specifies whether objects are ingested into the cache upon write. Defaults to false.
Returns
- (::Boolean) — Optional. Specifies whether objects are ingested into the cache upon write. Defaults to false.
#rapid_cache_id
def rapid_cache_id() -> ::String
Returns
- (::String) — Rapid Cache ID.
#rapid_cache_id=
def rapid_cache_id=(value) -> ::String
Parameter
- value (::String) — Rapid Cache ID.
Returns
- (::String) — Rapid Cache ID.
#ttl
def ttl() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — 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.
#ttl=
def ttl=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — 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.
Returns
- (::Google::Protobuf::Duration) — 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.
#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.