Skip to main content
S3NS
Documentation Technology areas
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
/
Sign in
  • Python
Overview Guides Reference
S3NS
  • Documentation
    • Overview
    • Guides
    • Reference
  • Technology areas
    • More
  • Cross-product tools
    • More
  • Overview
  • Library reference docs
  • BigQuery DataFrames
  • google-cloud-aiplatform
  • google-cloud-apihub
  • google-cloud-apphub
  • google-cloud-artifact-registry
  • google-cloud-asset
  • google-cloud-bigquery
  • google-cloud-bigquery-storage
  • google-cloud-bigtable
  • google-cloud-chronicle
  • google-cloud-cloudcontrolspartner
  • google-cloud-commerce-consumer-procurement
  • google-cloud-compute
  • google-cloud-containeranalysis
  • google-cloud-core
  • google-cloud-datacatalog
  • google-cloud-datacatalog-lineage
  • google-cloud-dataplex
  • google-cloud-dataproc-metastore
  • google-cloud-datastore
  • google-cloud-datastream
  • google-cloud-deploy
  • google-cloud-developerconnect
  • google-cloud-devicestreaming
  • google-cloud-discoveryengine
  • google-cloud-dlp
    • Overview
    • dlp APIs
      • Overview
      • Classes
      • Methods
      • Properties and Attributes
    • Changelog
    • Multiprocessing
    • Dlp V2
      • dlp_service
        • Overview
        • pagers
          • Overview
          • ListColumnDataProfilesAsyncPager
          • ListColumnDataProfilesPager
          • ListConnectionsAsyncPager
          • ListConnectionsPager
          • ListDeidentifyTemplatesAsyncPager
          • ListDeidentifyTemplatesPager
          • ListDiscoveryConfigsAsyncPager
          • ListDiscoveryConfigsPager
          • ListDlpJobsAsyncPager
          • ListDlpJobsPager
          • ListFileStoreDataProfilesAsyncPager
          • ListFileStoreDataProfilesPager
          • ListInspectTemplatesAsyncPager
          • ListInspectTemplatesPager
          • ListJobTriggersAsyncPager
          • ListJobTriggersPager
          • ListProjectDataProfilesAsyncPager
          • ListProjectDataProfilesPager
          • ListStoredInfoTypesAsyncPager
          • ListStoredInfoTypesPager
          • ListTableDataProfilesAsyncPager
          • ListTableDataProfilesPager
          • SearchConnectionsAsyncPager
          • SearchConnectionsPager
        • DlpServiceAsyncClient
        • DlpServiceClient
      • types
        • Overview
        • Action
          • Overview
          • Deidentify
          • JobNotificationEmails
          • PublishFindingsToCloudDataCatalog
          • PublishSummaryToCscc
          • PublishToPubSub
          • PublishToStackdriver
          • SaveFindings
        • ActionDetails
        • ActivateJobTriggerRequest
        • AllOtherDatabaseResources
        • AllOtherResources
        • AmazonS3Bucket
        • AmazonS3BucketConditions
          • Overview
          • BucketType
          • ObjectStorageClass
        • AmazonS3BucketRegex
        • AnalyzeDataSourceRiskDetails
          • Overview
          • CategoricalStatsResult
            • Overview
            • CategoricalStatsHistogramBucket
          • DeltaPresenceEstimationResult
            • Overview
            • DeltaPresenceEstimationHistogramBucket
            • DeltaPresenceEstimationQuasiIdValues
          • KAnonymityResult
            • Overview
            • KAnonymityEquivalenceClass
            • KAnonymityHistogramBucket
          • KMapEstimationResult
            • Overview
            • KMapEstimationHistogramBucket
            • KMapEstimationQuasiIdValues
          • LDiversityResult
            • Overview
            • LDiversityEquivalenceClass
            • LDiversityHistogramBucket
          • NumericalStatsResult
          • RequestedRiskAnalysisOptions
        • AwsAccount
        • AwsAccountRegex
        • BigQueryDiscoveryTarget
        • BigQueryField
        • BigQueryKey
        • BigQueryOptions
          • Overview
          • SampleMethod
        • BigQueryRegex
        • BigQueryRegexes
        • BigQuerySchemaModification
        • BigQueryTable
        • BigQueryTableCollection
        • BigQueryTableModification
        • BigQueryTableType
        • BigQueryTableTypeCollection
        • BigQueryTableTypes
        • BoundingBox
        • BucketingConfig
          • Overview
          • Bucket
        • ByteContentItem
          • Overview
          • BytesType
        • CancelDlpJobRequest
        • CharacterMaskConfig
        • CharsToIgnore
          • Overview
          • CommonCharsToIgnore
        • CloudSqlDiscoveryTarget
        • CloudSqlIamCredential
        • CloudSqlProperties
          • Overview
          • DatabaseEngine
        • CloudStorageDiscoveryTarget
        • CloudStorageFileSet
        • CloudStorageOptions
          • Overview
          • FileSet
          • SampleMethod
        • CloudStoragePath
        • CloudStorageRegex
        • CloudStorageRegexFileSet
        • CloudStorageResourceReference
        • Color
        • ColumnDataProfile
          • Overview
          • ColumnDataType
          • ColumnPolicyState
          • State
        • Connection
        • ConnectionState
        • Container
        • ContentItem
        • ContentLocation
        • ContentOption
        • CreateConnectionRequest
        • CreateDeidentifyTemplateRequest
        • CreateDiscoveryConfigRequest
        • CreateDlpJobRequest
        • CreateInspectTemplateRequest
        • CreateJobTriggerRequest
        • CreateStoredInfoTypeRequest
        • CryptoDeterministicConfig
        • CryptoHashConfig
        • CryptoKey
        • CryptoReplaceFfxFpeConfig
          • Overview
          • FfxCommonNativeAlphabet
        • CustomInfoType
          • Overview
          • DetectionRule
            • Overview
            • HotwordRule
            • LikelihoodAdjustment
            • Proximity
          • Dictionary
            • Overview
            • WordList
          • ExclusionType
          • Regex
          • SurrogateType
        • DataProfileAction
          • Overview
          • EventType
          • Export
          • PubSubNotification
            • Overview
            • DetailLevel
          • PublishToChronicle
          • PublishToSecurityCommandCenter
          • TagResources
            • Overview
            • TagCondition
            • TagValue
        • DataProfileBigQueryRowSchema
        • DataProfileConfigSnapshot
        • DataProfileJobConfig
        • DataProfileLocation
        • DataProfilePubSubCondition
          • Overview
          • ProfileScoreBucket
          • PubSubCondition
          • PubSubExpressions
            • Overview
            • PubSubLogicalOperator
        • DataProfilePubSubMessage
        • DataProfileUpdateFrequency
        • DataRiskLevel
          • Overview
          • DataRiskLevelScore
        • DataSourceType
        • DatabaseResourceCollection
        • DatabaseResourceReference
        • DatabaseResourceRegex
        • DatabaseResourceRegexes
        • DatastoreKey
        • DatastoreOptions
        • DateShiftConfig
        • DateTime
          • Overview
          • TimeZone
        • DeidentifyConfig
        • DeidentifyContentRequest
        • DeidentifyContentResponse
        • DeidentifyDataSourceDetails
          • Overview
          • RequestedDeidentifyOptions
        • DeidentifyDataSourceStats
        • DeidentifyTemplate
        • DeleteConnectionRequest
        • DeleteDeidentifyTemplateRequest
        • DeleteDiscoveryConfigRequest
        • DeleteDlpJobRequest
        • DeleteFileStoreDataProfileRequest
        • DeleteInspectTemplateRequest
        • DeleteJobTriggerRequest
        • DeleteStoredInfoTypeRequest
        • DeleteTableDataProfileRequest
        • Disabled
        • DiscoveryBigQueryConditions
          • Overview
          • OrConditions
        • DiscoveryBigQueryFilter
          • Overview
          • AllOtherBigQueryTables
        • DiscoveryCloudSqlConditions
          • Overview
          • DatabaseEngine
          • DatabaseResourceType
        • DiscoveryCloudSqlFilter
        • DiscoveryCloudSqlGenerationCadence
          • Overview
          • SchemaModifiedCadence
            • Overview
            • CloudSqlSchemaModification
        • DiscoveryCloudStorageConditions
          • Overview
          • CloudStorageBucketAttribute
          • CloudStorageObjectAttribute
        • DiscoveryCloudStorageFilter
        • DiscoveryCloudStorageGenerationCadence
        • DiscoveryConfig
          • Overview
          • OrgConfig
          • Status
        • DiscoveryFileStoreConditions
        • DiscoveryGenerationCadence
        • DiscoveryInspectTemplateModifiedCadence
        • DiscoveryOtherCloudConditions
        • DiscoveryOtherCloudFilter
        • DiscoveryOtherCloudGenerationCadence
        • DiscoverySchemaModifiedCadence
        • DiscoveryStartingLocation
        • DiscoveryTableModifiedCadence
        • DiscoveryTarget
        • DlpJob
          • Overview
          • JobState
        • DlpJobType
        • DocumentLocation
        • EncryptionStatus
        • EntityId
        • Error
          • Overview
          • ErrorExtraInfo
        • ExcludeByHotword
        • ExcludeInfoTypes
        • ExclusionRule
        • FieldId
        • FieldTransformation
        • FileClusterSummary
        • FileClusterType
          • Overview
          • Cluster
        • FileExtensionInfo
        • FileStoreCollection
        • FileStoreDataProfile
          • Overview
          • ResourceAttributesEntry
          • ResourceLabelsEntry
          • State
        • FileStoreInfoTypeSummary
        • FileStoreRegex
        • FileStoreRegexes
        • FileType
        • Finding
          • Overview
          • LabelsEntry
        • FinishDlpJobRequest
        • FixedSizeBucketingConfig
        • GetColumnDataProfileRequest
        • GetConnectionRequest
        • GetDeidentifyTemplateRequest
        • GetDiscoveryConfigRequest
        • GetDlpJobRequest
        • GetFileStoreDataProfileRequest
        • GetInspectTemplateRequest
        • GetJobTriggerRequest
        • GetProjectDataProfileRequest
        • GetStoredInfoTypeRequest
        • GetTableDataProfileRequest
        • HybridContentItem
        • HybridFindingDetails
          • Overview
          • LabelsEntry
        • HybridInspectDlpJobRequest
        • HybridInspectJobTriggerRequest
        • HybridInspectResponse
        • HybridInspectStatistics
        • HybridOptions
          • Overview
          • LabelsEntry
        • ImageLocation
        • ImageTransformations
          • Overview
          • ImageTransformation
            • Overview
            • AllInfoTypes
            • AllText
            • SelectedInfoTypes
        • InfoType
        • InfoTypeCategory
          • Overview
          • IndustryCategory
          • LocationCategory
          • TypeCategory
        • InfoTypeDescription
        • InfoTypeStats
        • InfoTypeSummary
        • InfoTypeSupportedBy
        • InfoTypeTransformations
          • Overview
          • InfoTypeTransformation
        • InspectConfig
          • Overview
          • FindingLimits
            • Overview
            • InfoTypeLimit
          • InfoTypeLikelihood
        • InspectContentRequest
        • InspectContentResponse
        • InspectDataSourceDetails
          • Overview
          • RequestedOptions
          • Result
        • InspectJobConfig
        • InspectResult
        • InspectTemplate
        • InspectionRule
        • InspectionRuleSet
        • JobTrigger
          • Overview
          • Status
          • Trigger
        • Key
          • Overview
          • PathElement
        • KindExpression
        • KmsWrappedCryptoKey
        • LargeCustomDictionaryConfig
        • LargeCustomDictionaryStats
        • Likelihood
        • ListColumnDataProfilesRequest
        • ListColumnDataProfilesResponse
        • ListConnectionsRequest
        • ListConnectionsResponse
        • ListDeidentifyTemplatesRequest
        • ListDeidentifyTemplatesResponse
        • ListDiscoveryConfigsRequest
        • ListDiscoveryConfigsResponse
        • ListDlpJobsRequest
        • ListDlpJobsResponse
        • ListFileStoreDataProfilesRequest
        • ListFileStoreDataProfilesResponse
        • ListInfoTypesRequest
        • ListInfoTypesResponse
        • ListInspectTemplatesRequest
        • ListInspectTemplatesResponse
        • ListJobTriggersRequest
        • ListJobTriggersResponse
        • ListProjectDataProfilesRequest
        • ListProjectDataProfilesResponse
        • ListStoredInfoTypesRequest
        • ListStoredInfoTypesResponse
        • ListTableDataProfilesRequest
        • ListTableDataProfilesResponse
        • Location
        • Manual
        • MatchingType
        • MetadataLocation
        • MetadataType
        • NullPercentageLevel
        • OtherCloudDiscoveryStartingLocation
          • Overview
          • AwsDiscoveryStartingLocation
        • OtherCloudDiscoveryTarget
        • OtherCloudResourceCollection
        • OtherCloudResourceRegex
        • OtherCloudResourceRegexes
        • OtherCloudSingleResourceReference
        • OtherInfoTypeSummary
        • OutputStorageConfig
          • Overview
          • OutputSchema
        • PartitionId
        • PrimitiveTransformation
        • PrivacyMetric
          • Overview
          • CategoricalStatsConfig
          • DeltaPresenceEstimationConfig
          • KAnonymityConfig
          • KMapEstimationConfig
            • Overview
            • AuxiliaryTable
              • Overview
              • QuasiIdField
            • TaggedField
          • LDiversityConfig
          • NumericalStatsConfig
        • ProfileGeneration
        • ProfileStatus
        • ProjectDataProfile
        • QuasiId
        • QuoteInfo
        • Range
        • RecordCondition
          • Overview
          • Condition
          • Conditions
          • Expressions
            • Overview
            • LogicalOperator
        • RecordKey
        • RecordLocation
        • RecordSuppression
        • RecordTransformation
        • RecordTransformations
        • RedactConfig
        • RedactImageRequest
          • Overview
          • ImageRedactionConfig
        • RedactImageResponse
        • ReidentifyContentRequest
        • ReidentifyContentResponse
        • RelationalOperator
        • ReplaceDictionaryConfig
        • ReplaceValueConfig
        • ReplaceWithInfoTypeConfig
        • ResourceVisibility
        • RiskAnalysisJobConfig
        • Schedule
        • SearchConnectionsRequest
        • SearchConnectionsResponse
        • SecretManagerCredential
        • SecretsDiscoveryTarget
        • SensitivityScore
          • Overview
          • SensitivityScoreLevel
        • StatisticalTable
          • Overview
          • QuasiIdentifierField
        • StorageConfig
          • Overview
          • TimespanConfig
        • StorageMetadataLabel
        • StoredInfoType
        • StoredInfoTypeConfig
        • StoredInfoTypeState
        • StoredInfoTypeStats
        • StoredInfoTypeVersion
        • StoredType
        • Table
          • Overview
          • Row
        • TableDataProfile
          • Overview
          • ResourceLabelsEntry
          • State
        • TableLocation
        • TableOptions
        • TableReference
        • TimePartConfig
          • Overview
          • TimePart
        • TransformationConfig
        • TransformationContainerType
        • TransformationDescription
        • TransformationDetails
        • TransformationDetailsStorageConfig
        • TransformationErrorHandling
          • Overview
          • LeaveUntransformed
          • ThrowError
        • TransformationLocation
        • TransformationOverview
        • TransformationResultStatus
        • TransformationResultStatusType
        • TransformationSummary
          • Overview
          • SummaryResult
          • TransformationResultCode
        • TransformationType
        • TransientCryptoKey
        • UniquenessScoreLevel
        • UnwrappedCryptoKey
        • UpdateConnectionRequest
        • UpdateDeidentifyTemplateRequest
        • UpdateDiscoveryConfigRequest
        • UpdateInspectTemplateRequest
        • UpdateJobTriggerRequest
        • UpdateStoredInfoTypeRequest
        • Value
        • ValueFrequency
        • VersionDescription
  • google-cloud-documentai
  • google-cloud-edgenetwork
  • google-cloud-financialservices
  • google-cloud-firestore
  • google-cloud-functions
  • google-cloud-game-servers
  • google-cloud-gdchardwaremanagement
  • google-cloud-gke-backup
  • google-cloud-gke-hub
  • google-cloud-gke-multicloud
  • google-cloud-gsuiteaddons
  • google-cloud-iam
  • google-cloud-iam-logging
  • google-cloud-iap
  • google-cloud-ids
  • google-cloud-kms-inventory
  • google-cloud-language
  • google-cloud-life-sciences
  • google-cloud-logging
  • google-cloud-lustre
  • google-cloud-managed-identities
  • google-cloud-managedkafka
  • google-cloud-media-translation
  • google-cloud-memcache
  • google-cloud-memorystore
  • google-cloud-migrationcenter
  • google-cloud-modelarmor
  • google-cloud-monitoring
  • google-cloud-monitoring-dashboards
  • google-cloud-monitoring-metrics-scopes
  • google-cloud-netapp
  • google-cloud-network-connectivity
  • google-cloud-network-management
  • google-cloud-network-security
  • google-cloud-network-services
  • google-cloud-notebooks
  • google-cloud-optimization
  • google-cloud-oracledatabase
  • google-cloud-orchestration-airflow
  • google-cloud-org-policy
  • google-cloud-os-config
  • google-cloud-os-login
  • google-cloud-parallelstore
  • google-cloud-parametermanager
  • google-cloud-phishing-protection
  • google-cloud-policy-troubleshooter
  • google-cloud-policysimulator
  • google-cloud-policytroubleshooter-iam
  • google-cloud-private-ca
  • google-cloud-privilegedaccessmanager
  • google-cloud-public-ca
  • google-cloud-pubsub
  • google-cloud-pubsublite
  • google-cloud-quotas
  • google-cloud-rapidmigrationassessment
  • google-cloud-recaptcha-enterprise
  • google-cloud-recommendations-ai
  • google-cloud-recommender
  • google-cloud-redis
  • google-cloud-redis-cluster
  • google-cloud-retail
  • google-cloud-run
  • google-cloud-runtimeconfig
  • google-cloud-secret-manager
  • google-cloud-securesourcemanager
  • google-cloud-securitycenter
  • google-cloud-securitycentermanagement
  • google-cloud-service-control
  • google-cloud-service-directory
  • google-cloud-service-management
  • google-cloud-service-usage
  • google-cloud-servicehealth
  • google-cloud-source-context
  • google-cloud-spanner
  • google-cloud-speech
  • google-cloud-storage
  • google-cloud-storage-control
  • google-cloud-storage-transfer
  • google-cloud-storagebatchoperations
  • google-cloud-storageinsights
  • google-cloud-support
  • google-cloud-talent
  • google-cloud-telcoautomation
  • google-cloud-texttospeech
  • google-cloud-tpu
  • google-cloud-translate
  • google-cloud-video-live-stream
  • google-cloud-video-stitcher
  • google-cloud-video-transcoder
  • google-cloud-videointelligence
  • google-cloud-vision
  • google-cloud-visionai
  • google-cloud-vm-migration
  • google-cloud-vmwareengine
  • google-cloud-vpc-access
  • google-cloud-webrisk
  • google-cloud-websecurityscanner
  • google-cloud-workflows
  • google-cloud-workstations
  • google-resumable-media
  • googleapis-common-protos
  • grpc-google-iam-v1
  • langchain-google-alloydb-pg
  • langchain-google-bigtable
  • langchain-google-cloud-sql-mssql
  • langchain-google-cloud-sql-mysql
  • langchain-google-cloud-sql-pg
  • langchain-google-datastore
  • langchain-google-el-carro
  • langchain-google-firestore
  • langchain-google-memorystore-redis
  • langchain-google-spanner
  • llama-index-alloydb-pg
  • llama-index-cloud-sql-pg
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
  • Home
  • Python
  • Documentation
  • Reference
Note: Some or all of the information on this page might not apply to Trusted Cloud. For a list of services that are available in Trusted Cloud, see Services available for Trusted Cloud.
  • 3.31.0 (latest)
  • 3.30.0
  • 3.29.0
  • 3.28.0
  • 3.27.0
  • 3.26.0
  • 3.25.1
  • 3.24.0
  • 3.23.0
  • 3.22.0
  • 3.20.0
  • 3.19.0
  • 3.18.1
  • 3.17.0
  • 3.16.0
  • 3.15.3
  • 3.14.0
  • 3.13.0
  • 3.12.3
  • 3.11.1
  • 3.10.1
  • 3.9.2
  • 3.8.1
  • 3.7.1
  • 3.6.2
  • 3.5.0
  • 3.4.0
  • 3.3.1
  • 3.2.4
  • 3.1.1
  • 3.0.1
  • 2.0.2
  • 1.0.2
  • 0.15.2
  • 0.14.0
  • 0.13.0
  • 0.12.1

Multiprocessing

NOTE: Because this client uses grpc library, it is safe to share instances across threads. In multiprocessing scenarios, the best practice is to create client instances after the invocation of os.fork() by multiprocessing.pool.Pool or multiprocessing.Process.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-09 UTC.

  • Terms
  • Privacy
  • Manage cookies