public sealed class CreateFindingRequest : IMessage<CreateFindingRequest>, IEquatable<CreateFindingRequest>, IDeepCloneable<CreateFindingRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class CreateFindingRequest.
Required. Unique identifier provided by the client within the parent scope.
It must be alphanumeric and less than or equal to 32 characters and
greater than 0 characters in length.
Required. Resource name of the new finding's parent. The following list
shows some examples of the format:
+
organizations/[organization_id]/sources/[source_id]
+
organizations/[organization_id]/sources/[source_id]/locations/[location_id]
[[["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\u003eCreateFindingRequest\u003c/code\u003e is a class within the Security Command Center v2 API used for creating a finding.\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, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateFindingRequest\u003c/code\u003e class has properties like \u003ccode\u003eFinding\u003c/code\u003e, \u003ccode\u003eFindingId\u003c/code\u003e, and \u003ccode\u003eParent\u003c/code\u003e, which are required for creating a new finding within the parent resource scope.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property represents the resource name of the finding's parent, which can be either an organization source or an organization source location.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available for creating instances of \u003ccode\u003eCreateFindingRequest\u003c/code\u003e, one default and one taking another \u003ccode\u003eCreateFindingRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class CreateFindingRequest (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.CreateFindingRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.CreateFindingRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.CreateFindingRequest) \n\n public sealed class CreateFindingRequest : IMessage\u003cCreateFindingRequest\u003e, IEquatable\u003cCreateFindingRequest\u003e, IDeepCloneable\u003cCreateFindingRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class CreateFindingRequest.\n\nRequest message for creating a finding. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateFindingRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateFindingRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CreateFindingRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateFindingRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CreateFindingRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateFindingRequest](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CreateFindingRequest), [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### CreateFindingRequest()\n\n public CreateFindingRequest()\n\n### CreateFindingRequest(CreateFindingRequest)\n\n public CreateFindingRequest(CreateFindingRequest other)\n\nProperties\n----------\n\n### Finding\n\n public Finding Finding { get; set; }\n\nRequired. The Finding being created. The name and security_marks will be\nignored as they are both output only fields on this resource.\n\n### FindingId\n\n public string FindingId { get; set; }\n\nRequired. Unique identifier provided by the client within the parent scope.\nIt must be alphanumeric and less than or equal to 32 characters and\ngreater than 0 characters in length.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. Resource name of the new finding's parent. The following list\nshows some examples of the format:\n+\n`organizations/[organization_id]/sources/[source_id]`\n+\n`organizations/[organization_id]/sources/[source_id]/locations/[location_id]`\n\n### ParentAsSourceName\n\n public SourceName ParentAsSourceName { get; set; }\n\n[SourceName](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.SourceName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CreateFindingRequest#Google_Cloud_SecurityCenter_V2_CreateFindingRequest_Parent) resource name property."]]