Class: Google::Apis::SecuritycenterV1::CloudArmor

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudArmor

Returns a new instance of CloudArmor.



1403
1404
1405
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1403

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

Instance Attribute Details

#adaptive_protectionGoogle::Apis::SecuritycenterV1::AdaptiveProtection

Corresponds to the JSON property adaptiveProtection



1376
1377
1378
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1376

def adaptive_protection
  @adaptive_protection
end

#attackGoogle::Apis::SecuritycenterV1::Attack

Corresponds to the JSON property attack



1381
1382
1383
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1381

def attack
  @attack
end

#durationString

Corresponds to the JSON property duration

Returns:

  • (String)


1386
1387
1388
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1386

def duration
  @duration
end

#requestsGoogle::Apis::SecuritycenterV1::Requests

Corresponds to the JSON property requests



1391
1392
1393
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1391

def requests
  @requests
end

#security_policyGoogle::Apis::SecuritycenterV1::SecurityPolicy

Corresponds to the JSON property securityPolicy



1396
1397
1398
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1396

def security_policy
  @security_policy
end

#threat_vectorString

Corresponds to the JSON property threatVector

Returns:

  • (String)


1401
1402
1403
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1401

def threat_vector
  @threat_vector
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1408
1409
1410
1411
1412
1413
1414
1415
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1408

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