public static readonly Extension<FieldOptions, OperationResponseMapping> OperationField
A field annotation that maps fields in an API-specific Operation object to
their standard counterparts in google.longrunning.Operation. See
OperationResponseMapping enum definition.
public static readonly Extension<FieldOptions, string> OperationRequestField
A field annotation that maps fields in the initial request message
(the one which started the LRO) to their counterparts in the polling
request message. For non-standard LRO, the polling response may be missing
some of the information needed to make a subsequent polling request. The
missing information (for example, project or region ID) is contained in the
fields of the initial request message that this annotation must be applied
to. The string value of the annotation corresponds to the name of the
counterpart field in the polling request message that the annotated field's
value will be copied to.
public static readonly Extension<FieldOptions, string> OperationResponseField
A field annotation that maps fields in the polling request message to their
counterparts in the initial and/or polling response message. The initial
and the polling methods return an API-specific Operation object. Some of
the fields from that response object must be reused in the subsequent
request (like operation name/ID) to fully identify the polled operation.
This annotation must be applied to the fields in the polling request
message, the string value of the annotation must correspond to the name of
the counterpart field in the Operation response object whose value will be
copied to the annotated field.
public static readonly Extension<MethodOptions, string> OperationService
A method annotation that maps an LRO method (the one which starts an LRO)
to the service, which will be used to poll for the operation status. The
annotation must be applied to the method which starts an LRO, the string
value of the annotation must correspond to the name of the service used to
poll for the operation status.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eExtendedOperationsExtensions\u003c/code\u003e class provides extension identifiers for the \u003ccode\u003egoogle/cloud/extended_operations.proto\u003c/code\u003e file, facilitating the management of long-running operations (LROs) within the Google Cloud environment.\u003c/p\u003e\n"],["\u003cp\u003eThis class contains several static fields, including \u003ccode\u003eOperationField\u003c/code\u003e, \u003ccode\u003eOperationPollingMethod\u003c/code\u003e, \u003ccode\u003eOperationRequestField\u003c/code\u003e, \u003ccode\u003eOperationResponseField\u003c/code\u003e, and \u003ccode\u003eOperationService\u003c/code\u003e, all designed as annotations to map and manage different aspects of long-running operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOperationField\u003c/code\u003e annotation maps fields from API-specific operation objects to their standardized counterparts in \u003ccode\u003egoogle.longrunning.Operation\u003c/code\u003e, utilizing the \u003ccode\u003eOperationResponseMapping\u003c/code\u003e enum.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOperationPollingMethod\u003c/code\u003e marks methods suitable for polling the status of operations, while \u003ccode\u003eOperationRequestField\u003c/code\u003e and \u003ccode\u003eOperationResponseField\u003c/code\u003e help map fields between initial, polling requests, and response messages for a more accurate status poll.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOperationService\u003c/code\u003e is an annotation that maps a method starting an LRO to the specific service that polls the operation's status, ensuring accurate operation tracking.\u003c/p\u003e\n"]]],[],null,["# Google.LongRunning - Class ExtendedOperationsExtensions (3.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.3.0 (latest)](/dotnet/docs/reference/Google.LongRunning/latest/Google.Cloud.ExtendedOperationsExtensions)\n- [3.2.0](/dotnet/docs/reference/Google.LongRunning/3.2.0/Google.Cloud.ExtendedOperationsExtensions)\n- [3.1.0](/dotnet/docs/reference/Google.LongRunning/3.1.0/Google.Cloud.ExtendedOperationsExtensions)\n- [3.0.0](/dotnet/docs/reference/Google.LongRunning/3.0.0/Google.Cloud.ExtendedOperationsExtensions)\n- [2.3.0](/dotnet/docs/reference/Google.LongRunning/2.3.0/Google.Cloud.ExtendedOperationsExtensions)\n- [2.2.0](/dotnet/docs/reference/Google.LongRunning/2.2.0/Google.Cloud.ExtendedOperationsExtensions) \n\n public static class ExtendedOperationsExtensions\n\nReference documentation and code samples for the Google.LongRunning class ExtendedOperationsExtensions.\n\nHolder for extension identifiers generated from the top level of google/cloud/extended_operations.proto \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ExtendedOperationsExtensions \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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud](/dotnet/docs/reference/Google.LongRunning/latest/Google.Cloud)\n\nAssembly\n--------\n\nGoogle.LongRunning.dll\n\nFields\n------\n\n### OperationField\n\n public static readonly Extension\u003cFieldOptions, OperationResponseMapping\u003e OperationField\n\nA field annotation that maps fields in an API-specific Operation object to\ntheir standard counterparts in google.longrunning.Operation. See\nOperationResponseMapping enum definition.\n\n### OperationPollingMethod\n\n public static readonly Extension\u003cMethodOptions, bool\u003e OperationPollingMethod\n\nA method annotation that marks methods that can be used for polling\noperation status (e.g. the MyPollingService.Get(MyPollingRequest) method).\n\n### OperationRequestField\n\n public static readonly Extension\u003cFieldOptions, string\u003e OperationRequestField\n\nA field annotation that maps fields in the initial request message\n(the one which started the LRO) to their counterparts in the polling\nrequest message. For non-standard LRO, the polling response may be missing\nsome of the information needed to make a subsequent polling request. The\nmissing information (for example, project or region ID) is contained in the\nfields of the initial request message that this annotation must be applied\nto. The string value of the annotation corresponds to the name of the\ncounterpart field in the polling request message that the annotated field's\nvalue will be copied to.\n\n### OperationResponseField\n\n public static readonly Extension\u003cFieldOptions, string\u003e OperationResponseField\n\nA field annotation that maps fields in the polling request message to their\ncounterparts in the initial and/or polling response message. The initial\nand the polling methods return an API-specific Operation object. Some of\nthe fields from that response object must be reused in the subsequent\nrequest (like operation name/ID) to fully identify the polled operation.\nThis annotation must be applied to the fields in the polling request\nmessage, the string value of the annotation must correspond to the name of\nthe counterpart field in the Operation response object whose value will be\ncopied to the annotated field.\n\n### OperationService\n\n public static readonly Extension\u003cMethodOptions, string\u003e OperationService\n\nA method annotation that maps an LRO method (the one which starts an LRO)\nto the service, which will be used to poll for the operation status. The\nannotation must be applied to the method which starts an LRO, the string\nvalue of the annotation must correspond to the name of the service used to\npoll for the operation status."]]