Reference documentation and code samples for the Google Cloud Storage Control V2 Client class RapidCachePolicy.
Rapid Cache policy for a managed folder.
Generated from protobuf message google.storage.control.v2.ManagedFolder.RapidCacheConfig.RapidCachePolicy
Namespace
Google \ Cloud \ Storage \ Control \ V2 \ ManagedFolder \ RapidCacheConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ rapid_cache_id |
string
Required. The identifier for the rapid cache. |
↳ ingest_on_write |
int
Required. If enabled, objects in the Managed Folder will be ingested into the cache when they are written. |
getRapidCacheId
Required. The identifier for the rapid cache.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRapidCacheId
Required. The identifier for the rapid cache.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIngestOnWrite
Required. If enabled, objects in the Managed Folder will be ingested into the cache when they are written.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type IngestOnWrite. |
setIngestOnWrite
Required. If enabled, objects in the Managed Folder will be ingested into the cache when they are written.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type IngestOnWrite. |
| Returns | |
|---|---|
| Type | Description |
$this |
|