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.



296
297
298
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 296

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1beta::AnthosObservabilityFeatureSpec

Anthos Observability: Spec Corresponds to the JSON property anthosobservability



278
279
280
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 278

def anthosobservability
  @anthosobservability
end

#appdevexperienceGoogle::Apis::GkehubV1beta::AppDevExperienceFeatureSpec

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



283
284
285
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 283

def appdevexperience
  @appdevexperience
end

#fleetobservabilityGoogle::Apis::GkehubV1beta::FleetObservabilityFeatureSpec

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



288
289
290
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 288

def fleetobservability
  @fleetobservability
end

#multiclusteringressGoogle::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec

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



294
295
296
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 294

def multiclusteringress
  @multiclusteringress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



301
302
303
304
305
306
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 301

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