NAME
Google::Cloud::Lustre::V1::DirectoryPolicy - Compiled Protocol Buffers messages for google/cloud/lustre/v1/directory_policy.proto
SYNOPSIS
use Google::Cloud::Lustre::V1::DirectoryPolicy;
my $msg = Google::Cloud::Lustre::V1::DirectoryPolicy::DirectoryPolicy->new({
name => $name,
directory_path => $directory_path,
lustre_project_id => $lustre_project_id,
uid => $uid,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Lustre::V1::DirectoryPolicy::DirectoryPolicy->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/lustre/v1/directory_policy.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Lustre::V1::DirectoryPolicy::DirectoryPolicy
A directory policy for a Managed Lustre instance.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringImmutable. 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.
$msg->directory_path()/$msg->directory_path($value)Type:
StringRequired. Immutable. The lustre instance filesystem full path of the directory. It must start with a slash. e.g. /lustre/testFolder
$msg->lustre_project_id()/$msg->lustre_project_id($value)Type:
Int64Output 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
$msg->uid()/$msg->uid($value)Type:
StringOutput only. Unique ID of the resource.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Lustre::V1::DirectoryPolicy::State)Output only. The current state of the directory policy.
Enum: DirectoryPolicy::State
STATE_UNSPECIFIED=>0CREATING=>1ACTIVE=>2DELETING=>3
Google::Cloud::Lustre::V1::DirectoryPolicy::CreateDirectoryPolicyRequest
Request message for CreateDirectoryPolicy.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent instance. It must be in the format of `projects/{project}/locations/{location}/instances/{instance}`.
$msg->directory_policy_id()/$msg->directory_policy_id($value)Type:
StringRequired. The ID for the DirectoryPolicy to create.
$msg->directory_policy()/$msg->directory_policy($value)Type:
Message(Google::Cloud::Lustre::V1::DirectoryPolicy::DirectoryPolicy)Required. The directory policy to create.
Google::Cloud::Lustre::V1::DirectoryPolicy::DeleteDirectoryPolicyRequest
Request message for DeleteDirectoryPolicy.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the directory policy. DirectoryPolicy names have the form `projects/{project}/locations/{location}/instances/{instance}/directoryPolicies/{id}`.
Google::Cloud::Lustre::V1::DirectoryPolicy::GetDirectoryPolicyRequest
Request message for GetDirectoryPolicy.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the directory policy. DirectoryPolicy names have the form `projects/{project}/locations/{location}/instances/{instance}/directoryPolicies/{id}`.
Google::Cloud::Lustre::V1::DirectoryPolicy::ListDirectoryPoliciesRequest
Request message for ListDirectoryPolicies.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent instance. It must be in the format of `projects/{project}/locations/{location}/instances/{instance}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server might return fewer items than requested. If unspecified, the server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous `ListDirectoryPolicies` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDirectoryPolicies` must match the call that provided the page token.
Google::Cloud::Lustre::V1::DirectoryPolicy::ListDirectoryPoliciesResponse
Response message for ListDirectoryPolicies.
Inherits from Protobuf::Message.
Accessors
$msg->directory_policies()/$msg->directory_policies($value)Type:
Message(Google::Cloud::Lustre::V1::DirectoryPolicy::DirectoryPolicy)The list of DirectoryPolicies.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Lustre::V1::DirectoryPolicy::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.