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.



767
768
769
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 767

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1beta::AnthosObservabilityFeatureSpec

Anthos Observability: Spec Corresponds to the JSON property anthosobservability



743
744
745
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 743

def anthosobservability
  @anthosobservability
end

#appdevexperienceGoogle::Apis::GkehubV1beta::AppDevExperienceFeatureSpec

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



748
749
750
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 748

def appdevexperience
  @appdevexperience
end

#clusterupgradeGoogle::Apis::GkehubV1beta::ClusterUpgradeFleetSpec

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



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

def clusterupgrade
  @clusterupgrade
end

#fleetobservabilityGoogle::Apis::GkehubV1beta::FleetObservabilityFeatureSpec

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



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

def fleetobservability
  @fleetobservability
end

#multiclusteringressGoogle::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec

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



765
766
767
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 765

def multiclusteringress
  @multiclusteringress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



772
773
774
775
776
777
778
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 772

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