Reference documentation and code samples for the Cloud Bigtable Admin V2 API class Google::Cloud::Bigtable::Admin::V2::MemoryLayer.
The memory layer of a cluster. A memory layer serves reads from memory without hitting the backing persistent data store.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#etag
def etag() -> ::String
Returns
- (::String) — 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.
#etag=
def etag=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.
#memory_config
def memory_config() -> ::Google::Cloud::Bigtable::Admin::V2::MemoryLayer::MemoryConfig
Returns
-
(::Google::Cloud::Bigtable::Admin::V2::MemoryLayer::MemoryConfig) — The configuration of this memory layer. Set an empty
memory_configto enable the memory layer. Unset this to disable the memory layer.
#memory_config=
def memory_config=(value) -> ::Google::Cloud::Bigtable::Admin::V2::MemoryLayer::MemoryConfig
Parameter
-
value (::Google::Cloud::Bigtable::Admin::V2::MemoryLayer::MemoryConfig) — The configuration of this memory layer. Set an empty
memory_configto enable the memory layer. Unset this to disable the memory layer.
Returns
-
(::Google::Cloud::Bigtable::Admin::V2::MemoryLayer::MemoryConfig) — The configuration of this memory layer. Set an empty
memory_configto enable the memory layer. Unset this to disable the memory layer.
#name
def name() -> ::String
Returns
- (::String) — Identifier. Name of the memory layer. This is always: "projects/{project}/instances/{instance}/clusters/{cluster}/memoryLayer".
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Identifier. Name of the memory layer. This is always: "projects/{project}/instances/{instance}/clusters/{cluster}/memoryLayer".
Returns
- (::String) — Identifier. Name of the memory layer. This is always: "projects/{project}/instances/{instance}/clusters/{cluster}/memoryLayer".
#state
def state() -> ::Google::Cloud::Bigtable::Admin::V2::MemoryLayer::State
Returns
- (::Google::Cloud::Bigtable::Admin::V2::MemoryLayer::State) — Output only. The current state of the memory layer.