Backup for GKE v1 API - Class RestorePlan (2.1.0)

public sealed class RestorePlan : IMessage<RestorePlan>, IEquatable<RestorePlan>, IDeepCloneable<RestorePlan>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup for GKE v1 API class RestorePlan.

The configuration of a potential series of Restore operations to be performed against Backups belong to a particular BackupPlan. Next id: 11

Inheritance

Object > RestorePlan

Namespace

Google.Cloud.GkeBackup.V1

Assembly

Google.Cloud.GkeBackup.V1.dll

Constructors

RestorePlan()

public RestorePlan()

RestorePlan(RestorePlan)

public RestorePlan(RestorePlan other)
Parameter
NameDescription
otherRestorePlan

Properties

BackupPlan

public string BackupPlan { get; set; }

Required. Immutable. A reference to the [BackupPlan][google.cloud.gkebackup.v1.BackupPlan] from which Backups may be used as the source for Restores created via this RestorePlan. Format: projects//locations//backupPlans/*.

Property Value
TypeDescription
String

BackupPlanAsBackupPlanName

public BackupPlanName BackupPlanAsBackupPlanName { get; set; }

BackupPlanName-typed view over the BackupPlan resource name property.

Property Value
TypeDescription
BackupPlanName

Cluster

public string Cluster { get; set; }

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/*
Property Value
TypeDescription
String

ClusterAsClusterName

public ClusterName ClusterAsClusterName { get; set; }

ClusterName-typed view over the Cluster resource name property.

Property Value
TypeDescription
ClusterName

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The timestamp when this RestorePlan resource was created.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

User specified descriptive string for this RestorePlan.

Property Value
TypeDescription
String

Etag

public string Etag { get; set; }

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.

Property Value
TypeDescription
String

Labels

public MapField<string, string> Labels { get; }

A set of custom labels supplied by user.

Property Value
TypeDescription
MapField<String, String>

Name

public string Name { get; set; }

Output only. The full name of the RestorePlan resource. Format: projects//locations//restorePlans/*.

Property Value
TypeDescription
String

RestoreConfig

public RestoreConfig RestoreConfig { get; set; }

Required. Configuration of Restores created via this RestorePlan.

Property Value
TypeDescription
RestoreConfig

RestorePlanName

public RestorePlanName RestorePlanName { get; set; }

RestorePlanName-typed view over the Name resource name property.

Property Value
TypeDescription
RestorePlanName

Uid

public string Uid { get; set; }

Output only. Server generated global unique identifier of UUID format.

Property Value
TypeDescription
String

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The timestamp when this RestorePlan resource was last updated.

Property Value
TypeDescription
Timestamp