Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::TableDataProfile (v1.9.0)

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

#config_snapshot=

def config_snapshot=(value) -> ::Google::Cloud::Dlp::V2::DataProfileConfigSnapshot
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#data_risk_level

def data_risk_level() -> ::Google::Cloud::Dlp::V2::DataRiskLevel
Returns

#data_risk_level=

def data_risk_level=(value) -> ::Google::Cloud::Dlp::V2::DataRiskLevel
Parameter
Returns

#data_source_type

def data_source_type() -> ::Google::Cloud::Dlp::V2::DataSourceType
Returns

#data_source_type=

def data_source_type=(value) -> ::Google::Cloud::Dlp::V2::DataSourceType
Parameter
Returns

#dataset_id

def dataset_id() -> ::String
Returns
  • (::String) — If the resource is BigQuery, the dataset ID.

#dataset_id=

def dataset_id=(value) -> ::String
Parameter
  • value (::String) — If the resource is BigQuery, the dataset ID.
Returns
  • (::String) — If the resource is BigQuery, the dataset ID.

#dataset_location

def dataset_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 locations.

#dataset_location=

def dataset_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 locations.
Returns
  • (::String) — If supported, the 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 resource.

#dataset_project_id=

def dataset_project_id=(value) -> ::String
Parameter
  • value (::String) — The Google Cloud project ID that owns the resource.
Returns
  • (::String) — The Google Cloud project ID that owns the resource.

#encryption_status

def encryption_status() -> ::Google::Cloud::Dlp::V2::EncryptionStatus
Returns

#encryption_status=

def encryption_status=(value) -> ::Google::Cloud::Dlp::V2::EncryptionStatus
Parameter
Returns

#expiration_time

def expiration_time() -> ::Google::Protobuf::Timestamp
Returns

#expiration_time=

def expiration_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#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 Cloud Asset Inventory resource that was profiled in order to generate this TableDataProfile. https://cloud.google.com/apis/design/resource_names#full_resource_name

#full_resource=

def full_resource=(value) -> ::String
Parameter
  • value (::String) — The Cloud Asset Inventory resource that was profiled in order to generate this TableDataProfile. https://cloud.google.com/apis/design/resource_names#full_resource_name
Returns
  • (::String) — The Cloud Asset Inventory resource that was profiled in order to generate this TableDataProfile. https://cloud.google.com/apis/design/resource_names#full_resource_name

#last_modified_time

def last_modified_time() -> ::Google::Protobuf::Timestamp
Returns

#last_modified_time=

def last_modified_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#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

#other_info_types=

def other_info_types=(value) -> ::Array<::Google::Cloud::Dlp::V2::OtherInfoTypeSummary>
Parameter
Returns

#predicted_info_types

def predicted_info_types() -> ::Array<::Google::Cloud::Dlp::V2::InfoTypeSummary>
Returns

#predicted_info_types=

def predicted_info_types=(value) -> ::Array<::Google::Cloud::Dlp::V2::InfoTypeSummary>
Parameter
Returns

#profile_last_generated

def profile_last_generated() -> ::Google::Protobuf::Timestamp
Returns

#profile_last_generated=

def profile_last_generated=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#profile_status

def profile_status() -> ::Google::Cloud::Dlp::V2::ProfileStatus
Returns

#profile_status=

def profile_status=(value) -> ::Google::Cloud::Dlp::V2::ProfileStatus
Parameter
Returns

#project_data_profile

def project_data_profile() -> ::String
Returns
  • (::String) — The resource name of the project data profile for this table.

#project_data_profile=

def project_data_profile=(value) -> ::String
Parameter
  • value (::String) — The resource name of the project data profile for this table.
Returns
  • (::String) — The resource name of the project data profile for this table.
def related_resources() -> ::Array<::Google::Cloud::Dlp::V2::RelatedResource>
Returns
def related_resources=(value) -> ::Array<::Google::Cloud::Dlp::V2::RelatedResource>
Parameter
Returns

#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

#resource_visibility=

def resource_visibility=(value) -> ::Google::Cloud::Dlp::V2::ResourceVisibility
Parameter
Returns

#row_count

def row_count() -> ::Integer
Returns
  • (::Integer) — Number of rows in the table when the profile was generated. This will not be populated for BigLake tables.

#row_count=

def row_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Number of rows in the table when the profile was generated. This will not be populated for BigLake tables.
Returns
  • (::Integer) — Number of rows in the table when the profile was generated. This will not be populated for BigLake tables.

#sample_findings_table

def sample_findings_table() -> ::Google::Cloud::Dlp::V2::BigQueryTable
Returns

#sample_findings_table=

def sample_findings_table=(value) -> ::Google::Cloud::Dlp::V2::BigQueryTable
Parameter
Returns

#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

#sensitivity_score=

def sensitivity_score=(value) -> ::Google::Cloud::Dlp::V2::SensitivityScore
Parameter
Returns

#state

def state() -> ::Google::Cloud::Dlp::V2::TableDataProfile::State
Returns

#state=

def state=(value) -> ::Google::Cloud::Dlp::V2::TableDataProfile::State
Parameter
Returns

#table_id

def table_id() -> ::String
Returns
  • (::String) — The table ID.

#table_id=

def table_id=(value) -> ::String
Parameter
  • value (::String) — The table ID.
Returns
  • (::String) — The 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.

#tags

def tags() -> ::Array<::Google::Cloud::Dlp::V2::Tag>
Returns
  • (::Array<::Google::Cloud::Dlp::V2::Tag>) — The tags attached to the table, including any tags attached during profiling. Because tags are attached to Cloud SQL instances rather than Cloud SQL tables, this field is empty for Cloud SQL table profiles.

#tags=

def tags=(value) -> ::Array<::Google::Cloud::Dlp::V2::Tag>
Parameter
  • value (::Array<::Google::Cloud::Dlp::V2::Tag>) — The tags attached to the table, including any tags attached during profiling. Because tags are attached to Cloud SQL instances rather than Cloud SQL tables, this field is empty for Cloud SQL table profiles.
Returns
  • (::Array<::Google::Cloud::Dlp::V2::Tag>) — The tags attached to the table, including any tags attached during profiling. Because tags are attached to Cloud SQL instances rather than Cloud SQL tables, this field is empty for Cloud SQL table profiles.