GetRestoreResult class
Result data returned by getRestore.
Constructors
-
GetRestoreResult({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.
backupImmutable. 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/*.clusterThe target cluster into which this Restore will restore data. Valid formats: -projects/*/locations/*/clusters/*-projects/*/zones/*/clusters/*Inherited from parent RestorePlan's cluster value.completeTimeTimestamp of when the restore operation completed.createTimeThe timestamp when this Restore resource was created.descriptionUser specified descriptive string for this Restore.etagetagis 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 theetagin the read-modify-write cycle to perform restore updates in order to avoid race conditions: Anetagis returned in the response toGetRestore, and systems are expected to put that etag in the request toUpdateRestoreorDeleteRestoreto ensure that their change will be applied to the same version of the resource.labelsA set of custom labels supplied by user.nameThe full name of the Restore resource. Format:projects/*/locations/*/restorePlans/*/restores/*resourcesExcludedCountNumber of resources excluded during the restore execution.resourcesFailedCountNumber of resources that failed to be restored during the restore execution.resourcesRestoredCountNumber of resources restored during the restore execution.restoreConfigConfiguration of the Restore. Inherited from parent RestorePlan's restore_config.stateThe current state of the Restore.stateReasonHuman-readable description of why the Restore is in its current state.uidServer generated global unique identifier of UUID format.updateTimeThe timestamp when this Restore resource was last updated.volumesRestoredCountNumber of volumes restored during the restore execution.const -
GetRestoreResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- backup → String
-
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/*.final - cluster → String
-
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.final - completeTime → String
-
Timestamp of when the restore operation completed.
final
- createTime → String
-
The timestamp when this Restore resource was created.
final
- description → String
-
User specified descriptive string for this Restore.
final
- etag → String
-
etagis 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 theetagin the read-modify-write cycle to perform restore updates in order to avoid race conditions: Anetagis returned in the response toGetRestore, and systems are expected to put that etag in the request toUpdateRestoreorDeleteRestoreto ensure that their change will be applied to the same version of the resource.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Map<
String, String> -
A set of custom labels supplied by user.
final
- name → String
-
The full name of the Restore resource. Format:
projects/*/locations/*/restorePlans/*/restores/*final - resourcesExcludedCount → int
-
Number of resources excluded during the restore execution.
final
- resourcesFailedCount → int
-
Number of resources that failed to be restored during the restore execution.
final
- resourcesRestoredCount → int
-
Number of resources restored during the restore execution.
final
- restoreConfig → RestoreConfigResponse
-
Configuration of the Restore. Inherited from parent RestorePlan's restore_config.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String
-
The current state of the Restore.
final
- stateReason → String
-
Human-readable description of why the Restore is in its current state.
final
- uid → String
-
Server generated global unique identifier of UUID format.
final
- updateTime → String
-
The timestamp when this Restore resource was last updated.
final
- volumesRestoredCount → int
-
Number of volumes restored during the restore execution.
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