Class: Google::Apis::GenomicsV1beta2::Job

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

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

#createdString

The date this job was created, in milliseconds from the epoch. Corresponds to the JSON property created

Returns:

  • (String)


1045
1046
1047
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1045

def created
  @created
end

#detailed_statusString

A more detailed description of this job's current status. Corresponds to the JSON property detailedStatus

Returns:

  • (String)


1050
1051
1052
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1050

def detailed_status
  @detailed_status
end

#errorsArray<String>

Any errors that occurred during processing. Corresponds to the JSON property errors

Returns:

  • (Array<String>)


1055
1056
1057
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1055

def errors
  @errors
end

#idString

The job ID. Corresponds to the JSON property id

Returns:

  • (String)


1060
1061
1062
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1060

def id
  @id
end

#imported_idsArray<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

Returns:

  • (Array<String>)


1066
1067
1068
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1066

def imported_ids
  @imported_ids
end

#project_numberString

The Google Developers Console project number to which this job belongs. Corresponds to the JSON property projectNumber

Returns:

  • (String)


1071
1072
1073
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1071

def project_number
  @project_number
end

#requestGoogle::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

#statusString

The status of this job. Corresponds to the JSON property status

Returns:

  • (String)


1081
1082
1083
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1081

def status
  @status
end

#warningsArray<String>

Any warnings that occurred during processing. Corresponds to the JSON property warnings

Returns:

  • (Array<String>)


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