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.



11225
11226
11227
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11225

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

Instance Attribute Details

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

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

Corresponds to the JSON property stateChange

Returns:

  • (String)


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