Class: Google::Bigtable::Admin::V2::Table::ClusterState

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb

Overview

The state of a table's data in a particular cluster.

Defined Under Namespace

Modules: ReplicationState

Instance Attribute Summary collapse

Instance Attribute Details

#replication_stateGoogle::Bigtable::Admin::V2::Table::ClusterState::ReplicationState

Returns Output only. The state of replication for the table in this cluster.

Returns:



65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 65

class ClusterState
  # Table replication states.
  module ReplicationState
    # The replication state of the table is unknown in this cluster.
    STATE_NOT_KNOWN = 0

    # The cluster was recently created, and the table must finish copying
    # over pre-existing data from other clusters before it can begin
    # receiving live replication updates and serving Data API requests.
    INITIALIZING = 1

    # The table is temporarily unable to serve Data API requests from this
    # cluster due to planned internal maintenance.
    PLANNED_MAINTENANCE = 2

    # The table is temporarily unable to serve Data API requests from this
    # cluster due to unplanned or emergency maintenance.
    UNPLANNED_MAINTENANCE = 3

    # The table can serve Data API requests from this cluster. Depending on
    # replication delay, reads may not immediately reflect the state of the
    # table in other clusters.
    READY = 4

    # The table is fully created and ready for use after a restore, and is
    # being optimized for performance. When optimizations are complete, the
    # table will transition to `READY` state.
    READY_OPTIMIZING = 5
  end
end