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.
Request message for creating a finding.
Implements
IMessageCreateFindingRequest, IEquatableCreateFindingRequest, IDeepCloneableCreateFindingRequest, IBufferMessage, IMessageNamespace
Google.Cloud.SecurityCenter.V2Assembly
Google.Cloud.SecurityCenter.V2.dll
Constructors
CreateFindingRequest()
public CreateFindingRequest()
CreateFindingRequest(CreateFindingRequest)
public CreateFindingRequest(CreateFindingRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateFindingRequest |
Properties
Finding
public Finding Finding { get; set; }
Required. The Finding being created. The name and security_marks will be ignored as they are both output only fields on this resource.
Property Value | |
---|---|
Type | Description |
Finding |
FindingId
public string FindingId { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
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]
Property Value | |
---|---|
Type | Description |
string |
ParentAsSourceName
public SourceName ParentAsSourceName { get; set; }
SourceName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
SourceName |