class Google::Apis::GkehubV1::CommonFeatureState

CommonFeatureState contains Hub-wide Feature status information.

Attributes

state[RW]

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. Corresponds to the JSON property `state` @return [Google::Apis::GkehubV1::FeatureState]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/gkehub_v1/classes.rb, line 270
def update!(**args)
  @state = args[:state] if args.key?(:state)
end