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.



874
875
876
# File 'lib/google/apis/gkehub_v1/classes.rb', line 874

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



838
839
840
# File 'lib/google/apis/gkehub_v1/classes.rb', line 838

def appdevexperience
  @appdevexperience
end

#clusterupgradeGoogle::Apis::GkehubV1::ClusterUpgradeFleetState

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



843
844
845
# File 'lib/google/apis/gkehub_v1/classes.rb', line 843

def clusterupgrade
  @clusterupgrade
end

#fleetobservabilityGoogle::Apis::GkehubV1::FleetObservabilityFeatureState

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



848
849
850
# File 'lib/google/apis/gkehub_v1/classes.rb', line 848

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



854
855
856
# File 'lib/google/apis/gkehub_v1/classes.rb', line 854

def rbacrolebindingactuation
  @rbacrolebindingactuation
end

#servicemeshGoogle::Apis::GkehubV1::ServiceMeshFeatureState

Service Mesh: State for the whole Hub, as analyzed by the Service Mesh Hub Controller. Corresponds to the JSON property servicemesh



860
861
862
# File 'lib/google/apis/gkehub_v1/classes.rb', line 860

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



867
868
869
# File 'lib/google/apis/gkehub_v1/classes.rb', line 867

def state
  @state
end

#workloadidentityGoogle::Apis::GkehubV1::WorkloadIdentityFeatureState

WorkloadIdentity: Global feature state. Corresponds to the JSON property workloadidentity



872
873
874
# File 'lib/google/apis/gkehub_v1/classes.rb', line 872

def workloadidentity
  @workloadidentity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



879
880
881
882
883
884
885
886
887
# File 'lib/google/apis/gkehub_v1/classes.rb', line 879

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)
  @servicemesh = args[:servicemesh] if args.key?(:servicemesh)
  @state = args[:state] if args.key?(:state)
  @workloadidentity = args[:workloadidentity] if args.key?(:workloadidentity)
end