Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Required. Field mask is used to specify the fields to be overwritten in the
Workload resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request.
The API changes the values of the fields as specified in the update_mask.
The API ignores the values of all fields not covered by the update_mask.
You can also unset a field by not specifying it in the updated message, but
adding the field to the mask. This clears whatever value the field
previously had.
[[["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\u003eUpdateWorkloadRequest\u003c/code\u003e class is used to send requests for updating a Workload in the App Hub v1 API, and is currently at version 1.0.0 (latest).\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements 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\u003eIt has properties for \u003ccode\u003eRequestId\u003c/code\u003e, \u003ccode\u003eUpdateMask\u003c/code\u003e, and \u003ccode\u003eWorkload\u003c/code\u003e, with the latter two being required to specify the fields to be updated and the resource to be modified, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateWorkloadRequest\u003c/code\u003e class has two constructors, a default one and one that takes another \u003ccode\u003eUpdateWorkloadRequest\u003c/code\u003e as a parameter for cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRequestId\u003c/code\u003e property is an optional unique UUID that allows the server to ignore duplicate requests, ensuring that retries do not accidentally create duplicate commitments.\u003c/p\u003e\n"]]],[],null,["# App Hub v1 API - Class UpdateWorkloadRequest (1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.UpdateWorkloadRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.AppHub.V1/1.0.0/Google.Cloud.AppHub.V1.UpdateWorkloadRequest) \n\n public sealed class UpdateWorkloadRequest : IMessage\u003cUpdateWorkloadRequest\u003e, IEquatable\u003cUpdateWorkloadRequest\u003e, IDeepCloneable\u003cUpdateWorkloadRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the App Hub v1 API class UpdateWorkloadRequest.\n\nRequest for UpdateWorkload. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateWorkloadRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateWorkloadRequest](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.UpdateWorkloadRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateWorkloadRequest](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.UpdateWorkloadRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateWorkloadRequest](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.UpdateWorkloadRequest), [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.AppHub.V1](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.AppHub.V1.dll\n\nConstructors\n------------\n\n### UpdateWorkloadRequest()\n\n public UpdateWorkloadRequest()\n\n### UpdateWorkloadRequest(UpdateWorkloadRequest)\n\n public UpdateWorkloadRequest(UpdateWorkloadRequest other)\n\nProperties\n----------\n\n### RequestId\n\n public string RequestId { get; set; }\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID so that if you must retry your request, the server will know to\nignore the request if it has already been completed. The server will\nguarantee that for at least 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and the\nrequest times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nRequired. Field mask is used to specify the fields to be overwritten in the\nWorkload resource by the update.\nThe fields specified in the update_mask are relative to the resource, not\nthe full request.\nThe API changes the values of the fields as specified in the update_mask.\nThe API ignores the values of all fields not covered by the update_mask.\nYou can also unset a field by not specifying it in the updated message, but\nadding the field to the mask. This clears whatever value the field\npreviously had.\n\n### Workload\n\n public Workload Workload { get; set; }\n\nRequired. The resource being updated."]]