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.



227
228
229
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 227

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



219
220
221
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 219

def appdevexperience
  @appdevexperience
end

#multiclusteringressGoogle::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec

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



225
226
227
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 225

def multiclusteringress
  @multiclusteringress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



232
233
234
235
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 232

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