Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudArmor
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudArmor
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Overview
Fields related to Google Cloud Armor findings.
Instance Attribute Summary collapse
-
#adaptive_protection ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AdaptiveProtection
Information about Google Cloud Armor Adaptive Protection.
-
#attack ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Attack
Information about DDoS attack volume and classification.
-
#duration ⇒ String
Duration of attack from the start until the current moment (updated every 5 minutes).
-
#requests ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Requests
Information about the requests relevant to the finding.
-
#security_policy ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityPolicy
Information about the Google Cloud Armor security policy relevant to the finding.
-
#threat_vector ⇒ String
Distinguish between volumetric & protocol DDoS attack and application layer attacks.
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.
4136 4137 4138 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4136 def initialize(**args) update!(**args) end |
Instance Attribute Details
#adaptive_protection ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AdaptiveProtection
Information about Google Cloud Armor Adaptive Protection.
Corresponds to the JSON property adaptiveProtection
4105 4106 4107 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4105 def adaptive_protection @adaptive_protection end |
#attack ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Attack
Information about DDoS attack volume and classification.
Corresponds to the JSON property attack
4110 4111 4112 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4110 def attack @attack end |
#duration ⇒ String
Duration of attack from the start until the current moment (updated every 5
minutes).
Corresponds to the JSON property duration
4116 4117 4118 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4116 def duration @duration end |
#requests ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Requests
Information about the requests relevant to the finding.
Corresponds to the JSON property requests
4121 4122 4123 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4121 def requests @requests end |
#security_policy ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityPolicy
Information about the Google Cloud Armor security policy relevant to the finding.
Corresponds to the JSON property securityPolicy
4127 4128 4129 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4127 def security_policy @security_policy end |
#threat_vector ⇒ String
Distinguish between volumetric & protocol DDoS attack and application layer
attacks. For example, "L3_4" for Layer 3 and Layer 4 DDoS attacks, or "L_7"
for Layer 7 DDoS attacks.
Corresponds to the JSON property threatVector
4134 4135 4136 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4134 def threat_vector @threat_vector end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4141 4142 4143 4144 4145 4146 4147 4148 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4141 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 |