Class: Google::Apis::GkehubV1alpha::CommonFeatureState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::CommonFeatureState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb
Overview
CommonFeatureState contains Hub-wide Feature status information.
Instance Attribute Summary collapse
-
#servicemesh ⇒ Google::Apis::GkehubV1alpha::ServiceMeshFeatureState
Service Mesh: State for the whole Hub, as analyzed by the Service Mesh Hub Controller.
-
#state ⇒ Google::Apis::GkehubV1alpha::FeatureState
FeatureState describes the high-level state of a Feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommonFeatureState
constructor
A new instance of CommonFeatureState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CommonFeatureState
Returns a new instance of CommonFeatureState.
300 301 302 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 300 def initialize(**args) update!(**args) end |
Instance Attribute Details
#servicemesh ⇒ Google::Apis::GkehubV1alpha::ServiceMeshFeatureState
Service Mesh: State for the whole Hub, as analyzed by the Service Mesh Hub
Controller.
Corresponds to the JSON property servicemesh
291 292 293 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 291 def servicemesh @servicemesh end |
#state ⇒ Google::Apis::GkehubV1alpha::FeatureState
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
298 299 300 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 298 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
305 306 307 308 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 305 def update!(**args) @servicemesh = args[:servicemesh] if args.key?(:servicemesh) @state = args[:state] if args.key?(:state) end |