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.



2120
2121
2122
# File 'lib/google/apis/netapp_v1/classes.rb', line 2120

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

Instance Attribute Details

#exportString

Export string Corresponds to the JSON property export

Returns:

  • (String)


2098
2099
2100
# File 'lib/google/apis/netapp_v1/classes.rb', line 2098

def export
  @export
end

#export_fullString

Full export string Corresponds to the JSON property exportFull

Returns:

  • (String)


2103
2104
2105
# File 'lib/google/apis/netapp_v1/classes.rb', line 2103

def export_full
  @export_full
end

#instructionsString

Instructions for mounting Corresponds to the JSON property instructions

Returns:

  • (String)


2108
2109
2110
# File 'lib/google/apis/netapp_v1/classes.rb', line 2108

def instructions
  @instructions
end

#ip_addressString

Output only. IP Address. Corresponds to the JSON property ipAddress

Returns:

  • (String)


2113
2114
2115
# File 'lib/google/apis/netapp_v1/classes.rb', line 2113

def ip_address
  @ip_address
end

#protocolString

Protocol to mount with. Corresponds to the JSON property protocol

Returns:

  • (String)


2118
2119
2120
# File 'lib/google/apis/netapp_v1/classes.rb', line 2118

def protocol
  @protocol
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2125
2126
2127
2128
2129
2130
2131
# File 'lib/google/apis/netapp_v1/classes.rb', line 2125

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