Skip to main content

memory_layers

Creates, updates, deletes, gets or lists a memory_layers resource.

Overview

Namememory_layers
TypeResource
Idgoogle.bigtableadmin.memory_layers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. Name of the memory layer. This is always: "projects/{project}/instances/{instance}/clusters/{cluster}/memoryLayer".
etagstringOptional. 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.
memoryConfigobjectThe configuration of this memory layer. Set an empty memory_config to enable the memory layer. Unset this to disable the memory layer. (id: GoogleBigtableAdminV2MemoryLayerMemoryConfig)
statestringOutput only. The current state of the memory layer. (STATE_NOT_KNOWN, READY, ENABLING, RESIZING, DISABLED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectprojectsId, instancesId, clustersIdpageSize, pageTokenLists information about memory layers.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
clustersIdstring
instancesIdstring
projectsIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Lists information about memory layers.

SELECT
name,
etag,
memoryConfig,
state
FROM google.bigtableadmin.memory_layers
WHERE projectsId = '{{ projectsId }}' -- required
AND instancesId = '{{ instancesId }}' -- required
AND clustersId = '{{ clustersId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;