Represents a TableDataProfile.
Package
@google-cloud/dlpConstructors
(constructor)(properties)
constructor(properties?: google.privacy.dlp.v2.ITableDataProfile);Constructs a new TableDataProfile.
| 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.
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.
| Name | Description |
| properties |
ITableDataProfile
Properties to set |
| Type | Description |
| 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.
| Name | Description |
| reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
| length |
number
Message length if known beforehand |
| Type | Description |
| 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.
| Name | Description |
| reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
| Type | Description |
| 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.
| Name | Description |
| message |
ITableDataProfile
TableDataProfile message or plain object to encode |
| writer |
$protobuf.Writer
Writer to encode to |
| 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.
| Name | Description |
| message |
ITableDataProfile
TableDataProfile message or plain object to encode |
| writer |
$protobuf.Writer
Writer to encode to |
| 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.
| Name | Description |
| object |
{ [k: string]: any }
Plain object |
| Type | Description |
| google.privacy.dlp.v2.TableDataProfile | TableDataProfile |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;Gets the default type url for TableDataProfile
| Name | Description |
| typeUrlPrefix |
string
your custom typeUrlPrefix(default "type.googleapis.com") |
| Type | Description |
| string | The default type url |
toJSON()
public toJSON(): { [k: string]: any };Converts this TableDataProfile to JSON.
| 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.
| Name | Description |
| message |
google.privacy.dlp.v2.TableDataProfile
TableDataProfile |
| options |
$protobuf.IConversionOptions
Conversion options |
| Type | Description |
| { [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);Verifies a TableDataProfile message.
| Name | Description |
| message |
{ [k: string]: any }
Plain object to verify |
| Type | Description |
| (string|null) |
|