[[["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-08-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCommonMetadata\u003c/code\u003e class provides metadata common to all Datastore Admin operations within the Google Cloud Datastore v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showcasing its role in the Protobuf ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eCommonMetadata\u003c/code\u003e include \u003ccode\u003eEndTime\u003c/code\u003e, \u003ccode\u003eLabels\u003c/code\u003e, \u003ccode\u003eOperationType\u003c/code\u003e, \u003ccode\u003eStartTime\u003c/code\u003e, and \u003ccode\u003eState\u003c/code\u003e, which describe the lifecycle and characteristics of a Datastore operation.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API being used in this documentation is 2.4.0, with other previous versions available for reference from 2.3.0 down to 1.1.0.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are provided for creating \u003ccode\u003eCommonMetadata\u003c/code\u003e objects, either as an empty instance or by copying from an existing \u003ccode\u003eCommonMetadata\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,["# Cloud Datastore v1 API - Class CommonMetadata (2.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.CommonMetadata)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/2.3.0/Google.Cloud.Datastore.Admin.V1.CommonMetadata)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/2.2.0/Google.Cloud.Datastore.Admin.V1.CommonMetadata)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/2.1.0/Google.Cloud.Datastore.Admin.V1.CommonMetadata)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/2.0.0/Google.Cloud.Datastore.Admin.V1.CommonMetadata)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/1.4.0/Google.Cloud.Datastore.Admin.V1.CommonMetadata)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/1.3.0/Google.Cloud.Datastore.Admin.V1.CommonMetadata)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/1.2.0/Google.Cloud.Datastore.Admin.V1.CommonMetadata)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/1.1.0/Google.Cloud.Datastore.Admin.V1.CommonMetadata) \n\n public sealed class CommonMetadata : IMessage\u003cCommonMetadata\u003e, IEquatable\u003cCommonMetadata\u003e, IDeepCloneable\u003cCommonMetadata\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Datastore v1 API class CommonMetadata.\n\nMetadata common to all Datastore Admin operations. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CommonMetadata \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CommonMetadata](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.CommonMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CommonMetadata](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.CommonMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CommonMetadata](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.CommonMetadata), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Datastore.Admin.V1](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Datastore.Admin.V1.dll\n\nConstructors\n------------\n\n### CommonMetadata()\n\n public CommonMetadata()\n\n### CommonMetadata(CommonMetadata)\n\n public CommonMetadata(CommonMetadata other)\n\nProperties\n----------\n\n### EndTime\n\n public Timestamp EndTime { get; set; }\n\nThe time the operation ended, either successfully or otherwise.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nThe client-assigned labels which were provided when the operation was\ncreated. May also include additional labels.\n\n### OperationType\n\n public OperationType OperationType { get; set; }\n\nThe type of the operation. Can be used as a filter in\nListOperationsRequest.\n\n### StartTime\n\n public Timestamp StartTime { get; set; }\n\nThe time that work began on the operation.\n\n### State\n\n public CommonMetadata.Types.State State { get; set; }\n\nThe current state of the Operation."]]