Class: Google::Apis::GkehubV1::CommonFeatureSpec

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

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.



694
695
696
# File 'lib/google/apis/gkehub_v1/classes.rb', line 694

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

Instance Attribute Details

#appdevexperienceGoogle::Apis::GkehubV1::AppDevExperienceFeatureSpec

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



675
676
677
# File 'lib/google/apis/gkehub_v1/classes.rb', line 675

def appdevexperience
  @appdevexperience
end

#clusterupgradeGoogle::Apis::GkehubV1::ClusterUpgradeFleetSpec

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



681
682
683
# File 'lib/google/apis/gkehub_v1/classes.rb', line 681

def clusterupgrade
  @clusterupgrade
end

#fleetobservabilityGoogle::Apis::GkehubV1::FleetObservabilityFeatureSpec

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



686
687
688
# File 'lib/google/apis/gkehub_v1/classes.rb', line 686

def fleetobservability
  @fleetobservability
end

#multiclusteringressGoogle::Apis::GkehubV1::MultiClusterIngressFeatureSpec

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



692
693
694
# File 'lib/google/apis/gkehub_v1/classes.rb', line 692

def multiclusteringress
  @multiclusteringress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



699
700
701
702
703
704
# File 'lib/google/apis/gkehub_v1/classes.rb', line 699

def update!(**args)
  @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