Finding(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Represents a piece of potentially sensitive content.
Attributes
Name | Description |
name |
str
Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings. |
quote |
str
The content that was found. Even if the content is not textual, it may be converted to a textual representation here. Provided if ``include_quote`` is true and the finding is less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes in length, the quote may be omitted. |
info_type |
google.cloud.dlp_v2.types.InfoType
The type of content that might have been found. Provided if ``excluded_types`` is false. |
likelihood |
google.cloud.dlp_v2.types.Likelihood
Confidence of how likely it is that the ``info_type`` is correct. |
location |
google.cloud.dlp_v2.types.Location
Where the content was found. |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Timestamp when finding was detected. |
quote_info |
google.cloud.dlp_v2.types.QuoteInfo
Contains data parsed from quotes. Only populated if include_quote was set to true and a supported infoType was requested. Currently supported infoTypes: DATE, DATE_OF_BIRTH and TIME. |
resource_name |
str
The job that stored the finding. |
trigger_name |
str
Job trigger name, if applicable, for this finding. |
labels |
Mapping[str, str]
The labels associated with this ``Finding``. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: ``[a-z]([-a-z0-9]*[a-z0-9])?``. Label values must be between 0 and 63 characters long and must conform to the regular expression ``([a-z]([-a-z0-9]*[a-z0-9])?)?``. No more than 10 labels can be associated with a given finding. Examples: - ``"environment" : "production"`` - ``"pipeline" : "etl"`` |
job_create_time |
google.protobuf.timestamp_pb2.Timestamp
Time the job started that produced this finding. |
job_name |
str
The job that stored the finding. |
finding_id |
str
The unique finding id. |
Inheritance
builtins.object > proto.message.Message > FindingClasses
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict, `.Message`]
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |