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

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
Name Description
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
Type Description
int

setState

The new state of the migration.

Parameter
Name Description
var int
Returns
Type Description
$this