public sealed class UpdateFindingRequest : IMessage<UpdateFindingRequest>, IEquatable<UpdateFindingRequest>, IDeepCloneable<UpdateFindingRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class UpdateFindingRequest.
Request message for updating or creating a finding.
Required. The finding resource to update or create if it does not already
exist. parent, security_marks, and update_time will be ignored.
In the case of creation, the finding id portion of the name must be
alphanumeric and less than or equal to 32 characters and greater than 0
characters in length.
The FieldMask to use when updating the finding resource. This field should
not be specified when creating a finding.
When updating a finding, an empty mask is treated as updating all mutable
fields and replacing source_properties. Individual source_properties can
be added/updated by using "source_properties.<property key>" in the field
mask.
[[["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-07 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eUpdateFindingRequest\u003c/code\u003e class, part of the Security Command Center v2 API for updating or creating findings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateFindingRequest\u003c/code\u003e 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\u003eThe class includes two constructors: a default constructor (\u003ccode\u003eUpdateFindingRequest()\u003c/code\u003e) and a copy constructor (\u003ccode\u003eUpdateFindingRequest(UpdateFindingRequest other)\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eKey properties of this class include \u003ccode\u003eFinding\u003c/code\u003e, representing the finding to be updated or created, and \u003ccode\u003eUpdateMask\u003c/code\u003e, which specifies the fields to be updated.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFinding\u003c/code\u003e property requires a resource of the \u003ccode\u003eFinding\u003c/code\u003e class type, while the \u003ccode\u003eUpdateMask\u003c/code\u003e property requires \u003ccode\u003eFieldMask\u003c/code\u003e type, both of which are part of the Google Cloud Protobuf library.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class UpdateFindingRequest (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.UpdateFindingRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.UpdateFindingRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.UpdateFindingRequest) \n\n public sealed class UpdateFindingRequest : IMessage\u003cUpdateFindingRequest\u003e, IEquatable\u003cUpdateFindingRequest\u003e, IDeepCloneable\u003cUpdateFindingRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class UpdateFindingRequest.\n\nRequest message for updating or creating a finding. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateFindingRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateFindingRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.UpdateFindingRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateFindingRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.UpdateFindingRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateFindingRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.UpdateFindingRequest), [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.SecurityCenter.V2](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V2.dll\n\nConstructors\n------------\n\n### UpdateFindingRequest()\n\n public UpdateFindingRequest()\n\n### UpdateFindingRequest(UpdateFindingRequest)\n\n public UpdateFindingRequest(UpdateFindingRequest other)\n\nProperties\n----------\n\n### Finding\n\n public Finding Finding { get; set; }\n\nRequired. The finding resource to update or create if it does not already\nexist. parent, security_marks, and update_time will be ignored.\n\nIn the case of creation, the finding id portion of the name must be\nalphanumeric and less than or equal to 32 characters and greater than 0\ncharacters in length.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nThe FieldMask to use when updating the finding resource. This field should\nnot be specified when creating a finding.\n\nWhen updating a finding, an empty mask is treated as updating all mutable\nfields and replacing source_properties. Individual source_properties can\nbe added/updated by using \"source_properties.\\\u003cproperty key\\\u003e\" in the field\nmask."]]