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. -
#ip_address ⇒ String
Output only.
-
#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.
2055 2056 2057 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2055 def initialize(**args) update!(**args) end |
Instance Attribute Details
#export ⇒ String
Export string
Corresponds to the JSON property export
2033 2034 2035 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2033 def export @export end |
#export_full ⇒ String
Full export string
Corresponds to the JSON property exportFull
2038 2039 2040 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2038 def export_full @export_full end |
#instructions ⇒ String
Instructions for mounting
Corresponds to the JSON property instructions
2043 2044 2045 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2043 def instructions @instructions end |
#ip_address ⇒ String
Output only. IP Address.
Corresponds to the JSON property ipAddress
2048 2049 2050 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2048 def ip_address @ip_address end |
#protocol ⇒ String
Protocol to mount with.
Corresponds to the JSON property protocol
2053 2054 2055 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2053 def protocol @protocol end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2060 2061 2062 2063 2064 2065 2066 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2060 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) @ip_address = args[:ip_address] if args.key?(:ip_address) @protocol = args[:protocol] if args.key?(:protocol) end |