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.
-
#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.
3283 3284 3285 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3283 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
3241 3242 3243 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3241 def end_time @end_time end |
#job_id ⇒ String
The unique id identifying the job.
Corresponds to the JSON property jobId
3246 3247 3248 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3246 def job_id @job_id end |
#message ⇒ String
The log message.
Corresponds to the JSON property message
3251 3252 3253 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3251 def @message end |
#retries ⇒ Fixnum
The number of retries.
Corresponds to the JSON property retries
3256 3257 3258 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3256 def retries @retries end |
#service ⇒ String
The service used to execute the job.
Corresponds to the JSON property service
3261 3262 3263 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3261 def service @service end |
#service_job ⇒ String
The reference to the job within the service.
Corresponds to the JSON property serviceJob
3266 3267 3268 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3266 def service_job @service_job end |
#start_time ⇒ String
The time when the job started running.
Corresponds to the JSON property startTime
3271 3272 3273 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3271 def start_time @start_time end |
#state ⇒ String
The job state on completion.
Corresponds to the JSON property state
3276 3277 3278 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3276 def state @state end |
#type ⇒ String
The type of the job.
Corresponds to the JSON property type
3281 3282 3283 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3281 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3288 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @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 |