Class RestorePlan
The configuration of a potential series of Restore operations to be performed against Backups belong to a particular BackupPlan.
Implements
Inherited Members
Namespace: Google.Apis.BackupforGKE.v1.Data
Assembly: Google.Apis.BackupforGKE.v1.dll
Syntax
public class RestorePlan : IDirectResponseSchema
Properties
BackupPlan
Required. 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/*
.
Declaration
[JsonProperty("backupPlan")]
public virtual string BackupPlan { get; set; }
Property Value
Type | Description |
---|---|
string |
Cluster
Required. 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/*
Declaration
[JsonProperty("cluster")]
public virtual string Cluster { get; set; }
Property Value
Type | Description |
---|---|
string |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The timestamp when this RestorePlan resource was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
Optional. User specified descriptive string for this RestorePlan.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
Output only. 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.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
Optional. A set of custom labels supplied by user.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Name
Output only. The full name of the RestorePlan resource. Format: projects/*/locations/*/restorePlans/*
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
RestoreConfig
Required. Configuration of Restores created via this RestorePlan.
Declaration
[JsonProperty("restoreConfig")]
public virtual RestoreConfig RestoreConfig { get; set; }
Property Value
Type | Description |
---|---|
RestoreConfig |
State
Output only. State of the RestorePlan. This State field reflects the various stages a RestorePlan can be in during the Create operation.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
StateReason
Output only. Human-readable description of why RestorePlan is in the current state
Declaration
[JsonProperty("stateReason")]
public virtual string StateReason { get; set; }
Property Value
Type | Description |
---|---|
string |
Uid
Output only. Server generated global unique identifier of UUID format.
Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. The timestamp when this RestorePlan resource was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |