Google Cloud Datastore Admin V1 Client - Class DatastoreFirestoreMigrationMetadata (1.0.2)

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

Metadata for Datastore to Firestore migration operations.

The DatastoreFirestoreMigration operation is not started by the end-user via an explicit "creation" method. This is an intentional deviation from the LRO design pattern. This singleton resource can be accessed at: "projects/{project_id}/operations/datastore-firestore-migration"

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

Namespace

Google \ Cloud \ Datastore \ Admin \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ migration_state int

The current state of migration from Cloud Datastore to Cloud Firestore in Datastore mode.

↳ migration_step int

The current step of migration from Cloud Datastore to Cloud Firestore in Datastore mode.

getMigrationState

The current state of migration from Cloud Datastore to Cloud Firestore in Datastore mode.

Returns
Type Description
int

setMigrationState

The current state of migration from Cloud Datastore to Cloud Firestore in Datastore mode.

Parameter
Name Description
var int
Returns
Type Description
$this

getMigrationStep

The current step of migration from Cloud Datastore to Cloud Firestore in Datastore mode.

Returns
Type Description
int

setMigrationStep

The current step of migration from Cloud Datastore to Cloud Firestore in Datastore mode.

Parameter
Name Description
var int
Returns
Type Description
$this