Reference documentation and code samples for the Google Cloud Storage Control V2 Client class RapidCacheConfig.
Rapid Cache configuration for a managed prefix. This configuration is used to determine how the rapid cache behaves for objects under the managed folder.
Generated from protobuf message google.storage.control.v2.ManagedFolder.RapidCacheConfig
Namespace
Google \ Cloud \ Storage \ Control \ V2 \ ManagedFolderMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ policies |
array|Google\Protobuf\Internal\MapField
Optional. A map of rapid_cache_id to RapidCachePolicy for this prefix. Currently, the key rapid_cache_id is the zone. However, the field is generalized as rapid_cache_id to align the policy lifetime with the cache instance lifetime. This allows for a future transition from zone to a cache id if required. |
getPolicies
Optional. A map of rapid_cache_id to RapidCachePolicy for this prefix.
Currently, the key rapid_cache_id is the zone. However, the field is generalized as rapid_cache_id to align the policy lifetime with the cache instance lifetime. This allows for a future transition from zone to a cache id if required.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setPolicies
Optional. A map of rapid_cache_id to RapidCachePolicy for this prefix.
Currently, the key rapid_cache_id is the zone. However, the field is generalized as rapid_cache_id to align the policy lifetime with the cache instance lifetime. This allows for a future transition from zone to a cache id if required.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|