Class: Google::Apis::GenomicsV2alpha1::Mount

Inherits:
Object
  • Object
show all
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

Carries information about a particular disk mount inside a container.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Mount

Returns a new instance of Mount.



717
718
719
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 717

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#diskString

The name of the disk to mount, as specified in the resources section. Corresponds to the JSON property disk

Returns:

  • (String)


704
705
706
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 704

def disk
  @disk
end

#pathString

The path to mount the disk inside the container. Corresponds to the JSON property path

Returns:

  • (String)


709
710
711
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 709

def path
  @path
end

#read_onlyBoolean Also known as: read_only?

If true, the disk is mounted read-only inside the container. Corresponds to the JSON property readOnly

Returns:

  • (Boolean)


714
715
716
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 714

def read_only
  @read_only
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



722
723
724
725
726
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 722

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