Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::TableDataProfile.
The profile for a scanned table.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#config_snapshot
def config_snapshot() -> ::Google::Cloud::Dlp::V2::DataProfileConfigSnapshot
Returns
- (::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
Parameter
- value (::Google::Cloud::Dlp::V2::DataProfileConfigSnapshot) — The snapshot of the configurations used to generate the profile.
Returns
- (::Google::Cloud::Dlp::V2::DataProfileConfigSnapshot) — The snapshot of the configurations used to generate the profile.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time at which the table was created.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time at which the table was created.
Returns
- (::Google::Protobuf::Timestamp) — The time at which the table was created.
#data_risk_level
def data_risk_level() -> ::Google::Cloud::Dlp::V2::DataRiskLevel
Returns
- (::Google::Cloud::Dlp::V2::DataRiskLevel) — The data risk level of this table.
#data_risk_level=
def data_risk_level=(value) -> ::Google::Cloud::Dlp::V2::DataRiskLevel
Parameter
- value (::Google::Cloud::Dlp::V2::DataRiskLevel) — The data risk level of this table.
Returns
- (::Google::Cloud::Dlp::V2::DataRiskLevel) — The data risk level of this table.
#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 GCP project ID that owns the BigQuery dataset.
#dataset_project_id=
def dataset_project_id=(value) -> ::String
Parameter
- value (::String) — The GCP project ID that owns the BigQuery dataset.
Returns
- (::String) — The GCP project ID that owns the BigQuery dataset.
#encryption_status
def encryption_status() -> ::Google::Cloud::Dlp::V2::EncryptionStatus
Returns
- (::Google::Cloud::Dlp::V2::EncryptionStatus) — How the table is encrypted.
#encryption_status=
def encryption_status=(value) -> ::Google::Cloud::Dlp::V2::EncryptionStatus
Parameter
- value (::Google::Cloud::Dlp::V2::EncryptionStatus) — How the table is encrypted.
Returns
- (::Google::Cloud::Dlp::V2::EncryptionStatus) — How the table is encrypted.
#expiration_time
def expiration_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. The time when this table expires.
#expiration_time=
def expiration_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. The time when this table expires.
Returns
- (::Google::Protobuf::Timestamp) — Optional. The time when this table expires.
#failed_column_count
def failed_column_count() -> ::Integer
Returns
- (::Integer) — The number of columns skipped in the table because of an error.
#failed_column_count=
def failed_column_count=(value) -> ::Integer
Parameter
- value (::Integer) — The number of columns skipped in the table because of an error.
Returns
- (::Integer) — The number of columns skipped in the table because of an error.
#full_resource
def full_resource() -> ::String
Returns
- (::String) — The resource name of the table. https://cloud.google.com/apis/design/resource_names#full_resource_name
#full_resource=
def full_resource=(value) -> ::String
Parameter
- value (::String) — The resource name of the table. https://cloud.google.com/apis/design/resource_names#full_resource_name
Returns
- (::String) — The resource name of the table. https://cloud.google.com/apis/design/resource_names#full_resource_name
#last_modified_time
def last_modified_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time when this table was last modified
#last_modified_time=
def last_modified_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time when this table was last modified
Returns
- (::Google::Protobuf::Timestamp) — The time when this table was last modified
#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_info_types
def other_info_types() -> ::Array<::Google::Cloud::Dlp::V2::OtherInfoTypeSummary>
Returns
- (::Array<::Google::Cloud::Dlp::V2::OtherInfoTypeSummary>) — Other infoTypes found in this table's data.
#other_info_types=
def other_info_types=(value) -> ::Array<::Google::Cloud::Dlp::V2::OtherInfoTypeSummary>
Parameter
- value (::Array<::Google::Cloud::Dlp::V2::OtherInfoTypeSummary>) — Other infoTypes found in this table's data.
Returns
- (::Array<::Google::Cloud::Dlp::V2::OtherInfoTypeSummary>) — Other infoTypes found in this table's data.
#predicted_info_types
def predicted_info_types() -> ::Array<::Google::Cloud::Dlp::V2::InfoTypeSummary>
Returns
- (::Array<::Google::Cloud::Dlp::V2::InfoTypeSummary>) — The infoTypes predicted from this table's data.
#predicted_info_types=
def predicted_info_types=(value) -> ::Array<::Google::Cloud::Dlp::V2::InfoTypeSummary>
Parameter
- value (::Array<::Google::Cloud::Dlp::V2::InfoTypeSummary>) — The infoTypes predicted from this table's data.
Returns
- (::Array<::Google::Cloud::Dlp::V2::InfoTypeSummary>) — The infoTypes predicted from this table's data.
#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.
#project_data_profile
def project_data_profile() -> ::String
Returns
- (::String) — The resource name to the project data profile for this table.
#project_data_profile=
def project_data_profile=(value) -> ::String
Parameter
- value (::String) — The resource name to the project data profile for this table.
Returns
- (::String) — The resource name to the project data profile for this table.
#resource_labels
def resource_labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::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}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — The labels applied to the resource at the time the profile was generated.
Returns
- (::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
Returns
- (::Google::Cloud::Dlp::V2::ResourceVisibility) — How broadly a resource has been shared.
#resource_visibility=
def resource_visibility=(value) -> ::Google::Cloud::Dlp::V2::ResourceVisibility
Parameter
- value (::Google::Cloud::Dlp::V2::ResourceVisibility) — How broadly a resource has been shared.
Returns
- (::Google::Cloud::Dlp::V2::ResourceVisibility) — How broadly a resource has been shared.
#row_count
def row_count() -> ::Integer
Returns
- (::Integer) — Number of rows in the table when the profile was generated.
#row_count=
def row_count=(value) -> ::Integer
Parameter
- value (::Integer) — Number of rows in the table when the profile was generated.
Returns
- (::Integer) — Number of rows in the table when the profile was generated.
#scanned_column_count
def scanned_column_count() -> ::Integer
Returns
- (::Integer) — The number of columns profiled in the table.
#scanned_column_count=
def scanned_column_count=(value) -> ::Integer
Parameter
- value (::Integer) — The number of columns profiled in the table.
Returns
- (::Integer) — The number of columns profiled in the table.
#sensitivity_score
def sensitivity_score() -> ::Google::Cloud::Dlp::V2::SensitivityScore
Returns
- (::Google::Cloud::Dlp::V2::SensitivityScore) — The sensitivity score of this table.
#sensitivity_score=
def sensitivity_score=(value) -> ::Google::Cloud::Dlp::V2::SensitivityScore
Parameter
- value (::Google::Cloud::Dlp::V2::SensitivityScore) — The sensitivity score of this table.
Returns
- (::Google::Cloud::Dlp::V2::SensitivityScore) — The sensitivity score of this table.
#state
def state() -> ::Google::Cloud::Dlp::V2::TableDataProfile::State
Returns
- (::Google::Cloud::Dlp::V2::TableDataProfile::State) — State of a profile.
#state=
def state=(value) -> ::Google::Cloud::Dlp::V2::TableDataProfile::State
Parameter
- value (::Google::Cloud::Dlp::V2::TableDataProfile::State) — State of a profile.
Returns
- (::Google::Cloud::Dlp::V2::TableDataProfile::State) — State of a profile.
#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.
#table_size_bytes
def table_size_bytes() -> ::Integer
Returns
- (::Integer) — The size of the table when the profile was generated.
#table_size_bytes=
def table_size_bytes=(value) -> ::Integer
Parameter
- value (::Integer) — The size of the table when the profile was generated.
Returns
- (::Integer) — The size of the table when the profile was generated.