# Class FileShareConfig (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.2 1.12.0 1.11.0 1.10.1 1.9.5 1.8.0 1.7.0 1.6.2 1.5.1 1.4.1 1.3.0 1.2.3 1.1.3 1.0.0 0.2.3 0.1.0

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

File share configuration for the instance.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` 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` File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024\^3 bytes. |
| `source_backup` | `str` 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. This field is a member of `oneof`_ `source`. |
| `nfs_export_options` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/file/latest/google.cloud.filestore_v1.types.NfsExportOptions]` Nfs Export Options. There is a limit of 10 export options per file share. |