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. backupPlan 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/*. cluster 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/* createTime The timestamp when this RestorePlan resource was created. description Optional. User specified descriptive string for this RestorePlan. 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 GetRestorePlan, and systems are expected to put that etag in the request to UpdateRestorePlan or DeleteRestorePlan to ensure that their change will be applied to the same version of the resource. labels Optional. A set of custom labels supplied by user. name The full name of the RestorePlan resource. Format: projects/*/locations/*/restorePlans/*. restoreConfig Configuration of Restores created via this RestorePlan. state State of the RestorePlan. This State field reflects the various stages a RestorePlan can be in during the Create operation. stateReason Human-readable description of why RestorePlan is in the current state uid Server generated global unique identifier of UUID format. updateTime The 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
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 GetRestorePlan, and systems are expected to put that etag in the request to UpdateRestorePlan or DeleteRestorePlan 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>
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 state
final
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