Class protos.google.privacy.dlp.v2.TableDataProfile (4.1.1)

Represents a TableDataProfile.

Package

@google-cloud/dlp

Constructors

(constructor)(properties)

constructor(properties?: google.privacy.dlp.v2.ITableDataProfile);

Constructs a new TableDataProfile.

Parameter
NameDescription
properties ITableDataProfile

Properties to set

Properties

configSnapshot

public configSnapshot?: (google.privacy.dlp.v2.IDataProfileConfigSnapshot|null);

TableDataProfile configSnapshot.

createTime

public createTime?: (google.protobuf.ITimestamp|null);

TableDataProfile createTime.

dataRiskLevel

public dataRiskLevel?: (google.privacy.dlp.v2.IDataRiskLevel|null);

TableDataProfile dataRiskLevel.

datasetId

public datasetId: string;

TableDataProfile datasetId.

datasetLocation

public datasetLocation: string;

TableDataProfile datasetLocation.

datasetProjectId

public datasetProjectId: string;

TableDataProfile datasetProjectId.

encryptionStatus

public encryptionStatus: (google.privacy.dlp.v2.EncryptionStatus|keyof typeof google.privacy.dlp.v2.EncryptionStatus);

TableDataProfile encryptionStatus.

expirationTime

public expirationTime?: (google.protobuf.ITimestamp|null);

TableDataProfile expirationTime.

failedColumnCount

public failedColumnCount: (number|Long|string);

TableDataProfile failedColumnCount.

fullResource

public fullResource: string;

TableDataProfile fullResource.

lastModifiedTime

public lastModifiedTime?: (google.protobuf.ITimestamp|null);

TableDataProfile lastModifiedTime.

name

public name: string;

TableDataProfile name.

otherInfoTypes

public otherInfoTypes: google.privacy.dlp.v2.IOtherInfoTypeSummary[];

TableDataProfile otherInfoTypes.

predictedInfoTypes

public predictedInfoTypes: google.privacy.dlp.v2.IInfoTypeSummary[];

TableDataProfile predictedInfoTypes.

profileLastGenerated

public profileLastGenerated?: (google.protobuf.ITimestamp|null);

TableDataProfile profileLastGenerated.

profileStatus

public profileStatus?: (google.privacy.dlp.v2.IProfileStatus|null);

TableDataProfile profileStatus.

projectDataProfile

public projectDataProfile: string;

TableDataProfile projectDataProfile.

resourceLabels

public resourceLabels: { [k: string]: string };

TableDataProfile resourceLabels.

resourceVisibility

public resourceVisibility: (google.privacy.dlp.v2.ResourceVisibility|keyof typeof google.privacy.dlp.v2.ResourceVisibility);

TableDataProfile resourceVisibility.

rowCount

public rowCount: (number|Long|string);

TableDataProfile rowCount.

scannedColumnCount

public scannedColumnCount: (number|Long|string);

TableDataProfile scannedColumnCount.

sensitivityScore

public sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);

TableDataProfile sensitivityScore.

state

public state: (google.privacy.dlp.v2.TableDataProfile.State|keyof typeof google.privacy.dlp.v2.TableDataProfile.State);

TableDataProfile state.

tableId

public tableId: string;

TableDataProfile tableId.

tableSizeBytes

public tableSizeBytes: (number|Long|string);

TableDataProfile tableSizeBytes.

Methods

create(properties)

public static create(properties?: google.privacy.dlp.v2.ITableDataProfile): google.privacy.dlp.v2.TableDataProfile;

Creates a new TableDataProfile instance using the specified properties.

Parameter
NameDescription
properties ITableDataProfile

Properties to set

Returns
TypeDescription
google.privacy.dlp.v2.TableDataProfile

TableDataProfile instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.TableDataProfile;

Decodes a TableDataProfile message from the specified reader or buffer.

Parameters
NameDescription
reader ($protobuf.Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
google.privacy.dlp.v2.TableDataProfile

TableDataProfile

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.TableDataProfile;

Decodes a TableDataProfile message from the specified reader or buffer, length delimited.

Parameter
NameDescription
reader ($protobuf.Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
google.privacy.dlp.v2.TableDataProfile

TableDataProfile

encode(message, writer)

public static encode(message: google.privacy.dlp.v2.ITableDataProfile, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified TableDataProfile message. Does not implicitly messages.

Parameters
NameDescription
message ITableDataProfile

TableDataProfile message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.privacy.dlp.v2.ITableDataProfile, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified TableDataProfile message, length delimited. Does not implicitly messages.

Parameters
NameDescription
message ITableDataProfile

TableDataProfile message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.privacy.dlp.v2.TableDataProfile;

Creates a TableDataProfile message from a plain object. Also converts values to their respective internal types.

Parameter
NameDescription
object { [k: string]: any }

Plain object

Returns
TypeDescription
google.privacy.dlp.v2.TableDataProfile

TableDataProfile

getTypeUrl(typeUrlPrefix)

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for TableDataProfile

Parameter
NameDescription
typeUrlPrefix string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns
TypeDescription
string

The default type url

toJSON()

public toJSON(): { [k: string]: any };

Converts this TableDataProfile to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.privacy.dlp.v2.TableDataProfile, options?: $protobuf.IConversionOptions): { [k: string]: any };

Creates a plain object from a TableDataProfile message. Also converts values to other types if specified.

Parameters
NameDescription
message google.privacy.dlp.v2.TableDataProfile

TableDataProfile

options $protobuf.IConversionOptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies a TableDataProfile message.

Parameter
NameDescription
message { [k: string]: any }

Plain object to verify

Returns
TypeDescription
(string|null)

null if valid, otherwise the reason why it is not