Class FileLabelInfoType (3.40.0)

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

Configuration for a custom infoType that detects file labels.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
sensitivity_label google.cloud.dlp_v2.types.CustomInfoType.FileLabelInfoType.SensitivityLabel
Sensitivity labels published by Microsoft. This field is a member of oneof_ type.
google_drive_label google.cloud.dlp_v2.types.CustomInfoType.FileLabelInfoType.GoogleDriveLabel
Google Drive labels published by Google. This field is a member of oneof_ type.

Classes

GoogleDriveLabel

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

Google Drive labels published by Google.

SensitivityLabel

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

Sensitivity labels published by Microsoft.