Google Cloud Data Loss Prevention v2 API - Class FileLabel (4.27.0)

public sealed class FileLabel : IMessage<FileLabel>, IEquatable<FileLabel>, IDeepCloneable<FileLabel>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class FileLabel.

Represents a file label.

Inheritance

object > FileLabel

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

FileLabel()

public FileLabel()

FileLabel(FileLabel)

public FileLabel(FileLabel other)
Parameter
Name Description
other FileLabel

Properties

GoogleDriveLabel

public FileLabel.Types.GoogleDriveLabelMetadata GoogleDriveLabel { get; set; }

Google Drive labels published by Google.

Property Value
Type Description
FileLabelTypesGoogleDriveLabelMetadata

SensitivityLabel

public FileLabel.Types.SensitivityLabelMetadata SensitivityLabel { get; set; }

Sensitivity labels published by Microsoft.

Property Value
Type Description
FileLabelTypesSensitivityLabelMetadata

TypeCase

public FileLabel.TypeOneofCase TypeCase { get; }
Property Value
Type Description
FileLabelTypeOneofCase