Resource: FileStoreDataProfile
The profile for a file store.
- Cloud Storage: maps 1:1 with a bucket.
- Amazon S3: maps 1:1 with a bucket.
JSON representation |
---|
{ "name": string, "dataSourceType": { object ( |
Fields | |
---|---|
name |
The name of the profile. |
data |
The resource type that was profiled. |
project |
The resource name of the project data profile for this file store. |
project |
The Google Cloud project ID that owns the resource. For Amazon S3 buckets, this is the AWS Account Id. |
file |
The location of the file store. |
data |
For resources that have multiple storage locations, these are those regions. For Cloud Storage this is the list of regions chosen for dual-region storage. |
location |
The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect dataStorageLocations to be populated. |
file |
The file store path.
|
full |
The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name Example format of an S3 bucket full resource name: |
config |
The snapshot of the configurations used to generate the profile. |
profile |
Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated. |
state |
State of a profile. |
profile |
The last time the profile was generated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
resource |
How broadly a resource has been shared. |
sensitivity |
The sensitivity score of this resource. |
data |
The data risk level of this resource. |
create |
The time the file store was first created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
last |
The time the file store was last modified. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
file |
FileClusterSummary per each cluster. |
resource |
Attributes of the resource being profiled. Currently used attributes:
An object containing a list of |
resource |
The labels applied to the resource at the time the profile was generated. An object containing a list of |
file |
InfoTypes detected in this file store. |
sample |
The BigQuery table to which the sample findings are written. |
file |
The file store does not have any files. |
State
Possible states of a profile. New items may be added.
Enums | |
---|---|
STATE_UNSPECIFIED |
Unused. |
RUNNING |
The profile is currently running. Once a profile has finished it will transition to DONE. |
DONE |
The profile is no longer generating. If profileStatus.status.code is 0, the profile succeeded, otherwise, it failed. |
FileClusterSummary
The file cluster summary.
JSON representation |
---|
{ "fileClusterType": { object ( |
Fields | |
---|---|
file |
The file cluster type. |
file |
InfoTypes detected in this cluster. |
sensitivity |
The sensitivity score of this cluster. The score will be SENSITIVITY_LOW if nothing has been scanned. |
data |
The data risk level of this cluster. RISK_LOW if nothing has been scanned. |
errors[] |
A list of errors detected while scanning this cluster. The list is truncated to 10 per cluster. |
file |
A sample of file types scanned in this cluster. Empty if no files were scanned. File extensions can be derived from the file name or the file content. |
file |
A sample of file types seen in this cluster. Empty if no files were seen. File extensions can be derived from the file name or the file content. |
no |
True if no files exist in this cluster. If the bucket had more files than could be listed, this will be false even if no files for this cluster were seen and fileExtensionsSeen is empty. |
FileClusterType
Message used to identify file cluster type being profiled.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field file_cluster_type . File cluster type. file_cluster_type can be only one of the following: |
|
cluster |
Cluster type. |
Cluster
Cluster type. Each cluster corresponds to a set of file types. Over time, new types may be added and files may move between clusters.
Enums | |
---|---|
CLUSTER_UNSPECIFIED |
Unused. |
CLUSTER_UNKNOWN |
Unsupported files. |
CLUSTER_TEXT |
Plain text. |
CLUSTER_STRUCTURED_DATA |
Structured data like CSV, TSV etc. |
CLUSTER_SOURCE_CODE |
Source code. |
CLUSTER_RICH_DOCUMENT |
Rich document like docx, xlsx etc. |
CLUSTER_IMAGE |
Images like jpeg, bmp. |
CLUSTER_ARCHIVE |
Archives and containers like .zip, .tar etc. |
CLUSTER_MULTIMEDIA |
Multimedia like .mp4, .avi etc. |
CLUSTER_EXECUTABLE |
Executable files like .exe, .class, .apk etc. |
FileStoreInfoTypeSummary
Information regarding the discovered InfoType.
JSON representation |
---|
{
"infoType": {
object ( |
Fields | |
---|---|
info |
The InfoType seen. |
FileExtensionInfo
Information regarding the discovered file extension.
JSON representation |
---|
{ "fileExtension": string } |
Fields | |
---|---|
file |
The file extension if set. (aka .pdf, .jpg, .txt) |
Methods |
|
---|---|
|
Delete a FileStoreDataProfile. |
|
Gets a file store data profile. |
|
Lists file store data profiles for an organization. |