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

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

An event signifying a change in state of a migration from Cloud Datastore to Cloud Firestore in Datastore mode.

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

Namespace

Google \ Cloud \ Datastore \ Admin \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ state int

The new state of the migration.

getState

The new state of the migration.

Returns
TypeDescription
int

setState

The new state of the migration.

Parameter
NameDescription
var int
Returns
TypeDescription
$this