Class: Google::Apis::NetappV1::MountOption

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MountOption

Returns a new instance of MountOption.



1299
1300
1301
# File 'lib/google/apis/netapp_v1/classes.rb', line 1299

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

Instance Attribute Details

#exportString

Export string Corresponds to the JSON property export

Returns:

  • (String)


1282
1283
1284
# File 'lib/google/apis/netapp_v1/classes.rb', line 1282

def export
  @export
end

#export_fullString

Full export string Corresponds to the JSON property exportFull

Returns:

  • (String)


1287
1288
1289
# File 'lib/google/apis/netapp_v1/classes.rb', line 1287

def export_full
  @export_full
end

#instructionsString

Instructions for mounting Corresponds to the JSON property instructions

Returns:

  • (String)


1292
1293
1294
# File 'lib/google/apis/netapp_v1/classes.rb', line 1292

def instructions
  @instructions
end

#protocolString

Protocol to mount with. Corresponds to the JSON property protocol

Returns:

  • (String)


1297
1298
1299
# File 'lib/google/apis/netapp_v1/classes.rb', line 1297

def protocol
  @protocol
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1304
1305
1306
1307
1308
1309
# File 'lib/google/apis/netapp_v1/classes.rb', line 1304

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