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.



598
599
600
# File 'lib/google/apis/dataplex_v1/classes.rb', line 598

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)


571
572
573
# File 'lib/google/apis/dataplex_v1/classes.rb', line 571

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)


576
577
578
# File 'lib/google/apis/dataplex_v1/classes.rb', line 576

def last_run_time
  @last_run_time
end

#messageString

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

Returns:

  • (String)


581
582
583
# File 'lib/google/apis/dataplex_v1/classes.rb', line 581

def message
  @message
end

#stateString

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

Returns:

  • (String)


586
587
588
# File 'lib/google/apis/dataplex_v1/classes.rb', line 586

def state
  @state
end

#statsGoogle::Apis::DataplexV1::GoogleCloudDataplexV1AssetDiscoveryStatusStats

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



591
592
593
# File 'lib/google/apis/dataplex_v1/classes.rb', line 591

def stats
  @stats
end

#update_timeString

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

Returns:

  • (String)


596
597
598
# File 'lib/google/apis/dataplex_v1/classes.rb', line 596

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



603
604
605
606
607
608
609
610
# File 'lib/google/apis/dataplex_v1/classes.rb', line 603

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