Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class CreateFindingRequest.
Request message for creating a finding.
Generated from protobuf message google.cloud.securitycenter.v1.CreateFindingRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Resource name of the new finding's parent. Its format should be "organizations/[organization_id]/sources/[source_id]".
↳ finding_id
string
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.
↳ finding
Google\Cloud\SecurityCenter\V1\Finding
Required. The Finding being created. The name and security_marks will be ignored as they are both output only fields on this resource.
getParent
Required. Resource name of the new finding's parent. Its format should be "organizations/[organization_id]/sources/[source_id]".
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
string
setParent
Required. Resource name of the new finding's parent. Its format should be "organizations/[organization_id]/sources/[source_id]".
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
var
string
$this
getFindingId
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.
Generated from protobuf field string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];
string
setFindingId
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.
Generated from protobuf field string finding_id = 2 [(.google.api.field_behavior) = REQUIRED];
var
string
$this
getFinding
Required. The Finding being created. The name and security_marks will be ignored as they are both output only fields on this resource.
Generated from protobuf field .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];
hasFinding
clearFinding
setFinding
Required. The Finding being created. The name and security_marks will be ignored as they are both output only fields on this resource.
Generated from protobuf field .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED];
$this