Class: Google::Apis::GkehubV1alpha::CommonFeatureSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::CommonFeatureSpec
- 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
-
#cloudauditlogging ⇒ Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec
Cloud Audit Logging: Spec for Audit Logging Allowlisting.
-
#multiclusteringress ⇒ Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec
Multi-cluster Ingress: The configuration for the MultiClusterIngress feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommonFeatureSpec
constructor
A new instance of CommonFeatureSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CommonFeatureSpec
Returns a new instance of CommonFeatureSpec.
272 273 274 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 272 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloudauditlogging ⇒ Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec
Cloud Audit Logging: Spec for Audit Logging Allowlisting.
Corresponds to the JSON property cloudauditlogging
264 265 266 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 264 def cloudauditlogging @cloudauditlogging end |
#multiclusteringress ⇒ Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec
Multi-cluster Ingress: The configuration for the MultiClusterIngress
feature.
Corresponds to the JSON property multiclusteringress
270 271 272 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 270 def multiclusteringress @multiclusteringress end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
277 278 279 280 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 277 def update!(**args) @cloudauditlogging = args[:cloudauditlogging] if args.key?(:cloudauditlogging) @multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress) end |