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 (+OutputOnly+) The state of replication for the table in this cluster.

Returns:



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 53

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
  end
end