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
def column() -> ::String
Returns
- (::String) — The name of the column.
#column=
def column=(value) -> ::String
Parameter
- value (::String) — The name of the column.
Returns
- (::String) — The name of the column.
#column_info_type
def column_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=
def column_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
def column_type() -> ::Google::Cloud::Dlp::V2::ColumnDataProfile::ColumnDataType
Returns
- (::Google::Cloud::Dlp::V2::ColumnDataProfile::ColumnDataType) — The data type of a given column.
#column_type=
def column_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
def data_risk_level() -> ::Google::Cloud::Dlp::V2::DataRiskLevel
Returns
- (::Google::Cloud::Dlp::V2::DataRiskLevel) — The data risk level for this column.
#data_risk_level=
def data_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
def dataset_id() -> ::String
Returns
- (::String) — The BigQuery dataset ID.
#dataset_id=
def dataset_id=(value) -> ::String
Parameter
- value (::String) — The BigQuery dataset ID.
Returns
- (::String) — The BigQuery dataset ID.
#dataset_location
def dataset_location() -> ::String
Returns
- (::String) — The BigQuery location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations.
#dataset_location=
def dataset_location=(value) -> ::String
Parameter
- value (::String) — The BigQuery location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations.
Returns
- (::String) — The BigQuery location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations.
#dataset_project_id
def dataset_project_id() -> ::String
Returns
- (::String) — The Google Cloud project ID that owns the BigQuery dataset.
#dataset_project_id=
def dataset_project_id=(value) -> ::String
Parameter
- value (::String) — The Google Cloud project ID that owns the BigQuery dataset.
Returns
- (::String) — The Google Cloud project ID that owns the BigQuery dataset.
#estimated_null_percentage
def estimated_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=
def estimated_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
def estimated_uniqueness_score() -> ::Google::Cloud::Dlp::V2::UniquenessScoreLevel
Returns
- (::Google::Cloud::Dlp::V2::UniquenessScoreLevel) — Approximate uniqueness of the column.
#estimated_uniqueness_score=
def estimated_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
def free_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=
def free_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
def name() -> ::String
Returns
- (::String) — The name of the profile.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The name of the profile.
Returns
- (::String) — The name of the profile.
#other_matches
def other_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=
def other_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
def policy_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=
def policy_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
def profile_last_generated() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The last time the profile was generated.
#profile_last_generated=
def profile_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
def profile_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=
def profile_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
def sensitivity_score() -> ::Google::Cloud::Dlp::V2::SensitivityScore
Returns
- (::Google::Cloud::Dlp::V2::SensitivityScore) — The sensitivity of this column.
#sensitivity_score=
def sensitivity_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
def state() -> ::Google::Cloud::Dlp::V2::ColumnDataProfile::State
Returns
- (::Google::Cloud::Dlp::V2::ColumnDataProfile::State) — State of a profile.
#state=
def state=(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
def table_data_profile() -> ::String
Returns
- (::String) — The resource name of the table data profile.
#table_data_profile=
def table_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
def table_full_resource() -> ::String
Returns
- (::String) — The resource name of the table this column is within.
#table_full_resource=
def table_full_resource=(value) -> ::String
Parameter
- value (::String) — The resource name of the table this column is within.
Returns
- (::String) — The resource name of the table this column is within.
#table_id
def table_id() -> ::String
Returns
- (::String) — The BigQuery table ID.
#table_id=
def table_id=(value) -> ::String
Parameter
- value (::String) — The BigQuery table ID.
Returns
- (::String) — The BigQuery table ID.