Reference documentation and code samples for the Google Cloud Filestore V1 Client class FileShareConfig.
File share configuration for the instance.
Generated from protobuf message google.cloud.filestore.v1.FileShareConfig
Namespace
Google \ Cloud \ Filestore \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the file share. Must use 1-16 characters for the basic service tier and 1-63 characters for all other service tiers. Must use lowercase letters, numbers, or underscores [a-z0-9_]
. Must start with a letter. Immutable.
↳ capacity_gb
int|string
File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes.
↳ source_backup
string
The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}
, that this file share has been restored from.
↳ nfs_export_options
array< Google\Cloud\Filestore\V1\NfsExportOptions
>
Nfs Export Options. There is a limit of 10 export options per file share.
getName
Required. The name of the file share. Must use 1-16 characters for the basic service tier and 1-63 characters for all other service tiers.
Must use lowercase letters, numbers, or underscores [a-z0-9_]
. Must
start with a letter. Immutable.
string
setName
Required. The name of the file share. Must use 1-16 characters for the basic service tier and 1-63 characters for all other service tiers.
Must use lowercase letters, numbers, or underscores [a-z0-9_]
. Must
start with a letter. Immutable.
var
string
$this
getCapacityGb
File share capacity in gigabytes (GB).
Filestore defines 1 GB as 1024^3 bytes.
int|string
setCapacityGb
File share capacity in gigabytes (GB).
Filestore defines 1 GB as 1024^3 bytes.
var
int|string
$this
getSourceBackup
The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}
,
that this file share has been restored from.
string
hasSourceBackup
setSourceBackup
The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}
,
that this file share has been restored from.
var
string
$this
getNfsExportOptions
Nfs Export Options.
There is a limit of 10 export options per file share.
setNfsExportOptions
Nfs Export Options.
There is a limit of 10 export options per file share.
$this
getSource
string