Cluster Director V1BETA API - Class Google::Cloud::HypercomputeCluster::V1beta::StorageResource (v1.3.0)

Reference documentation and code samples for the Cluster Director V1BETA API class Google::Cloud::HypercomputeCluster::V1beta::StorageResource.

Represents a form of persistent storage that you can mount onto compute resources in the cluster.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bucket

def bucket() -> ::Google::Cloud::HypercomputeCluster::V1beta::BucketReference
Returns
  • (::Google::Cloud::HypercomputeCluster::V1beta::BucketReference) — Output only. A reference to a Google Cloud Storage bucket. Populated if and only if the storage resource was configured to use Google Cloud Storage.

    Note: The following fields are mutually exclusive: bucket, filestore, lustre. If a field in that set is populated, all other fields in the set will automatically be cleared.

#config

def config() -> ::Google::Cloud::HypercomputeCluster::V1beta::StorageResourceConfig
Returns
  • (::Google::Cloud::HypercomputeCluster::V1beta::StorageResourceConfig) — Required. Immutable. Configuration for this storage resource, which describes how it should be created or imported. This field only controls how the storage resource is initially created or imported. Subsequent changes to the storage resource should be made via the resource's API and will not be reflected in the configuration.

#config=

def config=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::StorageResourceConfig
Parameter
  • value (::Google::Cloud::HypercomputeCluster::V1beta::StorageResourceConfig) — Required. Immutable. Configuration for this storage resource, which describes how it should be created or imported. This field only controls how the storage resource is initially created or imported. Subsequent changes to the storage resource should be made via the resource's API and will not be reflected in the configuration.
Returns
  • (::Google::Cloud::HypercomputeCluster::V1beta::StorageResourceConfig) — Required. Immutable. Configuration for this storage resource, which describes how it should be created or imported. This field only controls how the storage resource is initially created or imported. Subsequent changes to the storage resource should be made via the resource's API and will not be reflected in the configuration.

#filestore

def filestore() -> ::Google::Cloud::HypercomputeCluster::V1beta::FilestoreReference
Returns
  • (::Google::Cloud::HypercomputeCluster::V1beta::FilestoreReference) — Output only. A reference to a Filestore instance. Populated if and only if the storage resource was configured to use Filestore.

    Note: The following fields are mutually exclusive: filestore, bucket, lustre. If a field in that set is populated, all other fields in the set will automatically be cleared.

#lustre

def lustre() -> ::Google::Cloud::HypercomputeCluster::V1beta::LustreReference
Returns
  • (::Google::Cloud::HypercomputeCluster::V1beta::LustreReference) — Output only. A reference to a Managed Lustre instance. Populated if and only if the storage resource was configured to use Managed Lustre.

    Note: The following fields are mutually exclusive: lustre, filestore, bucket. If a field in that set is populated, all other fields in the set will automatically be cleared.