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: String

    Identifier. 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: Bool

    Optional. 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: String

    Optional. 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: String

    Output 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 => 0

  • FROM_CLOUD_STORAGE => 1

Enum: Mirror::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • INITIAL_SYNC => 2

  • DELETING => 3

  • ACTIVE => 4

  • SUSPENDED => 5

Google::Cloud::Lustre::V1::Mirror::CreateMirrorRequest

Request for CreateMirror.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. 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: String

    Required. 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: String

    Optional. 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: String

    Optional. 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: String

    Required. 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: String

    Optional. 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: String

    Required. 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: String

    Required. 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: Int32

    Optional. 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: String

    Optional. 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: String

    Optional. Desired order of results.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. 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: String

    A token identifying a page of results the server should return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Unordered 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: String

    Output only. Server-defined resource path for the target of the operation.

  • $msg->verb() / $msg->verb($value)

    Type: String

    Output only. Name of the verb executed by the operation.

  • $msg->status_message() / $msg->status_message($value)

    Type: String

    Output only. Human-readable status of the operation, if any.

  • $msg->requested_cancellation() / $msg->requested_cancellation($value)

    Type: Bool

    Output 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: String

    Output 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.