class Google::Apis::SecuritycenterV1::ListAssetsResult
Result containing the Asset
and its State.
Attributes
asset[RW]
Security Command Center representation of a Google
Cloud resource. The Asset
is a Security Command Center resource that captures information about a single Google
Cloud resource. All modifications to an Asset
are only within the context of Security Command Center and don't affect the referenced Google
Cloud resource. Corresponds to the JSON property `asset` @return [Google::Apis::SecuritycenterV1::Asset]
state_change[RW]
State change of the asset between the points in time. Corresponds to the JSON property `stateChange` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/securitycenter_v1/classes.rb, line 1531 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/securitycenter_v1/classes.rb, line 1536 def update!(**args) @asset = args[:asset] if args.key?(:asset) @state_change = args[:state_change] if args.key?(:state_change) end