Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Job
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1Job
- 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
A job represents an instance of a task.
Instance Attribute Summary collapse
-
#end_time ⇒ String
Output only.
-
#message ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#retry_count ⇒ Fixnum
Output only.
-
#service ⇒ String
Output only.
-
#service_job ⇒ String
Output only.
-
#start_time ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#uid ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1Job
constructor
A new instance of GoogleCloudDataplexV1Job.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1Job
Returns a new instance of GoogleCloudDataplexV1Job.
3111 3112 3113 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3111 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
Output only. The time when the job ended.
Corresponds to the JSON property endTime
3066 3067 3068 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3066 def end_time @end_time end |
#message ⇒ String
Output only. Additional information about the current state.
Corresponds to the JSON property message
3071 3072 3073 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3071 def @message end |
#name ⇒ String
Output only. The relative resource name of the job, of the form: projects/
project_number/locations/location_id/lakes/lake_id/tasks/task_id/jobs/
job_id.
Corresponds to the JSON property name
3078 3079 3080 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3078 def name @name end |
#retry_count ⇒ Fixnum
Output only. The number of times the job has been retried (excluding the
initial attempt).
Corresponds to the JSON property retryCount
3084 3085 3086 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3084 def retry_count @retry_count end |
#service ⇒ String
Output only. The underlying service running a job.
Corresponds to the JSON property service
3089 3090 3091 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3089 def service @service end |
#service_job ⇒ String
Output only. The full resource name for the job run under a particular service.
Corresponds to the JSON property serviceJob
3094 3095 3096 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3094 def service_job @service_job end |
#start_time ⇒ String
Output only. The time when the job was started.
Corresponds to the JSON property startTime
3099 3100 3101 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3099 def start_time @start_time end |
#state ⇒ String
Output only. Execution state for the job.
Corresponds to the JSON property state
3104 3105 3106 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3104 def state @state end |
#uid ⇒ String
Output only. System generated globally unique ID for the job.
Corresponds to the JSON property uid
3109 3110 3111 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3109 def uid @uid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 3116 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @message = args[:message] if args.key?(:message) @name = args[:name] if args.key?(:name) @retry_count = args[:retry_count] if args.key?(:retry_count) @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) @uid = args[:uid] if args.key?(:uid) end |