Resource: MetadataImport
A metastore resource that imports metadata.
JSON representation |
---|
{ "name": string, "description": string, "createTime": string, "updateTime": string, "endTime": string, "state": enum ( |
Fields | |
---|---|
name |
Immutable. The relative resource name of the metadata import, of the form:
|
description |
The description of the metadata import. |
createTime |
Output only. The time when the metadata import was started. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The time when the metadata import was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
endTime |
Output only. The time when the metadata import finished. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
state |
Output only. The current state of the metadata import. |
Union field metadata . The metadata to be imported. metadata can be only one of the following: |
|
databaseDump |
Immutable. A database dump from a pre-existing metastore's database. |
DatabaseDump
A specification of the location of and metadata about a database dump from a relational database management system.
JSON representation |
---|
{ "databaseType": enum ( |
Fields | |
---|---|
databaseType |
The type of the database. |
gcsUri |
A Cloud Storage object or folder URI that specifies the source from which to import metadata. It must begin with |
sourceDatabase |
The name of the source database. |
type |
Optional. The type of the database dump. If unspecified, defaults to |
DatabaseType
The type of the database.
Enums | |
---|---|
DATABASE_TYPE_UNSPECIFIED |
The type of the source database is unknown. |
MYSQL |
The type of the source database is MySQL. |
State
The current state of the metadata import.
Enums | |
---|---|
STATE_UNSPECIFIED |
The state of the metadata import is unknown. |
RUNNING |
The metadata import is running. |
SUCCEEDED |
The metadata import completed successfully. |
UPDATING |
The metadata import is being updated. |
FAILED |
The metadata import failed, and attempted metadata changes were rolled back. |
Methods |
|
---|---|
|
Creates a new MetadataImport in a given project and location. |
|
Gets details of a single import. |
|
Lists imports in a service. |
|
Updates a single import. |