Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1MetadataJobStatus

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

Metadata job status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1MetadataJobStatus

Returns a new instance of GoogleCloudDataplexV1MetadataJobStatus.



6021
6022
6023
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6021

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

Instance Attribute Details

#completion_percentFixnum

Output only. Progress tracking. Corresponds to the JSON property completionPercent

Returns:

  • (Fixnum)


6004
6005
6006
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6004

def completion_percent
  @completion_percent
end

#messageString

Output only. Message relating to the progression of a metadata job. Corresponds to the JSON property message

Returns:

  • (String)


6009
6010
6011
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6009

def message
  @message
end

#stateString

Output only. State of the metadata job. Corresponds to the JSON property state

Returns:

  • (String)


6014
6015
6016
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6014

def state
  @state
end

#update_timeString

Output only. The time when the status was updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


6019
6020
6021
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6019

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6026
6027
6028
6029
6030
6031
# File 'lib/google/apis/dataplex_v1/classes.rb', line 6026

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