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

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

#findingGoogle::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

#resourceGoogle::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_changeString

Corresponds to the JSON property stateChange

Returns:

  • (String)


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