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



5888
5889
5890
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5888

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

Instance Attribute Details

#end_timeString

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



5841
5842
5843
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5841

def end_time
  @end_time
end

#execution_triggerString

Job execution trigger. Corresponds to the JSON property executionTrigger



5846
5847
5848
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5846

def execution_trigger
  @execution_trigger
end

#job_idString

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



5851
5852
5853
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5851

def job_id
  @job_id
end

#messageString

The log message. Corresponds to the JSON property message



5856
5857
5858
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5856

def message
  @message
end

#retriesFixnum

The number of retries. Corresponds to the JSON property retries



5861
5862
5863
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5861

def retries
  @retries
end

#serviceString

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



5866
5867
5868
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5866

def service
  @service
end

#service_jobString

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



5871
5872
5873
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5871

def service_job
  @service_job
end

#start_timeString

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



5876
5877
5878
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5876

def start_time
  @start_time
end

#stateString

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



5881
5882
5883
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5881

def state
  @state
end

#typeString

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



5886
5887
5888
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5886

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
# File 'lib/google/apis/dataplex_v1/classes.rb', line 5893

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