Class: Google::Apis::SecuritycenterV1::ListFindingsResult

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

Overview

Result containing the Finding and its StateChange.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListFindingsResult

Returns a new instance of ListFindingsResult



1035
1036
1037
# File 'generated/google/apis/securitycenter_v1/classes.rb', line 1035

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

Instance Attribute Details

#findingGoogle::Apis::SecuritycenterV1::Finding

Cloud Security Command Center (Cloud SCC) finding. A finding is a record of assessment data (security, risk, health or privacy) ingested into Cloud SCC for presentation, notification, analysis, policy testing, and enforcement. For example, an XSS vulnerability in an App Engine application is a finding. Corresponds to the JSON property finding



1028
1029
1030
# File 'generated/google/apis/securitycenter_v1/classes.rb', line 1028

def finding
  @finding
end

#state_changeString

State change of the finding between the points in time. Corresponds to the JSON property stateChange

Returns:

  • (String)


1033
1034
1035
# File 'generated/google/apis/securitycenter_v1/classes.rb', line 1033

def state_change
  @state_change
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1040
1041
1042
1043
# File 'generated/google/apis/securitycenter_v1/classes.rb', line 1040

def update!(**args)
  @finding = args[:finding] if args.key?(:finding)
  @state_change = args[:state_change] if args.key?(:state_change)
end