public sealed class OperationMetadata : IMessage<OperationMetadata>, IEquatable<OperationMetadata>, IDeepCloneable<OperationMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub 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 been cancelled successfully
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\u003eThis documentation is for the \u003ccode\u003eOperationMetadata\u003c/code\u003e class within the Google Cloud API Hub v1 API, specifically version 1.0.0-beta02.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOperationMetadata\u003c/code\u003e class represents metadata for long-running operations and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class while implementing several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default one (\u003ccode\u003eOperationMetadata()\u003c/code\u003e) and another that accepts an \u003ccode\u003eOperationMetadata\u003c/code\u003e object as a parameter for creating a copy (\u003ccode\u003eOperationMetadata(OperationMetadata other)\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eIt 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, all of which provide details about the operation, with most of them being output-only.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOperationMetadata\u003c/code\u003e class is found within the \u003ccode\u003eGoogle.Cloud.ApiHub.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.ApiHub.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]