Class: Google::Apis::GenomicsV1beta2::ReadGroupProgram

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReadGroupProgram

Returns a new instance of ReadGroupProgram



1905
1906
1907
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1905

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

Instance Attribute Details

#command_lineString

The command line used to run this program. Corresponds to the JSON property commandLine

Returns:

  • (String)


1882
1883
1884
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1882

def command_line
  @command_line
end

#idString

The user specified locally unique ID of the program. Used along with prevProgramId to define an ordering between programs. Corresponds to the JSON property id

Returns:

  • (String)


1888
1889
1890
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1888

def id
  @id
end

#nameString

The name of the program. Corresponds to the JSON property name

Returns:

  • (String)


1893
1894
1895
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1893

def name
  @name
end

#prev_program_idString

The ID of the program run before this one. Corresponds to the JSON property prevProgramId

Returns:

  • (String)


1898
1899
1900
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1898

def prev_program_id
  @prev_program_id
end

#versionString

The version of the program run. Corresponds to the JSON property version

Returns:

  • (String)


1903
1904
1905
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1903

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1910
1911
1912
1913
1914
1915
1916
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1910

def update!(**args)
  @command_line = args[:command_line] unless args[:command_line].nil?
  @id = args[:id] unless args[:id].nil?
  @name = args[:name] unless args[:name].nil?
  @prev_program_id = args[:prev_program_id] unless args[:prev_program_id].nil?
  @version = args[:version] unless args[:version].nil?
end