- [Resource: FileStoreDataProfile](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.fileStoreDataProfiles#FileStoreDataProfile)
  - [JSON representation](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.fileStoreDataProfiles#FileStoreDataProfile.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.fileStoreDataProfiles#METHODS_SUMMARY)

## 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 (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/DataSourceType`) }, "projectDataProfile": string, "projectId": string, "fileStoreLocation": string, "dataStorageLocations": [ string ], "locationType": string, "fileStorePath": string, "fullResource": string, "configSnapshot": { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/DataProfileConfigSnapshot`) }, "profileStatus": { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/ProfileStatus`) }, "state": enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.locations.fileStoreDataProfiles#FileStoreDataProfile.State`), "profileLastGenerated": string, "resourceVisibility": enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/ResourceVisibility`), "sensitivityScore": { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/SensitivityScore`) }, "dataRiskLevel": { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/DataRiskLevel`) }, "createTime": string, "lastModifiedTime": string, "fileClusterSummaries": [ { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.locations.fileStoreDataProfiles#FileStoreDataProfile.FileClusterSummary`) } ], "resourceAttributes": { string: { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/Value`) }, ... }, "resourceLabels": { string: string, ... }, "fileStoreInfoTypeSummaries": [ { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.locations.fileStoreDataProfiles#FileStoreDataProfile.FileStoreInfoTypeSummary`) } ], "sampleFindingsTable": { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/BigQueryTable`) }, "fileStoreIsEmpty": boolean, "tags": [ { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/Tag`) } ], "relatedResources": [ { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/RelatedResource`) } ], "domains": [ { object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/Domain`) } ] } ``` |

| Fields ||
|---|---|
| `name` | `string` The name of the profile. |
| `dataSourceType` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/DataSourceType`)`` The resource type that was profiled. |
| `projectDataProfile` | `string` The resource name of the project data profile for this file store. |
| `projectId` | `string` The Google Cloud project ID that owns the resource. For Amazon S3 buckets, this is the AWS Account Id. |
| `fileStoreLocation` | `string` The location of the file store. - Cloud Storage: <https://docs.cloud.google.com/storage/docs/locations#available-locations> - Amazon S3: <https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints> |
| `dataStorageLocations[]` | `string` 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. `fileStoreLocation` will normally be the corresponding multi-region for the list of individual locations. The first region is always picked as the processing and storage location for the data profile. |
| `locationType` | `string` The location type of the file store (region, dual-region, multi-region, etc). If dual-region, expect dataStorageLocations to be populated. |
| `fileStorePath` | `string` The file store path. - Cloud Storage: `gs://{bucket}` - Amazon S3: `s3://{bucket}` - Vertex AI dataset: `projects/{project_number}/locations/{location}/datasets/{datasetId}` |
| `fullResource` | `string` The resource name of the resource profiled. <https://cloud.google.com/apis/design/resource_names#fullResourceName> Example format of an S3 bucket full resource name: `//cloudasset.googleapis.com/organizations/{org_id}/otherCloudConnections/aws/arn:aws:s3:::{bucketName}` |
| `configSnapshot` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/DataProfileConfigSnapshot`)`` The snapshot of the configurations used to generate the profile. |
| `profileStatus` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/ProfileStatus`)`` Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated. |
| `state` | ``enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.locations.fileStoreDataProfiles#FileStoreDataProfile.State`)`` State of a profile. |
| `profileLastGenerated` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The last time the profile was generated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `resourceVisibility` | ``enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/ResourceVisibility`)`` How broadly a resource has been shared. |
| `sensitivityScore` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/SensitivityScore`)`` The sensitivity score of this resource. |
| `dataRiskLevel` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/DataRiskLevel`)`` The data risk level of this resource. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The time the file store was first created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `lastModifiedTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The time the file store was last modified. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `fileClusterSummaries[]` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.locations.fileStoreDataProfiles#FileStoreDataProfile.FileClusterSummary`)`` FileClusterSummary per each cluster. |
| `resourceAttributes` | ``map (key: string, value: object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/Value`))`` Attributes of the resource being profiled. Currently used attributes: - customer_managed_encryption: boolean - true: the resource is encrypted with a customer-managed key. - false: the resource is encrypted with a provider-managed key. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `resourceLabels` | `map (key: string, value: string)` The labels applied to the resource at the time the profile was generated. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `fileStoreInfoTypeSummaries[]` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.locations.fileStoreDataProfiles#FileStoreDataProfile.FileStoreInfoTypeSummary`)`` InfoTypes detected in this file store. |
| `sampleFindingsTable` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/BigQueryTable`)`` The BigQuery table to which the sample findings are written. |
| `fileStoreIsEmpty` | `boolean` The file store does not have any files. If the profiling operation failed, this is false. |
| `tags[]` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/Tag`)`` The tags attached to the resource, including any tags attached during profiling. |
| `relatedResources[]` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/RelatedResource`)`` Resources related to this profile. |
| `domains[]` | ``object (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/Domain`)`` Domains associated with the profile. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.fileStoreDataProfiles/delete` | Delete a FileStoreDataProfile. |
| ### `https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.fileStoreDataProfiles/get` | Gets a file store data profile. |
| ### `https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.locations.fileStoreDataProfiles/list` | Lists file store data profiles for an organization. |