Class: Google::Apis::GkehubV1alpha::CommonFeatureSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/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.



364
365
366
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 364

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

Instance Attribute Details

#appdevexperienceGoogle::Apis::GkehubV1alpha::AppDevExperienceFeatureSpec

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



351
352
353
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 351

def appdevexperience
  @appdevexperience
end

#cloudauditloggingGoogle::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec

Cloud Audit Logging: Spec for Audit Logging Allowlisting. Corresponds to the JSON property cloudauditlogging



356
357
358
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 356

def cloudauditlogging
  @cloudauditlogging
end

#multiclusteringressGoogle::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec

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



362
363
364
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 362

def multiclusteringress
  @multiclusteringress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



369
370
371
372
373
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 369

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