GetShareResult class

Result data returned by getShare.

Constructors

GetShareResult({required String backup, required String capacityGb, required String createTime, required String description, required Map<String, String> labels, required String mountName, required String name, required List<NfsExportOptionsResponseFileV1beta1> nfsExportOptions, required String state})
Creates a new GetShareResult. backup 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. capacityGb File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0. createTime The time when the share was created. description A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected. labels Resource labels to represent user provided metadata. mountName The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores. name The resource name of the share, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/shares/{share_id}. nfsExportOptions Nfs Export Options. There is a limit of 10 export options per file share. state The share state.
const
GetShareResult.fromMap(Map<String, dynamic> map)
factory

Properties

backup → 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 → String
File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.
final
createTime → String
The time when the share was created.
final
description → 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
labels → Map<String, String>
Resource labels to represent user provided metadata.
final
mountName → String
The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.
final
name → String
The resource name of the share, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/shares/{share_id}.
final
nfsExportOptions → List<NfsExportOptionsResponseFileV1beta1>
Nfs Export Options. There is a limit of 10 export options per file share.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → String
The share state.
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