v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132769111.5 KB
projects

Creates a new MetadataImport in a given project and location.

post/v1/{+parent}/metadataImports

Path parameters

parentstring required

Required. The relative resource name of the service in which to create a metastore import, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}.

Query parameters

metadataImportIdstring

Required. The ID of the metadata import, which is used as the final component of the metadata import's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.

requestIdstring

Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.

Request body

descriptionstring

Optional. The description of the metadata import.

createTimestring google-datetime

Output only. The time when the metadata import was started.

namestring

Immutable. Identifier. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}.

endTimestring google-datetime

Output only. The time when the metadata import finished.

updateTimestring google-datetime

Output only. The time when the metadata import was last updated.

state'STATE_UNSPECIFIED' | 'RUNNING' | 'SUCCEEDED' | 'UPDATING' | 'FAILED'

Output only. The current state of the metadata import.

Response

Successful response