Class: Google::Apis::MigrationcenterV1alpha1::NfsExport
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::NfsExport
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
NFS export.
Instance Attribute Summary collapse
-
#export_directory ⇒ String
The directory being exported.
-
#hosts ⇒ Array<String>
The hosts or networks to which the export is being shared.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NfsExport
constructor
A new instance of NfsExport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NfsExport
Returns a new instance of NfsExport.
3103 3104 3105 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3103 def initialize(**args) update!(**args) end |
Instance Attribute Details
#export_directory ⇒ String
The directory being exported.
Corresponds to the JSON property exportDirectory
3096 3097 3098 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3096 def export_directory @export_directory end |
#hosts ⇒ Array<String>
The hosts or networks to which the export is being shared.
Corresponds to the JSON property hosts
3101 3102 3103 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3101 def hosts @hosts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3108 3109 3110 3111 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3108 def update!(**args) @export_directory = args[:export_directory] if args.key?(:export_directory) @hosts = args[:hosts] if args.key?(:hosts) end |