Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1AssetDiscoveryStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb

Overview

Status of discovery for an asset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1AssetDiscoveryStatus

Returns a new instance of GoogleCloudDataplexV1AssetDiscoveryStatus.



1397
1398
1399
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1397

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

Instance Attribute Details

#last_run_durationString

The duration of the last discovery run. Corresponds to the JSON property lastRunDuration

Returns:

  • (String)


1370
1371
1372
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1370

def last_run_duration
  @last_run_duration
end

#last_run_timeString

The start time of the last discovery run. Corresponds to the JSON property lastRunTime

Returns:

  • (String)


1375
1376
1377
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1375

def last_run_time
  @last_run_time
end

#messageString

Additional information about the current state. Corresponds to the JSON property message

Returns:

  • (String)


1380
1381
1382
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1380

def message
  @message
end

#stateString

The current status of the discovery feature. Corresponds to the JSON property state

Returns:

  • (String)


1385
1386
1387
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1385

def state
  @state
end

#statsGoogle::Apis::DataplexV1::GoogleCloudDataplexV1AssetDiscoveryStatusStats

The aggregated data statistics for the asset reported by discovery. Corresponds to the JSON property stats



1390
1391
1392
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1390

def stats
  @stats
end

#update_timeString

Last update time of the status. Corresponds to the JSON property updateTime

Returns:

  • (String)


1395
1396
1397
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1395

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1402
1403
1404
1405
1406
1407
1408
1409
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1402

def update!(**args)
  @last_run_duration = args[:last_run_duration] if args.key?(:last_run_duration)
  @last_run_time = args[:last_run_time] if args.key?(:last_run_time)
  @message = args[:message] if args.key?(:message)
  @state = args[:state] if args.key?(:state)
  @stats = args[:stats] if args.key?(:stats)
  @update_time = args[:update_time] if args.key?(:update_time)
end