Cloud Filestore v1 API - Class FileShareConfig (2.6.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
Name Description
other FileShareConfig

Properties

CapacityGb

public long CapacityGb { get; set; }

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

Property Value
Type Description
long

HasSourceBackup

public bool HasSourceBackup { get; }

Gets whether the "source_backup" field is set

Property Value
Type Description
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
Type Description
string

NfsExportOptions

public RepeatedField<NfsExportOptions> NfsExportOptions { get; }

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

Property Value
Type Description
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
Type Description
string

SourceBackupAsBackupName

public BackupName SourceBackupAsBackupName { get; set; }

BackupName-typed view over the SourceBackup resource name property.

Property Value
Type Description
BackupName

SourceCase

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