Class: Google::Apis::GenomicsV1alpha2::DockerExecutor
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GenomicsV1alpha2::DockerExecutor
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/genomics_v1alpha2/classes.rb,
 generated/google/apis/genomics_v1alpha2/representations.rb,
 generated/google/apis/genomics_v1alpha2/representations.rb
Overview
The Docker execuctor specification.
Instance Attribute Summary collapse
- 
  
    
      #cmd  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
- 
  
    
      #image_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DockerExecutor 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DockerExecutor. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DockerExecutor
Returns a new instance of DockerExecutor
| 337 338 339 | # File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 337 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#cmd ⇒ String
Required. The command or newline delimited script to run. The command
string will be executed within a bash shell.
If the command exits with a non-zero exit code, output parameter
de-localization will be skipped and the pipeline operation's
error field will be populated.
Maximum command string length is 16384.
Corresponds to the JSON property cmd
| 329 330 331 | # File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 329 def cmd @cmd end | 
#image_name ⇒ String
Required. Image name from either Docker Hub or Google Container Registry.
Users that run pipelines must have READ access to the image.
Corresponds to the JSON property imageName
| 335 336 337 | # File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 335 def image_name @image_name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 342 343 344 345 | # File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 342 def update!(**args) @cmd = args[:cmd] if args.key?(:cmd) @image_name = args[:image_name] if args.key?(:image_name) end |