class Google::Apis::GenomicsV1::Pipeline

Specifies a series of actions to execute, expressed as Docker containers.

Attributes

actions[RW]

The list of actions to execute, in the order they are specified. Corresponds to the JSON property `actions` @return [Array<Google::Apis::GenomicsV1::Action>]

encrypted_environment[RW]

Holds encrypted information that is only decrypted and stored in RAM by the worker VM when running the pipeline. Corresponds to the JSON property `encryptedEnvironment` @return [Google::Apis::GenomicsV1::Secret]

environment[RW]

The environment to pass into every action. Each action can also specify additional environment variables but cannot delete an entry from this map ( though they can overwrite it with a different value). Corresponds to the JSON property `environment` @return [Hash<String,String>]

resources[RW]

The system resources for the pipeline run. At least one zone or region must be specified or the pipeline run will fail. Corresponds to the JSON property `resources` @return [Google::Apis::GenomicsV1::Resources]

timeout[RW]

The maximum amount of time to give the pipeline to complete. This includes the time spent waiting for a worker to be allocated. If the pipeline fails to complete before the timeout, it will be cancelled and the error code will be set to DEADLINE_EXCEEDED. If unspecified, it will default to 7 days. Corresponds to the JSON property `timeout` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/genomics_v1/classes.rb, line 667
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/genomics_v1/classes.rb, line 672
def update!(**args)
  @actions = args[:actions] if args.key?(:actions)
  @encrypted_environment = args[:encrypted_environment] if args.key?(:encrypted_environment)
  @environment = args[:environment] if args.key?(:environment)
  @resources = args[:resources] if args.key?(:resources)
  @timeout = args[:timeout] if args.key?(:timeout)
end