GetRestoreResult constructor
- required String backup,
- required String cluster,
- required String completeTime,
- required String createTime,
- required String description,
- required String etag,
- required Map<
String, String> labels, - required String name,
- required int resourcesExcludedCount,
- required int resourcesFailedCount,
- required int resourcesRestoredCount,
- required RestoreConfigResponse restoreConfig,
- required String state,
- required String stateReason,
- required String uid,
- required String updateTime,
- required int volumesRestoredCount,
Creates a new GetRestoreResult.
backup Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format: projects/*/locations/*/backupPlans/*/backups/*.
cluster The target cluster into which this Restore will restore data. Valid formats: - projects/*/locations/*/clusters/* - projects/*/zones/*/clusters/* Inherited from parent RestorePlan's cluster value.
completeTime Timestamp of when the restore operation completed.
createTime The timestamp when this Restore resource was created.
description User specified descriptive string for this Restore.
etag etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An etag is returned in the response to GetRestore, and systems are expected to put that etag in the request to UpdateRestore or DeleteRestore to ensure that their change will be applied to the same version of the resource.
labels A set of custom labels supplied by user.
name The full name of the Restore resource. Format: projects/*/locations/*/restorePlans/*/restores/*
resourcesExcludedCount Number of resources excluded during the restore execution.
resourcesFailedCount Number of resources that failed to be restored during the restore execution.
resourcesRestoredCount Number of resources restored during the restore execution.
restoreConfig Configuration of the Restore. Inherited from parent RestorePlan's restore_config.
state The current state of the Restore.
stateReason Human-readable description of why the Restore is in its current state.
uid Server generated global unique identifier of UUID format.
updateTime The timestamp when this Restore resource was last updated.
volumesRestoredCount Number of volumes restored during the restore execution.
Implementation
const GetRestoreResult({
required this.backup,
required this.cluster,
required this.completeTime,
required this.createTime,
required this.description,
required this.etag,
required this.labels,
required this.name,
required this.resourcesExcludedCount,
required this.resourcesFailedCount,
required this.resourcesRestoredCount,
required this.restoreConfig,
required this.state,
required this.stateReason,
required this.uid,
required this.updateTime,
required this.volumesRestoredCount,
});