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 Fleet-wide Feature status information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CommonFeatureState

Returns a new instance of CommonFeatureState.



791
792
793
# File 'lib/google/apis/gkehub_v1/classes.rb', line 791

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



766
767
768
# File 'lib/google/apis/gkehub_v1/classes.rb', line 766

def appdevexperience
  @appdevexperience
end

#clusterupgradeGoogle::Apis::GkehubV1::ClusterUpgradeFleetState

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



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

def clusterupgrade
  @clusterupgrade
end

#fleetobservabilityGoogle::Apis::GkehubV1::FleetObservabilityFeatureState

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



776
777
778
# File 'lib/google/apis/gkehub_v1/classes.rb', line 776

def fleetobservability
  @fleetobservability
end

#rbacrolebindingactuationGoogle::Apis::GkehubV1::RbacRoleBindingActuationFeatureState

RBAC RoleBinding Actuation: An empty state left as an example Hub-wide Feature state. Corresponds to the JSON property rbacrolebindingactuation



782
783
784
# File 'lib/google/apis/gkehub_v1/classes.rb', line 782

def rbacrolebindingactuation
  @rbacrolebindingactuation
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



789
790
791
# File 'lib/google/apis/gkehub_v1/classes.rb', line 789

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



796
797
798
799
800
801
802
# File 'lib/google/apis/gkehub_v1/classes.rb', line 796

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