Class: Google::Apis::ComputeAlpha::SecurityPolicyCloudArmorConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Overview

Configuration options for Cloud Armor.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecurityPolicyCloudArmorConfig

Returns a new instance of SecurityPolicyCloudArmorConfig.



43748
43749
43750
# File 'lib/google/apis/compute_alpha/classes.rb', line 43748

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

Instance Attribute Details

#enable_mlBoolean Also known as: enable_ml?

If set to true, enables Cloud Armor Machine Learning. Corresponds to the JSON property enableMl

Returns:

  • (Boolean)


43745
43746
43747
# File 'lib/google/apis/compute_alpha/classes.rb', line 43745

def enable_ml
  @enable_ml
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



43753
43754
43755
# File 'lib/google/apis/compute_alpha/classes.rb', line 43753

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