public sealed class OperationMetadata : IMessage<OperationMetadata>, IEquatable<OperationMetadata>, IDeepCloneable<OperationMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1 API class OperationMetadata.
Represents the metadata of the long-running operation.
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 available for the Batch v1 API's OperationMetadata is 2.13.0, with previous versions ranging from 2.12.0 down to 1.0.0 also listed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOperationMetadata\u003c/code\u003e class in the Google.Cloud.Batch.V1 namespace is a sealed class that represents the metadata of a long-running operation and implements several interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties such as \u003ccode\u003eApiVersion\u003c/code\u003e, \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eEndTime\u003c/code\u003e, \u003ccode\u003eRequestedCancellation\u003c/code\u003e, \u003ccode\u003eStatusMessage\u003c/code\u003e, \u003ccode\u003eTarget\u003c/code\u003e, and \u003ccode\u003eVerb\u003c/code\u003e, giving details about the operation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOperationMetadata\u003c/code\u003e class has two constructors: a default constructor and a constructor that accepts another instance of \u003ccode\u003eOperationMetadata\u003c/code\u003e as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe OperationMetadata is of type \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e and shows inherited members from \u003ccode\u003eobject\u003c/code\u003e like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]