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). Filestore defines 1 GB as 1024^3 bytes.
#capacity_gb=
def capacity_gb=(value) -> ::Integer
    Parameter
    
  - value (::Integer) — File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes.
    Returns
    
  - (::Integer) — File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes.
#name
def name() -> ::String
    Returns
    
  - 
        (::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.
#name=
def name=(value) -> ::String
    Parameter
    
  - 
        value (::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.
    Returns
    
  - 
        (::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.
#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.