Class: Google::Apis::SecuritycenterV1::ListFindingsResult
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::ListFindingsResult
- 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
-
#finding ⇒ Google::Apis::SecuritycenterV1::Finding
Corresponds to the JSON property
finding. -
#resource ⇒ Google::Apis::SecuritycenterV1::Resource
Corresponds to the JSON property
resource. -
#state_change ⇒ String
Corresponds to the JSON property
stateChange.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListFindingsResult
constructor
A new instance of ListFindingsResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListFindingsResult
Returns a new instance of ListFindingsResult.
11125 11126 11127 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11125 def initialize(**args) update!(**args) end |
Instance Attribute Details
#finding ⇒ Google::Apis::SecuritycenterV1::Finding
Corresponds to the JSON property finding
11113 11114 11115 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11113 def finding @finding end |
#resource ⇒ Google::Apis::SecuritycenterV1::Resource
Corresponds to the JSON property resource
11118 11119 11120 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11118 def resource @resource end |
#state_change ⇒ String
Corresponds to the JSON property stateChange
11123 11124 11125 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11123 def state_change @state_change end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11130 11131 11132 11133 11134 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11130 def update!(**args) @finding = args[:finding] if args.key?(:finding) @resource = args[:resource] if args.key?(:resource) @state_change = args[:state_change] if args.key?(:state_change) end |