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.



11535
11536
11537
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11535

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

Instance Attribute Details

#findingGoogle::Apis::SecuritycenterV1::Finding

Corresponds to the JSON property finding



11523
11524
11525
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11523

def finding
  @finding
end

#resourceGoogle::Apis::SecuritycenterV1::Resource

Corresponds to the JSON property resource



11528
11529
11530
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11528

def resource
  @resource
end

#state_changeString

Corresponds to the JSON property stateChange

Returns:

  • (String)


11533
11534
11535
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11533

def state_change
  @state_change
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11540
11541
11542
11543
11544
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11540

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