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. 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.
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
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.
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