GetBackupResult constructor
- required String capacityGb,
- required String createTime,
- required String description,
- required String downloadBytes,
- required String kmsKey,
- required Map<
String, String> labels, - required String name,
- required bool satisfiesPzs,
- required String sourceInstance,
- required String sourceInstanceTier,
- required String state,
- required String storageBytes,
Creates a new GetBackupResult.
capacityGb Capacity of the source file share when the backup was created.
createTime The time when the backup was created.
description A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.
downloadBytes Amount of bytes that will be downloaded if the backup is restored. This may be different than storage bytes, since sequential backups of the same disk will share storage.
kmsKey Immutable. KMS key name used for data encryption.
labels Resource labels to represent user provided metadata.
name The resource name of the backup, in the format projects/{project_number}/locations/{location_id}/backups/{backup_id}.
satisfiesPzs Reserved for future use.
sourceFileShare Name of the file share in the source Filestore instance that the backup is created from.
sourceInstance The resource name of the source Filestore instance, in the format projects/{project_number}/locations/{location_id}/instances/{instance_id}, used to create this backup.
sourceInstanceTier The service tier of the source Filestore instance that this backup is created from.
state The backup state.
storageBytes The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion.
Implementation
const GetBackupResult({
required this.capacityGb,
required this.createTime,
required this.description,
required this.downloadBytes,
required this.kmsKey,
required this.labels,
required this.name,
required this.satisfiesPzs,
required this.sourceFileShare,
required this.sourceInstance,
required this.sourceInstanceTier,
required this.state,
required this.storageBytes,
});