Google Cloud Dataproc Metastore V1alpha Client - Class MetadataImport (0.11.0)

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1alpha Client class MetadataImport.

A metastore resource that imports metadata.

Generated from protobuf message google.cloud.metastore.v1alpha.MetadataImport

Namespace

Google \ Cloud \ Metastore \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ database_dump Google\Cloud\Metastore\V1alpha\MetadataImport\DatabaseDump

Immutable. A database dump from a pre-existing metastore's database.

↳ name 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}.

↳ description string

The description of the metadata import.

↳ create_time Google\Protobuf\Timestamp

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

↳ update_time Google\Protobuf\Timestamp

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

↳ end_time Google\Protobuf\Timestamp

Output only. The time when the metadata import finished.

↳ state int

Output only. The current state of the metadata import.

getDatabaseDump

Immutable. A database dump from a pre-existing metastore's database.

Returns
TypeDescription
Google\Cloud\Metastore\V1alpha\MetadataImport\DatabaseDump|null

hasDatabaseDump

setDatabaseDump

Immutable. A database dump from a pre-existing metastore's database.

Parameter
NameDescription
var Google\Cloud\Metastore\V1alpha\MetadataImport\DatabaseDump
Returns
TypeDescription
$this

getName

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
TypeDescription
string

setName

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}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

The description of the metadata import.

Returns
TypeDescription
string

setDescription

The description of the metadata import.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getEndTime

Output only. The time when the metadata import finished.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. The time when the metadata import finished.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getState

Output only. The current state of the metadata import.

Returns
TypeDescription
int

setState

Output only. The current state of the metadata import.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMetadata

Returns
TypeDescription
string