Class: Google::Cloud::GkeHub::V1::FeatureState

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gkehub/v1/feature.rb

Overview

FeatureState describes the high-level state of a Feature. It may be used to describe a Feature's state at the environ-level, or per-membershop, depending on the context.

Defined Under Namespace

Modules: Code

Instance Attribute Summary collapse

Instance Attribute Details

#code::Google::Cloud::GkeHub::V1::FeatureState::Code

Returns The high-level, machine-readable status of this Feature.

Returns:



161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
# File 'proto_docs/google/cloud/gkehub/v1/feature.rb', line 161

class FeatureState
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Code represents a machine-readable, high-level status of the Feature.
  module Code
    # Unknown or not set.
    CODE_UNSPECIFIED = 0

    # The Feature is operating normally.
    OK = 1

    # The Feature has encountered an issue, and is operating in a degraded
    # state. The Feature may need intervention to return to normal operation.
    # See the description and any associated Feature-specific details for more
    # information.
    WARNING = 2

    # The Feature is not operating or is in a severely degraded state.
    # The Feature may need intervention to return to normal operation.
    # See the description and any associated Feature-specific details for more
    # information.
    ERROR = 3
  end
end

#description::String

Returns A human-readable description of the current status.

Returns:

  • (::String)

    A human-readable description of the current status.



161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
# File 'proto_docs/google/cloud/gkehub/v1/feature.rb', line 161

class FeatureState
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Code represents a machine-readable, high-level status of the Feature.
  module Code
    # Unknown or not set.
    CODE_UNSPECIFIED = 0

    # The Feature is operating normally.
    OK = 1

    # The Feature has encountered an issue, and is operating in a degraded
    # state. The Feature may need intervention to return to normal operation.
    # See the description and any associated Feature-specific details for more
    # information.
    WARNING = 2

    # The Feature is not operating or is in a severely degraded state.
    # The Feature may need intervention to return to normal operation.
    # See the description and any associated Feature-specific details for more
    # information.
    ERROR = 3
  end
end

#update_time::Google::Protobuf::Timestamp

Returns The time this status and any related Feature-specific details were updated.

Returns:



161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
# File 'proto_docs/google/cloud/gkehub/v1/feature.rb', line 161

class FeatureState
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Code represents a machine-readable, high-level status of the Feature.
  module Code
    # Unknown or not set.
    CODE_UNSPECIFIED = 0

    # The Feature is operating normally.
    OK = 1

    # The Feature has encountered an issue, and is operating in a degraded
    # state. The Feature may need intervention to return to normal operation.
    # See the description and any associated Feature-specific details for more
    # information.
    WARNING = 2

    # The Feature is not operating or is in a severely degraded state.
    # The Feature may need intervention to return to normal operation.
    # See the description and any associated Feature-specific details for more
    # information.
    ERROR = 3
  end
end