public sealed class UpdateSecurityMarksRequest : IMessage<UpdateSecurityMarksRequest>, IEquatable<UpdateSecurityMarksRequest>, IDeepCloneable<UpdateSecurityMarksRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class UpdateSecurityMarksRequest.
Request message for updating a SecurityMarks resource.
The FieldMask to use when updating the security marks resource.
The field mask must not contain duplicate fields.
If empty or set to "marks", all marks will be replaced. Individual
marks can be updated using "marks.<mark_key>".
[[["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 is for the \u003ccode\u003eUpdateSecurityMarksRequest\u003c/code\u003e class within the Google Cloud Security Center v2 API, specifically version 1.1.0, which is the latest release.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateSecurityMarksRequest\u003c/code\u003e class is used to update a \u003ccode\u003eSecurityMarks\u003c/code\u003e resource, and it inherits from \u003ccode\u003eobject\u003c/code\u003e while implementing several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors: a default one and another that accepts an \u003ccode\u003eUpdateSecurityMarksRequest\u003c/code\u003e object for cloning purposes.\u003c/p\u003e\n"],["\u003cp\u003eIt includes two properties: \u003ccode\u003eSecurityMarks\u003c/code\u003e, which represents the security marks to be updated, and \u003ccode\u003eUpdateMask\u003c/code\u003e, which specifies how the update should be performed.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this class is \u003ccode\u003eGoogle.Cloud.SecurityCenter.V2\u003c/code\u003e, and the relevant assembly is \u003ccode\u003eGoogle.Cloud.SecurityCenter.V2.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class UpdateSecurityMarksRequest (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.UpdateSecurityMarksRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.UpdateSecurityMarksRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.UpdateSecurityMarksRequest) \n\n public sealed class UpdateSecurityMarksRequest : IMessage\u003cUpdateSecurityMarksRequest\u003e, IEquatable\u003cUpdateSecurityMarksRequest\u003e, IDeepCloneable\u003cUpdateSecurityMarksRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class UpdateSecurityMarksRequest.\n\nRequest message for updating a SecurityMarks resource. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateSecurityMarksRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateSecurityMarksRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.UpdateSecurityMarksRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateSecurityMarksRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.UpdateSecurityMarksRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateSecurityMarksRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.UpdateSecurityMarksRequest), [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### UpdateSecurityMarksRequest()\n\n public UpdateSecurityMarksRequest()\n\n### UpdateSecurityMarksRequest(UpdateSecurityMarksRequest)\n\n public UpdateSecurityMarksRequest(UpdateSecurityMarksRequest other)\n\nProperties\n----------\n\n### SecurityMarks\n\n public SecurityMarks SecurityMarks { get; set; }\n\nRequired. The security marks resource to update.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nThe FieldMask to use when updating the security marks resource.\n\nThe field mask must not contain duplicate fields.\nIf empty or set to \"marks\", all marks will be replaced. Individual\nmarks can be updated using \"marks.\\\u003cmark_key\\\u003e\"."]]