Google Cloud Data Loss Prevention v2 API - Class FileStoreDataProfile (4.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 > FileStoreDataProfile

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

FileStoreDataProfile()

public FileStoreDataProfile()

FileStoreDataProfile(FileStoreDataProfile)

public FileStoreDataProfile(FileStoreDataProfile other)
Parameter
Name Description
other FileStoreDataProfile

Properties

ConfigSnapshot

public DataProfileConfigSnapshot ConfigSnapshot { get; set; }

The snapshot of the configurations used to generate the profile.

Property Value
Type Description
DataProfileConfigSnapshot

CreateTime

public Timestamp CreateTime { get; set; }

The time the file store was first created.

Property Value
Type Description
Timestamp

DataRiskLevel

public DataRiskLevel DataRiskLevel { get; set; }

The data risk level of this resource.

Property Value
Type Description
DataRiskLevel

DataSourceType

public DataSourceType DataSourceType { get; set; }

The resource type that was profiled.

Property Value
Type Description
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
RepeatedFieldstring

FileClusterSummaries

public RepeatedField<FileClusterSummary> FileClusterSummaries { get; }

FileClusterSummary per each cluster.

Property Value
Type Description
RepeatedFieldFileClusterSummary

FileStoreDataProfileName

public FileStoreDataProfileName FileStoreDataProfileName { get; set; }

FileStoreDataProfileName-typed view over the Name resource name property.

Property Value
Type Description
FileStoreDataProfileName

FileStoreInfoTypeSummaries

public RepeatedField<FileStoreInfoTypeSummary> FileStoreInfoTypeSummaries { get; }

InfoTypes detected in this file store.

Property Value
Type Description
RepeatedFieldFileStoreInfoTypeSummary

FileStoreIsEmpty

public bool FileStoreIsEmpty { get; set; }

The file store does not have any files.

Property Value
Type Description
bool

FileStoreLocation

public string FileStoreLocation { get; set; }
Property Value
Type Description
string

FileStorePath

public string FileStorePath { get; set; }

The file store path.

  • Cloud Storage: gs://{bucket}
  • Amazon S3: s3://{bucket}
Property Value
Type Description
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
string

LastModifiedTime

public Timestamp LastModifiedTime { get; set; }

The time the file store was last modified.

Property Value
Type Description
Timestamp

LocationType

public string LocationType { get; set; }

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

Property Value
Type Description
string

Name

public string Name { get; set; }

The name of the profile.

Property Value
Type Description
string

ProfileLastGenerated

public Timestamp ProfileLastGenerated { get; set; }

The last time the profile was generated.

Property Value
Type Description
Timestamp

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
ProfileStatus

ProjectDataProfile

public string ProjectDataProfile { get; set; }

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

Property Value
Type Description
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
string

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
MapFieldstringValue

ResourceLabels

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

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

Property Value
Type Description
MapFieldstringstring

ResourceVisibility

public ResourceVisibility ResourceVisibility { get; set; }

How broadly a resource has been shared.

Property Value
Type Description
ResourceVisibility

SensitivityScore

public SensitivityScore SensitivityScore { get; set; }

The sensitivity score of this resource.

Property Value
Type Description
SensitivityScore

State

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

State of a profile.

Property Value
Type Description
FileStoreDataProfileTypesState