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.



724
725
726
# File 'lib/google/apis/gkehub_v1/classes.rb', line 724

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



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

def appdevexperience
  @appdevexperience
end

#clusterupgradeGoogle::Apis::GkehubV1::ClusterUpgradeFleetSpec

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



706
707
708
# File 'lib/google/apis/gkehub_v1/classes.rb', line 706

def clusterupgrade
  @clusterupgrade
end

#dataplanev2Google::Apis::GkehubV1::DataplaneV2FeatureSpec

Dataplane V2: Spec Corresponds to the JSON property dataplanev2



711
712
713
# File 'lib/google/apis/gkehub_v1/classes.rb', line 711

def dataplanev2
  @dataplanev2
end

#fleetobservabilityGoogle::Apis::GkehubV1::FleetObservabilityFeatureSpec

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



716
717
718
# File 'lib/google/apis/gkehub_v1/classes.rb', line 716

def fleetobservability
  @fleetobservability
end

#multiclusteringressGoogle::Apis::GkehubV1::MultiClusterIngressFeatureSpec

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



722
723
724
# File 'lib/google/apis/gkehub_v1/classes.rb', line 722

def multiclusteringress
  @multiclusteringress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



729
730
731
732
733
734
735
# File 'lib/google/apis/gkehub_v1/classes.rb', line 729

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