class Google::Apis::SecuritycenterV1beta1::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::SecuritycenterV1beta1::Asset]

state[RW]

State of the asset. Corresponds to the JSON property `state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/securitycenter_v1beta1/classes.rb, line 1554
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_v1beta1/classes.rb, line 1559
def update!(**args)
  @asset = args[:asset] if args.key?(:asset)
  @state = args[:state] if args.key?(:state)
end