Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class AllowedClient.
Represents an 'access point' for the share.
Generated from protobuf message google.cloud.baremetalsolution.v2.NfsShare.AllowedClient
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ network |
string
The network the access point sits on. |
↳ share_ip |
string
The IP address of the share on this network. |
↳ allowed_clients_cidr |
string
The subnet of IP addresses permitted to access the share. |
↳ mount_permissions |
int
Mount permissions. |
↳ allow_dev |
bool
Allow dev flag. Which controls whether to allow creation of devices. |
↳ allow_suid |
bool
Allow the setuid flag. |
↳ no_root_squash |
bool
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. |
getNetwork
The network the access point sits on.
Returns | |
---|---|
Type | Description |
string |
setNetwork
The network the access point sits on.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getShareIp
The IP address of the share on this network.
Returns | |
---|---|
Type | Description |
string |
setShareIp
The IP address of the share on this network.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAllowedClientsCidr
The subnet of IP addresses permitted to access the share.
Returns | |
---|---|
Type | Description |
string |
setAllowedClientsCidr
The subnet of IP addresses permitted to access the share.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getMountPermissions
Mount permissions.
Returns | |
---|---|
Type | Description |
int |
setMountPermissions
Mount permissions.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getAllowDev
Allow dev flag. Which controls whether to allow creation of devices.
Returns | |
---|---|
Type | Description |
bool |
setAllowDev
Allow dev flag. Which controls whether to allow creation of devices.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getAllowSuid
Allow the setuid flag.
Returns | |
---|---|
Type | Description |
bool |
setAllowSuid
Allow the setuid flag.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getNoRootSquash
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 | |
---|---|
Type | Description |
bool |
setNoRootSquash
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.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |