public sealed class OperationMetadata : IMessage<OperationMetadata>, IEquatable<OperationMetadata>, IDeepCloneable<OperationMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Game Services v1 API class OperationMetadata.
Represents the metadata of the long-running operation.
public MapField<string, OperationStatus> OperationStatus { get; }
Output only. Operation status for Game Services API operations. Operation status is in
the form of key-value pairs where keys are resource IDs and the values show
the status of the operation. In case of failures, the value includes an
error code and error message.
Output only. Identifies whether the user has requested cancellation
of the operation. Operations that have successfully been cancelled
have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
corresponding to Code.CANCELLED.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Game Services v1 API's \u003ccode\u003eOperationMetadata\u003c/code\u003e class is 2.2.0, with previous versions listed from 2.1.0 down to 1.1.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOperationMetadata\u003c/code\u003e represents the metadata of a long-running operation within the Game Services API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eApiVersion\u003c/code\u003e, \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eEndTime\u003c/code\u003e, \u003ccode\u003eOperationStatus\u003c/code\u003e, \u003ccode\u003eRequestedCancellation\u003c/code\u003e, \u003ccode\u003eStatusMessage\u003c/code\u003e, \u003ccode\u003eTarget\u003c/code\u003e, \u003ccode\u003eUnreachable\u003c/code\u003e, and \u003ccode\u003eVerb\u003c/code\u003e to provide comprehensive information about the operation's status and details.\u003c/p\u003e\n"],["\u003cp\u003eThe OperationMetadata class includes constructors to instantiate the class, either as a new object, or by instantiating a copy of an existing object of the class.\u003c/p\u003e\n"]]],[],null,["# Game Services v1 API - Class OperationMetadata (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.OperationMetadata)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.1.0/Google.Cloud.Gaming.V1.OperationMetadata)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.0.0/Google.Cloud.Gaming.V1.OperationMetadata)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.4.0/Google.Cloud.Gaming.V1.OperationMetadata)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.3.0/Google.Cloud.Gaming.V1.OperationMetadata)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.2.0/Google.Cloud.Gaming.V1.OperationMetadata)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.1.0/Google.Cloud.Gaming.V1.OperationMetadata) \n\n public sealed class OperationMetadata : IMessage\u003cOperationMetadata\u003e, IEquatable\u003cOperationMetadata\u003e, IDeepCloneable\u003cOperationMetadata\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Game Services v1 API class OperationMetadata.\n\nRepresents the metadata of the long-running operation. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e OperationMetadata \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[OperationMetadata](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.OperationMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OperationMetadata](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.OperationMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[OperationMetadata](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.OperationMetadata), [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.Gaming.V1](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Gaming.V1.dll\n\nConstructors\n------------\n\n### OperationMetadata()\n\n public OperationMetadata()\n\n### OperationMetadata(OperationMetadata)\n\n public OperationMetadata(OperationMetadata other)\n\nProperties\n----------\n\n### ApiVersion\n\n public string ApiVersion { get; set; }\n\nOutput only. API version used to start the operation.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The time the operation was created.\n\n### EndTime\n\n public Timestamp EndTime { get; set; }\n\nOutput only. The time the operation finished running.\n\n### OperationStatus\n\n public MapField\u003cstring, OperationStatus\u003e OperationStatus { get; }\n\nOutput only. Operation status for Game Services API operations. Operation status is in\nthe form of key-value pairs where keys are resource IDs and the values show\nthe status of the operation. In case of failures, the value includes an\nerror code and error message.\n\n### RequestedCancellation\n\n public bool RequestedCancellation { get; set; }\n\nOutput only. Identifies whether the user has requested cancellation\nof the operation. Operations that have successfully been cancelled\nhave \\[Operation.error\\]\\[\\] value with a \\[google.rpc.Status.code\\]\\[google.rpc.Status.code\\] of 1,\ncorresponding to `Code.CANCELLED`.\n\n### StatusMessage\n\n public string StatusMessage { get; set; }\n\nOutput only. Human-readable status of the operation, if any.\n\n### Target\n\n public string Target { get; set; }\n\nOutput only. Server-defined resource path for the target of the operation.\n\n### Unreachable\n\n public RepeatedField\u003cstring\u003e Unreachable { get; }\n\nOutput only. List of Locations that could not be reached.\n\n### Verb\n\n public string Verb { get; set; }\n\nOutput only. Name of the verb executed by the operation."]]