Reference documentation and code samples for the Filestore V1 API class Google::Cloud::Filestore::V1::FileShareConfig.
File share configuration for the instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#capacity_gb
def capacity_gb() -> ::Integer
Returns
- (::Integer) — File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.
#capacity_gb=
def capacity_gb=(value) -> ::Integer
Parameter
- value (::Integer) — File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.
Returns
- (::Integer) — File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes.
#name
def name() -> ::String
Returns
- (::String) — The name of the file share (must be 16 characters or less).
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The name of the file share (must be 16 characters or less).
Returns
- (::String) — The name of the file share (must be 16 characters or less).
#nfs_export_options
def nfs_export_options() -> ::Array<::Google::Cloud::Filestore::V1::NfsExportOptions>
Returns
- (::Array<::Google::Cloud::Filestore::V1::NfsExportOptions>) — Nfs Export Options. There is a limit of 10 export options per file share.
#nfs_export_options=
def nfs_export_options=(value) -> ::Array<::Google::Cloud::Filestore::V1::NfsExportOptions>
Parameter
- value (::Array<::Google::Cloud::Filestore::V1::NfsExportOptions>) — Nfs Export Options. There is a limit of 10 export options per file share.
Returns
- (::Array<::Google::Cloud::Filestore::V1::NfsExportOptions>) — Nfs Export Options. There is a limit of 10 export options per file share.
#source_backup
def source_backup() -> ::String
Returns
-
(::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.
#source_backup=
def source_backup=(value) -> ::String
Parameter
-
value (::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.
Returns
-
(::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.