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.
11225 11226 11227 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11225 def initialize(**args) update!(**args) end |
Instance Attribute Details
#finding ⇒ Google::Apis::SecuritycenterV1::Finding
Corresponds to the JSON property finding
11213 11214 11215 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11213 def finding @finding end |
#resource ⇒ Google::Apis::SecuritycenterV1::Resource
Corresponds to the JSON property resource
11218 11219 11220 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11218 def resource @resource end |
#state_change ⇒ String
Corresponds to the JSON property stateChange
11223 11224 11225 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11223 def state_change @state_change end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11230 11231 11232 11233 11234 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11230 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 |