Reference documentation and code samples for the Cloud Bigtable Admin V2 API class Google::Cloud::Bigtable::Admin::V2::Table.
A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cluster_states
def cluster_states() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::Table::ClusterState}
Returns
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::Table::ClusterState}) — Output only. Map from cluster ID to per-cluster table state.
If it could not be determined whether or not the table has data in a
particular cluster (for example, if its zone is unavailable), then
there will be an entry for the cluster with UNKNOWN
replication_status
. Views:REPLICATION_VIEW
,ENCRYPTION_VIEW
,FULL
#cluster_states=
def cluster_states=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::Table::ClusterState}
Parameter
-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::Table::ClusterState}) — Output only. Map from cluster ID to per-cluster table state.
If it could not be determined whether or not the table has data in a
particular cluster (for example, if its zone is unavailable), then
there will be an entry for the cluster with UNKNOWN
replication_status
. Views:REPLICATION_VIEW
,ENCRYPTION_VIEW
,FULL
Returns
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::Table::ClusterState}) — Output only. Map from cluster ID to per-cluster table state.
If it could not be determined whether or not the table has data in a
particular cluster (for example, if its zone is unavailable), then
there will be an entry for the cluster with UNKNOWN
replication_status
. Views:REPLICATION_VIEW
,ENCRYPTION_VIEW
,FULL
#column_families
def column_families() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::ColumnFamily}
Returns
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::ColumnFamily}) — (
CreationOnly
) The column families configured for this table, mapped by column family ID. Views:SCHEMA_VIEW
,FULL
#column_families=
def column_families=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::ColumnFamily}
Parameter
-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::ColumnFamily}) — (
CreationOnly
) The column families configured for this table, mapped by column family ID. Views:SCHEMA_VIEW
,FULL
Returns
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::ColumnFamily}) — (
CreationOnly
) The column families configured for this table, mapped by column family ID. Views:SCHEMA_VIEW
,FULL
#granularity
def granularity() -> ::Google::Cloud::Bigtable::Admin::V2::Table::TimestampGranularity
Returns
-
(::Google::Cloud::Bigtable::Admin::V2::Table::TimestampGranularity) — (
CreationOnly
) The granularity (i.e.MILLIS
) at which timestamps are stored in this table. Timestamps not matching the granularity will be rejected. If unspecified at creation time, the value will be set toMILLIS
. Views:SCHEMA_VIEW
,FULL
.
#granularity=
def granularity=(value) -> ::Google::Cloud::Bigtable::Admin::V2::Table::TimestampGranularity
Parameter
-
value (::Google::Cloud::Bigtable::Admin::V2::Table::TimestampGranularity) — (
CreationOnly
) The granularity (i.e.MILLIS
) at which timestamps are stored in this table. Timestamps not matching the granularity will be rejected. If unspecified at creation time, the value will be set toMILLIS
. Views:SCHEMA_VIEW
,FULL
.
Returns
-
(::Google::Cloud::Bigtable::Admin::V2::Table::TimestampGranularity) — (
CreationOnly
) The granularity (i.e.MILLIS
) at which timestamps are stored in this table. Timestamps not matching the granularity will be rejected. If unspecified at creation time, the value will be set toMILLIS
. Views:SCHEMA_VIEW
,FULL
.
#name
def name() -> ::String
Returns
-
(::String) — The unique name of the table. Values are of the form
projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*
. Views:NAME_ONLY
,SCHEMA_VIEW
,REPLICATION_VIEW
,FULL
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — The unique name of the table. Values are of the form
projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*
. Views:NAME_ONLY
,SCHEMA_VIEW
,REPLICATION_VIEW
,FULL
Returns
-
(::String) — The unique name of the table. Values are of the form
projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*
. Views:NAME_ONLY
,SCHEMA_VIEW
,REPLICATION_VIEW
,FULL
#restore_info
def restore_info() -> ::Google::Cloud::Bigtable::Admin::V2::RestoreInfo
Returns
- (::Google::Cloud::Bigtable::Admin::V2::RestoreInfo) — Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.
#restore_info=
def restore_info=(value) -> ::Google::Cloud::Bigtable::Admin::V2::RestoreInfo
Parameter
- value (::Google::Cloud::Bigtable::Admin::V2::RestoreInfo) — Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.
Returns
- (::Google::Cloud::Bigtable::Admin::V2::RestoreInfo) — Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.