Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class StorageResourceConfig.
Describes how a storage resource should be initialized. Each storage resource can either be imported from an existing Google Cloud resource or initialized when the cluster is created.
Generated from protobuf message google.cloud.hypercomputecluster.v1beta.StorageResourceConfig
Namespace
Google \ Cloud \ HypercomputeCluster \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ new_filestore |
NewFilestoreConfig
Optional. Immutable. If set, indicates that a new Filestore instance should be created. |
↳ existing_filestore |
ExistingFilestoreConfig
Optional. Immutable. If set, indicates that an existing Filestore instance should be imported. |
↳ new_bucket |
NewBucketConfig
Optional. Immutable. If set, indicates that a new Cloud Storage bucket should be created. |
↳ existing_bucket |
ExistingBucketConfig
Optional. Immutable. If set, indicates that an existing Cloud Storage bucket should be imported. |
↳ new_lustre |
NewLustreConfig
Optional. Immutable. If set, indicates that a new Managed Lustre instance should be created. |
↳ existing_lustre |
ExistingLustreConfig
Optional. Immutable. If set, indicates that an existing Managed Lustre instance should be imported. |
getNewFilestore
Optional. Immutable. If set, indicates that a new Filestore instance should be created.
| Returns | |
|---|---|
| Type | Description |
NewFilestoreConfig|null |
|
hasNewFilestore
setNewFilestore
Optional. Immutable. If set, indicates that a new Filestore instance should be created.
| Parameter | |
|---|---|
| Name | Description |
var |
NewFilestoreConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExistingFilestore
Optional. Immutable. If set, indicates that an existing Filestore instance should be imported.
| Returns | |
|---|---|
| Type | Description |
ExistingFilestoreConfig|null |
|
hasExistingFilestore
setExistingFilestore
Optional. Immutable. If set, indicates that an existing Filestore instance should be imported.
| Parameter | |
|---|---|
| Name | Description |
var |
ExistingFilestoreConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNewBucket
Optional. Immutable. If set, indicates that a new Cloud Storage bucket should be created.
| Returns | |
|---|---|
| Type | Description |
NewBucketConfig|null |
|
hasNewBucket
setNewBucket
Optional. Immutable. If set, indicates that a new Cloud Storage bucket should be created.
| Parameter | |
|---|---|
| Name | Description |
var |
NewBucketConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExistingBucket
Optional. Immutable. If set, indicates that an existing Cloud Storage bucket should be imported.
| Returns | |
|---|---|
| Type | Description |
ExistingBucketConfig|null |
|
hasExistingBucket
setExistingBucket
Optional. Immutable. If set, indicates that an existing Cloud Storage bucket should be imported.
| Parameter | |
|---|---|
| Name | Description |
var |
ExistingBucketConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNewLustre
Optional. Immutable. If set, indicates that a new Managed Lustre instance should be created.
| Returns | |
|---|---|
| Type | Description |
NewLustreConfig|null |
|
hasNewLustre
setNewLustre
Optional. Immutable. If set, indicates that a new Managed Lustre instance should be created.
| Parameter | |
|---|---|
| Name | Description |
var |
NewLustreConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExistingLustre
Optional. Immutable. If set, indicates that an existing Managed Lustre instance should be imported.
| Returns | |
|---|---|
| Type | Description |
ExistingLustreConfig|null |
|
hasExistingLustre
setExistingLustre
Optional. Immutable. If set, indicates that an existing Managed Lustre instance should be imported.
| Parameter | |
|---|---|
| Name | Description |
var |
ExistingLustreConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConfig
| Returns | |
|---|---|
| Type | Description |
string |
|