public sealed class UpdateSourceRequest : IMessage<UpdateSourceRequest>, IEquatable<UpdateSourceRequest>, IDeepCloneable<UpdateSourceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class UpdateSourceRequest.
[[["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\u003e\u003ccode\u003eUpdateSourceRequest\u003c/code\u003e is a class in the Security Command Center v2 API, designed for updating a source.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e for various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from the base \u003ccode\u003eobject\u003c/code\u003e type, and it has two constructors: a default one and another one that takes an \u003ccode\u003eUpdateSourceRequest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eIt features properties like \u003ccode\u003eSource\u003c/code\u003e, representing the source to be updated, and \u003ccode\u003eUpdateMask\u003c/code\u003e, specifying which fields should be updated, providing options for partial or complete updates.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class UpdateSourceRequest (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.UpdateSourceRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.UpdateSourceRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.UpdateSourceRequest) \n\n public sealed class UpdateSourceRequest : IMessage\u003cUpdateSourceRequest\u003e, IEquatable\u003cUpdateSourceRequest\u003e, IDeepCloneable\u003cUpdateSourceRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class UpdateSourceRequest.\n\nRequest message for updating a source. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateSourceRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateSourceRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.UpdateSourceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateSourceRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.UpdateSourceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateSourceRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.UpdateSourceRequest), [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### UpdateSourceRequest()\n\n public UpdateSourceRequest()\n\n### UpdateSourceRequest(UpdateSourceRequest)\n\n public UpdateSourceRequest(UpdateSourceRequest other)\n\nProperties\n----------\n\n### Source\n\n public Source Source { get; set; }\n\nRequired. The source resource to update.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nThe FieldMask to use when updating the source resource.\n\nIf empty all mutable fields will be updated."]]