Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudArmor

Inherits:
Object
  • Object
show all
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

Overview

Fields related to Google Cloud Armor findings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2CloudArmor

Returns a new instance of GoogleCloudSecuritycenterV2CloudArmor.



4219
4220
4221
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4219

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

Instance Attribute Details

#adaptive_protectionGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AdaptiveProtection

Information about Google Cloud Armor Adaptive Protection. Corresponds to the JSON property adaptiveProtection



4188
4189
4190
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4188

def adaptive_protection
  @adaptive_protection
end

#attackGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Attack

Information about DDoS attack volume and classification. Corresponds to the JSON property attack



4193
4194
4195
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4193

def attack
  @attack
end

#durationString

Duration of attack from the start until the current moment (updated every 5 minutes). Corresponds to the JSON property duration

Returns:

  • (String)


4199
4200
4201
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4199

def duration
  @duration
end

#requestsGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Requests

Information about the requests relevant to the finding. Corresponds to the JSON property requests



4204
4205
4206
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4204

def requests
  @requests
end

#security_policyGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2SecurityPolicy

Information about the Google Cloud Armor security policy relevant to the finding. Corresponds to the JSON property securityPolicy



4210
4211
4212
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4210

def security_policy
  @security_policy
end

#threat_vectorString

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

Returns:

  • (String)


4217
4218
4219
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4217

def threat_vector
  @threat_vector
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4224
4225
4226
4227
4228
4229
4230
4231
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 4224

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