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.



257
258
259
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 257

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

Instance Attribute Details

#appdevexperienceGoogle::Apis::GkehubV1beta::AppDevExperienceFeatureSpec

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



249
250
251
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 249

def appdevexperience
  @appdevexperience
end

#multiclusteringressGoogle::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec

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



255
256
257
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 255

def multiclusteringress
  @multiclusteringress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



262
263
264
265
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 262

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