Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::FileStoreDataProfile (v1.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::FileStoreDataProfile.
The profile for a file store.
- Cloud Storage: maps 1:1 with a bucket.
- Amazon S3: maps 1:1 with a bucket.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#config_snapshot
defconfig_snapshot()->::Google::Cloud::Dlp::V2::DataProfileConfigSnapshot- (::Google::Cloud::Dlp::V2::DataProfileConfigSnapshot) — The snapshot of the configurations used to generate the profile.
#config_snapshot=
defconfig_snapshot=(value)->::Google::Cloud::Dlp::V2::DataProfileConfigSnapshot- value (::Google::Cloud::Dlp::V2::DataProfileConfigSnapshot) — The snapshot of the configurations used to generate the profile.
- (::Google::Cloud::Dlp::V2::DataProfileConfigSnapshot) — The snapshot of the configurations used to generate the profile.
#create_time
defcreate_time()->::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — The time the file store was first created.
#create_time=
defcreate_time=(value)->::Google::Protobuf::Timestamp- value (::Google::Protobuf::Timestamp) — The time the file store was first created.
- (::Google::Protobuf::Timestamp) — The time the file store was first created.
#data_risk_level
defdata_risk_level()->::Google::Cloud::Dlp::V2::DataRiskLevel- (::Google::Cloud::Dlp::V2::DataRiskLevel) — The data risk level of this resource.
#data_risk_level=
defdata_risk_level=(value)->::Google::Cloud::Dlp::V2::DataRiskLevel- value (::Google::Cloud::Dlp::V2::DataRiskLevel) — The data risk level of this resource.
- (::Google::Cloud::Dlp::V2::DataRiskLevel) — The data risk level of this resource.
#data_source_type
defdata_source_type()->::Google::Cloud::Dlp::V2::DataSourceType- (::Google::Cloud::Dlp::V2::DataSourceType) — The resource type that was profiled.
#data_source_type=
defdata_source_type=(value)->::Google::Cloud::Dlp::V2::DataSourceType- value (::Google::Cloud::Dlp::V2::DataSourceType) — The resource type that was profiled.
- (::Google::Cloud::Dlp::V2::DataSourceType) — The resource type that was profiled.
#data_storage_locations
defdata_storage_locations()->::Array<::String>-
(::Array<::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.
file_store_locationwill 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.
#data_storage_locations=
defdata_storage_locations=(value)->::Array<::String>-
value (::Array<::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.
file_store_locationwill 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.
-
(::Array<::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.
file_store_locationwill 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.
#domains
defdomains()->::Array<::Google::Cloud::Dlp::V2::Domain>- (::Array<::Google::Cloud::Dlp::V2::Domain>) — Domains associated with the profile.
#domains=
defdomains=(value)->::Array<::Google::Cloud::Dlp::V2::Domain>- value (::Array<::Google::Cloud::Dlp::V2::Domain>) — Domains associated with the profile.
- (::Array<::Google::Cloud::Dlp::V2::Domain>) — Domains associated with the profile.
#file_cluster_summaries
deffile_cluster_summaries()->::Array<::Google::Cloud::Dlp::V2::FileClusterSummary>- (::Array<::Google::Cloud::Dlp::V2::FileClusterSummary>) — FileClusterSummary per each cluster.
#file_cluster_summaries=
deffile_cluster_summaries=(value)->::Array<::Google::Cloud::Dlp::V2::FileClusterSummary>- value (::Array<::Google::Cloud::Dlp::V2::FileClusterSummary>) — FileClusterSummary per each cluster.
- (::Array<::Google::Cloud::Dlp::V2::FileClusterSummary>) — FileClusterSummary per each cluster.
#file_store_info_type_summaries
deffile_store_info_type_summaries()->::Array<::Google::Cloud::Dlp::V2::FileStoreInfoTypeSummary>- (::Array<::Google::Cloud::Dlp::V2::FileStoreInfoTypeSummary>) — InfoTypes detected in this file store.
#file_store_info_type_summaries=
deffile_store_info_type_summaries=(value)->::Array<::Google::Cloud::Dlp::V2::FileStoreInfoTypeSummary>- value (::Array<::Google::Cloud::Dlp::V2::FileStoreInfoTypeSummary>) — InfoTypes detected in this file store.
- (::Array<::Google::Cloud::Dlp::V2::FileStoreInfoTypeSummary>) — InfoTypes detected in this file store.
#file_store_is_empty
deffile_store_is_empty()->::Boolean- (::Boolean) — The file store does not have any files. If the profiling operation failed, this is false.
#file_store_is_empty=
deffile_store_is_empty=(value)->::Boolean- value (::Boolean) — The file store does not have any files. If the profiling operation failed, this is false.
- (::Boolean) — The file store does not have any files. If the profiling operation failed, this is false.
#file_store_location
deffile_store_location()->::String-
(::String) —
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
#file_store_location=
deffile_store_location=(value)->::String-
value (::String) —
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
-
(::String) —
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
#file_store_path
deffile_store_path()->::String-
(::String) —
The file store path.
- Cloud Storage:
gs://{bucket} - Amazon S3:
s3://{bucket} - Vertex AI dataset:
projects/{project_number}/locations/{location}/datasets/{dataset_id}
- Cloud Storage:
#file_store_path=
deffile_store_path=(value)->::String-
value (::String) —
The file store path.
- Cloud Storage:
gs://{bucket} - Amazon S3:
s3://{bucket} - Vertex AI dataset:
projects/{project_number}/locations/{location}/datasets/{dataset_id}
- Cloud Storage:
-
(::String) —
The file store path.
- Cloud Storage:
gs://{bucket} - Amazon S3:
s3://{bucket} - Vertex AI dataset:
projects/{project_number}/locations/{location}/datasets/{dataset_id}
- Cloud Storage:
#full_resource
deffull_resource()->::String-
(::String) — 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}
#full_resource=
deffull_resource=(value)->::String-
value (::String) — 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}
-
(::String) — 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}
#last_modified_time
deflast_modified_time()->::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — The time the file store was last modified.
#last_modified_time=
deflast_modified_time=(value)->::Google::Protobuf::Timestamp- value (::Google::Protobuf::Timestamp) — The time the file store was last modified.
- (::Google::Protobuf::Timestamp) — The time the file store was last modified.
#location_type
deflocation_type()->::String- (::String) — The location type of the file store (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.
#location_type=
deflocation_type=(value)->::String- value (::String) — The location type of the file store (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.
- (::String) — The location type of the file store (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.
#name
defname()->::String- (::String) — The name of the profile.
#name=
defname=(value)->::String- value (::String) — The name of the profile.
- (::String) — The name of the profile.
#profile_last_generated
defprofile_last_generated()->::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — The last time the profile was generated.
#profile_last_generated=
defprofile_last_generated=(value)->::Google::Protobuf::Timestamp- value (::Google::Protobuf::Timestamp) — The last time the profile was generated.
- (::Google::Protobuf::Timestamp) — The last time the profile was generated.
#profile_status
defprofile_status()->::Google::Cloud::Dlp::V2::ProfileStatus- (::Google::Cloud::Dlp::V2::ProfileStatus) — Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.
#profile_status=
defprofile_status=(value)->::Google::Cloud::Dlp::V2::ProfileStatus- value (::Google::Cloud::Dlp::V2::ProfileStatus) — Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.
- (::Google::Cloud::Dlp::V2::ProfileStatus) — Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.
#project_data_profile
defproject_data_profile()->::String- (::String) — The resource name of the project data profile for this file store.
#project_data_profile=
defproject_data_profile=(value)->::String- value (::String) — The resource name of the project data profile for this file store.
- (::String) — The resource name of the project data profile for this file store.
#project_id
defproject_id()->::String- (::String) — The Google Cloud project ID that owns the resource. For Amazon S3 buckets, this is the AWS Account Id.
#project_id=
defproject_id=(value)->::String- value (::String) — The Google Cloud project ID that owns the resource. For Amazon S3 buckets, this is the AWS Account Id.
- (::String) — The Google Cloud project ID that owns the resource. For Amazon S3 buckets, this is the AWS Account Id.
#related_resources
defrelated_resources()->::Array<::Google::Cloud::Dlp::V2::RelatedResource>- (::Array<::Google::Cloud::Dlp::V2::RelatedResource>) — Resources related to this profile.
#related_resources=
defrelated_resources=(value)->::Array<::Google::Cloud::Dlp::V2::RelatedResource>- value (::Array<::Google::Cloud::Dlp::V2::RelatedResource>) — Resources related to this profile.
- (::Array<::Google::Cloud::Dlp::V2::RelatedResource>) — Resources related to this profile.
#resource_attributes
defresource_attributes()->::Google::Protobuf::Map{::String=>::Google::Cloud::Dlp::V2::Value}-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Dlp::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.
- customer_managed_encryption: boolean
#resource_attributes=
defresource_attributes=(value)->::Google::Protobuf::Map{::String=>::Google::Cloud::Dlp::V2::Value}-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::Dlp::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.
- customer_managed_encryption: boolean
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Dlp::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.
- customer_managed_encryption: boolean
#resource_labels
defresource_labels()->::Google::Protobuf::Map{::String=>::String}- (::Google::Protobuf::Map{::String => ::String}) — The labels applied to the resource at the time the profile was generated.
#resource_labels=
defresource_labels=(value)->::Google::Protobuf::Map{::String=>::String}- value (::Google::Protobuf::Map{::String => ::String}) — The labels applied to the resource at the time the profile was generated.
- (::Google::Protobuf::Map{::String => ::String}) — The labels applied to the resource at the time the profile was generated.
#resource_visibility
defresource_visibility()->::Google::Cloud::Dlp::V2::ResourceVisibility- (::Google::Cloud::Dlp::V2::ResourceVisibility) — How broadly a resource has been shared.
#resource_visibility=
defresource_visibility=(value)->::Google::Cloud::Dlp::V2::ResourceVisibility- value (::Google::Cloud::Dlp::V2::ResourceVisibility) — How broadly a resource has been shared.
- (::Google::Cloud::Dlp::V2::ResourceVisibility) — How broadly a resource has been shared.
#sample_findings_table
defsample_findings_table()->::Google::Cloud::Dlp::V2::BigQueryTable- (::Google::Cloud::Dlp::V2::BigQueryTable) — The BigQuery table to which the sample findings are written.
#sample_findings_table=
defsample_findings_table=(value)->::Google::Cloud::Dlp::V2::BigQueryTable- value (::Google::Cloud::Dlp::V2::BigQueryTable) — The BigQuery table to which the sample findings are written.
- (::Google::Cloud::Dlp::V2::BigQueryTable) — The BigQuery table to which the sample findings are written.
#sensitivity_score
defsensitivity_score()->::Google::Cloud::Dlp::V2::SensitivityScore- (::Google::Cloud::Dlp::V2::SensitivityScore) — The sensitivity score of this resource.
#sensitivity_score=
defsensitivity_score=(value)->::Google::Cloud::Dlp::V2::SensitivityScore- value (::Google::Cloud::Dlp::V2::SensitivityScore) — The sensitivity score of this resource.
- (::Google::Cloud::Dlp::V2::SensitivityScore) — The sensitivity score of this resource.
#state
defstate()->::Google::Cloud::Dlp::V2::FileStoreDataProfile::State- (::Google::Cloud::Dlp::V2::FileStoreDataProfile::State) — State of a profile.
#state=
defstate=(value)->::Google::Cloud::Dlp::V2::FileStoreDataProfile::State- value (::Google::Cloud::Dlp::V2::FileStoreDataProfile::State) — State of a profile.
- (::Google::Cloud::Dlp::V2::FileStoreDataProfile::State) — State of a profile.
#tags
deftags()->::Array<::Google::Cloud::Dlp::V2::Tag>- (::Array<::Google::Cloud::Dlp::V2::Tag>) — The tags attached to the resource, including any tags attached during profiling.
#tags=
deftags=(value)->::Array<::Google::Cloud::Dlp::V2::Tag>- value (::Array<::Google::Cloud::Dlp::V2::Tag>) — The tags attached to the resource, including any tags attached during profiling.
- (::Array<::Google::Cloud::Dlp::V2::Tag>) — The tags attached to the resource, including any tags attached during profiling.