Class: Google::Apis::GenomicsV2alpha1::Mount
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GenomicsV2alpha1::Mount
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/genomics_v2alpha1/classes.rb,
 generated/google/apis/genomics_v2alpha1/representations.rb,
 generated/google/apis/genomics_v2alpha1/representations.rb
Overview
Mount carries information about a particular disk mount inside a container.
Instance Attribute Summary collapse
- 
  
    
      #disk  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the disk to mount, as specified in the resources section. 
- 
  
    
      #path  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The path to mount the disk at inside the container. 
- 
  
    
      #read_only  ⇒ Boolean 
    
    
      (also: #read_only?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    If true, the disk is mounted read only inside the container. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Mount 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Mount. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Mount
Returns a new instance of Mount
| 685 686 687 | # File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 685 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#disk ⇒ String
The name of the disk to mount, as specified in the resources section.
Corresponds to the JSON property disk
| 672 673 674 | # File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 672 def disk @disk end | 
#path ⇒ String
The path to mount the disk at inside the container.
Corresponds to the JSON property path
| 677 678 679 | # File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 677 def path @path end | 
#read_only ⇒ Boolean Also known as: read_only?
If true, the disk is mounted read only inside the container.
Corresponds to the JSON property readOnly
| 682 683 684 | # File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 682 def read_only @read_only end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 690 691 692 693 694 | # File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 690 def update!(**args) @disk = args[:disk] if args.key?(:disk) @path = args[:path] if args.key?(:path) @read_only = args[:read_only] if args.key?(:read_only) end |