Class Restore (0.1.0)

Restore(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents both a request to Restore some portion of a Backup into a target GKE cluster and a record of the restore operation itself. Next id: 18

Attributes

NameDescription
name str
Output only. The full name of the Restore resource. Format: ``projects/*/locations/*/restorePlans/*/restores/*``
uid str
Output only. Server generated global unique identifier of `UUID
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when this Restore resource was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when this Restore resource was last updated.
description str
User specified descriptive string for this Restore.
backup str
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/*``.
cluster str
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.
restore_config google.cloud.gke_backup_v1.types.RestoreConfig
Output only. Configuration of the Restore. Inherited from parent RestorePlan's restore_config.
labels Mapping[str, str]
A set of custom labels supplied by user.
state google.cloud.gke_backup_v1.types.Restore.State
Output only. The current state of the Restore.
state_reason str
Output only. Human-readable description of why the Restore is in its current state.
complete_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp of when the restore operation completed.
resources_restored_count int
Output only. Number of resources restored during the restore execution.
resources_excluded_count int
Output only. Number of resources excluded during the restore execution.
resources_failed_count int
Output only. Number of resources that failed to be restored during the restore execution.
volumes_restored_count int
Output only. Number of volumes restored during the restore execution.
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 ``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.

Inheritance

builtins.object > proto.message.Message > Restore

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
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 mapping is a mapping type or there are keyword parameters.

State

State(value)

Possible values for state of the Restore.