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.



985
986
987
# File 'lib/google/apis/dataplex_v1/classes.rb', line 985

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)


958
959
960
# File 'lib/google/apis/dataplex_v1/classes.rb', line 958

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)


963
964
965
# File 'lib/google/apis/dataplex_v1/classes.rb', line 963

def last_run_time
  @last_run_time
end

#messageString

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

Returns:

  • (String)


968
969
970
# File 'lib/google/apis/dataplex_v1/classes.rb', line 968

def message
  @message
end

#stateString

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

Returns:

  • (String)


973
974
975
# File 'lib/google/apis/dataplex_v1/classes.rb', line 973

def state
  @state
end

#statsGoogle::Apis::DataplexV1::GoogleCloudDataplexV1AssetDiscoveryStatusStats

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



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

def stats
  @stats
end

#update_timeString

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

Returns:

  • (String)


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

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



990
991
992
993
994
995
996
997
# File 'lib/google/apis/dataplex_v1/classes.rb', line 990

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