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 \ StorageLayoutMethods
__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 |
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 |
|