Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class NewFilestoreConfig.
When set in a StorageResourceConfig, indicates that a new Filestore instance should be created.
Generated from protobuf message google.cloud.hypercomputecluster.v1beta.NewFilestoreConfig
Namespace
Google \ Cloud \ HypercomputeCluster \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ filestore |
string
Required. Immutable. Name of the Filestore instance to create, in the format |
↳ description |
string
Optional. Immutable. Description of the instance. Maximum of 2048 characters. |
↳ file_shares |
array<FileShareConfig>
Required. Immutable. File system shares on the instance. Exactly one file share must be specified. |
↳ tier |
int
Required. Immutable. Service tier to use for the instance. |
↳ protocol |
int
Optional. Immutable. Access protocol to use for all file shares in the instance. Defaults to NFS V3 if not set. |
getFilestore
Required. Immutable. Name of the Filestore instance to create, in the
format projects/{project}/locations/{location}/instances/{instance}
| Returns | |
|---|---|
| Type | Description |
string |
|
setFilestore
Required. Immutable. Name of the Filestore instance to create, in the
format projects/{project}/locations/{location}/instances/{instance}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Optional. Immutable. Description of the instance. Maximum of 2048 characters.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Optional. Immutable. Description of the instance. Maximum of 2048 characters.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFileShares
Required. Immutable. File system shares on the instance. Exactly one file share must be specified.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setFileShares
Required. Immutable. File system shares on the instance. Exactly one file share must be specified.
| Parameter | |
|---|---|
| Name | Description |
var |
array<FileShareConfig>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTier
Required. Immutable. Service tier to use for the instance.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Tier. |
setTier
Required. Immutable. Service tier to use for the instance.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Tier. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProtocol
Optional. Immutable. Access protocol to use for all file shares in the instance. Defaults to NFS V3 if not set.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Protocol. |
setProtocol
Optional. Immutable. Access protocol to use for all file shares in the instance. Defaults to NFS V3 if not set.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Protocol. |
| Returns | |
|---|---|
| Type | Description |
$this |
|