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.



862
863
864
# File 'lib/google/apis/gkehub_v1/classes.rb', line 862

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



832
833
834
# File 'lib/google/apis/gkehub_v1/classes.rb', line 832

def appdevexperience
  @appdevexperience
end

#clusterupgradeGoogle::Apis::GkehubV1::ClusterUpgradeFleetState

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



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

def clusterupgrade
  @clusterupgrade
end

#fleetobservabilityGoogle::Apis::GkehubV1::FleetObservabilityFeatureState

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



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

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



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

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



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

def state
  @state
end

#workloadidentityGoogle::Apis::GkehubV1::WorkloadIdentityFeatureState

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



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

def workloadidentity
  @workloadidentity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



867
868
869
870
871
872
873
874
# File 'lib/google/apis/gkehub_v1/classes.rb', line 867

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