Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2CloudArmor

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) ⇒ GoogleCloudSecuritycenterV2CloudArmor

Returns a new instance of GoogleCloudSecuritycenterV2CloudArmor.



5649
5650
5651
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5649

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

Instance Attribute Details

#adaptive_protectionGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AdaptiveProtection

Corresponds to the JSON property adaptiveProtection



5622
5623
5624
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5622

def adaptive_protection
  @adaptive_protection
end

#attackGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Attack

Corresponds to the JSON property attack



5627
5628
5629
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5627

def attack
  @attack
end

#durationString

Corresponds to the JSON property duration

Returns:

  • (String)


5632
5633
5634
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5632

def duration
  @duration
end

#requestsGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Requests

Corresponds to the JSON property requests



5637
5638
5639
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5637

def requests
  @requests
end

#security_policyGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2SecurityPolicy

Corresponds to the JSON property securityPolicy



5642
5643
5644
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5642

def security_policy
  @security_policy
end

#threat_vectorString

Corresponds to the JSON property threatVector

Returns:

  • (String)


5647
5648
5649
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5647

def threat_vector
  @threat_vector
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5654
5655
5656
5657
5658
5659
5660
5661
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5654

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