Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1JobEvent

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

The payload associated with Job logs that contains events describing jobs that have run within a Lake.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1JobEvent

Returns a new instance of GoogleCloudDataplexV1JobEvent.



4981
4982
4983
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4981

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

Instance Attribute Details

#end_timeString

The time when the job ended running. Corresponds to the JSON property endTime

Returns:

  • (String)


4934
4935
4936
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4934

def end_time
  @end_time
end

#execution_triggerString

Job execution trigger. Corresponds to the JSON property executionTrigger

Returns:

  • (String)


4939
4940
4941
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4939

def execution_trigger
  @execution_trigger
end

#job_idString

The unique id identifying the job. Corresponds to the JSON property jobId

Returns:

  • (String)


4944
4945
4946
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4944

def job_id
  @job_id
end

#messageString

The log message. Corresponds to the JSON property message

Returns:

  • (String)


4949
4950
4951
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4949

def message
  @message
end

#retriesFixnum

The number of retries. Corresponds to the JSON property retries

Returns:

  • (Fixnum)


4954
4955
4956
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4954

def retries
  @retries
end

#serviceString

The service used to execute the job. Corresponds to the JSON property service

Returns:

  • (String)


4959
4960
4961
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4959

def service
  @service
end

#service_jobString

The reference to the job within the service. Corresponds to the JSON property serviceJob

Returns:

  • (String)


4964
4965
4966
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4964

def service_job
  @service_job
end

#start_timeString

The time when the job started running. Corresponds to the JSON property startTime

Returns:

  • (String)


4969
4970
4971
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4969

def start_time
  @start_time
end

#stateString

The job state on completion. Corresponds to the JSON property state

Returns:

  • (String)


4974
4975
4976
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4974

def state
  @state
end

#typeString

The type of the job. Corresponds to the JSON property type

Returns:

  • (String)


4979
4980
4981
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4979

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4986

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @execution_trigger = args[:execution_trigger] if args.key?(:execution_trigger)
  @job_id = args[:job_id] if args.key?(:job_id)
  @message = args[:message] if args.key?(:message)
  @retries = args[:retries] if args.key?(:retries)
  @service = args[:service] if args.key?(:service)
  @service_job = args[:service_job] if args.key?(:service_job)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
  @type = args[:type] if args.key?(:type)
end