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.



218
219
220
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 218

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

Instance Attribute Details

#cloudauditloggingGoogle::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec

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



210
211
212
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 210

def cloudauditlogging
  @cloudauditlogging
end

#multiclusteringressGoogle::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec

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



216
217
218
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 216

def multiclusteringress
  @multiclusteringress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



223
224
225
226
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 223

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