RestorePlan(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The configuration of a potential series of Restore operations to be performed against Backups belong to a particular BackupPlan. Next id: 11
Attributes
Name | Description |
name |
str
Output only. The full name of the RestorePlan resource. Format: ``projects/*/locations/*/restorePlans/*``. |
uid |
str
Output only. Server generated global unique identifier of `UUID |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when this RestorePlan resource was created. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when this RestorePlan resource was last updated. |
description |
str
User specified descriptive string for this RestorePlan. |
backup_plan |
str
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/*``. |
cluster |
str
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/*`` |
restore_config |
google.cloud.gke_backup_v1.types.RestoreConfig
Required. Configuration of Restores created via this RestorePlan. |
labels |
Mapping[str, str]
A set of custom labels supplied by user. |
etag |
str
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. |
Inheritance
builtins.object > proto.message.Message > RestorePlanClasses
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict, `.Message`]
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |