class Google::Apis::BigtableadminV2::Table

A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.

Attributes

cluster_states[RW]

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` Corresponds to the JSON property `clusterStates` @return [Hash<String,Google::Apis::BigtableadminV2::ClusterState>]

column_families[RW]

The column families configured for this table, mapped by column family ID. Views: `SCHEMA_VIEW`, `FULL` Corresponds to the JSON property `columnFamilies` @return [Hash<String,Google::Apis::BigtableadminV2::ColumnFamily>]

granularity[RW]

Immutable. 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 to `MILLIS`. Views: ` SCHEMA_VIEW`, `FULL`. Corresponds to the JSON property `granularity` @return [String]

name[RW]

The unique name of the table. Values are of the form `projects/`project`/ instances/`instance`/tables/_a-zA-Z0-9*`. Views: `NAME_ONLY`, `SCHEMA_VIEW`, ` REPLICATION_VIEW`, `FULL` Corresponds to the JSON property `name` @return [String]

restore_info[RW]

Information about a table restore. Corresponds to the JSON property `restoreInfo` @return [Google::Apis::BigtableadminV2::RestoreInfo]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/bigtableadmin_v2/classes.rb, line 1980
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/bigtableadmin_v2/classes.rb, line 1985
def update!(**args)
  @cluster_states = args[:cluster_states] if args.key?(:cluster_states)
  @column_families = args[:column_families] if args.key?(:column_families)
  @granularity = args[:granularity] if args.key?(:granularity)
  @name = args[:name] if args.key?(:name)
  @restore_info = args[:restore_info] if args.key?(:restore_info)
end