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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CommonFeatureState

Returns a new instance of CommonFeatureState.



961
962
963
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 961

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



931
932
933
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 931

def appdevexperience
  @appdevexperience
end

#clusterupgradeGoogle::Apis::GkehubV1alpha::ClusterUpgradeFleetState

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



936
937
938
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 936

def clusterupgrade
  @clusterupgrade
end

#fleetobservabilityGoogle::Apis::GkehubV1alpha::FleetObservabilityFeatureState

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



941
942
943
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 941

def fleetobservability
  @fleetobservability
end

#namespaceactuationGoogle::Apis::GkehubV1alpha::NamespaceActuationFeatureState

NamespaceActuation Feature State. Corresponds to the JSON property namespaceactuation



946
947
948
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 946

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



952
953
954
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 952

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



959
960
961
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 959

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



966
967
968
969
970
971
972
973
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 966

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