Class: Google::Apis::GkehubV1beta::CommonFeatureState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/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.



868
869
870
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 868

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

Instance Attribute Details

#appdevexperienceGoogle::Apis::GkehubV1beta::AppDevExperienceFeatureState

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



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

def appdevexperience
  @appdevexperience
end

#clusterupgradeGoogle::Apis::GkehubV1beta::ClusterUpgradeFleetState

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



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

def clusterupgrade
  @clusterupgrade
end

#fleetobservabilityGoogle::Apis::GkehubV1beta::FleetObservabilityFeatureState

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



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

def fleetobservability
  @fleetobservability
end

#rbacrolebindingactuationGoogle::Apis::GkehubV1beta::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_v1beta/classes.rb', line 854

def rbacrolebindingactuation
  @rbacrolebindingactuation
end

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



861
862
863
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 861

def state
  @state
end

#workloadidentityGoogle::Apis::GkehubV1beta::WorkloadIdentityFeatureState

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



866
867
868
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 866

def workloadidentity
  @workloadidentity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



873
874
875
876
877
878
879
880
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 873

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