public sealed class OperationMetadata : IMessage<OperationMetadata>, IEquatable<OperationMetadata>, IDeepCloneable<OperationMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Notebooks v2 API class OperationMetadata.
Represents the metadata of the long-running operation.
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 \u003ccode\u003eOperationMetadata\u003c/code\u003e class in the Notebooks v2 API represents the metadata for long-running operations and is available in version 1.0.0 and later, with version 1.2.0 as the latest.\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, extending functionality and providing various functionalities such as cloning and message handling.\u003c/p\u003e\n"],["\u003cp\u003eKey properties within the \u003ccode\u003eOperationMetadata\u003c/code\u003e class include \u003ccode\u003eApiVersion\u003c/code\u003e, \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eEndTime\u003c/code\u003e, \u003ccode\u003eEndpoint\u003c/code\u003e, \u003ccode\u003eRequestedCancellation\u003c/code\u003e, \u003ccode\u003eStatusMessage\u003c/code\u003e, \u003ccode\u003eTarget\u003c/code\u003e, and \u003ccode\u003eVerb\u003c/code\u003e, which detail the operation's lifecycle and attributes.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains a default constructor \u003ccode\u003eOperationMetadata()\u003c/code\u003e and a copy constructor \u003ccode\u003eOperationMetadata(OperationMetadata other)\u003c/code\u003e for creating instances of the class.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains inherited members \u003ccode\u003eobject.GetHashCode()\u003c/code\u003e, \u003ccode\u003eobject.GetType()\u003c/code\u003e and \u003ccode\u003eobject.ToString()\u003c/code\u003e which are inherited from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]