Class: Google::Apis::GenomicsV1beta2::JobRequest

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 summary representation of the service request that spawned the job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ JobRequest

Returns a new instance of JobRequest



1127
1128
1129
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1127

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#destinationArray<String>

The data destination of the request, for example, a Google BigQuery Table or Dataset ID. Corresponds to the JSON property destination

Returns:

  • (Array<String>)


1114
1115
1116
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1114

def destination
  @destination
end

#sourceArray<String>

The data source of the request, for example, a Google Cloud Storage object path or Readset ID. Corresponds to the JSON property source

Returns:

  • (Array<String>)


1120
1121
1122
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1120

def source
  @source
end

#typeString

The original request type. Corresponds to the JSON property type

Returns:

  • (String)


1125
1126
1127
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1125

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1132
1133
1134
1135
1136
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1132

def update!(**args)
  @destination = args[:destination] unless args[:destination].nil?
  @source = args[:source] unless args[:source].nil?
  @type = args[:type] unless args[:type].nil?
end