Class: Google::Apis::BigtableadminV2::Table
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::Table
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigtableadmin_v2/classes.rb,
generated/google/apis/bigtableadmin_v2/representations.rb,
generated/google/apis/bigtableadmin_v2/representations.rb
Overview
A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.
Instance Attribute Summary collapse
-
#cluster_states ⇒ Hash<String,Google::Apis::BigtableadminV2::ClusterState>
Output only.
-
#column_families ⇒ Hash<String,Google::Apis::BigtableadminV2::ColumnFamily>
(
CreationOnly) The column families configured for this table, mapped by column family ID. -
#granularity ⇒ String
(
CreationOnly) The granularity (i.e.MILLIS) at which timestamps are stored in this table. -
#name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Table
constructor
A new instance of Table.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Table
Returns a new instance of Table
1595 1596 1597 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1595 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_states ⇒ Hash<String,Google::Apis::BigtableadminV2::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, FULL
Corresponds to the JSON property clusterStates
1570 1571 1572 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1570 def cluster_states @cluster_states end |
#column_families ⇒ Hash<String,Google::Apis::BigtableadminV2::ColumnFamily>
(CreationOnly)
The column families configured for this table, mapped by column family ID.
Views: SCHEMA_VIEW, FULL
Corresponds to the JSON property columnFamilies
1577 1578 1579 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1577 def column_families @column_families end |
#granularity ⇒ String
(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 to MILLIS.
Views: SCHEMA_VIEW, FULL.
Corresponds to the JSON property granularity
1586 1587 1588 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1586 def granularity @granularity end |
#name ⇒ String
Output only. 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
1593 1594 1595 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1593 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1600 1601 1602 1603 1604 1605 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1600 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) end |