Class: Google::Apis::GenomicsV1::Program

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/genomics_v1/classes.rb,
generated/google/apis/genomics_v1/representations.rb,
generated/google/apis/genomics_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Program

Returns a new instance of Program



1994
1995
1996
# File 'generated/google/apis/genomics_v1/classes.rb', line 1994

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)


1981
1982
1983
# File 'generated/google/apis/genomics_v1/classes.rb', line 1981

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)


1992
1993
1994
# File 'generated/google/apis/genomics_v1/classes.rb', line 1992

def id
  @id
end

#nameString

The display name of the program. This is typically the colloquial name of the tool used, for example 'bwa' or 'picard'. Corresponds to the JSON property name

Returns:

  • (String)


1971
1972
1973
# File 'generated/google/apis/genomics_v1/classes.rb', line 1971

def name
  @name
end

#prev_program_idString

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

Returns:

  • (String)


1976
1977
1978
# File 'generated/google/apis/genomics_v1/classes.rb', line 1976

def prev_program_id
  @prev_program_id
end

#versionString

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

Returns:

  • (String)


1986
1987
1988
# File 'generated/google/apis/genomics_v1/classes.rb', line 1986

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1999
2000
2001
2002
2003
2004
2005
# File 'generated/google/apis/genomics_v1/classes.rb', line 1999

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