Cloud Filestore v1 API - Class FileShareConfig (2.5.0)

public sealed class FileShareConfig : IMessage<FileShareConfig>, IEquatable<FileShareConfig>, IDeepCloneable<FileShareConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Filestore v1 API class FileShareConfig.

File share configuration for the instance.

Inheritance

object > FileShareConfig

Namespace

Google.Cloud.Filestore.V1

Assembly

Google.Cloud.Filestore.V1.dll

Constructors

FileShareConfig()

public FileShareConfig()

FileShareConfig(FileShareConfig)

public FileShareConfig(FileShareConfig other)
Parameter
NameDescription
otherFileShareConfig

Properties

CapacityGb

public long CapacityGb { get; set; }

File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes.

Property Value
TypeDescription
long

HasSourceBackup

public bool HasSourceBackup { get; }

Gets whether the "source_backup" field is set

Property Value
TypeDescription
bool

Name

public string Name { get; set; }

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.

Property Value
TypeDescription
string

NfsExportOptions

public RepeatedField<NfsExportOptions> NfsExportOptions { get; }

Nfs Export Options. There is a limit of 10 export options per file share.

Property Value
TypeDescription
RepeatedFieldNfsExportOptions

SourceBackup

public string SourceBackup { get; set; }

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.

Property Value
TypeDescription
string

SourceBackupAsBackupName

public BackupName SourceBackupAsBackupName { get; set; }

BackupName-typed view over the SourceBackup resource name property.

Property Value
TypeDescription
BackupName

SourceCase

public FileShareConfig.SourceOneofCase SourceCase { get; }
Property Value
TypeDescription
FileShareConfigSourceOneofCase