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

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
NameDescription
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
TypeDescription
int

setMigrationState

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMigrationStep

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

Returns
TypeDescription
int

setMigrationStep

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this