# Google Cloud Data Loss Prevention v2 API - Class FileStoreDataProfile (4.26.0)

4.26.0 (latest) 4.25.0 4.24.0 4.23.0 4.22.0 4.21.0 4.20.0 4.19.0 4.18.0 4.17.0 4.16.0 4.15.0 4.14.0 4.13.0 4.12.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.5.0 3.4.0 3.3.0 3.2.0 2.16.0 2.15.0

    public sealed class FileStoreDataProfile : IMessage<FileStoreDataProfile>, IEquatable<FileStoreDataProfile>, IDeepCloneable<FileStoreDataProfile>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class FileStoreDataProfile.

The profile for a file store.

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

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> FileStoreDataProfile

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FileStoreDataProfile](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.FileStoreDataProfile), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FileStoreDataProfile](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.FileStoreDataProfile), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FileStoreDataProfile](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.FileStoreDataProfile), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dlp.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2)

## Assembly

Google.Cloud.Dlp.V2.dll

## Constructors

### FileStoreDataProfile()

    public FileStoreDataProfile()

### FileStoreDataProfile(FileStoreDataProfile)

    public FileStoreDataProfile(FileStoreDataProfile other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.FileStoreDataProfile` |

## Properties

### ConfigSnapshot

    public DataProfileConfigSnapshot ConfigSnapshot { get; set; }

The snapshot of the configurations used to generate the profile.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DataProfileConfigSnapshot` |   |

### CreateTime

    public Timestamp CreateTime { get; set; }

The time the file store was first created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### DataRiskLevel

    public DataRiskLevel DataRiskLevel { get; set; }

The data risk level of this resource.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DataRiskLevel` |   |

### DataSourceType

    public DataSourceType DataSourceType { get; set; }

The resource type that was profiled.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.DataSourceType` |   |

### DataStorageLocations

    public RepeatedField<string> DataStorageLocations { get; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### Domains

    public RepeatedField<Domain> Domains { get; }

Domains associated with the profile.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.Domain` |   |

### FileClusterSummaries

    public RepeatedField<FileClusterSummary> FileClusterSummaries { get; }

FileClusterSummary per each cluster.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.FileClusterSummary` |   |

### FileStoreDataProfileName

    public FileStoreDataProfileName FileStoreDataProfileName { get; set; }

[FileStoreDataProfileName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.FileStoreDataProfileName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.FileStoreDataProfile#Google_Cloud_Dlp_V2_FileStoreDataProfile_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.FileStoreDataProfileName` |   |

### FileStoreInfoTypeSummaries

    public RepeatedField<FileStoreInfoTypeSummary> FileStoreInfoTypeSummaries { get; }

InfoTypes detected in this file store.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.FileStoreInfoTypeSummary` |   |

### FileStoreIsEmpty

    public bool FileStoreIsEmpty { get; set; }

The file store does not have any files. If the profiling operation failed,
this is false.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### FileStoreLocation

    public string FileStoreLocation { get; set; }

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>

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### FileStorePath

    public string FileStorePath { get; set; }

The file store path.

- Cloud Storage: `gs://{bucket}`
- Amazon S3: `s3://{bucket}`
- Vertex AI dataset: `projects/{project_number}/locations/{location}/datasets/{dataset_id}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### FullResource

    public string FullResource { get; set; }

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}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### LastModifiedTime

    public Timestamp LastModifiedTime { get; set; }

The time the file store was last modified.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### LocationType

    public string LocationType { get; set; }

The location type of the file store (region, dual-region, multi-region,
etc). If dual-region, expect data_storage_locations to be populated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Name

    public string Name { get; set; }

The name of the profile.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ProfileLastGenerated

    public Timestamp ProfileLastGenerated { get; set; }

The last time the profile was generated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### ProfileStatus

    public ProfileStatus ProfileStatus { get; set; }

Success or error status from the most recent profile generation attempt.
May be empty if the profile is still being generated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ProfileStatus` |   |

### ProjectDataProfile

    public string ProjectDataProfile { get; set; }

The resource name of the project data profile for this file store.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ProjectId

    public string ProjectId { get; set; }

The Google Cloud project ID that owns the resource.
For Amazon S3 buckets, this is the AWS Account Id.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### RelatedResources

    public RepeatedField<RelatedResource> RelatedResources { get; }

Resources related to this profile.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.RelatedResource` |   |

### ResourceAttributes

    public MapField<string, Value> ResourceAttributes { get; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.Value` |   |

### ResourceLabels

    public MapField<string, string> ResourceLabels { get; }

The labels applied to the resource at the time the profile was generated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### ResourceVisibility

    public ResourceVisibility ResourceVisibility { get; set; }

How broadly a resource has been shared.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.ResourceVisibility` |   |

### SampleFindingsTable

    public BigQueryTable SampleFindingsTable { get; set; }

The BigQuery table to which the sample findings are written.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.BigQueryTable` |   |

### SensitivityScore

    public SensitivityScore SensitivityScore { get; set; }

The sensitivity score of this resource.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.SensitivityScore` |   |

### State

    public FileStoreDataProfile.Types.State State { get; set; }

State of a profile.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.FileStoreDataProfilehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.FileStoreDataProfile.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.FileStoreDataProfile.Types.State` |   |

### Tags

    public RepeatedField<Tag> Tags { get; }

The tags attached to the resource, including any tags attached during
profiling.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dlp.V2/latest/Google.Cloud.Dlp.V2.Tag` |   |