Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::VolumeConfig::NfsExport.
A NFS export entry.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#allow_dev
defallow_dev()->::Boolean
Returns
(::Boolean) — Allow dev flag in NfsShare AllowedClientsRequest.
#allow_dev=
defallow_dev=(value)->::Boolean
Parameter
value (::Boolean) — Allow dev flag in NfsShare AllowedClientsRequest.
Returns
(::Boolean) — Allow dev flag in NfsShare AllowedClientsRequest.
#allow_suid
defallow_suid()->::Boolean
Returns
(::Boolean) — Allow the setuid flag.
#allow_suid=
defallow_suid=(value)->::Boolean
Parameter
value (::Boolean) — Allow the setuid flag.
Returns
(::Boolean) — Allow the setuid flag.
#cidr
defcidr()->::String
Returns
(::String) — A CIDR range.
Note: The following fields are mutually exclusive: cidr, machine_id. If a field in that set is populated, all other fields in the set will automatically be cleared.
#cidr=
defcidr=(value)->::String
Parameter
value (::String) — A CIDR range.
Note: The following fields are mutually exclusive: cidr, machine_id. If a field in that set is populated, all other fields in the set will automatically be cleared.
Returns
(::String) — A CIDR range.
Note: The following fields are mutually exclusive: cidr, machine_id. If a field in that set is populated, all other fields in the set will automatically be cleared.
#machine_id
defmachine_id()->::String
Returns
(::String) — Either a single machine, identified by an ID, or a comma-separated
list of machine IDs.
Note: The following fields are mutually exclusive: machine_id, cidr. If a field in that set is populated, all other fields in the set will automatically be cleared.
#machine_id=
defmachine_id=(value)->::String
Parameter
value (::String) — Either a single machine, identified by an ID, or a comma-separated
list of machine IDs.
Note: The following fields are mutually exclusive: machine_id, cidr. If a field in that set is populated, all other fields in the set will automatically be cleared.
Returns
(::String) — Either a single machine, identified by an ID, or a comma-separated
list of machine IDs.
Note: The following fields are mutually exclusive: machine_id, cidr. If a field in that set is populated, all other fields in the set will automatically be cleared.
#network_id
defnetwork_id()->::String
Returns
(::String) — Network to use to publish the export.
#network_id=
defnetwork_id=(value)->::String
Parameter
value (::String) — Network to use to publish the export.
Returns
(::String) — Network to use to publish the export.
#no_root_squash
defno_root_squash()->::Boolean
Returns
(::Boolean) — Disable root squashing, which is a feature of NFS.
Root squash is a special mapping of the remote superuser (root) identity
when using identity authentication.
#no_root_squash=
defno_root_squash=(value)->::Boolean
Parameter
value (::Boolean) — Disable root squashing, which is a feature of NFS.
Root squash is a special mapping of the remote superuser (root) identity
when using identity authentication.
Returns
(::Boolean) — Disable root squashing, which is a feature of NFS.
Root squash is a special mapping of the remote superuser (root) identity
when using identity authentication.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::VolumeConfig::NfsExport (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport)\n- [1.0.1](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/1.0.1/Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport)\n- [0.10.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.10.0/Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport)\n- [0.9.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.9.0/Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport)\n- [0.8.1](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.8.1/Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport)\n- [0.7.2](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.7.2/Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport)\n- [0.6.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.6.0/Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport)\n- [0.5.1](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.5.1/Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport)\n- [0.4.1](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.4.1/Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport)\n- [0.3.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.3.0/Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport)\n- [0.2.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.2.0/Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport)\n- [0.1.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.1.0/Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport) \nReference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::VolumeConfig::NfsExport.\n\nA NFS export entry. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #allow_dev\n\n def allow_dev() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Allow dev flag in NfsShare AllowedClientsRequest.\n\n### #allow_dev=\n\n def allow_dev=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Allow dev flag in NfsShare AllowedClientsRequest. \n**Returns**\n\n- (::Boolean) --- Allow dev flag in NfsShare AllowedClientsRequest.\n\n### #allow_suid\n\n def allow_suid() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Allow the setuid flag.\n\n### #allow_suid=\n\n def allow_suid=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Allow the setuid flag. \n**Returns**\n\n- (::Boolean) --- Allow the setuid flag.\n\n### #cidr\n\n def cidr() -\u003e ::String\n\n**Returns**\n\n- (::String) --- A CIDR range.\n\n Note: The following fields are mutually exclusive: `cidr`, `machine_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #cidr=\n\n def cidr=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- A CIDR range.\n\n\nNote: The following fields are mutually exclusive: `cidr`, `machine_id`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- (::String) --- A CIDR range.\n\n Note: The following fields are mutually exclusive: `cidr`, `machine_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #machine_id\n\n def machine_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Either a single machine, identified by an ID, or a comma-separated list of machine IDs.\n\n Note: The following fields are mutually exclusive: `machine_id`, `cidr`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #machine_id=\n\n def machine_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Either a single machine, identified by an ID, or a comma-separated list of machine IDs.\n\n\nNote: The following fields are mutually exclusive: `machine_id`, `cidr`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- (::String) --- Either a single machine, identified by an ID, or a comma-separated list of machine IDs.\n\n Note: The following fields are mutually exclusive: `machine_id`, `cidr`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #network_id\n\n def network_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Network to use to publish the export.\n\n### #network_id=\n\n def network_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Network to use to publish the export. \n**Returns**\n\n- (::String) --- Network to use to publish the export.\n\n### #no_root_squash\n\n def no_root_squash() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.\n\n### #no_root_squash=\n\n def no_root_squash=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication. \n**Returns**\n\n- (::Boolean) --- Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.\n\n### #permissions\n\n def permissions() -\u003e ::Google::Cloud::BareMetalSolution::V2::VolumeConfig::NfsExport::Permissions\n\n**Returns**\n\n- ([::Google::Cloud::BareMetalSolution::V2::VolumeConfig::NfsExport::Permissions](./Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport-Permissions)) --- Export permissions.\n\n### #permissions=\n\n def permissions=(value) -\u003e ::Google::Cloud::BareMetalSolution::V2::VolumeConfig::NfsExport::Permissions\n\n**Parameter**\n\n- **value** ([::Google::Cloud::BareMetalSolution::V2::VolumeConfig::NfsExport::Permissions](./Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport-Permissions)) --- Export permissions. \n**Returns**\n\n- ([::Google::Cloud::BareMetalSolution::V2::VolumeConfig::NfsExport::Permissions](./Google-Cloud-BareMetalSolution-V2-VolumeConfig-NfsExport-Permissions)) --- Export permissions."]]