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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 |
↳ 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.
Generated from protobuf field string destination_gcs_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
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.
Generated from protobuf field string destination_gcs_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getStartTime
Output only. The time when the export started.
Generated from protobuf field .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasStartTime
clearStartTime
setStartTime
Output only. The time when the export started.
Generated from protobuf field .google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getEndTime
Output only. The time when the export ended.
Generated from protobuf field .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasEndTime
clearEndTime
setEndTime
Output only. The time when the export ended.
Generated from protobuf field .google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getState
Output only. The current state of the export.
Generated from protobuf field .google.cloud.metastore.v1.MetadataExport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
setState
Output only. The current state of the export.
Generated from protobuf field .google.cloud.metastore.v1.MetadataExport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getDatabaseDumpType
Output only. The type of the database dump.
Generated from protobuf field .google.cloud.metastore.v1.DatabaseDumpSpec.Type database_dump_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
setDatabaseDumpType
Output only. The type of the database dump.
Generated from protobuf field .google.cloud.metastore.v1.DatabaseDumpSpec.Type database_dump_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getDestination
Returns | |
---|---|
Type | Description |
string |