class Google::Apis::BaremetalsolutionV1alpha1::NfsExport
A NFS export entry.
Attributes
Allow dev. Corresponds to the JSON property `allowDev` @return [Boolean]
Allow dev. Corresponds to the JSON property `allowDev` @return [Boolean]
Allow the setuid flag. Corresponds to the JSON property `allowSuid` @return [Boolean]
Allow the setuid flag. Corresponds to the JSON property `allowSuid` @return [Boolean]
A CIDR range. Corresponds to the JSON property `cidr` @return [String]
A single machine, identified by an ID. Corresponds to the JSON property `machineId` @return [String]
Network to use to publish the export. Corresponds to the JSON property `networkId` @return [String]
Disable root squashing. Corresponds to the JSON property `noRootSquash` @return [Boolean]
Disable root squashing. Corresponds to the JSON property `noRootSquash` @return [Boolean]
Export permissions. Corresponds to the JSON property `permissions` @return [String]
Public Class Methods
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 648 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 653 def update!(**args) @allow_dev = args[:allow_dev] if args.key?(:allow_dev) @allow_suid = args[:allow_suid] if args.key?(:allow_suid) @cidr = args[:cidr] if args.key?(:cidr) @machine_id = args[:machine_id] if args.key?(:machine_id) @network_id = args[:network_id] if args.key?(:network_id) @no_root_squash = args[:no_root_squash] if args.key?(:no_root_squash) @permissions = args[:permissions] if args.key?(:permissions) end