Class: Google::Apis::ComputeAlpha::SecurityPolicyCloudArmorConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::SecurityPolicyCloudArmorConfig
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Overview
Configuration options for Cloud Armor.
Instance Attribute Summary collapse
-
#enable_ml ⇒ Boolean
(also: #enable_ml?)
If set to true, enables Cloud Armor Machine Learning.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityPolicyCloudArmorConfig
constructor
A new instance of SecurityPolicyCloudArmorConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ SecurityPolicyCloudArmorConfig
Returns a new instance of SecurityPolicyCloudArmorConfig
29629 29630 29631 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 29629 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_ml ⇒ Boolean Also known as: enable_ml?
If set to true, enables Cloud Armor Machine Learning.
Corresponds to the JSON property enableMl
29626 29627 29628 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 29626 def enable_ml @enable_ml end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29634 29635 29636 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 29634 def update!(**args) @enable_ml = args[:enable_ml] if args.key?(:enable_ml) end |