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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Datastore Admin V1 Client - Class DatastoreFirestoreMigrationMetadata (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-datastore-admin/latest/V1.DatastoreFirestoreMigrationMetadata)\n- [1.0.3](/php/docs/reference/cloud-datastore-admin/1.0.3/V1.DatastoreFirestoreMigrationMetadata)\n- [0.8.5](/php/docs/reference/cloud-datastore-admin/0.8.5/V1.DatastoreFirestoreMigrationMetadata)\n- [0.7.5](/php/docs/reference/cloud-datastore-admin/0.7.5/V1.DatastoreFirestoreMigrationMetadata)\n- [0.6.0](/php/docs/reference/cloud-datastore-admin/0.6.0/V1.DatastoreFirestoreMigrationMetadata)\n- [0.5.8](/php/docs/reference/cloud-datastore-admin/0.5.8/V1.DatastoreFirestoreMigrationMetadata) \nReference documentation and code samples for the Google Cloud Datastore Admin V1 Client class DatastoreFirestoreMigrationMetadata.\n\nMetadata for Datastore to Firestore migration operations.\n\nThe DatastoreFirestoreMigration operation is not started by the end-user via\nan explicit \"creation\" method. This is an intentional deviation from the LRO\ndesign pattern.\nThis singleton resource can be accessed at:\n\"projects/{project_id}/operations/datastore-firestore-migration\"\n\nGenerated from protobuf message `google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Datastore \\\\ Admin \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getMigrationState\n\nThe current state of migration from Cloud Datastore to Cloud Firestore in\nDatastore mode.\n\n### setMigrationState\n\nThe current state of migration from Cloud Datastore to Cloud Firestore in\nDatastore mode.\n\n### getMigrationStep\n\nThe current step of migration from Cloud Datastore to Cloud Firestore in\nDatastore mode.\n\n### setMigrationStep\n\nThe current step of migration from Cloud Datastore to Cloud Firestore in\nDatastore mode."]]