Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::ColumnDataProfile (v1.14.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::ColumnDataProfile.
The profile for a scanned column within a table.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#column
defcolumn()->::String
Returns
- (::String) — The name of the column.
#column=
defcolumn=(value)->::String
Parameter
- value (::String) — The name of the column.
Returns
- (::String) — The name of the column.
#column_info_type
defcolumn_info_type()->::Google::Cloud::Dlp::V2::InfoTypeSummary
Returns
- (::Google::Cloud::Dlp::V2::InfoTypeSummary) — If it's been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types.
#column_info_type=
defcolumn_info_type=(value)->::Google::Cloud::Dlp::V2::InfoTypeSummary
Parameter
- value (::Google::Cloud::Dlp::V2::InfoTypeSummary) — If it's been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types.
Returns
- (::Google::Cloud::Dlp::V2::InfoTypeSummary) — If it's been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types.
#column_type
defcolumn_type()->::Google::Cloud::Dlp::V2::ColumnDataProfile::ColumnDataType
Returns
- (::Google::Cloud::Dlp::V2::ColumnDataProfile::ColumnDataType) — The data type of a given column.
#column_type=
defcolumn_type=(value)->::Google::Cloud::Dlp::V2::ColumnDataProfile::ColumnDataType
Parameter
- value (::Google::Cloud::Dlp::V2::ColumnDataProfile::ColumnDataType) — The data type of a given column.
Returns
- (::Google::Cloud::Dlp::V2::ColumnDataProfile::ColumnDataType) — The data type of a given column.
#data_risk_level
defdata_risk_level()->::Google::Cloud::Dlp::V2::DataRiskLevel
Returns
- (::Google::Cloud::Dlp::V2::DataRiskLevel) — The data risk level for this column.
#data_risk_level=
defdata_risk_level=(value)->::Google::Cloud::Dlp::V2::DataRiskLevel
Parameter
- value (::Google::Cloud::Dlp::V2::DataRiskLevel) — The data risk level for this column.
Returns
- (::Google::Cloud::Dlp::V2::DataRiskLevel) — The data risk level for this column.
#dataset_id
defdataset_id()->::String
Returns
- (::String) — The BigQuery dataset ID, if the resource profiled is a BigQuery table.
#dataset_id=
defdataset_id=(value)->::String
Parameter
- value (::String) — The BigQuery dataset ID, if the resource profiled is a BigQuery table.
Returns
- (::String) — The BigQuery dataset ID, if the resource profiled is a BigQuery table.
#dataset_location
defdataset_location()->::String
Returns
- (::String) — If supported, the location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported BigQuery locations.
#dataset_location=
defdataset_location=(value)->::String
Parameter
- value (::String) — If supported, the location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported BigQuery locations.
Returns
- (::String) — If supported, the location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported BigQuery locations.
#dataset_project_id
defdataset_project_id()->::String
Returns
- (::String) — The Google Cloud project ID that owns the profiled resource.
#dataset_project_id=
defdataset_project_id=(value)->::String
Parameter
- value (::String) — The Google Cloud project ID that owns the profiled resource.
Returns
- (::String) — The Google Cloud project ID that owns the profiled resource.
#estimated_null_percentage
defestimated_null_percentage()->::Google::Cloud::Dlp::V2::NullPercentageLevel
Returns
- (::Google::Cloud::Dlp::V2::NullPercentageLevel) — Approximate percentage of entries being null in the column.
#estimated_null_percentage=
defestimated_null_percentage=(value)->::Google::Cloud::Dlp::V2::NullPercentageLevel
Parameter
- value (::Google::Cloud::Dlp::V2::NullPercentageLevel) — Approximate percentage of entries being null in the column.
Returns
- (::Google::Cloud::Dlp::V2::NullPercentageLevel) — Approximate percentage of entries being null in the column.
#estimated_uniqueness_score
defestimated_uniqueness_score()->::Google::Cloud::Dlp::V2::UniquenessScoreLevel
Returns
- (::Google::Cloud::Dlp::V2::UniquenessScoreLevel) — Approximate uniqueness of the column.
#estimated_uniqueness_score=
defestimated_uniqueness_score=(value)->::Google::Cloud::Dlp::V2::UniquenessScoreLevel
Parameter
- value (::Google::Cloud::Dlp::V2::UniquenessScoreLevel) — Approximate uniqueness of the column.
Returns
- (::Google::Cloud::Dlp::V2::UniquenessScoreLevel) — Approximate uniqueness of the column.
#free_text_score
deffree_text_score()->::Float
Returns
- (::Float) — The likelihood that this column contains free-form text. A value close to 1 may indicate the column is likely to contain free-form or natural language text. Range in 0-1.
#free_text_score=
deffree_text_score=(value)->::Float
Parameter
- value (::Float) — The likelihood that this column contains free-form text. A value close to 1 may indicate the column is likely to contain free-form or natural language text. Range in 0-1.
Returns
- (::Float) — The likelihood that this column contains free-form text. A value close to 1 may indicate the column is likely to contain free-form or natural language text. Range in 0-1.
#name
defname()->::String
Returns
- (::String) — The name of the profile.
#name=
defname=(value)->::String
Parameter
- value (::String) — The name of the profile.
Returns
- (::String) — The name of the profile.
#other_matches
defother_matches()->::Array<::Google::Cloud::Dlp::V2::OtherInfoTypeSummary>
Returns
- (::Array<::Google::Cloud::Dlp::V2::OtherInfoTypeSummary>) — Other types found within this column. List will be unordered.
#other_matches=
defother_matches=(value)->::Array<::Google::Cloud::Dlp::V2::OtherInfoTypeSummary>
Parameter
- value (::Array<::Google::Cloud::Dlp::V2::OtherInfoTypeSummary>) — Other types found within this column. List will be unordered.
Returns
- (::Array<::Google::Cloud::Dlp::V2::OtherInfoTypeSummary>) — Other types found within this column. List will be unordered.
#policy_state
defpolicy_state()->::Google::Cloud::Dlp::V2::ColumnDataProfile::ColumnPolicyState
Returns
- (::Google::Cloud::Dlp::V2::ColumnDataProfile::ColumnPolicyState) — Indicates if a policy tag has been applied to the column.
#policy_state=
defpolicy_state=(value)->::Google::Cloud::Dlp::V2::ColumnDataProfile::ColumnPolicyState
Parameter
- value (::Google::Cloud::Dlp::V2::ColumnDataProfile::ColumnPolicyState) — Indicates if a policy tag has been applied to the column.
Returns
- (::Google::Cloud::Dlp::V2::ColumnDataProfile::ColumnPolicyState) — Indicates if a policy tag has been applied to the column.
#profile_last_generated
defprofile_last_generated()->::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The last time the profile was generated.
#profile_last_generated=
defprofile_last_generated=(value)->::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The last time the profile was generated.
Returns
- (::Google::Protobuf::Timestamp) — The last time the profile was generated.
#profile_status
defprofile_status()->::Google::Cloud::Dlp::V2::ProfileStatus
Returns
- (::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
Parameter
- 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.
Returns
- (::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.
#sensitivity_score
defsensitivity_score()->::Google::Cloud::Dlp::V2::SensitivityScore
Returns
- (::Google::Cloud::Dlp::V2::SensitivityScore) — The sensitivity of this column.
#sensitivity_score=
defsensitivity_score=(value)->::Google::Cloud::Dlp::V2::SensitivityScore
Parameter
- value (::Google::Cloud::Dlp::V2::SensitivityScore) — The sensitivity of this column.
Returns
- (::Google::Cloud::Dlp::V2::SensitivityScore) — The sensitivity of this column.
#state
defstate()->::Google::Cloud::Dlp::V2::ColumnDataProfile::State
Returns
- (::Google::Cloud::Dlp::V2::ColumnDataProfile::State) — State of a profile.
#state=
defstate=(value)->::Google::Cloud::Dlp::V2::ColumnDataProfile::State
Parameter
- value (::Google::Cloud::Dlp::V2::ColumnDataProfile::State) — State of a profile.
Returns
- (::Google::Cloud::Dlp::V2::ColumnDataProfile::State) — State of a profile.
#table_data_profile
deftable_data_profile()->::String
Returns
- (::String) — The resource name of the table data profile.
#table_data_profile=
deftable_data_profile=(value)->::String
Parameter
- value (::String) — The resource name of the table data profile.
Returns
- (::String) — The resource name of the table data profile.
#table_full_resource
deftable_full_resource()->::String
Returns
- (::String) — The resource name of the resource this column is within.
#table_full_resource=
deftable_full_resource=(value)->::String
Parameter
- value (::String) — The resource name of the resource this column is within.
Returns
- (::String) — The resource name of the resource this column is within.
#table_id
deftable_id()->::String
Returns
- (::String) — The table ID.
#table_id=
deftable_id=(value)->::String
Parameter
- value (::String) — The table ID.
Returns
- (::String) — The table ID.