Class: Google::Apis::LifesciencesV2beta::NfsMount

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/lifesciences_v2beta/classes.rb,
lib/google/apis/lifesciences_v2beta/representations.rb,
lib/google/apis/lifesciences_v2beta/representations.rb

Overview

Configuration for an NFSMount to be attached to the VM.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NfsMount

Returns a new instance of NfsMount.



803
804
805
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 803

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

Instance Attribute Details

#targetString

A target NFS mount. The target must be specified as address:/mount". Corresponds to the JSON propertytarget`

Returns:

  • (String)


801
802
803
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 801

def target
  @target
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



808
809
810
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 808

def update!(**args)
  @target = args[:target] if args.key?(:target)
end