Skip to content

Commit

Permalink
feat: Introduce Discovery API protos and methods (#11915)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

BEGIN_COMMIT_OVERRIDE
feat: Introduce Discovery API protos and methods
feat: Add DeidentifyDataSource result summary protos
feat: Add protos for nullness and uniqueness, and column data profiles
feat: Add SensitivityScore proto to InfoType
docs: Update comments for many messages.
END_COMMIT_OVERRIDE

PiperOrigin-RevId: 576598642

Source-Link:
googleapis/googleapis@24813ac

Source-Link:
googleapis/googleapis-gen@8528bf8
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRscC8uT3dsQm90LnlhbWwiLCJoIjoiODUyOGJmOGQ3NjBjOTI1MWMyMTIyODFiZTIxYmQwMGYxNDRjOWE2NSJ9

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Oct 26, 2023
1 parent 24612f2 commit 65da9c9
Show file tree
Hide file tree
Showing 26 changed files with 11,364 additions and 2,850 deletions.
64 changes: 64 additions & 0 deletions packages/google-cloud-dlp/google/cloud/dlp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,32 @@
from google.cloud.dlp_v2.services.dlp_service.client import DlpServiceClient
from google.cloud.dlp_v2.types.dlp import (
Action,
ActionDetails,
ActivateJobTriggerRequest,
AnalyzeDataSourceRiskDetails,
BigQueryDiscoveryTarget,
BigQueryRegex,
BigQueryRegexes,
BigQuerySchemaModification,
BigQueryTableCollection,
BigQueryTableModification,
BigQueryTableType,
BigQueryTableTypeCollection,
BigQueryTableTypes,
BoundingBox,
BucketingConfig,
ByteContentItem,
CancelDlpJobRequest,
CharacterMaskConfig,
CharsToIgnore,
Color,
ColumnDataProfile,
Container,
ContentItem,
ContentLocation,
ContentOption,
CreateDeidentifyTemplateRequest,
CreateDiscoveryConfigRequest,
CreateDlpJobRequest,
CreateInspectTemplateRequest,
CreateJobTriggerRequest,
Expand All @@ -45,23 +57,37 @@
CryptoKey,
CryptoReplaceFfxFpeConfig,
DataProfileAction,
DataProfileBigQueryRowSchema,
DataProfileConfigSnapshot,
DataProfileJobConfig,
DataProfileLocation,
DataProfilePubSubCondition,
DataProfilePubSubMessage,
DataProfileUpdateFrequency,
DataRiskLevel,
DateShiftConfig,
DateTime,
DeidentifyConfig,
DeidentifyContentRequest,
DeidentifyContentResponse,
DeidentifyDataSourceDetails,
DeidentifyDataSourceStats,
DeidentifyTemplate,
DeleteDeidentifyTemplateRequest,
DeleteDiscoveryConfigRequest,
DeleteDlpJobRequest,
DeleteInspectTemplateRequest,
DeleteJobTriggerRequest,
DeleteStoredInfoTypeRequest,
Disabled,
DiscoveryBigQueryConditions,
DiscoveryBigQueryFilter,
DiscoveryConfig,
DiscoveryGenerationCadence,
DiscoverySchemaModifiedCadence,
DiscoveryStartingLocation,
DiscoveryTableModifiedCadence,
DiscoveryTarget,
DlpJob,
DlpJobType,
DocumentLocation,
Expand All @@ -75,6 +101,7 @@
FinishDlpJobRequest,
FixedSizeBucketingConfig,
GetDeidentifyTemplateRequest,
GetDiscoveryConfigRequest,
GetDlpJobRequest,
GetInspectTemplateRequest,
GetJobTriggerRequest,
Expand Down Expand Up @@ -108,6 +135,8 @@
LargeCustomDictionaryStats,
ListDeidentifyTemplatesRequest,
ListDeidentifyTemplatesResponse,
ListDiscoveryConfigsRequest,
ListDiscoveryConfigsResponse,
ListDlpJobsRequest,
ListDlpJobsResponse,
ListInfoTypesRequest,
Expand All @@ -123,6 +152,7 @@
MatchingType,
MetadataLocation,
MetadataType,
NullPercentageLevel,
OtherInfoTypeSummary,
OutputStorageConfig,
PrimitiveTransformation,
Expand Down Expand Up @@ -172,8 +202,10 @@
TransformationSummary,
TransformationType,
TransientCryptoKey,
UniquenessScoreLevel,
UnwrappedCryptoKey,
UpdateDeidentifyTemplateRequest,
UpdateDiscoveryConfigRequest,
UpdateInspectTemplateRequest,
UpdateJobTriggerRequest,
UpdateStoredInfoTypeRequest,
Expand Down Expand Up @@ -213,19 +245,27 @@
"DlpServiceClient",
"DlpServiceAsyncClient",
"Action",
"ActionDetails",
"ActivateJobTriggerRequest",
"AnalyzeDataSourceRiskDetails",
"BigQueryDiscoveryTarget",
"BigQueryRegex",
"BigQueryRegexes",
"BigQueryTableCollection",
"BigQueryTableTypes",
"BoundingBox",
"BucketingConfig",
"ByteContentItem",
"CancelDlpJobRequest",
"CharacterMaskConfig",
"CharsToIgnore",
"Color",
"ColumnDataProfile",
"Container",
"ContentItem",
"ContentLocation",
"CreateDeidentifyTemplateRequest",
"CreateDiscoveryConfigRequest",
"CreateDlpJobRequest",
"CreateInspectTemplateRequest",
"CreateJobTriggerRequest",
Expand All @@ -235,6 +275,7 @@
"CryptoKey",
"CryptoReplaceFfxFpeConfig",
"DataProfileAction",
"DataProfileBigQueryRowSchema",
"DataProfileConfigSnapshot",
"DataProfileJobConfig",
"DataProfileLocation",
Expand All @@ -246,12 +287,24 @@
"DeidentifyConfig",
"DeidentifyContentRequest",
"DeidentifyContentResponse",
"DeidentifyDataSourceDetails",
"DeidentifyDataSourceStats",
"DeidentifyTemplate",
"DeleteDeidentifyTemplateRequest",
"DeleteDiscoveryConfigRequest",
"DeleteDlpJobRequest",
"DeleteInspectTemplateRequest",
"DeleteJobTriggerRequest",
"DeleteStoredInfoTypeRequest",
"Disabled",
"DiscoveryBigQueryConditions",
"DiscoveryBigQueryFilter",
"DiscoveryConfig",
"DiscoveryGenerationCadence",
"DiscoverySchemaModifiedCadence",
"DiscoveryStartingLocation",
"DiscoveryTableModifiedCadence",
"DiscoveryTarget",
"DlpJob",
"DocumentLocation",
"Error",
Expand All @@ -263,6 +316,7 @@
"FinishDlpJobRequest",
"FixedSizeBucketingConfig",
"GetDeidentifyTemplateRequest",
"GetDiscoveryConfigRequest",
"GetDlpJobRequest",
"GetInspectTemplateRequest",
"GetJobTriggerRequest",
Expand Down Expand Up @@ -295,6 +349,8 @@
"LargeCustomDictionaryStats",
"ListDeidentifyTemplatesRequest",
"ListDeidentifyTemplatesResponse",
"ListDiscoveryConfigsRequest",
"ListDiscoveryConfigsResponse",
"ListDlpJobsRequest",
"ListDlpJobsResponse",
"ListInfoTypesRequest",
Expand Down Expand Up @@ -353,24 +409,32 @@
"TransientCryptoKey",
"UnwrappedCryptoKey",
"UpdateDeidentifyTemplateRequest",
"UpdateDiscoveryConfigRequest",
"UpdateInspectTemplateRequest",
"UpdateJobTriggerRequest",
"UpdateStoredInfoTypeRequest",
"Value",
"ValueFrequency",
"VersionDescription",
"BigQuerySchemaModification",
"BigQueryTableModification",
"BigQueryTableType",
"BigQueryTableTypeCollection",
"ContentOption",
"DataProfileUpdateFrequency",
"DlpJobType",
"EncryptionStatus",
"InfoTypeSupportedBy",
"MatchingType",
"MetadataType",
"NullPercentageLevel",
"RelationalOperator",
"ResourceVisibility",
"StoredInfoTypeState",
"TransformationContainerType",
"TransformationResultStatusType",
"TransformationType",
"UniquenessScoreLevel",
"BigQueryField",
"BigQueryKey",
"BigQueryOptions",
Expand Down
Loading

0 comments on commit 65da9c9

Please sign in to comment.