Google Cloud Managed Lustre V1 API - Class Google::Cloud::Lustre::V1::Mirror (v1.1.0)

Reference documentation and code samples for the Google Cloud Managed Lustre V1 API class Google::Cloud::Lustre::V1::Mirror.

Represents a Cloud Storage mirror.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#deleted_files_retained

def deleted_files_retained() -> ::Boolean
Returns
  • (::Boolean) — Optional. If true, files are not deleted from Managed Lustre when the source files are deleted from Cloud Storage. Default is false.

#deleted_files_retained=

def deleted_files_retained=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If true, files are not deleted from Managed Lustre when the source files are deleted from Cloud Storage. Default is false.
Returns
  • (::Boolean) — Optional. If true, files are not deleted from Managed Lustre when the source files are deleted from Cloud Storage. Default is false.

#description

def description() -> ::String
Returns
  • (::String) — Optional. Description of the mirror.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. Description of the mirror.
Returns
  • (::String) — Optional. Description of the mirror.

#direction

def direction() -> ::Google::Cloud::Lustre::V1::Mirror::Direction
Returns

#direction=

def direction=(value) -> ::Google::Cloud::Lustre::V1::Mirror::Direction
Parameter
Returns

#gcs_path

def gcs_path() -> ::Google::Cloud::Lustre::V1::GcsPath
Returns
  • (::Google::Cloud::Lustre::V1::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 (/).

#gcs_path=

def gcs_path=(value) -> ::Google::Cloud::Lustre::V1::GcsPath
Parameter
  • value (::Google::Cloud::Lustre::V1::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 (/).
Returns
  • (::Google::Cloud::Lustre::V1::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 (/).

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to apply to the mirror.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to apply to the mirror.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to apply to the mirror.

#lustre_path

def lustre_path() -> ::Google::Cloud::Lustre::V1::LustrePath
Returns
  • (::Google::Cloud::Lustre::V1::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.

#lustre_path=

def lustre_path=(value) -> ::Google::Cloud::Lustre::V1::LustrePath
Parameter
  • value (::Google::Cloud::Lustre::V1::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.
Returns
  • (::Google::Cloud::Lustre::V1::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.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. Name of the mirror. Format: projects/{project}/locations/{location}/instances/{instance}/mirrors/{mirror}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. Name of the mirror. Format: projects/{project}/locations/{location}/instances/{instance}/mirrors/{mirror}
Returns
  • (::String) — Identifier. Name of the mirror. Format: projects/{project}/locations/{location}/instances/{instance}/mirrors/{mirror}

#state

def state() -> ::Google::Cloud::Lustre::V1::Mirror::State
Returns

#uid

def uid() -> ::String
Returns
  • (::String) — Output only. Unique ID of the resource.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns