# Dataproc Metastore V1 API - Class Google::Cloud::Metastore::V1::MetadataImport (v2.5.0)

2.5.0 (latest) 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the Dataproc Metastore V1 API class Google::Cloud::Metastore::V1::MetadataImport.

A metastore resource that imports metadata.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the metadata import was started.

### #database_dump

    def database_dump() -> ::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump

**Returns**

- ([::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-MetadataImport-DatabaseDump)) --- Immutable. A database dump from a pre-existing metastore's database.

### #database_dump=

    def database_dump=(value) -> ::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump

**Parameter**

- **value** ([::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-MetadataImport-DatabaseDump)) --- Immutable. A database dump from a pre-existing metastore's database.
**Returns**

- ([::Google::Cloud::Metastore::V1::MetadataImport::DatabaseDump](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-MetadataImport-DatabaseDump)) --- Immutable. A database dump from a pre-existing metastore's database.

### #description

    def description() -> ::String

**Returns**

- (::String) --- The description of the metadata import.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- The description of the metadata import.
**Returns**

- (::String) --- The description of the metadata import.

### #end_time

    def end_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the metadata import finished.

### #name

    def name() -> ::String

**Returns**

- (::String) --- 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}`.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- 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}`.
**Returns**

- (::String) --- 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}`.

### #state

    def state() -> ::Google::Cloud::Metastore::V1::MetadataImport::State

**Returns**

- ([::Google::Cloud::Metastore::V1::MetadataImport::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-MetadataImport-State)) --- Output only. The current state of the metadata import.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The time when the metadata import was last updated.