public sealed class OperationMetadata : IMessage<OperationMetadata>, IEquatable<OperationMetadata>, IDeepCloneable<OperationMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1beta 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
[google.longrunning.Operation.error][google.longrunning.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 Google Cloud AlloyDB v1beta API represents metadata for long-running operations.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eEndTime\u003c/code\u003e, \u003ccode\u003eApiVersion\u003c/code\u003e, \u003ccode\u003eTarget\u003c/code\u003e, and \u003ccode\u003eVerb\u003c/code\u003e to describe the operation's lifecycle and characteristics.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides information related to batch instance creation (\u003ccode\u003eBatchCreateInstancesMetadata\u003c/code\u003e), cluster promotion (\u003ccode\u003ePromoteClusterStatus\u003c/code\u003e), and cluster upgrades (\u003ccode\u003eUpgradeClusterStatus\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOperationMetadata\u003c/code\u003e indicates if cancellation has been requested for the operation, and contains the readable message associated with the status.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and it also contains a specific enum called \u003ccode\u003eRequestSpecificOneofCase\u003c/code\u003e to give information about a specific request case.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1beta API - Class OperationMetadata (1.0.0-beta12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.OperationMetadata)\n- [1.0.0-beta11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/1.0.0-beta11/Google.Cloud.AlloyDb.V1Beta.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 AlloyDB v1beta 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.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.OperationMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OperationMetadata](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.OperationMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[OperationMetadata](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.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.AlloyDb.V1Beta](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Beta.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### BatchCreateInstancesMetadata\n\n public BatchCreateInstancesMetadata BatchCreateInstancesMetadata { get; set; }\n\nOutput only. BatchCreateInstances related metadata.\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### PromoteClusterStatus\n\n public PromoteClusterStatus PromoteClusterStatus { get; set; }\n\nOutput only. PromoteClusterStatus related metadata.\n\n### RequestSpecificCase\n\n public OperationMetadata.RequestSpecificOneofCase RequestSpecificCase { get; }\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\n\\[google.longrunning.Operation.error\\]\\[google.longrunning.Operation.error\\]\nvalue 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### UpgradeClusterStatus\n\n public UpgradeClusterStatus UpgradeClusterStatus { get; set; }\n\nOutput only. UpgradeClusterStatus related metadata.\n\n### Verb\n\n public string Verb { get; set; }\n\nOutput only. Name of the verb executed by the operation."]]