Class: Google::Apis::GkehubV1beta::CommonFeatureSpec

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

CommonFeatureSpec contains Hub-wide configuration information

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CommonFeatureSpec

Returns a new instance of CommonFeatureSpec.



753
754
755
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 753

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1beta::AnthosObservabilityFeatureSpec

Anthos Observability: Spec Corresponds to the JSON property anthosobservability



729
730
731
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 729

def anthosobservability
  @anthosobservability
end

#appdevexperienceGoogle::Apis::GkehubV1beta::AppDevExperienceFeatureSpec

Spec for App Dev Experience Feature. Corresponds to the JSON property appdevexperience



734
735
736
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 734

def appdevexperience
  @appdevexperience
end

#clusterupgradeGoogle::Apis::GkehubV1beta::ClusterUpgradeFleetSpec

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



740
741
742
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 740

def clusterupgrade
  @clusterupgrade
end

#fleetobservabilityGoogle::Apis::GkehubV1beta::FleetObservabilityFeatureSpec

Fleet Observability: The Hub-wide input for the FleetObservability feature. Corresponds to the JSON property fleetobservability



745
746
747
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 745

def fleetobservability
  @fleetobservability
end

#multiclusteringressGoogle::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec

Multi-cluster Ingress: The configuration for the MultiClusterIngress feature. Corresponds to the JSON property multiclusteringress



751
752
753
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 751

def multiclusteringress
  @multiclusteringress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



758
759
760
761
762
763
764
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 758

def update!(**args)
  @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
  @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
  @multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
end