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.



430
431
432
# File 'lib/google/apis/gkehub_v1/classes.rb', line 430

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



422
423
424
# File 'lib/google/apis/gkehub_v1/classes.rb', line 422

def appdevexperience
  @appdevexperience
end

#multiclusteringressGoogle::Apis::GkehubV1::MultiClusterIngressFeatureSpec

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



428
429
430
# File 'lib/google/apis/gkehub_v1/classes.rb', line 428

def multiclusteringress
  @multiclusteringress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



435
436
437
438
# File 'lib/google/apis/gkehub_v1/classes.rb', line 435

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