Google Cloud Datastore Admin V1 Client - Class ImportEntitiesMetadata (1.0.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

Namespace

Google \ Cloud \ Datastore \ Admin \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Cloud\Datastore\Admin\V1\CommonMetadata|null

hasCommon

clearCommon

setCommon

Metadata common to all Datastore Admin operations.

Parameter
Name Description
var Google\Cloud\Datastore\Admin\V1\CommonMetadata
Returns
Type Description
$this

getProgressEntities

An estimate of the number of entities processed.

Returns
Type Description
Google\Cloud\Datastore\Admin\V1\Progress|null

hasProgressEntities

clearProgressEntities

setProgressEntities

An estimate of the number of entities processed.

Parameter
Name Description
var Google\Cloud\Datastore\Admin\V1\Progress
Returns
Type Description
$this

getProgressBytes

An estimate of the number of bytes processed.

Returns
Type Description
Google\Cloud\Datastore\Admin\V1\Progress|null

hasProgressBytes

clearProgressBytes

setProgressBytes

An estimate of the number of bytes processed.

Parameter
Name Description
var Google\Cloud\Datastore\Admin\V1\Progress
Returns
Type Description
$this

getEntityFilter

Description of which entities are being imported.

Returns
Type Description
Google\Cloud\Datastore\Admin\V1\EntityFilter|null

hasEntityFilter

clearEntityFilter

setEntityFilter

Description of which entities are being imported.

Parameter
Name Description
var Google\Cloud\Datastore\Admin\V1\EntityFilter
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this