Google Cloud Dataproc Metastore V1 Client - Class MetadataExport (0.8.1)

Reference documentation and code samples for the Google Cloud Dataproc Metastore V1 Client class MetadataExport.

The details of a metadata export operation.

Generated from protobuf message google.cloud.metastore.v1.MetadataExport

Namespace

Google \ Cloud \ Metastore \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ destination_gcs_uri string

Output only. A Cloud Storage URI of a folder that metadata are exported to, in the form of gs://<bucket_name>/<path_inside_bucket>/<export_folder>, where <export_folder> is automatically generated.

↳ start_time Google\Protobuf\Timestamp

Output only. The time when the export started.

↳ end_time Google\Protobuf\Timestamp

Output only. The time when the export ended.

↳ state int

Output only. The current state of the export.

↳ database_dump_type int

Output only. The type of the database dump.

getDestinationGcsUri

Output only. A Cloud Storage URI of a folder that metadata are exported to, in the form of gs://<bucket_name>/<path_inside_bucket>/<export_folder>, where <export_folder> is automatically generated.

Returns
TypeDescription
string

hasDestinationGcsUri

setDestinationGcsUri

Output only. A Cloud Storage URI of a folder that metadata are exported to, in the form of gs://<bucket_name>/<path_inside_bucket>/<export_folder>, where <export_folder> is automatically generated.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStartTime

Output only. The time when the export started.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Output only. The time when the export started.

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

getEndTime

Output only. The time when the export ended.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. The time when the export ended.

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

getState

Output only. The current state of the export.

Returns
TypeDescription
int

setState

Output only. The current state of the export.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDatabaseDumpType

Output only. The type of the database dump.

Returns
TypeDescription
int

setDatabaseDumpType

Output only. The type of the database dump.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDestination

Returns
TypeDescription
string