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
-
#appdevexperience ⇒ Google::Apis::GkehubV1alpha::AppDevExperienceFeatureState
State for App Dev Exp Feature.
-
#clusterupgrade ⇒ Google::Apis::GkehubV1alpha::ClusterUpgradeFleetState
ClusterUpgrade: The state for the fleet-level ClusterUpgrade feature.
-
#fleetobservability ⇒ Google::Apis::GkehubV1alpha::FleetObservabilityFeatureState
FleetObservability: Hub-wide Feature for FleetObservability feature.
-
#namespaceactuation ⇒ Google::Apis::GkehubV1alpha::NamespaceActuationFeatureState
NamespaceActuation Feature State.
-
#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.
935 936 937 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 935 def initialize(**args) update!(**args) end |
Instance Attribute Details
#appdevexperience ⇒ Google::Apis::GkehubV1alpha::AppDevExperienceFeatureState
State for App Dev Exp Feature.
Corresponds to the JSON property appdevexperience
905 906 907 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 905 def appdevexperience @appdevexperience end |
#clusterupgrade ⇒ Google::Apis::GkehubV1alpha::ClusterUpgradeFleetState
ClusterUpgrade: The state for the fleet-level ClusterUpgrade feature.
Corresponds to the JSON property clusterupgrade
910 911 912 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 910 def clusterupgrade @clusterupgrade end |
#fleetobservability ⇒ Google::Apis::GkehubV1alpha::FleetObservabilityFeatureState
FleetObservability: Hub-wide Feature for FleetObservability feature. state.
Corresponds to the JSON property fleetobservability
915 916 917 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 915 def fleetobservability @fleetobservability end |
#namespaceactuation ⇒ Google::Apis::GkehubV1alpha::NamespaceActuationFeatureState
NamespaceActuation Feature State.
Corresponds to the JSON property namespaceactuation
920 921 922 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 920 def namespaceactuation @namespaceactuation end |
#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
926 927 928 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 926 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
933 934 935 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 933 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
940 941 942 943 944 945 946 947 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 940 def update!(**args) @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience) @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade) @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability) @namespaceactuation = args[:namespaceactuation] if args.key?(:namespaceactuation) @servicemesh = args[:servicemesh] if args.key?(:servicemesh) @state = args[:state] if args.key?(:state) end |