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



3115
3116
3117
# File 'generated/google/apis/genomics_v1/classes.rb', line 3115

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)


3091
3092
3093
# File 'generated/google/apis/genomics_v1/classes.rb', line 3091

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)


3102
3103
3104
# File 'generated/google/apis/genomics_v1/classes.rb', line 3102

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)


3113
3114
3115
# File 'generated/google/apis/genomics_v1/classes.rb', line 3113

def name
  @name
end

#prev_program_idString

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

Returns:

  • (String)


3096
3097
3098
# File 'generated/google/apis/genomics_v1/classes.rb', line 3096

def prev_program_id
  @prev_program_id
end

#versionString

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

Returns:

  • (String)


3107
3108
3109
# File 'generated/google/apis/genomics_v1/classes.rb', line 3107

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3120
3121
3122
3123
3124
3125
3126
# File 'generated/google/apis/genomics_v1/classes.rb', line 3120

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