Class: Google::Apis::GkehubV1::CommonFeatureState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1/classes.rb,
lib/google/apis/gkehub_v1/representations.rb,
lib/google/apis/gkehub_v1/representations.rb

Overview

CommonFeatureState contains Hub-wide Feature status information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CommonFeatureState

Returns a new instance of CommonFeatureState.



764
765
766
# File 'lib/google/apis/gkehub_v1/classes.rb', line 764

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#appdevexperienceGoogle::Apis::GkehubV1::AppDevExperienceFeatureState

State for App Dev Exp Feature. Corresponds to the JSON property appdevexperience



745
746
747
# File 'lib/google/apis/gkehub_v1/classes.rb', line 745

def appdevexperience
  @appdevexperience
end

#clusterupgradeGoogle::Apis::GkehubV1::ClusterUpgradeFleetState

ClusterUpgrade: The state for the fleet-level ClusterUpgrade feature. Corresponds to the JSON property clusterupgrade



750
751
752
# File 'lib/google/apis/gkehub_v1/classes.rb', line 750

def clusterupgrade
  @clusterupgrade
end

#fleetobservabilityGoogle::Apis::GkehubV1::FleetObservabilityFeatureState

FleetObservability: Hub-wide Feature for FleetObservability feature. state. Corresponds to the JSON property fleetobservability



755
756
757
# File 'lib/google/apis/gkehub_v1/classes.rb', line 755

def fleetobservability
  @fleetobservability
end

#stateGoogle::Apis::GkehubV1::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



762
763
764
# File 'lib/google/apis/gkehub_v1/classes.rb', line 762

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



769
770
771
772
773
774
# File 'lib/google/apis/gkehub_v1/classes.rb', line 769

def update!(**args)
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
  @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
  @state = args[:state] if args.key?(:state)
end