Reference documentation and code samples for the Google Cloud Managed Lustre V1 API class Google::Cloud::Lustre::V1::DirectoryPolicy.
A directory policy for a Managed Lustre instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#directory_path
def directory_path() -> ::String
Returns
- (::String) — Required. Immutable. The lustre instance filesystem full path of the directory. It must start with a slash. e.g. /lustre/testFolder
#directory_path=
def directory_path=(value) -> ::String
Parameter
- value (::String) — Required. Immutable. The lustre instance filesystem full path of the directory. It must start with a slash. e.g. /lustre/testFolder
Returns
- (::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
def lustre_project_id() -> ::Integer
Returns
- (::Integer) — 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
#name
def name() -> ::String
Returns
-
(::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.
#name=
def name=(value) -> ::String
Parameter
-
value (::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.
Returns
-
(::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.
#state
def state() -> ::Google::Cloud::Lustre::V1::DirectoryPolicy::State
Returns
- (::Google::Cloud::Lustre::V1::DirectoryPolicy::State) — Output only. The current state of the directory policy.
#uid
def uid() -> ::String
Returns
- (::String) — Output only. Unique ID of the resource.