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.



1010
1011
1012
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1010

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)


983
984
985
# File 'lib/google/apis/dataplex_v1/classes.rb', line 983

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)


988
989
990
# File 'lib/google/apis/dataplex_v1/classes.rb', line 988

def last_run_time
  @last_run_time
end

#messageString

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

Returns:

  • (String)


993
994
995
# File 'lib/google/apis/dataplex_v1/classes.rb', line 993

def message
  @message
end

#stateString

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

Returns:

  • (String)


998
999
1000
# File 'lib/google/apis/dataplex_v1/classes.rb', line 998

def state
  @state
end

#statsGoogle::Apis::DataplexV1::GoogleCloudDataplexV1AssetDiscoveryStatusStats

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



1003
1004
1005
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1003

def stats
  @stats
end

#update_timeString

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

Returns:

  • (String)


1008
1009
1010
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1008

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1015
1016
1017
1018
1019
1020
1021
1022
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1015

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