NAME
Google::Cloud::Lustre::V1::Mirror - Compiled Protocol Buffers messages for google/cloud/lustre/v1/mirror.proto
SYNOPSIS
use Google::Cloud::Lustre::V1::Mirror;
my $msg = Google::Cloud::Lustre::V1::Mirror::Mirror->new({
name => $name,
gcs_path => $gcs_path,
lustre_path => $lustre_path,
direction => $direction,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Lustre::V1::Mirror::Mirror->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/lustre/v1/mirror.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::Mirror::Mirror
Represents a Cloud Storage mirror.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Name of the mirror. Format: `projects/{project}/locations/{location}/instances/{instance}/mirrors/{mirror}`
$msg->gcs_path()/$msg->gcs_path($value)Type:
Message(Google::Cloud::Lustre::V1::Transfer::GcsPath)Required. Immutable. The URI to a Cloud Storage bucket, or a path within a bucket, using the format `gs://{BUCKET_NAME}/{OPTIONAL_PATH}/`. If a path inside the bucket is specified, it must end with a forward slash (`/`).
$msg->lustre_path()/$msg->lustre_path($value)Type:
Message(Google::Cloud::Lustre::V1::Transfer::LustrePath)Required. Immutable. The Managed Lustre directory to mirror to. Must be an absolute path starting with `/`, for example `/data` or `/data/subdir`. Defaults to the root directory, `/`. If the specified directory doesn't exist, it is created.
$msg->direction()/$msg->direction($value)Type:
Enum(Google::Cloud::Lustre::V1::Mirror::Direction)Required. Immutable. Represents the direction of the mirror.
$msg->deleted_files_retained()/$msg->deleted_files_retained($value)Type:
BoolOptional. If `true`, files are not deleted from Managed Lustre when the source files are deleted from Cloud Storage. Default is `false`.
$msg->description()/$msg->description($value)Type:
StringOptional. Description of the mirror.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Lustre::V1::Mirror::Mirror::LabelsEntry)Optional. Labels to apply to the mirror.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. [Output only] Create time stamp.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. [Output only] Update time stamp.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. Unique ID of the resource.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Lustre::V1::Mirror::State)Output only. [Output only] The current state of the mirror.
Enum: Mirror::Direction
DIRECTION_UNSPECIFIED=>0FROM_CLOUD_STORAGE=>1
Enum: Mirror::State
STATE_UNSPECIFIED=>0CREATING=>1INITIAL_SYNC=>2DELETING=>3ACTIVE=>4SUSPENDED=>5
Google::Cloud::Lustre::V1::Mirror::CreateMirrorRequest
Request for CreateMirror.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent instance resource where the mirror will be created, in the format: `projects/{project}/locations/{location}/instances/{instance}`
$msg->mirror_id()/$msg->mirror_id($value)Type:
StringRequired. The ID to use for the mirror.
* Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter.
The ID cannot be changed after the mirror is created.
$msg->mirror()/$msg->mirror($value)Type:
Message(Google::Cloud::Lustre::V1::Mirror::Mirror)Required. The mirror to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. The unique ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate mirrors for at least 60 minutes.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate mirrors.
The request ID must be a valid UUID version 4 with the exception that zero UUID is not supported (`00000000-0000-0000-0000-000000000000`). This request is only idempotent if a `request_id` is provided.
Google::Cloud::Lustre::V1::Mirror::UpdateMirrorRequest
Request for UpdateMirror.
Inherits from Protobuf::Message.
Accessors
$msg->mirror()/$msg->mirror($value)Type:
Message(Google::Cloud::Lustre::V1::Mirror::Mirror)Required. Mirror to update. The mirror's `name` field is used to identify the mirror to update, in the format: `projects/{project}/locations/{location}/instances/{instance}/mirrors/{mirror}`
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If no mask is provided then all fields present in the request are overwritten.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. The unique ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in the same update request being executed for at least 60 minutes.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request.
The request ID must be a valid UUID version 4 with the exception that zero UUID is not supported (`00000000-0000-0000-0000-000000000000`). This request is only idempotent if a `request_id` is provided.
Google::Cloud::Lustre::V1::Mirror::DeleteMirrorRequest
Request for DeleteMirror.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the mirror to delete, in the format: `projects/{project}/locations/{location}/instances/{instance}/mirrors/{mirror}`
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. The unique ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in the same delete request being executed for at least 60 minutes.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request.
The request ID must be a valid UUID version 4 with the exception that zero UUID is not supported (`00000000-0000-0000-0000-000000000000`). This request is only idempotent if a `request_id` is provided.
Google::Cloud::Lustre::V1::Mirror::GetMirrorRequest
Request for GetMirror.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the mirror to retrieve, in the format: `projects/{project}/locations/{location}/instances/{instance}/mirrors/{mirror}`
Google::Cloud::Lustre::V1::Mirror::ListMirrorsRequest
Request for ListMirrors.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent instance resource where the mirrors will be listed, in the format: `projects/{project}/locations/{location}/instances/{instance}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. The server might return fewer items than requested. If unspecified, the default page size is 10. The maximum value is 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous `ListMirrors` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMirrors` must match the call that provided the page token.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Desired order of results.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filtering results.
Google::Cloud::Lustre::V1::Mirror::ListMirrorsResponse
Response for ListMirrors.
Inherits from Protobuf::Message.
Accessors
$msg->mirrors()/$msg->mirrors($value)Type:
Message(Google::Cloud::Lustre::V1::Mirror::Mirror)List of mirrors on the instance.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnordered list. Locations that could not be reached.
Google::Cloud::Lustre::V1::Mirror::CreateMirrorMetadata
Metadata of the create mirror operation.
Inherits from Protobuf::Message.
Accessors
$msg->operation_metadata()/$msg->operation_metadata($value)Type:
Message(Google::Cloud::Lustre::V1::Transfer::TransferOperationMetadata)Data transfer operation metadata.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation finished running.
$msg->target()/$msg->target($value)Type:
StringOutput only. Server-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. Name of the verb executed by the operation.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput only. Human-readable status of the operation, if any.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
$msg->api_version()/$msg->api_version($value)Type:
StringOutput only. API version used to start the operation.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Lustre::V1::Mirror::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.