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

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

Namespace

Google \ Cloud \ BareMetalSolution \ V2 \ NfsShare

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

Output only. The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.

↳ 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.

↳ nfs_path string

Output only. The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like "10.0.0.0:/g123456789-nfs001"

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

Output only. The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.

Returns
Type Description
string

setShareIp

Output only. The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.

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

getNfsPath

Output only. The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name.

example like "10.0.0.0:/g123456789-nfs001"

Returns
Type Description
string

setNfsPath

Output only. The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name.

example like "10.0.0.0:/g123456789-nfs001"

Parameter
Name Description
var string
Returns
Type Description
$this