Class Restore (1.9.1)

Stay organized with collections Save and categorize content based on your preferences.
Restore(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The details of a metadata restore operation.

Attributes

NameDescription
start_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the restore started.
end_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the restore ended.
state google.cloud.metastore_v1alpha.types.Restore.State
Output only. The current state of the restore.
backup str
Output only. The relative resource name of the metastore service backup to restore from, in the following form: projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}.
type_ google.cloud.metastore_v1alpha.types.Restore.RestoreType
Output only. The type of restore.
details str
Output only. The restore details containing the revision of the service to be restored to, in format of JSON.

Classes

RestoreType

RestoreType(value)

The type of restore. If unspecified, defaults to METADATA_ONLY.

Values: RESTORE_TYPE_UNSPECIFIED (0): The restore type is unknown. FULL (1): The service's metadata and configuration are restored. METADATA_ONLY (2): Only the service's metadata is restored.

State

State(value)

The current state of the restore.

Values: STATE_UNSPECIFIED (0): The state of the metadata restore is unknown. RUNNING (1): The metadata restore is running. SUCCEEDED (2): The metadata restore completed successfully. FAILED (3): The metadata restore failed. CANCELLED (4): The metadata restore is cancelled.