Class Mirror (0.4.3)

Mirror(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a Cloud Storage mirror.

Attributes

Name Description
name str
Identifier. Name of the mirror. Format: projects/{project}/locations/{location}/instances/{instance}/mirrors/{mirror}
gcs_path google.cloud.lustre_v1.types.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 (/).
lustre_path google.cloud.lustre_v1.types.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.
direction google.cloud.lustre_v1.types.Mirror.Direction
Required. Immutable. Represents the direction of the mirror.
deleted_files_retained bool
Optional. If true, files are not deleted from Managed Lustre when the source files are deleted from Cloud Storage. Default is false.
description str
Optional. Description of the mirror.
labels MutableMapping[str, str]
Optional. Labels to apply to the mirror.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. [Output only] Create time stamp.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. [Output only] Update time stamp.
uid str
Output only. Unique ID of the resource.
state google.cloud.lustre_v1.types.Mirror.State
Output only. [Output only] The current state of the mirror.

Classes

Direction

Direction(value)

Represents the direction of the mirror. This enum expects to be extended in future with new mirror types.

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

State of the mirror.