Reference documentation and code samples for the Google Cloud Lustre V1 Client class CreateDirectoryPolicyRequest.
Request message for CreateDirectoryPolicy.
Generated from protobuf message google.cloud.lustre.v1.CreateDirectoryPolicyRequest
Namespace
Google \ Cloud \ Lustre \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent instance. It must be in the format of |
↳ directory_policy_id |
string
Required. The ID for the DirectoryPolicy to create. |
↳ directory_policy |
DirectoryPolicy
Required. The directory policy to create. |
getParent
Required. The parent instance.
It must be in the format of
projects/{project}/locations/{location}/instances/{instance}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent instance.
It must be in the format of
projects/{project}/locations/{location}/instances/{instance}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDirectoryPolicyId
Required. The ID for the DirectoryPolicy to create.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDirectoryPolicyId
Required. The ID for the DirectoryPolicy to create.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDirectoryPolicy
Required. The directory policy to create.
| Returns | |
|---|---|
| Type | Description |
DirectoryPolicy|null |
|
hasDirectoryPolicy
clearDirectoryPolicy
setDirectoryPolicy
Required. The directory policy to create.
| Parameter | |
|---|---|
| Name | Description |
var |
DirectoryPolicy
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent instance.
It must be in the format of
|
directoryPolicy |
DirectoryPolicy
Required. The directory policy to create. |
directoryPolicyId |
string
Required. The ID for the DirectoryPolicy to create. |
| Returns | |
|---|---|
| Type | Description |
CreateDirectoryPolicyRequest |
|