Struct google_file1_beta1::api::FileShareConfig
source · pub struct FileShareConfig {
pub capacity_gb: Option<i64>,
pub name: Option<String>,
pub nfs_export_options: Option<Vec<NfsExportOptions>>,
pub source_backup: Option<String>,
}
Expand description
File share configuration for the instance.
This type is not used in any activity, and only used as part of another schema.
Fields§
§capacity_gb: Option<i64>
File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes.
name: Option<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: Option<Vec<NfsExportOptions>>
Nfs Export Options. There is a limit of 10 export options per file share.
source_backup: Option<String>
The resource name of the backup, in the format projects/{project_id}/locations/{location_id}/backups/{backup_id}
, that this file share has been restored from.
Trait Implementations§
source§fn clone(&self) -> FileShareConfig
fn clone(&self) -> FileShareConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§fn default() -> FileShareConfig
fn default() -> FileShareConfig
Returns the “default value” for a type. Read more
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more