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

Represents a TableDataProfile.

Package

@google-cloud/dlp

Constructors

(constructor)(properties)

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

Constructs a new TableDataProfile.

Parameter
Name Description
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.

dataSourceType

public dataSourceType?: (google.privacy.dlp.v2.IDataSourceType|null);

TableDataProfile dataSourceType.

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
Name Description
properties ITableDataProfile

Properties to set

Returns
Type Description
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
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
Type Description
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
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
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
Name Description
message ITableDataProfile

TableDataProfile message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$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
Name Description
message ITableDataProfile

TableDataProfile message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$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
Name Description
object { [k: string]: any }

Plain object

Returns
Type Description
TableDataProfile

TableDataProfile

getTypeUrl(typeUrlPrefix)

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

Gets the default type url for TableDataProfile

Parameter
Name Description
typeUrlPrefix string

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

Returns
Type Description
string

The default type url

toJSON()

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

Converts this TableDataProfile to JSON.

Returns
Type Description
{ [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
Name Description
message TableDataProfile

TableDataProfile

options $protobuf.IConversionOptions

Conversion options

Returns
Type Description
{ [k: string]: any }

Plain object

verify(message)

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

Verifies a TableDataProfile message.

Parameter
Name Description
message { [k: string]: any }

Plain object to verify

Returns
Type Description
(string|null)

null if valid, otherwise the reason why it is not