Class TableDataProfile (3.9.2)

TableDataProfile(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The profile for a scanned table.

Attributes

NameDescription
name str
The name of the profile.
project_data_profile str
The resource name to the project data profile for this table.
dataset_project_id str
The GCP project ID that owns the BigQuery dataset.
dataset_location str
The BigQuery location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations.
dataset_id str
The BigQuery dataset ID.
table_id str
The BigQuery table ID.
full_resource str
The resource name of the table. https://cloud.google.com/apis/design/resource_names#full_resource_name
profile_status google.cloud.dlp_v2.types.ProfileStatus
Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.
state google.cloud.dlp_v2.types.TableDataProfile.State
State of a profile.
sensitivity_score google.cloud.dlp_v2.types.SensitivityScore
The sensitivity score of this table.
data_risk_level google.cloud.dlp_v2.types.DataRiskLevel
The data risk level of this table.
predicted_info_types Sequence[google.cloud.dlp_v2.types.InfoTypeSummary]
The infoTypes predicted from this table's data.
other_info_types Sequence[google.cloud.dlp_v2.types.OtherInfoTypeSummary]
Other infoTypes found in this table's data.
config_snapshot google.cloud.dlp_v2.types.DataProfileConfigSnapshot
The snapshot of the configurations used to generate the profile.
last_modified_time google.protobuf.timestamp_pb2.Timestamp
The time when this table was last modified
expiration_time google.protobuf.timestamp_pb2.Timestamp
Optional. The time when this table expires.
scanned_column_count int
The number of columns profiled in the table.
failed_column_count int
The number of columns skipped in the table because of an error.
table_size_bytes int
The size of the table when the profile was generated.
row_count int
Number of rows in the table when the profile was generated.
encryption_status google.cloud.dlp_v2.types.EncryptionStatus
How the table is encrypted.
resource_visibility google.cloud.dlp_v2.types.ResourceVisibility
How broadly a resource has been shared.
profile_last_generated google.protobuf.timestamp_pb2.Timestamp
The last time the profile was generated.
resource_labels Mapping[str, str]
The labels applied to the resource at the time the profile was generated.
create_time google.protobuf.timestamp_pb2.Timestamp
The time at which the table was created.

Classes

ResourceLabelsEntry

ResourceLabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

Possible states of a profile. New items may be added.