Represents a FileStoreDataProfile.
Package
@google-cloud/dlpConstructors
(constructor)(properties)
constructor(properties?: google.privacy.dlp.v2.IFileStoreDataProfile);
Constructs a new FileStoreDataProfile.
Parameter | |
---|---|
Name | Description |
properties |
IFileStoreDataProfile
Properties to set |
Properties
configSnapshot
public configSnapshot?: (google.privacy.dlp.v2.IDataProfileConfigSnapshot|null);
FileStoreDataProfile configSnapshot.
createTime
public createTime?: (google.protobuf.ITimestamp|null);
FileStoreDataProfile createTime.
dataRiskLevel
public dataRiskLevel?: (google.privacy.dlp.v2.IDataRiskLevel|null);
FileStoreDataProfile dataRiskLevel.
dataSourceType
public dataSourceType?: (google.privacy.dlp.v2.IDataSourceType|null);
FileStoreDataProfile dataSourceType.
dataStorageLocations
public dataStorageLocations: string[];
FileStoreDataProfile dataStorageLocations.
fileClusterSummaries
public fileClusterSummaries: google.privacy.dlp.v2.IFileClusterSummary[];
FileStoreDataProfile fileClusterSummaries.
fileStoreInfoTypeSummaries
public fileStoreInfoTypeSummaries: google.privacy.dlp.v2.IFileStoreInfoTypeSummary[];
FileStoreDataProfile fileStoreInfoTypeSummaries.
fileStoreIsEmpty
public fileStoreIsEmpty: boolean;
FileStoreDataProfile fileStoreIsEmpty.
fileStoreLocation
public fileStoreLocation: string;
FileStoreDataProfile fileStoreLocation.
fileStorePath
public fileStorePath: string;
FileStoreDataProfile fileStorePath.
fullResource
public fullResource: string;
FileStoreDataProfile fullResource.
lastModifiedTime
public lastModifiedTime?: (google.protobuf.ITimestamp|null);
FileStoreDataProfile lastModifiedTime.
locationType
public locationType: string;
FileStoreDataProfile locationType.
name
public name: string;
FileStoreDataProfile name.
profileLastGenerated
public profileLastGenerated?: (google.protobuf.ITimestamp|null);
FileStoreDataProfile profileLastGenerated.
profileStatus
public profileStatus?: (google.privacy.dlp.v2.IProfileStatus|null);
FileStoreDataProfile profileStatus.
projectDataProfile
public projectDataProfile: string;
FileStoreDataProfile projectDataProfile.
projectId
public projectId: string;
FileStoreDataProfile projectId.
resourceAttributes
public resourceAttributes: { [k: string]: google.privacy.dlp.v2.IValue };
FileStoreDataProfile resourceAttributes.
resourceLabels
public resourceLabels: { [k: string]: string };
FileStoreDataProfile resourceLabels.
resourceVisibility
public resourceVisibility: (google.privacy.dlp.v2.ResourceVisibility|keyof typeof google.privacy.dlp.v2.ResourceVisibility);
FileStoreDataProfile resourceVisibility.
sensitivityScore
public sensitivityScore?: (google.privacy.dlp.v2.ISensitivityScore|null);
FileStoreDataProfile sensitivityScore.
state
public state: (google.privacy.dlp.v2.FileStoreDataProfile.State|keyof typeof google.privacy.dlp.v2.FileStoreDataProfile.State);
FileStoreDataProfile state.
Methods
create(properties)
public static create(properties?: google.privacy.dlp.v2.IFileStoreDataProfile): google.privacy.dlp.v2.FileStoreDataProfile;
Creates a new FileStoreDataProfile instance using the specified properties.
Parameter | |
---|---|
Name | Description |
properties |
IFileStoreDataProfile
Properties to set |
Returns | |
---|---|
Type | Description |
FileStoreDataProfile |
FileStoreDataProfile instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.privacy.dlp.v2.FileStoreDataProfile;
Decodes a FileStoreDataProfile 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 |
FileStoreDataProfile |
FileStoreDataProfile |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.privacy.dlp.v2.FileStoreDataProfile;
Decodes a FileStoreDataProfile message from the specified reader or buffer, length delimited.
Parameter | |
---|---|
Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
Returns | |
---|---|
Type | Description |
FileStoreDataProfile |
FileStoreDataProfile |
encode(message, writer)
public static encode(message: google.privacy.dlp.v2.IFileStoreDataProfile, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified FileStoreDataProfile message. Does not implicitly messages.
Parameters | |
---|---|
Name | Description |
message |
IFileStoreDataProfile
FileStoreDataProfile 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.IFileStoreDataProfile, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified FileStoreDataProfile message, length delimited. Does not implicitly messages.
Parameters | |
---|---|
Name | Description |
message |
IFileStoreDataProfile
FileStoreDataProfile 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.FileStoreDataProfile;
Creates a FileStoreDataProfile 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 |
FileStoreDataProfile |
FileStoreDataProfile |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;
Gets the default type url for FileStoreDataProfile
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 FileStoreDataProfile to JSON.
Returns | |
---|---|
Type | Description |
{ [k: string]: any } |
JSON object |
toObject(message, options)
public static toObject(message: google.privacy.dlp.v2.FileStoreDataProfile, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from a FileStoreDataProfile message. Also converts values to other types if specified.
Parameters | |
---|---|
Name | Description |
message |
FileStoreDataProfile
FileStoreDataProfile |
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 FileStoreDataProfile message.
Parameter | |
---|---|
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Returns | |
---|---|
Type | Description |
(string|null) |
|