The memory layer of a cluster. A memory layer serves reads from memory without hitting the backing persistent data store.
| JSON representation |
|---|
{ "name": string, "memoryConfig": { object ( |
| Fields | |
|---|---|
name |
Identifier. Name of the memory layer. This is always: "projects/{project}/instances/{instance}/clusters/{cluster}/memoryLayer". |
memoryConfig |
The configuration of this memory layer. Set an empty |
etag |
Optional. The etag for this memory layer. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag. |
state |
Output only. The current state of the memory layer. |
MemoryConfig
Configuration of a memory layer.
| JSON representation |
|---|
{ "storageSizeGib": integer } |
| Fields | |
|---|---|
storageSizeGib |
Output only. Reporting the current size of the memory layer in GiB. |
State
Possible states of a memory layer.
| Enums | |
|---|---|
STATE_NOT_KNOWN |
The state of the memory layer could not be determined. |
READY |
The memory layer has been successfully enabled and is ready to serve requests. |
ENABLING |
The memory layer is currently being enabled, and may be disabled if the enablement process encounters an error. A cluster may not be able to serve requests from the memory layer while being enabled. |
RESIZING |
The memory layer is currently being resized, and may revert to its previous storage size if the process encounters an error. The memory layer is still capable of serving requests while being resized, but may exhibit performance as if its number of allocated nodes is between the starting and requested states. |
DISABLED |
The memory layer is disabled. The default state for a cluster without a memory layer. |