Class: Google::Apis::NetappV1::MountOption
- Inherits:
-
Object
- Object
- Google::Apis::NetappV1::MountOption
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/netapp_v1/classes.rb,
lib/google/apis/netapp_v1/representations.rb,
lib/google/apis/netapp_v1/representations.rb
Overview
View only mount options for a volume.
Instance Attribute Summary collapse
-
#export ⇒ String
Export string Corresponds to the JSON property
export
. -
#export_full ⇒ String
Full export string Corresponds to the JSON property
exportFull
. -
#instructions ⇒ String
Instructions for mounting Corresponds to the JSON property
instructions
. -
#protocol ⇒ String
Protocol to mount with.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MountOption
constructor
A new instance of MountOption.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MountOption
Returns a new instance of MountOption.
1123 1124 1125 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1123 def initialize(**args) update!(**args) end |
Instance Attribute Details
#export ⇒ String
Export string
Corresponds to the JSON property export
1106 1107 1108 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1106 def export @export end |
#export_full ⇒ String
Full export string
Corresponds to the JSON property exportFull
1111 1112 1113 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1111 def export_full @export_full end |
#instructions ⇒ String
Instructions for mounting
Corresponds to the JSON property instructions
1116 1117 1118 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1116 def instructions @instructions end |
#protocol ⇒ String
Protocol to mount with.
Corresponds to the JSON property protocol
1121 1122 1123 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1121 def protocol @protocol end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1128 1129 1130 1131 1132 1133 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 1128 def update!(**args) @export = args[:export] if args.key?(:export) @export_full = args[:export_full] if args.key?(:export_full) @instructions = args[:instructions] if args.key?(:instructions) @protocol = args[:protocol] if args.key?(:protocol) end |