Class: Google::Apis::GenomicsV1::Mount

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/genomics_v1/classes.rb,
lib/google/apis/genomics_v1/representations.rb,
lib/google/apis/genomics_v1/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.



520
521
522
# File 'lib/google/apis/genomics_v1/classes.rb', line 520

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)


507
508
509
# File 'lib/google/apis/genomics_v1/classes.rb', line 507

def disk
  @disk
end

#pathString

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

Returns:

  • (String)


512
513
514
# File 'lib/google/apis/genomics_v1/classes.rb', line 512

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)


517
518
519
# File 'lib/google/apis/genomics_v1/classes.rb', line 517

def read_only
  @read_only
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



525
526
527
528
529
# File 'lib/google/apis/genomics_v1/classes.rb', line 525

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