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.



281
282
283
# File 'lib/google/apis/gkehub_v1/classes.rb', line 281

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



273
274
275
# File 'lib/google/apis/gkehub_v1/classes.rb', line 273

def appdevexperience
  @appdevexperience
end

#multiclusteringressGoogle::Apis::GkehubV1::MultiClusterIngressFeatureSpec

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



279
280
281
# File 'lib/google/apis/gkehub_v1/classes.rb', line 279

def multiclusteringress
  @multiclusteringress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



286
287
288
289
# File 'lib/google/apis/gkehub_v1/classes.rb', line 286

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