Class TableDataProfile (3.18.1)

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

The profile for a scanned table.

Attributes

Name Description
name str
The name of the profile.
data_source_type google.cloud.dlp_v2.types.DataSourceType
The resource type that was profiled.
project_data_profile str
The resource name to the project data profile for this table.
dataset_project_id str
The Google Cloud project ID that owns the resource.
dataset_location str
If supported, the location where the dataset's data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations.
dataset_id str
If the resource is BigQuery, the dataset ID.
table_id str
If the resource is BigQuery, the BigQuery table ID.
full_resource str
The resource name of the resource profiled. 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 MutableSequence[google.cloud.dlp_v2.types.InfoTypeSummary]
The infoTypes predicted from this table's data.
other_info_types MutableSequence[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. This will not be populated for BigLake tables.
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 MutableMapping[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
Name Description
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.