Class: Google::Apis::GenomicsV1beta2::Job
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1beta2::Job
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/genomics_v1beta2/classes.rb,
generated/google/apis/genomics_v1beta2/representations.rb,
generated/google/apis/genomics_v1beta2/representations.rb
Overview
A Job represents an ongoing process that can be monitored for status information.
Instance Attribute Summary collapse
-
#created ⇒ String
The date this job was created, in milliseconds from the epoch.
-
#detailed_status ⇒ String
A more detailed description of this job's current status.
-
#errors ⇒ Array<String>
Any errors that occurred during processing.
-
#id ⇒ String
The job ID.
-
#imported_ids ⇒ Array<String>
If this Job represents an import, this field will contain the IDs of the objects that were successfully imported.
-
#project_number ⇒ String
The Google Developers Console project number to which this job belongs.
-
#request ⇒ Google::Apis::GenomicsV1beta2::JobRequest
A summary representation of the service request that spawned the job.
-
#status ⇒ String
The status of this job.
-
#warnings ⇒ Array<String>
Any warnings that occurred during processing.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Job
constructor
A new instance of Job.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Job
Returns a new instance of Job
1088 1089 1090 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1088 def initialize(**args) update!(**args) end |
Instance Attribute Details
#created ⇒ String
The date this job was created, in milliseconds from the epoch.
Corresponds to the JSON property created
1045 1046 1047 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1045 def created @created end |
#detailed_status ⇒ String
A more detailed description of this job's current status.
Corresponds to the JSON property detailedStatus
1050 1051 1052 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1050 def detailed_status @detailed_status end |
#errors ⇒ Array<String>
Any errors that occurred during processing.
Corresponds to the JSON property errors
1055 1056 1057 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1055 def errors @errors end |
#id ⇒ String
The job ID.
Corresponds to the JSON property id
1060 1061 1062 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1060 def id @id end |
#imported_ids ⇒ Array<String>
If this Job represents an import, this field will contain the IDs of the
objects that were successfully imported.
Corresponds to the JSON property importedIds
1066 1067 1068 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1066 def imported_ids @imported_ids end |
#project_number ⇒ String
The Google Developers Console project number to which this job belongs.
Corresponds to the JSON property projectNumber
1071 1072 1073 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1071 def project_number @project_number end |
#request ⇒ Google::Apis::GenomicsV1beta2::JobRequest
A summary representation of the service request that spawned the job.
Corresponds to the JSON property request
1076 1077 1078 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1076 def request @request end |
#status ⇒ String
The status of this job.
Corresponds to the JSON property status
1081 1082 1083 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1081 def status @status end |
#warnings ⇒ Array<String>
Any warnings that occurred during processing.
Corresponds to the JSON property warnings
1086 1087 1088 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1086 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1093 def update!(**args) @created = args[:created] unless args[:created].nil? @detailed_status = args[:detailed_status] unless args[:detailed_status].nil? @errors = args[:errors] unless args[:errors].nil? @id = args[:id] unless args[:id].nil? @imported_ids = args[:imported_ids] unless args[:imported_ids].nil? @project_number = args[:project_number] unless args[:project_number].nil? @request = args[:request] unless args[:request].nil? @status = args[:status] unless args[:status].nil? @warnings = args[:warnings] unless args[:warnings].nil? end |