Class Backup (1.9.1)

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

The details of a backup resource.

Attributes

NameDescription
name str
Immutable. The relative resource name of the backup, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the backup was started.
end_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the backup finished creating.
state google.cloud.metastore_v1.types.Backup.State
Output only. The current state of the backup.
service_revision google.cloud.metastore_v1.types.Service
Output only. The revision of the service at the time of backup.
description str
The description of the backup.
restoring_services MutableSequence[str]
Output only. Services that are restoring from the backup.

Classes

State

State(value)

The current state of the backup.

Values: STATE_UNSPECIFIED (0): The state of the backup is unknown. CREATING (1): The backup is being created. DELETING (2): The backup is being deleted. ACTIVE (3): The backup is active and ready to use. FAILED (4): The backup failed. RESTORING (5): The backup is being restored.