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.



977
978
979
# File 'lib/google/apis/dataplex_v1/classes.rb', line 977

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)


950
951
952
# File 'lib/google/apis/dataplex_v1/classes.rb', line 950

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)


955
956
957
# File 'lib/google/apis/dataplex_v1/classes.rb', line 955

def last_run_time
  @last_run_time
end

#messageString

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

Returns:

  • (String)


960
961
962
# File 'lib/google/apis/dataplex_v1/classes.rb', line 960

def message
  @message
end

#stateString

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

Returns:

  • (String)


965
966
967
# File 'lib/google/apis/dataplex_v1/classes.rb', line 965

def state
  @state
end

#statsGoogle::Apis::DataplexV1::GoogleCloudDataplexV1AssetDiscoveryStatusStats

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



970
971
972
# File 'lib/google/apis/dataplex_v1/classes.rb', line 970

def stats
  @stats
end

#update_timeString

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

Returns:

  • (String)


975
976
977
# File 'lib/google/apis/dataplex_v1/classes.rb', line 975

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



982
983
984
985
986
987
988
989
# File 'lib/google/apis/dataplex_v1/classes.rb', line 982

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