Interface NfsShare.AllowedClientOrBuilder (0.42.0)

public static interface NfsShare.AllowedClientOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowDev()

public abstract boolean getAllowDev()

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

bool allow_dev = 5;

Returns
Type Description
boolean

The allowDev.

getAllowSuid()

public abstract boolean getAllowSuid()

Allow the setuid flag.

bool allow_suid = 6;

Returns
Type Description
boolean

The allowSuid.

getAllowedClientsCidr()

public abstract String getAllowedClientsCidr()

The subnet of IP addresses permitted to access the share.

string allowed_clients_cidr = 3;

Returns
Type Description
String

The allowedClientsCidr.

getAllowedClientsCidrBytes()

public abstract ByteString getAllowedClientsCidrBytes()

The subnet of IP addresses permitted to access the share.

string allowed_clients_cidr = 3;

Returns
Type Description
ByteString

The bytes for allowedClientsCidr.

getMountPermissions()

public abstract NfsShare.MountPermissions getMountPermissions()

Mount permissions.

.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions mount_permissions = 4;

Returns
Type Description
NfsShare.MountPermissions

The mountPermissions.

getMountPermissionsValue()

public abstract int getMountPermissionsValue()

Mount permissions.

.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions mount_permissions = 4;

Returns
Type Description
int

The enum numeric value on the wire for mountPermissions.

getNetwork()

public abstract String getNetwork()

The network the access point sits on.

string network = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

The network the access point sits on.

string network = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for network.

getNfsPath()

public abstract String 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"

string nfs_path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The nfsPath.

getNfsPathBytes()

public abstract ByteString getNfsPathBytes()

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"

string nfs_path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for nfsPath.

getNoRootSquash()

public abstract boolean 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.

bool no_root_squash = 7;

Returns
Type Description
boolean

The noRootSquash.

getShareIp()

public abstract String getShareIp()

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

string share_ip = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The shareIp.

getShareIpBytes()

public abstract ByteString getShareIpBytes()

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

string share_ip = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for shareIp.