Class: Google::Apis::GenomicsV1alpha2::LocalCopy
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1alpha2::LocalCopy
- 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
LocalCopy defines how a remote file should be copied to and from the VM.
Instance Attribute Summary collapse
-
#disk ⇒ String
Required.
-
#path ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LocalCopy
constructor
A new instance of LocalCopy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LocalCopy
Returns a new instance of LocalCopy.
520 521 522 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 520 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disk ⇒ String
Required. The name of the disk where this parameter is
located. Can be the name of one of the disks specified in the
Resources field, or "boot", which represents the Docker
instance's boot disk and has a mount point of /
.
Corresponds to the JSON property disk
511 512 513 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 511 def disk @disk end |
#path ⇒ String
Required. The path within the user's docker container where
this input should be localized to and from, relative to the specified
disk's mount point. For example: file.txt,
Corresponds to the JSON property path
518 519 520 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 518 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
525 526 527 528 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 525 def update!(**args) @disk = args[:disk] if args.key?(:disk) @path = args[:path] if args.key?(:path) end |