GetRestorePlanResult class
Result data returned by getRestorePlan.
Constructors
-
GetRestorePlanResult({required String backupPlan, required String cluster, required String createTime, required String description, required String etag, required Map<
String, String> labels, required String name, required RestoreConfigResponse restoreConfig, required String state, required String stateReason, required String uid, required String updateTime}) -
Creates a new GetRestorePlanResult.
backupPlanImmutable. A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. Format:projects/*/locations/*/backupPlans/*.clusterImmutable. The target cluster into which Restores created via this RestorePlan will restore data. NOTE: the cluster's region must be the same as the RestorePlan. Valid formats: -projects/*/locations/*/clusters/*-projects/*/zones/*/clusters/*createTimeThe timestamp when this RestorePlan resource was created.descriptionOptional. User specified descriptive string for this RestorePlan.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 toGetRestorePlan, and systems are expected to put that etag in the request toUpdateRestorePlanorDeleteRestorePlanto ensure that their change will be applied to the same version of the resource.labelsOptional. A set of custom labels supplied by user.nameThe full name of the RestorePlan resource. Format:projects/*/locations/*/restorePlans/*.restoreConfigConfiguration of Restores created via this RestorePlan.stateState of the RestorePlan. This State field reflects the various stages a RestorePlan can be in during the Create operation.stateReasonHuman-readable description of why RestorePlan is in the currentstateuidServer generated global unique identifier of UUID format.updateTimeThe timestamp when this RestorePlan resource was last updated.const -
GetRestorePlanResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- backupPlan → String
-
Immutable. A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. Format:
projects/*/locations/*/backupPlans/*.final - cluster → String
-
Immutable. The target cluster into which Restores created via this RestorePlan will restore data. NOTE: the cluster's region must be the same as the RestorePlan. Valid formats: -
projects/*/locations/*/clusters/*-projects/*/zones/*/clusters/*final - createTime → String
-
The timestamp when this RestorePlan resource was created.
final
- description → String
-
Optional. User specified descriptive string for this RestorePlan.
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 toGetRestorePlan, and systems are expected to put that etag in the request toUpdateRestorePlanorDeleteRestorePlanto 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> -
Optional. A set of custom labels supplied by user.
final
- name → String
-
The full name of the RestorePlan resource. Format:
projects/*/locations/*/restorePlans/*.final - restoreConfig → RestoreConfigResponse
-
Configuration of Restores created via this RestorePlan.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String
-
State of the RestorePlan. This State field reflects the various stages a RestorePlan can be in during the Create operation.
final
- stateReason → String
-
Human-readable description of why RestorePlan is in the current
statefinal - uid → String
-
Server generated global unique identifier of UUID format.
final
- updateTime → String
-
The timestamp when this RestorePlan resource was last updated.
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