Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class DataCacheConfig.
Data cache configurations.
Generated from protobuf message google.cloud.sql.v1.DataCacheConfig
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ data_cache_enabled |
bool
Whether data cache is enabled for the instance. |
getDataCacheEnabled
Whether data cache is enabled for the instance.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setDataCacheEnabled
Whether data cache is enabled for the instance.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|