public sealed class OperationMetadata : IMessage<OperationMetadata>, IEquatable<OperationMetadata>, IDeepCloneable<OperationMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Bare Metal Solution v2 API class OperationMetadata.
Represents the metadata from a long-running operation.
Identifies whether the user requested the cancellation
of the operation. Operations that have been successfully cancelled
have [Operation.error][] value with a [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\u003eThis page provides reference documentation for the \u003ccode\u003eOperationMetadata\u003c/code\u003e class within the Google Cloud Bare Metal Solution v2 API, specifically for version 1.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOperationMetadata\u003c/code\u003e class represents the metadata from a long-running operation and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class while implementing several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes 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, which provide details about the operation's status, timing, and target.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default one, and another to construct a new \u003ccode\u003eOperationMetadata\u003c/code\u003e based on a copy of an existing \u003ccode\u003eOperationMetadata\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThere are 8 versions of the API listed, with the latest version being 1.7.0, and 1.1.0 is the current documentation being viewed.\u003c/p\u003e\n"]]],[],null,[]]