Google Cloud Storage Control V2 Client - Class RapidCacheInfo (1.12.3)

Reference documentation and code samples for the Google Cloud Storage Control V2 Client class RapidCacheInfo.

The Rapid Cache configuration for the bucket.

Generated from protobuf message google.storage.control.v2.StorageLayout.RapidCacheInfo

Namespace

Google \ Cloud \ Storage \ Control \ V2 \ StorageLayout

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cache_type string

Output only. The type of cache in the bucket. Set to rapid-cache or rapid-cache-ultra, only if there is a cache present.

getCacheType

Output only. The type of cache in the bucket. Set to rapid-cache or rapid-cache-ultra, only if there is a cache present.

Returns
Type Description
string

setCacheType

Output only. The type of cache in the bucket. Set to rapid-cache or rapid-cache-ultra, only if there is a cache present.

Parameter
Name Description
var string
Returns
Type Description
$this