Google Cloud Bare Metal Solution V2 Client - Class AllowedClient (0.2.8)

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
NameDescription
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
TypeDescription
string

setNetwork

The network the access point sits on.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getShareIp

The IP address of the share on this network.

Returns
TypeDescription
string

setShareIp

The IP address of the share on this network.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAllowedClientsCidr

The subnet of IP addresses permitted to access the share.

Returns
TypeDescription
string

setAllowedClientsCidr

The subnet of IP addresses permitted to access the share.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMountPermissions

Mount permissions.

Returns
TypeDescription
int

setMountPermissions

Mount permissions.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getAllowDev

Allow dev flag. Which controls whether to allow creation of devices.

Returns
TypeDescription
bool

setAllowDev

Allow dev flag. Which controls whether to allow creation of devices.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getAllowSuid

Allow the setuid flag.

Returns
TypeDescription
bool

setAllowSuid

Allow the setuid flag.

Parameter
NameDescription
var bool
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this