Reference documentation and code samples for the Google Cloud Dataproc Metastore V1beta Client class MetadataImport.
A metastore resource that imports metadata.
Generated from protobuf message google.cloud.metastore.v1beta.MetadataImport
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ database_dump
Google\Cloud\Metastore\V1beta\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.
Generated from protobuf field .google.cloud.metastore.v1beta.MetadataImport.DatabaseDump database_dump = 6 [(.google.api.field_behavior) = IMMUTABLE];
hasDatabaseDump
setDatabaseDump
Immutable. A database dump from a pre-existing metastore's database.
Generated from protobuf field .google.cloud.metastore.v1beta.MetadataImport.DatabaseDump database_dump = 6 [(.google.api.field_behavior) = IMMUTABLE];
$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}
.
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
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}
.
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
var
string
$this
getDescription
The description of the metadata import.
Generated from protobuf field string description = 2;
string
setDescription
The description of the metadata import.
Generated from protobuf field string description = 2;
var
string
$this
getCreateTime
Output only. The time when the metadata import was started.
Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Google\Protobuf\Timestamp|null
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the metadata import was started.
Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
Google\Protobuf\Timestamp
$this
getUpdateTime
Output only. The time when the metadata import was last updated.
Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Google\Protobuf\Timestamp|null
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when the metadata import was last updated.
Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
Google\Protobuf\Timestamp
$this
getEndTime
Output only. The time when the metadata import finished.
Generated from protobuf field .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Google\Protobuf\Timestamp|null
hasEndTime
clearEndTime
setEndTime
Output only. The time when the metadata import finished.
Generated from protobuf field .google.protobuf.Timestamp end_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
Google\Protobuf\Timestamp
$this
getState
Output only. The current state of the metadata import.
Generated from protobuf field .google.cloud.metastore.v1beta.MetadataImport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
int
setState
Output only. The current state of the metadata import.
Generated from protobuf field .google.cloud.metastore.v1beta.MetadataImport.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
int
$this
getMetadata
string