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.



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

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

Instance Attribute Details

#cloudauditloggingGoogle::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec

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

FeatureSpec contains the input for the MultiClusterIngress feature. Corresponds to the JSON property multiclusteringress



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

def multiclusteringress
  @multiclusteringress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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