Class Restore
Represents both a request to Restore some portion of a Backup into a target GKE cluster and a record of the restore operation itself.
Implements
Inherited Members
Namespace: Google.Apis.BackupforGKE.v1.Data
Assembly: Google.Apis.BackupforGKE.v1.dll
Syntax
public class Restore : IDirectResponseSchema
Properties
Backup
Required. 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/*
.
Declaration
[JsonProperty("backup")]
public virtual string Backup { get; set; }
Property Value
Type | Description |
---|---|
string |
Cluster
Output only. 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.
Declaration
[JsonProperty("cluster")]
public virtual string Cluster { get; set; }
Property Value
Type | Description |
---|---|
string |
CompleteTime
object representation of CompleteTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CompleteTimeDateTimeOffset instead.")]
public virtual object CompleteTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CompleteTimeDateTimeOffset
DateTimeOffset representation of CompleteTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CompleteTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CompleteTimeRaw
Output only. Timestamp of when the restore operation completed.
Declaration
[JsonProperty("completeTime")]
public virtual string CompleteTimeRaw { 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 Restore resource was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
User specified descriptive string for this Restore.
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 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.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Filter
Optional. Immutable. Filters resources for Restore
. If not specified, the scope of the restore will remain
the same as defined in the RestorePlan
. If this is specified and no resources are matched by the
inclusion_filters
or everyting is excluded by the exclusion_filters
, nothing will be restored. This
filter can only be specified if the value of namespaced_resource_restore_mode is set to
MERGE_SKIP_ON_CONFLICT
, MERGE_REPLACE_VOLUME_ON_CONFLICT
or MERGE_REPLACE_ON_CONFLICT
.
Declaration
[JsonProperty("filter")]
public virtual Filter Filter { get; set; }
Property Value
Type | Description |
---|---|
Filter |
Labels
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 Restore resource. Format:
projects/*/locations/*/restorePlans/*/restores/*
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ResourcesExcludedCount
Output only. Number of resources excluded during the restore execution.
Declaration
[JsonProperty("resourcesExcludedCount")]
public virtual int? ResourcesExcludedCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
ResourcesFailedCount
Output only. Number of resources that failed to be restored during the restore execution.
Declaration
[JsonProperty("resourcesFailedCount")]
public virtual int? ResourcesFailedCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
ResourcesRestoredCount
Output only. Number of resources restored during the restore execution.
Declaration
[JsonProperty("resourcesRestoredCount")]
public virtual int? ResourcesRestoredCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
RestoreConfig
Output only. Configuration of the Restore. Inherited from parent RestorePlan's restore_config.
Declaration
[JsonProperty("restoreConfig")]
public virtual RestoreConfig RestoreConfig { get; set; }
Property Value
Type | Description |
---|---|
RestoreConfig |
State
Output only. The current state of the Restore.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
StateReason
Output only. Human-readable description of why the Restore is in its 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 Restore resource was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
VolumeDataRestorePolicyOverrides
Optional. Immutable. Overrides the volume data restore policies selected in the Restore Config for override-scoped resources.
Declaration
[JsonProperty("volumeDataRestorePolicyOverrides")]
public virtual IList<VolumeDataRestorePolicyOverride> VolumeDataRestorePolicyOverrides { get; set; }
Property Value
Type | Description |
---|---|
IList<VolumeDataRestorePolicyOverride> |
VolumesRestoredCount
Output only. Number of volumes restored during the restore execution.
Declaration
[JsonProperty("volumesRestoredCount")]
public virtual int? VolumesRestoredCount { get; set; }
Property Value
Type | Description |
---|---|
int? |