Reference documentation and code samples for the Cluster Director V1BETA API class Google::Cloud::HypercomputeCluster::V1beta::StorageResource.
A resource representing a form of persistent storage that is accessible to 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-
(::Google::Cloud::HypercomputeCluster::V1beta::BucketReference) — 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.
#bucket=
def bucket=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::BucketReference-
value (::Google::Cloud::HypercomputeCluster::V1beta::BucketReference) — 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.
-
(::Google::Cloud::HypercomputeCluster::V1beta::BucketReference) — 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- (::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- 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.
- (::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-
(::Google::Cloud::HypercomputeCluster::V1beta::FilestoreReference) — 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.
#filestore=
def filestore=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::FilestoreReference-
value (::Google::Cloud::HypercomputeCluster::V1beta::FilestoreReference) — 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.
-
(::Google::Cloud::HypercomputeCluster::V1beta::FilestoreReference) — 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-
(::Google::Cloud::HypercomputeCluster::V1beta::LustreReference) — 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.
#lustre=
def lustre=(value) -> ::Google::Cloud::HypercomputeCluster::V1beta::LustreReference-
value (::Google::Cloud::HypercomputeCluster::V1beta::LustreReference) — 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.
-
(::Google::Cloud::HypercomputeCluster::V1beta::LustreReference) — 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.