class Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse

Response of asset discovery run

Attributes

duration[RW]

The duration between asset discovery run start and end Corresponds to the JSON property `duration` @return [String]

state[RW]

The state of an asset discovery run. Corresponds to the JSON property `state` @return [String]

Public Class Methods

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