Class: Google::Apis::BaremetalsolutionV1alpha1::NfsExport
- Inherits:
-
Object
- Object
- Google::Apis::BaremetalsolutionV1alpha1::NfsExport
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/baremetalsolution_v1alpha1/classes.rb,
lib/google/apis/baremetalsolution_v1alpha1/representations.rb,
lib/google/apis/baremetalsolution_v1alpha1/representations.rb
Overview
A NFS export entry.
Instance Attribute Summary collapse
-
#allow_dev ⇒ Boolean
(also: #allow_dev?)
Allow dev.
-
#allow_suid ⇒ Boolean
(also: #allow_suid?)
Allow the setuid flag.
-
#cidr ⇒ String
A CIDR range.
-
#machine_id ⇒ String
A single machine, identified by an ID.
-
#network_id ⇒ String
Network to use to publish the export.
-
#no_root_squash ⇒ Boolean
(also: #no_root_squash?)
Disable root squashing.
-
#permissions ⇒ String
Export permissions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NfsExport
constructor
A new instance of NfsExport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NfsExport
Returns a new instance of NfsExport.
648 649 650 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 648 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_dev ⇒ Boolean Also known as: allow_dev?
Allow dev.
Corresponds to the JSON property allowDev
613 614 615 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 613 def allow_dev @allow_dev end |
#allow_suid ⇒ Boolean Also known as: allow_suid?
Allow the setuid flag.
Corresponds to the JSON property allowSuid
619 620 621 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 619 def allow_suid @allow_suid end |
#cidr ⇒ String
A CIDR range.
Corresponds to the JSON property cidr
625 626 627 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 625 def cidr @cidr end |
#machine_id ⇒ String
A single machine, identified by an ID.
Corresponds to the JSON property machineId
630 631 632 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 630 def machine_id @machine_id end |
#network_id ⇒ String
Network to use to publish the export.
Corresponds to the JSON property networkId
635 636 637 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 635 def network_id @network_id end |
#no_root_squash ⇒ Boolean Also known as: no_root_squash?
Disable root squashing.
Corresponds to the JSON property noRootSquash
640 641 642 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 640 def no_root_squash @no_root_squash end |
#permissions ⇒ String
Export permissions.
Corresponds to the JSON property permissions
646 647 648 |
# File 'lib/google/apis/baremetalsolution_v1alpha1/classes.rb', line 646 def @permissions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
653 654 655 656 657 658 659 660 661 |
# 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 |