# Class Finding (3.38.0)

3.38.0 (latest) 3.37.0 3.35.0 3.34.0 3.33.0 3.32.0 3.31.0 3.30.0 3.29.0 3.28.0 3.27.0 3.26.0 3.25.1 3.24.0 3.23.0 3.22.0 3.20.0 3.19.0 3.18.1 3.17.0 3.16.0 3.15.3 3.14.0 3.13.0 3.12.3 3.11.1 3.10.1 3.9.2 3.8.1 3.7.1 3.6.2 3.5.0 3.4.0 3.3.1 3.2.4 3.1.1 3.0.1 2.0.2 1.0.2 0.15.2 0.14.0 0.13.0 0.12.1

    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` | `https://docs.cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.InfoType` The type of content that might have been found. Provided if `excluded_types` is false. |
| `likelihood` | `https://docs.cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.Likelihood` Confidence of how likely it is that the `info_type` is correct. |
| `location` | `https://docs.cloud.google.com/python/docs/reference/dlp/latest/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` | `https://docs.cloud.google.com/python/docs/reference/dlp/latest/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` | `MutableMapping[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. |

## Classes

### LabelsEntry

    LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **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 `mapping` is a mapping type or there are keyword parameters. |