Google Cloud Datastore Admin V1 Client - Class ImportEntitiesMetadata (0.6.0)

Reference documentation and code samples for the Google Cloud Datastore Admin V1 Client class ImportEntitiesMetadata.

Metadata for ImportEntities operations.

Generated from protobuf message google.datastore.admin.v1.ImportEntitiesMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ common Google\Cloud\Datastore\Admin\V1\CommonMetadata

Metadata common to all Datastore Admin operations.

↳ progress_entities Google\Cloud\Datastore\Admin\V1\Progress

An estimate of the number of entities processed.

↳ progress_bytes Google\Cloud\Datastore\Admin\V1\Progress

An estimate of the number of bytes processed.

↳ entity_filter Google\Cloud\Datastore\Admin\V1\EntityFilter

Description of which entities are being imported.

↳ input_url string

The location of the import metadata file. This will be the same value as the google.datastore.admin.v1.ExportEntitiesResponse.output_url field.

getCommon

Metadata common to all Datastore Admin operations.

Returns
TypeDescription
Google\Cloud\Datastore\Admin\V1\CommonMetadata|null

hasCommon

clearCommon

setCommon

Metadata common to all Datastore Admin operations.

Parameter
NameDescription
var Google\Cloud\Datastore\Admin\V1\CommonMetadata
Returns
TypeDescription
$this

getProgressEntities

An estimate of the number of entities processed.

Returns
TypeDescription
Google\Cloud\Datastore\Admin\V1\Progress|null

hasProgressEntities

clearProgressEntities

setProgressEntities

An estimate of the number of entities processed.

Parameter
NameDescription
var Google\Cloud\Datastore\Admin\V1\Progress
Returns
TypeDescription
$this

getProgressBytes

An estimate of the number of bytes processed.

Returns
TypeDescription
Google\Cloud\Datastore\Admin\V1\Progress|null

hasProgressBytes

clearProgressBytes

setProgressBytes

An estimate of the number of bytes processed.

Parameter
NameDescription
var Google\Cloud\Datastore\Admin\V1\Progress
Returns
TypeDescription
$this

getEntityFilter

Description of which entities are being imported.

Returns
TypeDescription
Google\Cloud\Datastore\Admin\V1\EntityFilter|null

hasEntityFilter

clearEntityFilter

setEntityFilter

Description of which entities are being imported.

Parameter
NameDescription
var Google\Cloud\Datastore\Admin\V1\EntityFilter
Returns
TypeDescription
$this

getInputUrl

The location of the import metadata file. This will be the same value as the google.datastore.admin.v1.ExportEntitiesResponse.output_url field.

Returns
TypeDescription
string

setInputUrl

The location of the import metadata file. This will be the same value as the google.datastore.admin.v1.ExportEntitiesResponse.output_url field.

Parameter
NameDescription
var string
Returns
TypeDescription
$this