# Class FileStoreDataProfile (3.38.0)

3.38.0 (latest) 3.37.0 3.35.0 3.34.0 3.33.0 3.32.0 3.31.0 3.30.0 3.29.0 3.28.0 3.27.0 3.26.0 3.25.1 3.24.0 3.23.0 3.22.0 3.20.0 3.19.0 3.18.1 3.17.0 3.16.0 3.15.3 3.14.0 3.13.0 3.12.3 3.11.1 3.10.1 3.9.2 3.8.1 3.7.1 3.6.2 3.5.0 3.4.0 3.3.1 3.2.4 3.1.1 3.0.1 2.0.2 1.0.2 0.15.2 0.14.0 0.13.0 0.12.1

    FileStoreDataProfile(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The profile for a file store.

- Cloud Storage: maps 1:1 with a bucket.
- Amazon S3: maps 1:1 with a bucket.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` The name of the profile. |
| `data_source_type` | `https://docs.cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.DataSourceType` The resource type that was profiled. |
| `project_data_profile` | `str` The resource name of the project data profile for this file store. |
| `project_id` | `str` The Google Cloud project ID that owns the resource. For Amazon S3 buckets, this is the AWS Account Id. |
| `file_store_location` | `str` The location of the file store. - Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations - Amazon S3: https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints |
| `data_storage_locations` | `MutableSequence[str]` 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. `file_store_location` 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. |
| `location_type` | `str` The location type of the file store (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated. |
| `file_store_path` | `str` The file store path. - Cloud Storage: `gs://{bucket}` - Amazon S3: `s3://{bucket}` - Vertex AI dataset: `projects/{project_number}/locations/{location}/datasets/{dataset_id}` |
| `full_resource` | `str` 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: `//cloudasset.googleapis.com/organizations/{org_id}/otherCloudConnections/aws/arn:aws:s3:::{bucket_name}` |
| `config_snapshot` | `https://docs.cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.DataProfileConfigSnapshot` The snapshot of the configurations used to generate the profile. |
| `profile_status` | `https://docs.cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.ProfileStatus` Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.FileStoreDataProfile.State` State of a profile. |
| `profile_last_generated` | `google.protobuf.timestamp_pb2.Timestamp` The last time the profile was generated. |
| `resource_visibility` | `https://docs.cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.ResourceVisibility` How broadly a resource has been shared. |
| `sensitivity_score` | `https://docs.cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.SensitivityScore` The sensitivity score of this resource. |
| `data_risk_level` | `https://docs.cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.DataRiskLevel` The data risk level of this resource. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` The time the file store was first created. |
| `last_modified_time` | `google.protobuf.timestamp_pb2.Timestamp` The time the file store was last modified. |
| `file_cluster_summaries` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.FileClusterSummary]` FileClusterSummary per each cluster. |
| `resource_attributes` | `MutableMapping[str, https://docs.cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.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. |
| `resource_labels` | `MutableMapping[str, str]` The labels applied to the resource at the time the profile was generated. |
| `file_store_info_type_summaries` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.FileStoreInfoTypeSummary]` InfoTypes detected in this file store. |
| `sample_findings_table` | `https://docs.cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.BigQueryTable` The BigQuery table to which the sample findings are written. |
| `file_store_is_empty` | `bool` The file store does not have any files. If the profiling operation failed, this is false. |
| `tags` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.Tag]` The tags attached to the resource, including any tags attached during profiling. |
| `related_resources` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.RelatedResource]` Resources related to this profile. |
| `domains` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/dlp/latest/google.cloud.dlp_v2.types.Domain]` Domains associated with the profile. |

## Classes

### ResourceAttributesEntry

    ResourceAttributesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### ResourceLabelsEntry

    ResourceLabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### State

    State(value)

Possible states of a profile. New items may be added.