Class: Google::Apis::GkehubV1alpha::CommonFeatureState

Inherits:
Object
  • Object
show all
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 Fleet-wide Feature status information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CommonFeatureState

Returns a new instance of CommonFeatureState.



1021
1022
1023
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1021

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

Instance Attribute Details

#appdevexperienceGoogle::Apis::GkehubV1alpha::AppDevExperienceFeatureState

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



980
981
982
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 980

def appdevexperience
  @appdevexperience
end

#clusterupgradeGoogle::Apis::GkehubV1alpha::ClusterUpgradeFleetState

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



985
986
987
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 985

def clusterupgrade
  @clusterupgrade
end

#fleetobservabilityGoogle::Apis::GkehubV1alpha::FleetObservabilityFeatureState

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



990
991
992
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 990

def fleetobservability
  @fleetobservability
end

#namespaceactuationGoogle::Apis::GkehubV1alpha::NamespaceActuationFeatureState

NamespaceActuation Feature State. Corresponds to the JSON property namespaceactuation



995
996
997
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 995

def namespaceactuation
  @namespaceactuation
end

#rbacrolebindingactuationGoogle::Apis::GkehubV1alpha::RbacRoleBindingActuationFeatureState

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



1001
1002
1003
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1001

def rbacrolebindingactuation
  @rbacrolebindingactuation
end

#servicemeshGoogle::Apis::GkehubV1alpha::ServiceMeshFeatureState

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



1007
1008
1009
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1007

def servicemesh
  @servicemesh
end

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



1014
1015
1016
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1014

def state
  @state
end

#workloadidentityGoogle::Apis::GkehubV1alpha::WorkloadIdentityFeatureState

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



1019
1020
1021
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1019

def workloadidentity
  @workloadidentity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1026

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)
  @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