Class: Google::Apis::BatchV1::Nfs

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

Overview

Represents an NFS volume.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Nfs

Returns a new instance of Nfs.



1374
1375
1376
# File 'lib/google/apis/batch_v1/classes.rb', line 1374

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

Instance Attribute Details

#remote_pathString

Remote source path exported from the NFS, e.g., "/share". Corresponds to the JSON property remotePath

Returns:

  • (String)


1367
1368
1369
# File 'lib/google/apis/batch_v1/classes.rb', line 1367

def remote_path
  @remote_path
end

#serverString

The IP address of the NFS. Corresponds to the JSON property server

Returns:

  • (String)


1372
1373
1374
# File 'lib/google/apis/batch_v1/classes.rb', line 1372

def server
  @server
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1379
1380
1381
1382
# File 'lib/google/apis/batch_v1/classes.rb', line 1379

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