Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1JobEvent
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1JobEvent
- 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
-
#end_time ⇒ String
The time when the job ended running.
-
#execution_trigger ⇒ String
Job execution trigger.
-
#job_id ⇒ String
The unique id identifying the job.
-
#message ⇒ String
The log message.
-
#retries ⇒ Fixnum
The number of retries.
-
#service ⇒ String
The service used to execute the job.
-
#service_job ⇒ String
The reference to the job within the service.
-
#start_time ⇒ String
The time when the job started running.
-
#state ⇒ String
The job state on completion.
-
#type ⇒ String
The type of the job.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1JobEvent
constructor
A new instance of GoogleCloudDataplexV1JobEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1JobEvent
Returns a new instance of GoogleCloudDataplexV1JobEvent.
4930 4931 4932 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4930 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
The time when the job ended running.
Corresponds to the JSON property endTime
4883 4884 4885 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4883 def end_time @end_time end |
#execution_trigger ⇒ String
Job execution trigger.
Corresponds to the JSON property executionTrigger
4888 4889 4890 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4888 def execution_trigger @execution_trigger end |
#job_id ⇒ String
The unique id identifying the job.
Corresponds to the JSON property jobId
4893 4894 4895 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4893 def job_id @job_id end |
#message ⇒ String
The log message.
Corresponds to the JSON property message
4898 4899 4900 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4898 def @message end |
#retries ⇒ Fixnum
The number of retries.
Corresponds to the JSON property retries
4903 4904 4905 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4903 def retries @retries end |
#service ⇒ String
The service used to execute the job.
Corresponds to the JSON property service
4908 4909 4910 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4908 def service @service end |
#service_job ⇒ String
The reference to the job within the service.
Corresponds to the JSON property serviceJob
4913 4914 4915 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4913 def service_job @service_job end |
#start_time ⇒ String
The time when the job started running.
Corresponds to the JSON property startTime
4918 4919 4920 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4918 def start_time @start_time end |
#state ⇒ String
The job state on completion.
Corresponds to the JSON property state
4923 4924 4925 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4923 def state @state end |
#type ⇒ String
The type of the job.
Corresponds to the JSON property type
4928 4929 4930 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4928 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 4935 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 |