Class FileStoreDataProfile (3.24.0)

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 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 bucket (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}
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 google.cloud.dlp_v2.types.DataProfileConfigSnapshot
The snapshot of the configurations used to generate the profile.
profile_status 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 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 google.cloud.dlp_v2.types.ResourceVisibility
How broadly a resource has been shared.
sensitivity_score google.cloud.dlp_v2.types.SensitivityScore
The sensitivity score of this resource.
data_risk_level 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[google.cloud.dlp_v2.types.FileClusterSummary]
FileClusterSummary per each cluster.
resource_attributes MutableMapping[str, 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[google.cloud.dlp_v2.types.FileStoreInfoTypeSummary]
InfoTypes detected in this file store.
file_store_is_empty bool
The file store does not have any files.

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.