ShareArgs class

The set of arguments for Share. The set of arguments for Share.

Constructors

ShareArgs({Input<String>? backup, Input<String>? capacityGb, Input<String>? description, required Input<String> instanceId, Input<Map<String, String>>? labels, Input<String>? location, Input<String>? mountName, Input<List<NfsExportOptionsFileV1beta1>>? nfsExportOptions, Input<String>? project, required Input<String> shareId})
Creates a new ShareArgs. 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. description A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected. instanceId Required. labels Resource labels to represent user provided metadata. location Optional. mountName The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores. nfsExportOptions Nfs Export Options. There is a limit of 10 export options per file share. project Optional. shareId 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.
const
ShareArgs.fromMap(Map<String, dynamic> map)
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
shareId → Input<String>
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