class Google::Apis::BaremetalsolutionV1alpha1::NfsExport

A NFS export entry.

Attributes

allow_dev[RW]

Allow dev. Corresponds to the JSON property `allowDev` @return [Boolean]

allow_dev?[RW]

Allow dev. Corresponds to the JSON property `allowDev` @return [Boolean]

allow_suid[RW]

Allow the setuid flag. Corresponds to the JSON property `allowSuid` @return [Boolean]

allow_suid?[RW]

Allow the setuid flag. Corresponds to the JSON property `allowSuid` @return [Boolean]

cidr[RW]

A CIDR range. Corresponds to the JSON property `cidr` @return [String]

machine_id[RW]

A single machine, identified by an ID. Corresponds to the JSON property `machineId` @return [String]

network_id[RW]

Network to use to publish the export. Corresponds to the JSON property `networkId` @return [String]

no_root_squash[RW]

Disable root squashing. Corresponds to the JSON property `noRootSquash` @return [Boolean]

no_root_squash?[RW]

Disable root squashing. Corresponds to the JSON property `noRootSquash` @return [Boolean]

permissions[RW]

Export permissions. Corresponds to the JSON property `permissions` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 648
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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