Class MetadataImport (1.15.2)

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

Attributes

NameDescription
database_dump google.cloud.metastore_v1.types.MetadataImport.DatabaseDump
Immutable. A database dump from a pre-existing metastore's database. This field is a member of oneof_ metadata.
name str
Immutable. The relative resource name of the metadata import, of the form: projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.
description str
The description of the metadata import.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the metadata import was started.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the metadata import was last updated.
end_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the metadata import finished.
state google.cloud.metastore_v1.types.MetadataImport.State
Output only. The current state of the metadata import.

Classes

DatabaseDump

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

A specification of the location of and metadata about a database dump from a relational database management system.

State

State(value)

The current state of the metadata import.

Values: STATE_UNSPECIFIED (0): The state of the metadata import is unknown. RUNNING (1): The metadata import is running. SUCCEEDED (2): The metadata import completed successfully. UPDATING (3): The metadata import is being updated. FAILED (4): The metadata import failed, and attempted metadata changes were rolled back.