Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudArmor
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudArmor
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#adaptive_protection ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AdaptiveProtection
Corresponds to the JSON property
adaptiveProtection. -
#attack ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Attack
Corresponds to the JSON property
attack. -
#duration ⇒ String
Corresponds to the JSON property
duration. -
#requests ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Requests
Corresponds to the JSON property
requests. -
#security_policy ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecurityPolicy
Corresponds to the JSON property
securityPolicy. -
#threat_vector ⇒ String
Corresponds to the JSON property
threatVector.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2CloudArmor
constructor
A new instance of GoogleCloudSecuritycenterV2CloudArmor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2CloudArmor
Returns a new instance of GoogleCloudSecuritycenterV2CloudArmor.
5316 5317 5318 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5316 def initialize(**args) update!(**args) end |
Instance Attribute Details
#adaptive_protection ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AdaptiveProtection
Corresponds to the JSON property adaptiveProtection
5289 5290 5291 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5289 def adaptive_protection @adaptive_protection end |
#attack ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Attack
Corresponds to the JSON property attack
5294 5295 5296 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5294 def attack @attack end |
#duration ⇒ String
Corresponds to the JSON property duration
5299 5300 5301 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5299 def duration @duration end |
#requests ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Requests
Corresponds to the JSON property requests
5304 5305 5306 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5304 def requests @requests end |
#security_policy ⇒ Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecurityPolicy
Corresponds to the JSON property securityPolicy
5309 5310 5311 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5309 def security_policy @security_policy end |
#threat_vector ⇒ String
Corresponds to the JSON property threatVector
5314 5315 5316 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5314 def threat_vector @threat_vector end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5321 5322 5323 5324 5325 5326 5327 5328 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5321 def update!(**args) @adaptive_protection = args[:adaptive_protection] if args.key?(:adaptive_protection) @attack = args[:attack] if args.key?(:attack) @duration = args[:duration] if args.key?(:duration) @requests = args[:requests] if args.key?(:requests) @security_policy = args[:security_policy] if args.key?(:security_policy) @threat_vector = args[:threat_vector] if args.key?(:threat_vector) end |