Cloud Filestore v1 API - Class FileShareConfig (2.1.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). Cloud Filestore defines 1 GB as 1024^3 bytes.

Property Value
TypeDescription
Int64

Name

public string Name { get; set; }

The name of the file share (must be 16 characters or less).

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
RepeatedField<NfsExportOptions>

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
FileShareConfig.SourceOneofCase