Class: Google::Apis::LifesciencesV2beta::Pipeline
- Inherits:
-
Object
- Object
- Google::Apis::LifesciencesV2beta::Pipeline
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/lifesciences_v2beta/classes.rb,
lib/google/apis/lifesciences_v2beta/representations.rb,
lib/google/apis/lifesciences_v2beta/representations.rb
Overview
Specifies a series of actions to execute, expressed as Docker containers.
Instance Attribute Summary collapse
-
#actions ⇒ Array<Google::Apis::LifesciencesV2beta::Action>
The list of actions to execute, in the order they are specified.
-
#encrypted_environment ⇒ Google::Apis::LifesciencesV2beta::Secret
Holds encrypted information that is only decrypted and stored in RAM by the worker VM when running the pipeline.
-
#environment ⇒ Hash<String,String>
The environment to pass into every action.
-
#resources ⇒ Google::Apis::LifesciencesV2beta::Resources
The system resources for the pipeline run.
-
#timeout ⇒ String
The maximum amount of time to give the pipeline to complete.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Pipeline
constructor
A new instance of Pipeline.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Pipeline
Returns a new instance of Pipeline.
981 982 983 |
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 981 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actions ⇒ Array<Google::Apis::LifesciencesV2beta::Action>
The list of actions to execute, in the order they are specified.
Corresponds to the JSON property actions
952 953 954 |
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 952 def actions @actions end |
#encrypted_environment ⇒ Google::Apis::LifesciencesV2beta::Secret
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
958 959 960 |
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 958 def encrypted_environment @encrypted_environment end |
#environment ⇒ Hash<String,String>
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
965 966 967 |
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 965 def environment @environment end |
#resources ⇒ Google::Apis::LifesciencesV2beta::Resources
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
971 972 973 |
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 971 def resources @resources end |
#timeout ⇒ String
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
979 980 981 |
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 979 def timeout @timeout end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
986 987 988 989 990 991 992 |
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 986 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 |