ShareArgs class
The set of arguments for Share. The set of arguments for Share.
Constructors
-
Creates a new ShareArgs.
backupImmutable. Full name of the Cloud Filestore Backup resource that this Share is restored from, in the format of projects/{project_id}/locations/{location_id}/backups/{backup_id}. Empty, if the Share is created from scratch and not restored from a backup.capacityGbFile share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.descriptionA description of the share with 2048 characters or less. Requests with longer descriptions will be rejected.instanceIdRequired.labelsResource labels to represent user provided metadata.locationOptional.mountNameThe mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.nfsExportOptionsNfs Export Options. There is a limit of 10 export options per file share.projectOptional.shareIdRequired. The ID to use for the share. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.const -
factory
Properties
-
backup
→ Input<
String> ? -
Immutable. Full name of the Cloud Filestore Backup resource that this Share is restored from, in the format of projects/{project_id}/locations/{location_id}/backups/{backup_id}. Empty, if the Share is created from scratch and not restored from a backup.
final
-
capacityGb
→ Input<
String> ? -
File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.
final
-
description
→ Input<
String> ? -
A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceId
→ Input<
String> -
final
-
labels
→ Input<
Map< ?String, String> > -
Resource labels to represent user provided metadata.
final
-
location
→ Input<
String> ? -
final
-
mountName
→ Input<
String> ? -
The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.
final
-
nfsExportOptions
→ Input<
List< ?NfsExportOptionsFileV1beta1> > -
Nfs Export Options. There is a limit of 10 export options per file share.
final
-
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Required. The ID to use for the share. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited