CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-google-cloud-dlp

Google Cloud Data Loss Prevention (DLP) API client library for discovering, classifying, and protecting sensitive data

Pending
Overview
Eval results
Files

stored-info-types.mddocs/

Stored Info Types

Custom sensitive information detection patterns for organization-specific data types. Extends built-in detectors with custom dictionaries, regular expressions, and machine learning models.

Capabilities

Stored Info Type Management

def create_stored_info_type(
    request: dlp.CreateStoredInfoTypeRequest,
    *,
    parent: Optional[str] = None,
    config: Optional[dlp.StoredInfoTypeConfig] = None,
    retry: OptionalRetry = gapic_v1.method.DEFAULT,
    timeout: Union[float, object] = gapic_v1.method.DEFAULT,
    metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
) -> dlp.StoredInfoType: ...

def update_stored_info_type(
    request: dlp.UpdateStoredInfoTypeRequest,
    *,
    name: Optional[str] = None,
    config: Optional[dlp.StoredInfoTypeConfig] = None,
    update_mask: Optional[field_mask_pb2.FieldMask] = None,
    retry: OptionalRetry = gapic_v1.method.DEFAULT,
    timeout: Union[float, object] = gapic_v1.method.DEFAULT,
    metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
) -> dlp.StoredInfoType: ...

def get_stored_info_type(
    request: dlp.GetStoredInfoTypeRequest,
    *,
    name: Optional[str] = None,
    retry: OptionalRetry = gapic_v1.method.DEFAULT,
    timeout: Union[float, object] = gapic_v1.method.DEFAULT,
    metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
) -> dlp.StoredInfoType: ...

def list_stored_info_types(
    request: dlp.ListStoredInfoTypesRequest,
    *,
    parent: Optional[str] = None,
    retry: OptionalRetry = gapic_v1.method.DEFAULT,
    timeout: Union[float, object] = gapic_v1.method.DEFAULT,
    metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
) -> pagers.ListStoredInfoTypesPager: ...

def delete_stored_info_type(
    request: dlp.DeleteStoredInfoTypeRequest,
    *,
    name: Optional[str] = None,
    retry: OptionalRetry = gapic_v1.method.DEFAULT,
    timeout: Union[float, object] = gapic_v1.method.DEFAULT,
    metadata: Sequence[Tuple[str, Union[str, bytes]]] = (),
) -> None: ...

Types

class StoredInfoType:
    """Custom stored information type."""
    
    name: str
    current_version: StoredInfoTypeVersion
    pending_versions: Sequence[StoredInfoTypeVersion]

class StoredInfoTypeConfig:
    """Configuration for stored info type."""
    
    display_name: str
    description: str
    large_custom_dictionary: LargeCustomDictionaryConfig
    dictionary: CustomInfoType.Dictionary
    regex: CustomInfoType.Regex
    surrogate_type: CustomInfoType.SurrogateType

class StoredInfoTypeVersion:
    """Version of a stored info type."""
    
    config: StoredInfoTypeConfig
    create_time: timestamp_pb2.Timestamp
    state: StoredInfoTypeState
    errors: Sequence[Error]
    stats: StoredInfoTypeStats

Install with Tessl CLI

npx tessl i tessl/pypi-google-cloud-dlp

docs

connection-management.md

content-analysis.md

data-discovery.md

data-profiling.md

index.md

job-management.md

stored-info-types.md

template-management.md

tile.json