Google Cloud Lustre V1 Client - Class DirectoryPolicy (0.6.0)

Reference documentation and code samples for the Google Cloud Lustre V1 Client class DirectoryPolicy.

A directory policy for a Managed Lustre instance.

Generated from protobuf message google.cloud.lustre.v1.DirectoryPolicy

Namespace

Google \ Cloud \ Lustre \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Immutable. Identifier. The resource name of the directory policy. DirectoryPolicy names have the form projects/{project}/locations/{location}/instances/{instance}/directoryPolicies/{id}. {id} is user provided.

↳ directory_path string

Required. Immutable. The lustre instance filesystem full path of the directory. It must start with a slash. e.g. /lustre/testFolder

↳ lustre_project_id int|string

Output only. The lustre project ID assigned for the directory by the service. This read-only ID can be used to manage quotas. See more details in https://docs.cloud.google.com/managed-lustre/docs/file-system-quotas#set_quotas

↳ uid string

Output only. Unique ID of the resource.

↳ state int

Output only. The current state of the directory policy.

getName

Immutable. Identifier. The resource name of the directory policy.

DirectoryPolicy names have the form projects/{project}/locations/{location}/instances/{instance}/directoryPolicies/{id}. {id} is user provided.

Returns
Type Description
string

setName

Immutable. Identifier. The resource name of the directory policy.

DirectoryPolicy names have the form projects/{project}/locations/{location}/instances/{instance}/directoryPolicies/{id}. {id} is user provided.

Parameter
Name Description
var string
Returns
Type Description
$this

getDirectoryPath

Required. Immutable. The lustre instance filesystem full path of the directory. It must start with a slash. e.g. /lustre/testFolder

Returns
Type Description
string

setDirectoryPath

Required. Immutable. The lustre instance filesystem full path of the directory. It must start with a slash. e.g. /lustre/testFolder

Parameter
Name Description
var string
Returns
Type Description
$this

getLustreProjectId

Output only. The lustre project ID assigned for the directory by the service. This read-only ID can be used to manage quotas. See more details in https://docs.cloud.google.com/managed-lustre/docs/file-system-quotas#set_quotas

Returns
Type Description
int|string

setLustreProjectId

Output only. The lustre project ID assigned for the directory by the service. This read-only ID can be used to manage quotas. See more details in https://docs.cloud.google.com/managed-lustre/docs/file-system-quotas#set_quotas

Parameter
Name Description
var int|string
Returns
Type Description
$this

getUid

Output only. Unique ID of the resource.

Returns
Type Description
string

setUid

Output only. Unique ID of the resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. The current state of the directory policy.

Returns
Type Description
int Enum of type State.

setState

Output only. The current state of the directory policy.

Parameter
Name Description
var int

Enum of type State.

Returns
Type Description
$this