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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#config_snapshot
def config_snapshot() -> ::Google::Cloud::Dlp::V2::DataProfileConfigSnapshot
- (::Google::Cloud::Dlp::V2::DataProfileConfigSnapshot) — The snapshot of the configurations used to generate the profile.
#config_snapshot=
def config_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
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — The time the file store was first created.
#create_time=
def create_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
def data_risk_level() -> ::Google::Cloud::Dlp::V2::DataRiskLevel
- (::Google::Cloud::Dlp::V2::DataRiskLevel) — The data risk level of this resource.
#data_risk_level=
def data_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
def data_source_type() -> ::Google::Cloud::Dlp::V2::DataSourceType
- (::Google::Cloud::Dlp::V2::DataSourceType) — The resource type that was profiled.
#data_source_type=
def data_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
def data_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_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.
#data_storage_locations=
def data_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_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.
-
(::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_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.
#file_cluster_summaries
def file_cluster_summaries() -> ::Array<::Google::Cloud::Dlp::V2::FileClusterSummary>
- (::Array<::Google::Cloud::Dlp::V2::FileClusterSummary>) — FileClusterSummary per each cluster.
#file_cluster_summaries=
def file_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
def file_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=
def file_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
def file_store_is_empty() -> ::Boolean
- (::Boolean) — The file store does not have any files.
#file_store_is_empty=
def file_store_is_empty=(value) -> ::Boolean
- value (::Boolean) — The file store does not have any files.
- (::Boolean) — The file store does not have any files.
#file_store_location
def file_store_location() -> ::String
-
(::String) —
The location of the file store.
- Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations
#file_store_location=
def file_store_location=(value) -> ::String
-
value (::String) —
The location of the file store.
- Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations
-
(::String) —
The location of the file store.
- Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations
#file_store_path
def file_store_path() -> ::String
-
(::String) —
The file store path.
- Cloud Storage:
gs://{bucket}
- Cloud Storage:
#file_store_path=
def file_store_path=(value) -> ::String
-
value (::String) —
The file store path.
- Cloud Storage:
gs://{bucket}
- Cloud Storage:
-
(::String) —
The file store path.
- Cloud Storage:
gs://{bucket}
- Cloud Storage:
#full_resource
def full_resource() -> ::String
- (::String) — The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name
#full_resource=
def full_resource=(value) -> ::String
- value (::String) — The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name
- (::String) — The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name
#last_modified_time
def last_modified_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — The time the file store was last modified.
#last_modified_time=
def last_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
def location_type() -> ::String
- (::String) — The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.
#location_type=
def location_type=(value) -> ::String
- value (::String) — The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.
- (::String) — The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.
#name
def name() -> ::String
- (::String) — The name of the profile.
#name=
def name=(value) -> ::String
- value (::String) — The name of the profile.
- (::String) — The name of the profile.
#profile_last_generated
def profile_last_generated() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — The last time the profile was generated.
#profile_last_generated=
def profile_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
def profile_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=
def profile_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
def project_data_profile() -> ::String
- (::String) — The resource name of the project data profile for this file store.
#project_data_profile=
def project_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
def project_id() -> ::String
- (::String) — The Google Cloud project ID that owns the resource.
#project_id=
def project_id=(value) -> ::String
- value (::String) — The Google Cloud project ID that owns the resource.
- (::String) — The Google Cloud project ID that owns the resource.
#resource_attributes
def resource_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=
def resource_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
def resource_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=
def resource_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
def resource_visibility() -> ::Google::Cloud::Dlp::V2::ResourceVisibility
- (::Google::Cloud::Dlp::V2::ResourceVisibility) — How broadly a resource has been shared.
#resource_visibility=
def resource_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.
#sensitivity_score
def sensitivity_score() -> ::Google::Cloud::Dlp::V2::SensitivityScore
- (::Google::Cloud::Dlp::V2::SensitivityScore) — The sensitivity score of this resource.
#sensitivity_score=
def sensitivity_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
def state() -> ::Google::Cloud::Dlp::V2::FileStoreDataProfile::State
- (::Google::Cloud::Dlp::V2::FileStoreDataProfile::State) — State of a profile.
#state=
def state=(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.