Reference documentation and code samples for the Data Loss Prevention V2 Client class FileStoreDataProfile.
The profile for a file store.
- Cloud Storage: maps 1:1 with a bucket.
Generated from protobuf message google.privacy.dlp.v2.FileStoreDataProfile
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of the profile.
↳ data_source_type
↳ project_data_profile
string
The resource name of the project data profile for this file store.
↳ project_id
string
The Google Cloud project ID that owns the resource.
↳ file_store_location
string
The location of the file store. * Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations
↳ data_storage_locations
array
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
string
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
string
The file store path. * Cloud Storage: gs://{bucket}
↳ full_resource
string
The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name
↳ config_snapshot
Google\Cloud\Dlp\V2\DataProfileConfigSnapshot
The snapshot of the configurations used to generate the profile.
↳ profile_status
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.
↳ state
int
State of a profile.
↳ profile_last_generated
↳ resource_visibility
int
How broadly a resource has been shared.
↳ sensitivity_score
↳ data_risk_level
↳ create_time
↳ last_modified_time
↳ file_cluster_summaries
↳ resource_attributes
array| Google\Protobuf\Internal\MapField
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
array| Google\Protobuf\Internal\MapField
The labels applied to the resource at the time the profile was generated.
↳ file_store_info_type_summaries
↳ file_store_is_empty
bool
The file store does not have any files.
getName
The name of the profile.
string
setName
The name of the profile.
var
string
$this
getDataSourceType
The resource type that was profiled.
hasDataSourceType
clearDataSourceType
setDataSourceType
The resource type that was profiled.
$this
getProjectDataProfile
The resource name of the project data profile for this file store.
string
setProjectDataProfile
The resource name of the project data profile for this file store.
var
string
$this
getProjectId
The Google Cloud project ID that owns the resource.
string
setProjectId
The Google Cloud project ID that owns the resource.
var
string
$this
getFileStoreLocation
The location of the file store.
string
setFileStoreLocation
The location of the file store.
var
string
$this
getDataStorageLocations
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.
setDataStorageLocations
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.
var
string[]
$this
getLocationType
The location type of the bucket (region, dual-region, multi-region, etc).
If dual-region, expect data_storage_locations to be populated.
string
setLocationType
The location type of the bucket (region, dual-region, multi-region, etc).
If dual-region, expect data_storage_locations to be populated.
var
string
$this
getFileStorePath
The file store path.
- Cloud Storage:
gs://{bucket}
string
setFileStorePath
The file store path.
- Cloud Storage:
gs://{bucket}
var
string
$this
getFullResource
The resource name of the resource profiled.
https://cloud.google.com/apis/design/resource_names#full_resource_name
string
setFullResource
The resource name of the resource profiled.
https://cloud.google.com/apis/design/resource_names#full_resource_name
var
string
$this
getConfigSnapshot
The snapshot of the configurations used to generate the profile.
hasConfigSnapshot
clearConfigSnapshot
setConfigSnapshot
The snapshot of the configurations used to generate the profile.
$this
getProfileStatus
Success or error status from the most recent profile generation attempt.
May be empty if the profile is still being generated.
hasProfileStatus
clearProfileStatus
setProfileStatus
Success or error status from the most recent profile generation attempt.
May be empty if the profile is still being generated.
$this
getState
State of a profile.
int
setState
State of a profile.
var
int
$this
getProfileLastGenerated
The last time the profile was generated.
hasProfileLastGenerated
clearProfileLastGenerated
setProfileLastGenerated
The last time the profile was generated.
$this
getResourceVisibility
How broadly a resource has been shared.
int
setResourceVisibility
How broadly a resource has been shared.
var
int
$this
getSensitivityScore
The sensitivity score of this resource.
hasSensitivityScore
clearSensitivityScore
setSensitivityScore
The sensitivity score of this resource.
$this
getDataRiskLevel
The data risk level of this resource.
hasDataRiskLevel
clearDataRiskLevel
setDataRiskLevel
The data risk level of this resource.
$this
getCreateTime
The time the file store was first created.
hasCreateTime
clearCreateTime
setCreateTime
The time the file store was first created.
$this
getLastModifiedTime
The time the file store was last modified.
hasLastModifiedTime
clearLastModifiedTime
setLastModifiedTime
The time the file store was last modified.
$this
getFileClusterSummaries
FileClusterSummary per each cluster.
setFileClusterSummaries
FileClusterSummary per each cluster.
$this
getResourceAttributes
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.
setResourceAttributes
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.
$this
getResourceLabels
The labels applied to the resource at the time the profile was generated.
setResourceLabels
The labels applied to the resource at the time the profile was generated.
$this
getFileStoreInfoTypeSummaries
InfoTypes detected in this file store.
setFileStoreInfoTypeSummaries
InfoTypes detected in this file store.
$this
getFileStoreIsEmpty
The file store does not have any files.
bool
setFileStoreIsEmpty
The file store does not have any files.
var
bool
$this