Class: Google::Apis::BatchV1::Nfs
- Inherits:
-
Object
- Object
- Google::Apis::BatchV1::Nfs
- 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
-
#remote_path ⇒ String
Remote source path exported from the NFS, e.g., "/share".
-
#server ⇒ String
The IP address of the NFS.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Nfs
constructor
A new instance of Nfs.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Nfs
Returns a new instance of Nfs.
1440 1441 1442 |
# File 'lib/google/apis/batch_v1/classes.rb', line 1440 def initialize(**args) update!(**args) end |
Instance Attribute Details
#remote_path ⇒ String
Remote source path exported from the NFS, e.g., "/share".
Corresponds to the JSON property remotePath
1433 1434 1435 |
# File 'lib/google/apis/batch_v1/classes.rb', line 1433 def remote_path @remote_path end |
#server ⇒ String
The IP address of the NFS.
Corresponds to the JSON property server
1438 1439 1440 |
# File 'lib/google/apis/batch_v1/classes.rb', line 1438 def server @server end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1445 1446 1447 1448 |
# File 'lib/google/apis/batch_v1/classes.rb', line 1445 def update!(**args) @remote_path = args[:remote_path] if args.key?(:remote_path) @server = args[:server] if args.key?(:server) end |