# Class StorageResource (0.4.1)

0.4.1 (latest) 0.4.0 0.2.0 0.1.0

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

A resource representing a form of persistent storage that is
accessible to compute resources in the cluster.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `filestore` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-hypercomputecluster/latest/google.cloud.hypercomputecluster_v1beta.types.FilestoreReference` Reference to a Filestore instance. Populated if and only if the storage resource was configured to use Filestore. This field is a member of `oneof`_ `reference`. |
| `bucket` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-hypercomputecluster/latest/google.cloud.hypercomputecluster_v1beta.types.BucketReference` Reference to a Google Cloud Storage bucket. Populated if and only if the storage resource was configured to use Google Cloud Storage. This field is a member of `oneof`_ `reference`. |
| `lustre` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-hypercomputecluster/latest/google.cloud.hypercomputecluster_v1beta.types.LustreReference` Reference to a Managed Lustre instance. Populated if and only if the storage resource was configured to use Managed Lustre. This field is a member of `oneof`_ `reference`. |
| `config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-hypercomputecluster/latest/google.cloud.hypercomputecluster_v1beta.types.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. |