Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class StorageResource.
A resource representing a form of persistent storage that is accessible to compute resources in the cluster.
Generated from protobuf message google.cloud.hypercomputecluster.v1beta.StorageResource
Namespace
Google \ Cloud \ HypercomputeCluster \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ filestore
FilestoreReference
Reference to a Filestore instance. Populated if and only if the storage resource was configured to use Filestore.
↳ bucket
BucketReference
Reference to a Google Cloud Storage bucket. Populated if and only if the storage resource was configured to use Google Cloud Storage.
↳ lustre
LustreReference
Reference to a Managed Lustre instance. Populated if and only if the storage resource was configured to use Managed Lustre.
↳ config
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.
getFilestore
Reference to a Filestore instance. Populated if and only if the storage resource was configured to use Filestore.
hasFilestore
setFilestore
Reference to a Filestore instance. Populated if and only if the storage resource was configured to use Filestore.
$this
getBucket
Reference to a Google Cloud Storage bucket. Populated if and only if the storage resource was configured to use Google Cloud Storage.
hasBucket
setBucket
Reference to a Google Cloud Storage bucket. Populated if and only if the storage resource was configured to use Google Cloud Storage.
$this
getLustre
Reference to a Managed Lustre instance. Populated if and only if the storage resource was configured to use Managed Lustre.
hasLustre
setLustre
Reference to a Managed Lustre instance. Populated if and only if the storage resource was configured to use Managed Lustre.
$this
getConfig
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.
hasConfig
clearConfig
setConfig
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.
$this
getReference
string

