gogol-dlp 0.5.0 → 1.0.0
raw patch · 200 files changed
+42650/−23785 lines, 200 filesdep −basedep ~gogol-coresetup-changed
Dependencies removed: base
Dependency ranges changed: gogol-core
Files
- README.md +2/−2
- Setup.hs +2/−1
- gen/Gogol/DLP.hs +2515/−0
- gen/Gogol/DLP/InfoTypes/List.hs +121/−0
- gen/Gogol/DLP/Internal/Product.hs +16007/−0
- gen/Gogol/DLP/Internal/Sum.hs +4696/−0
- gen/Gogol/DLP/Locations/InfoTypes/List.hs +127/−0
- gen/Gogol/DLP/Organizations/DeidentifyTemplates/Create.hs +126/−0
- gen/Gogol/DLP/Organizations/DeidentifyTemplates/Delete.hs +116/−0
- gen/Gogol/DLP/Organizations/DeidentifyTemplates/Get.hs +113/−0
- gen/Gogol/DLP/Organizations/DeidentifyTemplates/List.hs +136/−0
- gen/Gogol/DLP/Organizations/DeidentifyTemplates/Patch.hs +125/−0
- gen/Gogol/DLP/Organizations/InspectTemplates/Create.hs +123/−0
- gen/Gogol/DLP/Organizations/InspectTemplates/Delete.hs +113/−0
- gen/Gogol/DLP/Organizations/InspectTemplates/Get.hs +113/−0
- gen/Gogol/DLP/Organizations/InspectTemplates/List.hs +136/−0
- gen/Gogol/DLP/Organizations/InspectTemplates/Patch.hs +122/−0
- gen/Gogol/DLP/Organizations/Locations/ColumnDataProfiles/Get.hs +117/−0
- gen/Gogol/DLP/Organizations/Locations/ColumnDataProfiles/List.hs +141/−0
- gen/Gogol/DLP/Organizations/Locations/Connections/Create.hs +124/−0
- gen/Gogol/DLP/Organizations/Locations/Connections/Delete.hs +116/−0
- gen/Gogol/DLP/Organizations/Locations/Connections/Get.hs +113/−0
- gen/Gogol/DLP/Organizations/Locations/Connections/List.hs +132/−0
- gen/Gogol/DLP/Organizations/Locations/Connections/Patch.hs +123/−0
- gen/Gogol/DLP/Organizations/Locations/Connections/Search.hs +132/−0
- gen/Gogol/DLP/Organizations/Locations/DeidentifyTemplates/Create.hs +131/−0
- gen/Gogol/DLP/Organizations/Locations/DeidentifyTemplates/Delete.hs +119/−0
- gen/Gogol/DLP/Organizations/Locations/DeidentifyTemplates/Get.hs +117/−0
- gen/Gogol/DLP/Organizations/Locations/DeidentifyTemplates/List.hs +141/−0
- gen/Gogol/DLP/Organizations/Locations/DeidentifyTemplates/Patch.hs +127/−0
- gen/Gogol/DLP/Organizations/Locations/DiscoveryConfigs/Create.hs +127/−0
- gen/Gogol/DLP/Organizations/Locations/DiscoveryConfigs/Delete.hs +117/−0
- gen/Gogol/DLP/Organizations/Locations/DiscoveryConfigs/Get.hs +117/−0
- gen/Gogol/DLP/Organizations/Locations/DiscoveryConfigs/List.hs +135/−0
- gen/Gogol/DLP/Organizations/Locations/DiscoveryConfigs/Patch.hs +126/−0
- gen/Gogol/DLP/Organizations/Locations/DlpJobs/List.hs +145/−0
- gen/Gogol/DLP/Organizations/Locations/FileStoreDataProfiles/Delete.hs +119/−0
- gen/Gogol/DLP/Organizations/Locations/FileStoreDataProfiles/Get.hs +118/−0
- gen/Gogol/DLP/Organizations/Locations/FileStoreDataProfiles/List.hs +143/−0
- gen/Gogol/DLP/Organizations/Locations/InspectTemplates/Create.hs +127/−0
- gen/Gogol/DLP/Organizations/Locations/InspectTemplates/Delete.hs +117/−0
- gen/Gogol/DLP/Organizations/Locations/InspectTemplates/Get.hs +117/−0
- gen/Gogol/DLP/Organizations/Locations/InspectTemplates/List.hs +140/−0
- gen/Gogol/DLP/Organizations/Locations/InspectTemplates/Patch.hs +126/−0
- gen/Gogol/DLP/Organizations/Locations/JobTriggers/Create.hs +124/−0
- gen/Gogol/DLP/Organizations/Locations/JobTriggers/Delete.hs +116/−0
- gen/Gogol/DLP/Organizations/Locations/JobTriggers/Get.hs +113/−0
- gen/Gogol/DLP/Organizations/Locations/JobTriggers/List.hs +147/−0
- gen/Gogol/DLP/Organizations/Locations/JobTriggers/Patch.hs +123/−0
- gen/Gogol/DLP/Organizations/Locations/ProjectDataProfiles/Get.hs +117/−0
- gen/Gogol/DLP/Organizations/Locations/ProjectDataProfiles/List.hs +141/−0
- gen/Gogol/DLP/Organizations/Locations/StoredInfoTypes/Create.hs +127/−0
- gen/Gogol/DLP/Organizations/Locations/StoredInfoTypes/Delete.hs +117/−0
- gen/Gogol/DLP/Organizations/Locations/StoredInfoTypes/Get.hs +116/−0
- gen/Gogol/DLP/Organizations/Locations/StoredInfoTypes/List.hs +138/−0
- gen/Gogol/DLP/Organizations/Locations/StoredInfoTypes/Patch.hs +126/−0
- gen/Gogol/DLP/Organizations/Locations/TableDataProfiles/Delete.hs +118/−0
- gen/Gogol/DLP/Organizations/Locations/TableDataProfiles/Get.hs +117/−0
- gen/Gogol/DLP/Organizations/Locations/TableDataProfiles/List.hs +140/−0
- gen/Gogol/DLP/Organizations/StoredInfoTypes/Create.hs +123/−0
- gen/Gogol/DLP/Organizations/StoredInfoTypes/Delete.hs +111/−0
- gen/Gogol/DLP/Organizations/StoredInfoTypes/Get.hs +113/−0
- gen/Gogol/DLP/Organizations/StoredInfoTypes/List.hs +134/−0
- gen/Gogol/DLP/Organizations/StoredInfoTypes/Patch.hs +122/−0
- gen/Gogol/DLP/Projects/Content/Deidentify.hs +121/−0
- gen/Gogol/DLP/Projects/Content/Inspect.hs +119/−0
- gen/Gogol/DLP/Projects/Content/Reidentify.hs +121/−0
- gen/Gogol/DLP/Projects/DeidentifyTemplates/Create.hs +123/−0
- gen/Gogol/DLP/Projects/DeidentifyTemplates/Delete.hs +111/−0
- gen/Gogol/DLP/Projects/DeidentifyTemplates/Get.hs +113/−0
- gen/Gogol/DLP/Projects/DeidentifyTemplates/List.hs +136/−0
- gen/Gogol/DLP/Projects/DeidentifyTemplates/Patch.hs +122/−0
- gen/Gogol/DLP/Projects/DlpJobs/Cancel.hs +114/−0
- gen/Gogol/DLP/Projects/DlpJobs/Create.hs +115/−0
- gen/Gogol/DLP/Projects/DlpJobs/Delete.hs +107/−0
- gen/Gogol/DLP/Projects/DlpJobs/Get.hs +107/−0
- gen/Gogol/DLP/Projects/DlpJobs/List.hs +141/−0
- gen/Gogol/DLP/Projects/Image/Redact.hs +117/−0
- gen/Gogol/DLP/Projects/InspectTemplates/Create.hs +123/−0
- gen/Gogol/DLP/Projects/InspectTemplates/Delete.hs +111/−0
- gen/Gogol/DLP/Projects/InspectTemplates/Get.hs +111/−0
- gen/Gogol/DLP/Projects/InspectTemplates/List.hs +134/−0
- gen/Gogol/DLP/Projects/InspectTemplates/Patch.hs +120/−0
- gen/Gogol/DLP/Projects/JobTriggers/Activate.hs +118/−0
- gen/Gogol/DLP/Projects/JobTriggers/Create.hs +117/−0
- gen/Gogol/DLP/Projects/JobTriggers/Delete.hs +109/−0
- gen/Gogol/DLP/Projects/JobTriggers/Get.hs +109/−0
- gen/Gogol/DLP/Projects/JobTriggers/List.hs +142/−0
- gen/Gogol/DLP/Projects/JobTriggers/Patch.hs +116/−0
- gen/Gogol/DLP/Projects/Locations/ColumnDataProfiles/Get.hs +116/−0
- gen/Gogol/DLP/Projects/Locations/ColumnDataProfiles/List.hs +140/−0
- gen/Gogol/DLP/Projects/Locations/Connections/Create.hs +121/−0
- gen/Gogol/DLP/Projects/Locations/Connections/Delete.hs +111/−0
- gen/Gogol/DLP/Projects/Locations/Connections/Get.hs +113/−0
- gen/Gogol/DLP/Projects/Locations/Connections/List.hs +129/−0
- gen/Gogol/DLP/Projects/Locations/Connections/Patch.hs +120/−0
- gen/Gogol/DLP/Projects/Locations/Connections/Search.hs +129/−0
- gen/Gogol/DLP/Projects/Locations/Content/Deidentify.hs +123/−0
- gen/Gogol/DLP/Projects/Locations/Content/Inspect.hs +121/−0
- gen/Gogol/DLP/Projects/Locations/Content/Reidentify.hs +123/−0
- gen/Gogol/DLP/Projects/Locations/DeidentifyTemplates/Create.hs +127/−0
- gen/Gogol/DLP/Projects/Locations/DeidentifyTemplates/Delete.hs +117/−0
- gen/Gogol/DLP/Projects/Locations/DeidentifyTemplates/Get.hs +116/−0
- gen/Gogol/DLP/Projects/Locations/DeidentifyTemplates/List.hs +139/−0
- gen/Gogol/DLP/Projects/Locations/DeidentifyTemplates/Patch.hs +126/−0
- gen/Gogol/DLP/Projects/Locations/DiscoveryConfigs/Create.hs +126/−0
- gen/Gogol/DLP/Projects/Locations/DiscoveryConfigs/Delete.hs +116/−0
- gen/Gogol/DLP/Projects/Locations/DiscoveryConfigs/Get.hs +113/−0
- gen/Gogol/DLP/Projects/Locations/DiscoveryConfigs/List.hs +134/−0
- gen/Gogol/DLP/Projects/Locations/DiscoveryConfigs/Patch.hs +125/−0
- gen/Gogol/DLP/Projects/Locations/DlpJobs/Cancel.hs +118/−0
- gen/Gogol/DLP/Projects/Locations/DlpJobs/Create.hs +121/−0
- gen/Gogol/DLP/Projects/Locations/DlpJobs/Delete.hs +111/−0
- gen/Gogol/DLP/Projects/Locations/DlpJobs/Finish.hs +118/−0
- gen/Gogol/DLP/Projects/Locations/DlpJobs/Get.hs +109/−0
- gen/Gogol/DLP/Projects/Locations/DlpJobs/HybridInspect.hs +125/−0
- gen/Gogol/DLP/Projects/Locations/DlpJobs/List.hs +143/−0
- gen/Gogol/DLP/Projects/Locations/FileStoreDataProfiles/Delete.hs +117/−0
- gen/Gogol/DLP/Projects/Locations/FileStoreDataProfiles/Get.hs +117/−0
- gen/Gogol/DLP/Projects/Locations/FileStoreDataProfiles/List.hs +141/−0
- gen/Gogol/DLP/Projects/Locations/Image/Redact.hs +119/−0
- gen/Gogol/DLP/Projects/Locations/InspectTemplates/Create.hs +126/−0
- gen/Gogol/DLP/Projects/Locations/InspectTemplates/Delete.hs +116/−0
- gen/Gogol/DLP/Projects/Locations/InspectTemplates/Get.hs +113/−0
- gen/Gogol/DLP/Projects/Locations/InspectTemplates/List.hs +139/−0
- gen/Gogol/DLP/Projects/Locations/InspectTemplates/Patch.hs +125/−0
- gen/Gogol/DLP/Projects/Locations/JobTriggers/Activate.hs +122/−0
- gen/Gogol/DLP/Projects/Locations/JobTriggers/Create.hs +121/−0
- gen/Gogol/DLP/Projects/Locations/JobTriggers/Delete.hs +111/−0
- gen/Gogol/DLP/Projects/Locations/JobTriggers/Get.hs +113/−0
- gen/Gogol/DLP/Projects/Locations/JobTriggers/HybridInspect.hs +126/−0
- gen/Gogol/DLP/Projects/Locations/JobTriggers/List.hs +144/−0
- gen/Gogol/DLP/Projects/Locations/JobTriggers/Patch.hs +120/−0
- gen/Gogol/DLP/Projects/Locations/ProjectDataProfiles/Get.hs +116/−0
- gen/Gogol/DLP/Projects/Locations/ProjectDataProfiles/List.hs +139/−0
- gen/Gogol/DLP/Projects/Locations/StoredInfoTypes/Create.hs +126/−0
- gen/Gogol/DLP/Projects/Locations/StoredInfoTypes/Delete.hs +116/−0
- gen/Gogol/DLP/Projects/Locations/StoredInfoTypes/Get.hs +113/−0
- gen/Gogol/DLP/Projects/Locations/StoredInfoTypes/List.hs +134/−0
- gen/Gogol/DLP/Projects/Locations/StoredInfoTypes/Patch.hs +125/−0
- gen/Gogol/DLP/Projects/Locations/TableDataProfiles/Delete.hs +116/−0
- gen/Gogol/DLP/Projects/Locations/TableDataProfiles/Get.hs +116/−0
- gen/Gogol/DLP/Projects/Locations/TableDataProfiles/List.hs +139/−0
- gen/Gogol/DLP/Projects/StoredInfoTypes/Create.hs +121/−0
- gen/Gogol/DLP/Projects/StoredInfoTypes/Delete.hs +109/−0
- gen/Gogol/DLP/Projects/StoredInfoTypes/Get.hs +111/−0
- gen/Gogol/DLP/Projects/StoredInfoTypes/List.hs +132/−0
- gen/Gogol/DLP/Projects/StoredInfoTypes/Patch.hs +120/−0
- gen/Gogol/DLP/Types.hs +1664/−0
- gen/Network/Google/DLP.hs +0/−1499
- gen/Network/Google/DLP/Types.hs +0/−1262
- gen/Network/Google/DLP/Types/Product.hs +0/−11808
- gen/Network/Google/DLP/Types/Sum.hs +0/−1024
- gen/Network/Google/Resource/DLP/InfoTypes/List.hs +0/−170
- gen/Network/Google/Resource/DLP/Organizations/DeidentifyTemplates/Create.hs +0/−178
- gen/Network/Google/Resource/DLP/Organizations/DeidentifyTemplates/Delete.hs +0/−161
- gen/Network/Google/Resource/DLP/Organizations/DeidentifyTemplates/Get.hs +0/−161
- gen/Network/Google/Resource/DLP/Organizations/DeidentifyTemplates/List.hs +0/−210
- gen/Network/Google/Resource/DLP/Organizations/DeidentifyTemplates/Patch.hs +0/−175
- gen/Network/Google/Resource/DLP/Organizations/InspectTemplates/Create.hs +0/−176
- gen/Network/Google/Resource/DLP/Organizations/InspectTemplates/Delete.hs +0/−159
- gen/Network/Google/Resource/DLP/Organizations/InspectTemplates/Get.hs +0/−158
- gen/Network/Google/Resource/DLP/Organizations/InspectTemplates/List.hs +0/−207
- gen/Network/Google/Resource/DLP/Organizations/InspectTemplates/Patch.hs +0/−172
- gen/Network/Google/Resource/DLP/Organizations/StoredInfoTypes/Create.hs +0/−176
- gen/Network/Google/Resource/DLP/Organizations/StoredInfoTypes/Delete.hs +0/−162
- gen/Network/Google/Resource/DLP/Organizations/StoredInfoTypes/Get.hs +0/−162
- gen/Network/Google/Resource/DLP/Organizations/StoredInfoTypes/List.hs +0/−211
- gen/Network/Google/Resource/DLP/Organizations/StoredInfoTypes/Patch.hs +0/−178
- gen/Network/Google/Resource/DLP/Projects/Content/Deidentify.hs +0/−181
- gen/Network/Google/Resource/DLP/Projects/Content/Inspect.hs +0/−179
- gen/Network/Google/Resource/DLP/Projects/Content/Reidentify.hs +0/−173
- gen/Network/Google/Resource/DLP/Projects/DeidentifyTemplates/Create.hs +0/−177
- gen/Network/Google/Resource/DLP/Projects/DeidentifyTemplates/Delete.hs +0/−160
- gen/Network/Google/Resource/DLP/Projects/DeidentifyTemplates/Get.hs +0/−159
- gen/Network/Google/Resource/DLP/Projects/DeidentifyTemplates/List.hs +0/−209
- gen/Network/Google/Resource/DLP/Projects/DeidentifyTemplates/Patch.hs +0/−174
- gen/Network/Google/Resource/DLP/Projects/DlpJobs/Cancel.hs +0/−171
- gen/Network/Google/Resource/DLP/Projects/DlpJobs/Create.hs +0/−172
- gen/Network/Google/Resource/DLP/Projects/DlpJobs/Delete.hs +0/−158
- gen/Network/Google/Resource/DLP/Projects/DlpJobs/Get.hs +0/−156
- gen/Network/Google/Resource/DLP/Projects/DlpJobs/List.hs +0/−240
- gen/Network/Google/Resource/DLP/Projects/Image/Redact.hs +0/−177
- gen/Network/Google/Resource/DLP/Projects/InspectTemplates/Create.hs +0/−174
- gen/Network/Google/Resource/DLP/Projects/InspectTemplates/Delete.hs +0/−157
- gen/Network/Google/Resource/DLP/Projects/InspectTemplates/Get.hs +0/−156
- gen/Network/Google/Resource/DLP/Projects/InspectTemplates/List.hs +0/−205
- gen/Network/Google/Resource/DLP/Projects/InspectTemplates/Patch.hs +0/−171
- gen/Network/Google/Resource/DLP/Projects/JobTriggers/Activate.hs +0/−169
- gen/Network/Google/Resource/DLP/Projects/JobTriggers/Create.hs +0/−174
- gen/Network/Google/Resource/DLP/Projects/JobTriggers/Delete.hs +0/−157
- gen/Network/Google/Resource/DLP/Projects/JobTriggers/Get.hs +0/−156
- gen/Network/Google/Resource/DLP/Projects/JobTriggers/List.hs +0/−234
- gen/Network/Google/Resource/DLP/Projects/JobTriggers/Patch.hs +0/−170
- gen/Network/Google/Resource/DLP/Projects/StoredInfoTypes/Create.hs +0/−175
- gen/Network/Google/Resource/DLP/Projects/StoredInfoTypes/Delete.hs +0/−161
- gen/Network/Google/Resource/DLP/Projects/StoredInfoTypes/Get.hs +0/−160
- gen/Network/Google/Resource/DLP/Projects/StoredInfoTypes/List.hs +0/−209
- gen/Network/Google/Resource/DLP/Projects/StoredInfoTypes/Patch.hs +0/−176
- gogol-dlp.cabal +193/−83
README.md view
@@ -8,12 +8,12 @@ ## Version -`0.5.0`+`1.0.0` ## Description -A client library for the Google Cloud Data Loss Prevention (DLP).+A client library for the Google Sensitive Data Protection (DLP). ## Contribute
Setup.hs view
@@ -1,2 +1,3 @@-import Distribution.Simple+import Distribution.Simple+ main = defaultMain
+ gen/Gogol/DLP.hs view
@@ -0,0 +1,2515 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Discover and protect your sensitive data. A fully managed service designed to help you discover, classify, and protect your valuable data assets with ease.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference>+module Gogol.DLP+ ( -- * Configuration+ dLPService,++ -- * OAuth Scopes+ CloudPlatform'FullControl,++ -- * Resources++ -- ** dlp.infoTypes.list+ DLPInfoTypesListResource,+ DLPInfoTypesList (..),+ newDLPInfoTypesList,++ -- ** dlp.locations.infoTypes.list+ DLPLocationsInfoTypesListResource,+ DLPLocationsInfoTypesList (..),+ newDLPLocationsInfoTypesList,++ -- ** dlp.organizations.deidentifyTemplates.create+ DLPOrganizationsDeidentifyTemplatesCreateResource,+ DLPOrganizationsDeidentifyTemplatesCreate (..),+ newDLPOrganizationsDeidentifyTemplatesCreate,++ -- ** dlp.organizations.deidentifyTemplates.delete+ DLPOrganizationsDeidentifyTemplatesDeleteResource,+ DLPOrganizationsDeidentifyTemplatesDelete (..),+ newDLPOrganizationsDeidentifyTemplatesDelete,++ -- ** dlp.organizations.deidentifyTemplates.get+ DLPOrganizationsDeidentifyTemplatesGetResource,+ DLPOrganizationsDeidentifyTemplatesGet (..),+ newDLPOrganizationsDeidentifyTemplatesGet,++ -- ** dlp.organizations.deidentifyTemplates.list+ DLPOrganizationsDeidentifyTemplatesListResource,+ DLPOrganizationsDeidentifyTemplatesList (..),+ newDLPOrganizationsDeidentifyTemplatesList,++ -- ** dlp.organizations.deidentifyTemplates.patch+ DLPOrganizationsDeidentifyTemplatesPatchResource,+ DLPOrganizationsDeidentifyTemplatesPatch (..),+ newDLPOrganizationsDeidentifyTemplatesPatch,++ -- ** dlp.organizations.inspectTemplates.create+ DLPOrganizationsInspectTemplatesCreateResource,+ DLPOrganizationsInspectTemplatesCreate (..),+ newDLPOrganizationsInspectTemplatesCreate,++ -- ** dlp.organizations.inspectTemplates.delete+ DLPOrganizationsInspectTemplatesDeleteResource,+ DLPOrganizationsInspectTemplatesDelete (..),+ newDLPOrganizationsInspectTemplatesDelete,++ -- ** dlp.organizations.inspectTemplates.get+ DLPOrganizationsInspectTemplatesGetResource,+ DLPOrganizationsInspectTemplatesGet (..),+ newDLPOrganizationsInspectTemplatesGet,++ -- ** dlp.organizations.inspectTemplates.list+ DLPOrganizationsInspectTemplatesListResource,+ DLPOrganizationsInspectTemplatesList (..),+ newDLPOrganizationsInspectTemplatesList,++ -- ** dlp.organizations.inspectTemplates.patch+ DLPOrganizationsInspectTemplatesPatchResource,+ DLPOrganizationsInspectTemplatesPatch (..),+ newDLPOrganizationsInspectTemplatesPatch,++ -- ** dlp.organizations.locations.columnDataProfiles.get+ DLPOrganizationsLocationsColumnDataProfilesGetResource,+ DLPOrganizationsLocationsColumnDataProfilesGet (..),+ newDLPOrganizationsLocationsColumnDataProfilesGet,++ -- ** dlp.organizations.locations.columnDataProfiles.list+ DLPOrganizationsLocationsColumnDataProfilesListResource,+ DLPOrganizationsLocationsColumnDataProfilesList (..),+ newDLPOrganizationsLocationsColumnDataProfilesList,++ -- ** dlp.organizations.locations.connections.create+ DLPOrganizationsLocationsConnectionsCreateResource,+ DLPOrganizationsLocationsConnectionsCreate (..),+ newDLPOrganizationsLocationsConnectionsCreate,++ -- ** dlp.organizations.locations.connections.delete+ DLPOrganizationsLocationsConnectionsDeleteResource,+ DLPOrganizationsLocationsConnectionsDelete (..),+ newDLPOrganizationsLocationsConnectionsDelete,++ -- ** dlp.organizations.locations.connections.get+ DLPOrganizationsLocationsConnectionsGetResource,+ DLPOrganizationsLocationsConnectionsGet (..),+ newDLPOrganizationsLocationsConnectionsGet,++ -- ** dlp.organizations.locations.connections.list+ DLPOrganizationsLocationsConnectionsListResource,+ DLPOrganizationsLocationsConnectionsList (..),+ newDLPOrganizationsLocationsConnectionsList,++ -- ** dlp.organizations.locations.connections.patch+ DLPOrganizationsLocationsConnectionsPatchResource,+ DLPOrganizationsLocationsConnectionsPatch (..),+ newDLPOrganizationsLocationsConnectionsPatch,++ -- ** dlp.organizations.locations.connections.search+ DLPOrganizationsLocationsConnectionsSearchResource,+ DLPOrganizationsLocationsConnectionsSearch (..),+ newDLPOrganizationsLocationsConnectionsSearch,++ -- ** dlp.organizations.locations.deidentifyTemplates.create+ DLPOrganizationsLocationsDeidentifyTemplatesCreateResource,+ DLPOrganizationsLocationsDeidentifyTemplatesCreate (..),+ newDLPOrganizationsLocationsDeidentifyTemplatesCreate,++ -- ** dlp.organizations.locations.deidentifyTemplates.delete+ DLPOrganizationsLocationsDeidentifyTemplatesDeleteResource,+ DLPOrganizationsLocationsDeidentifyTemplatesDelete (..),+ newDLPOrganizationsLocationsDeidentifyTemplatesDelete,++ -- ** dlp.organizations.locations.deidentifyTemplates.get+ DLPOrganizationsLocationsDeidentifyTemplatesGetResource,+ DLPOrganizationsLocationsDeidentifyTemplatesGet (..),+ newDLPOrganizationsLocationsDeidentifyTemplatesGet,++ -- ** dlp.organizations.locations.deidentifyTemplates.list+ DLPOrganizationsLocationsDeidentifyTemplatesListResource,+ DLPOrganizationsLocationsDeidentifyTemplatesList (..),+ newDLPOrganizationsLocationsDeidentifyTemplatesList,++ -- ** dlp.organizations.locations.deidentifyTemplates.patch+ DLPOrganizationsLocationsDeidentifyTemplatesPatchResource,+ DLPOrganizationsLocationsDeidentifyTemplatesPatch (..),+ newDLPOrganizationsLocationsDeidentifyTemplatesPatch,++ -- ** dlp.organizations.locations.discoveryConfigs.create+ DLPOrganizationsLocationsDiscoveryConfigsCreateResource,+ DLPOrganizationsLocationsDiscoveryConfigsCreate (..),+ newDLPOrganizationsLocationsDiscoveryConfigsCreate,++ -- ** dlp.organizations.locations.discoveryConfigs.delete+ DLPOrganizationsLocationsDiscoveryConfigsDeleteResource,+ DLPOrganizationsLocationsDiscoveryConfigsDelete (..),+ newDLPOrganizationsLocationsDiscoveryConfigsDelete,++ -- ** dlp.organizations.locations.discoveryConfigs.get+ DLPOrganizationsLocationsDiscoveryConfigsGetResource,+ DLPOrganizationsLocationsDiscoveryConfigsGet (..),+ newDLPOrganizationsLocationsDiscoveryConfigsGet,++ -- ** dlp.organizations.locations.discoveryConfigs.list+ DLPOrganizationsLocationsDiscoveryConfigsListResource,+ DLPOrganizationsLocationsDiscoveryConfigsList (..),+ newDLPOrganizationsLocationsDiscoveryConfigsList,++ -- ** dlp.organizations.locations.discoveryConfigs.patch+ DLPOrganizationsLocationsDiscoveryConfigsPatchResource,+ DLPOrganizationsLocationsDiscoveryConfigsPatch (..),+ newDLPOrganizationsLocationsDiscoveryConfigsPatch,++ -- ** dlp.organizations.locations.dlpJobs.list+ DLPOrganizationsLocationsDlpJobsListResource,+ DLPOrganizationsLocationsDlpJobsList (..),+ newDLPOrganizationsLocationsDlpJobsList,++ -- ** dlp.organizations.locations.fileStoreDataProfiles.delete+ DLPOrganizationsLocationsFileStoreDataProfilesDeleteResource,+ DLPOrganizationsLocationsFileStoreDataProfilesDelete (..),+ newDLPOrganizationsLocationsFileStoreDataProfilesDelete,++ -- ** dlp.organizations.locations.fileStoreDataProfiles.get+ DLPOrganizationsLocationsFileStoreDataProfilesGetResource,+ DLPOrganizationsLocationsFileStoreDataProfilesGet (..),+ newDLPOrganizationsLocationsFileStoreDataProfilesGet,++ -- ** dlp.organizations.locations.fileStoreDataProfiles.list+ DLPOrganizationsLocationsFileStoreDataProfilesListResource,+ DLPOrganizationsLocationsFileStoreDataProfilesList (..),+ newDLPOrganizationsLocationsFileStoreDataProfilesList,++ -- ** dlp.organizations.locations.inspectTemplates.create+ DLPOrganizationsLocationsInspectTemplatesCreateResource,+ DLPOrganizationsLocationsInspectTemplatesCreate (..),+ newDLPOrganizationsLocationsInspectTemplatesCreate,++ -- ** dlp.organizations.locations.inspectTemplates.delete+ DLPOrganizationsLocationsInspectTemplatesDeleteResource,+ DLPOrganizationsLocationsInspectTemplatesDelete (..),+ newDLPOrganizationsLocationsInspectTemplatesDelete,++ -- ** dlp.organizations.locations.inspectTemplates.get+ DLPOrganizationsLocationsInspectTemplatesGetResource,+ DLPOrganizationsLocationsInspectTemplatesGet (..),+ newDLPOrganizationsLocationsInspectTemplatesGet,++ -- ** dlp.organizations.locations.inspectTemplates.list+ DLPOrganizationsLocationsInspectTemplatesListResource,+ DLPOrganizationsLocationsInspectTemplatesList (..),+ newDLPOrganizationsLocationsInspectTemplatesList,++ -- ** dlp.organizations.locations.inspectTemplates.patch+ DLPOrganizationsLocationsInspectTemplatesPatchResource,+ DLPOrganizationsLocationsInspectTemplatesPatch (..),+ newDLPOrganizationsLocationsInspectTemplatesPatch,++ -- ** dlp.organizations.locations.jobTriggers.create+ DLPOrganizationsLocationsJobTriggersCreateResource,+ DLPOrganizationsLocationsJobTriggersCreate (..),+ newDLPOrganizationsLocationsJobTriggersCreate,++ -- ** dlp.organizations.locations.jobTriggers.delete+ DLPOrganizationsLocationsJobTriggersDeleteResource,+ DLPOrganizationsLocationsJobTriggersDelete (..),+ newDLPOrganizationsLocationsJobTriggersDelete,++ -- ** dlp.organizations.locations.jobTriggers.get+ DLPOrganizationsLocationsJobTriggersGetResource,+ DLPOrganizationsLocationsJobTriggersGet (..),+ newDLPOrganizationsLocationsJobTriggersGet,++ -- ** dlp.organizations.locations.jobTriggers.list+ DLPOrganizationsLocationsJobTriggersListResource,+ DLPOrganizationsLocationsJobTriggersList (..),+ newDLPOrganizationsLocationsJobTriggersList,++ -- ** dlp.organizations.locations.jobTriggers.patch+ DLPOrganizationsLocationsJobTriggersPatchResource,+ DLPOrganizationsLocationsJobTriggersPatch (..),+ newDLPOrganizationsLocationsJobTriggersPatch,++ -- ** dlp.organizations.locations.projectDataProfiles.get+ DLPOrganizationsLocationsProjectDataProfilesGetResource,+ DLPOrganizationsLocationsProjectDataProfilesGet (..),+ newDLPOrganizationsLocationsProjectDataProfilesGet,++ -- ** dlp.organizations.locations.projectDataProfiles.list+ DLPOrganizationsLocationsProjectDataProfilesListResource,+ DLPOrganizationsLocationsProjectDataProfilesList (..),+ newDLPOrganizationsLocationsProjectDataProfilesList,++ -- ** dlp.organizations.locations.storedInfoTypes.create+ DLPOrganizationsLocationsStoredInfoTypesCreateResource,+ DLPOrganizationsLocationsStoredInfoTypesCreate (..),+ newDLPOrganizationsLocationsStoredInfoTypesCreate,++ -- ** dlp.organizations.locations.storedInfoTypes.delete+ DLPOrganizationsLocationsStoredInfoTypesDeleteResource,+ DLPOrganizationsLocationsStoredInfoTypesDelete (..),+ newDLPOrganizationsLocationsStoredInfoTypesDelete,++ -- ** dlp.organizations.locations.storedInfoTypes.get+ DLPOrganizationsLocationsStoredInfoTypesGetResource,+ DLPOrganizationsLocationsStoredInfoTypesGet (..),+ newDLPOrganizationsLocationsStoredInfoTypesGet,++ -- ** dlp.organizations.locations.storedInfoTypes.list+ DLPOrganizationsLocationsStoredInfoTypesListResource,+ DLPOrganizationsLocationsStoredInfoTypesList (..),+ newDLPOrganizationsLocationsStoredInfoTypesList,++ -- ** dlp.organizations.locations.storedInfoTypes.patch+ DLPOrganizationsLocationsStoredInfoTypesPatchResource,+ DLPOrganizationsLocationsStoredInfoTypesPatch (..),+ newDLPOrganizationsLocationsStoredInfoTypesPatch,++ -- ** dlp.organizations.locations.tableDataProfiles.delete+ DLPOrganizationsLocationsTableDataProfilesDeleteResource,+ DLPOrganizationsLocationsTableDataProfilesDelete (..),+ newDLPOrganizationsLocationsTableDataProfilesDelete,++ -- ** dlp.organizations.locations.tableDataProfiles.get+ DLPOrganizationsLocationsTableDataProfilesGetResource,+ DLPOrganizationsLocationsTableDataProfilesGet (..),+ newDLPOrganizationsLocationsTableDataProfilesGet,++ -- ** dlp.organizations.locations.tableDataProfiles.list+ DLPOrganizationsLocationsTableDataProfilesListResource,+ DLPOrganizationsLocationsTableDataProfilesList (..),+ newDLPOrganizationsLocationsTableDataProfilesList,++ -- ** dlp.organizations.storedInfoTypes.create+ DLPOrganizationsStoredInfoTypesCreateResource,+ DLPOrganizationsStoredInfoTypesCreate (..),+ newDLPOrganizationsStoredInfoTypesCreate,++ -- ** dlp.organizations.storedInfoTypes.delete+ DLPOrganizationsStoredInfoTypesDeleteResource,+ DLPOrganizationsStoredInfoTypesDelete (..),+ newDLPOrganizationsStoredInfoTypesDelete,++ -- ** dlp.organizations.storedInfoTypes.get+ DLPOrganizationsStoredInfoTypesGetResource,+ DLPOrganizationsStoredInfoTypesGet (..),+ newDLPOrganizationsStoredInfoTypesGet,++ -- ** dlp.organizations.storedInfoTypes.list+ DLPOrganizationsStoredInfoTypesListResource,+ DLPOrganizationsStoredInfoTypesList (..),+ newDLPOrganizationsStoredInfoTypesList,++ -- ** dlp.organizations.storedInfoTypes.patch+ DLPOrganizationsStoredInfoTypesPatchResource,+ DLPOrganizationsStoredInfoTypesPatch (..),+ newDLPOrganizationsStoredInfoTypesPatch,++ -- ** dlp.projects.content.deidentify+ DLPProjectsContentDeidentifyResource,+ DLPProjectsContentDeidentify (..),+ newDLPProjectsContentDeidentify,++ -- ** dlp.projects.content.inspect+ DLPProjectsContentInspectResource,+ DLPProjectsContentInspect (..),+ newDLPProjectsContentInspect,++ -- ** dlp.projects.content.reidentify+ DLPProjectsContentReidentifyResource,+ DLPProjectsContentReidentify (..),+ newDLPProjectsContentReidentify,++ -- ** dlp.projects.deidentifyTemplates.create+ DLPProjectsDeidentifyTemplatesCreateResource,+ DLPProjectsDeidentifyTemplatesCreate (..),+ newDLPProjectsDeidentifyTemplatesCreate,++ -- ** dlp.projects.deidentifyTemplates.delete+ DLPProjectsDeidentifyTemplatesDeleteResource,+ DLPProjectsDeidentifyTemplatesDelete (..),+ newDLPProjectsDeidentifyTemplatesDelete,++ -- ** dlp.projects.deidentifyTemplates.get+ DLPProjectsDeidentifyTemplatesGetResource,+ DLPProjectsDeidentifyTemplatesGet (..),+ newDLPProjectsDeidentifyTemplatesGet,++ -- ** dlp.projects.deidentifyTemplates.list+ DLPProjectsDeidentifyTemplatesListResource,+ DLPProjectsDeidentifyTemplatesList (..),+ newDLPProjectsDeidentifyTemplatesList,++ -- ** dlp.projects.deidentifyTemplates.patch+ DLPProjectsDeidentifyTemplatesPatchResource,+ DLPProjectsDeidentifyTemplatesPatch (..),+ newDLPProjectsDeidentifyTemplatesPatch,++ -- ** dlp.projects.dlpJobs.cancel+ DLPProjectsDlpJobsCancelResource,+ DLPProjectsDlpJobsCancel (..),+ newDLPProjectsDlpJobsCancel,++ -- ** dlp.projects.dlpJobs.create+ DLPProjectsDlpJobsCreateResource,+ DLPProjectsDlpJobsCreate (..),+ newDLPProjectsDlpJobsCreate,++ -- ** dlp.projects.dlpJobs.delete+ DLPProjectsDlpJobsDeleteResource,+ DLPProjectsDlpJobsDelete (..),+ newDLPProjectsDlpJobsDelete,++ -- ** dlp.projects.dlpJobs.get+ DLPProjectsDlpJobsGetResource,+ DLPProjectsDlpJobsGet (..),+ newDLPProjectsDlpJobsGet,++ -- ** dlp.projects.dlpJobs.list+ DLPProjectsDlpJobsListResource,+ DLPProjectsDlpJobsList (..),+ newDLPProjectsDlpJobsList,++ -- ** dlp.projects.image.redact+ DLPProjectsImageRedactResource,+ DLPProjectsImageRedact (..),+ newDLPProjectsImageRedact,++ -- ** dlp.projects.inspectTemplates.create+ DLPProjectsInspectTemplatesCreateResource,+ DLPProjectsInspectTemplatesCreate (..),+ newDLPProjectsInspectTemplatesCreate,++ -- ** dlp.projects.inspectTemplates.delete+ DLPProjectsInspectTemplatesDeleteResource,+ DLPProjectsInspectTemplatesDelete (..),+ newDLPProjectsInspectTemplatesDelete,++ -- ** dlp.projects.inspectTemplates.get+ DLPProjectsInspectTemplatesGetResource,+ DLPProjectsInspectTemplatesGet (..),+ newDLPProjectsInspectTemplatesGet,++ -- ** dlp.projects.inspectTemplates.list+ DLPProjectsInspectTemplatesListResource,+ DLPProjectsInspectTemplatesList (..),+ newDLPProjectsInspectTemplatesList,++ -- ** dlp.projects.inspectTemplates.patch+ DLPProjectsInspectTemplatesPatchResource,+ DLPProjectsInspectTemplatesPatch (..),+ newDLPProjectsInspectTemplatesPatch,++ -- ** dlp.projects.jobTriggers.activate+ DLPProjectsJobTriggersActivateResource,+ DLPProjectsJobTriggersActivate (..),+ newDLPProjectsJobTriggersActivate,++ -- ** dlp.projects.jobTriggers.create+ DLPProjectsJobTriggersCreateResource,+ DLPProjectsJobTriggersCreate (..),+ newDLPProjectsJobTriggersCreate,++ -- ** dlp.projects.jobTriggers.delete+ DLPProjectsJobTriggersDeleteResource,+ DLPProjectsJobTriggersDelete (..),+ newDLPProjectsJobTriggersDelete,++ -- ** dlp.projects.jobTriggers.get+ DLPProjectsJobTriggersGetResource,+ DLPProjectsJobTriggersGet (..),+ newDLPProjectsJobTriggersGet,++ -- ** dlp.projects.jobTriggers.list+ DLPProjectsJobTriggersListResource,+ DLPProjectsJobTriggersList (..),+ newDLPProjectsJobTriggersList,++ -- ** dlp.projects.jobTriggers.patch+ DLPProjectsJobTriggersPatchResource,+ DLPProjectsJobTriggersPatch (..),+ newDLPProjectsJobTriggersPatch,++ -- ** dlp.projects.locations.columnDataProfiles.get+ DLPProjectsLocationsColumnDataProfilesGetResource,+ DLPProjectsLocationsColumnDataProfilesGet (..),+ newDLPProjectsLocationsColumnDataProfilesGet,++ -- ** dlp.projects.locations.columnDataProfiles.list+ DLPProjectsLocationsColumnDataProfilesListResource,+ DLPProjectsLocationsColumnDataProfilesList (..),+ newDLPProjectsLocationsColumnDataProfilesList,++ -- ** dlp.projects.locations.connections.create+ DLPProjectsLocationsConnectionsCreateResource,+ DLPProjectsLocationsConnectionsCreate (..),+ newDLPProjectsLocationsConnectionsCreate,++ -- ** dlp.projects.locations.connections.delete+ DLPProjectsLocationsConnectionsDeleteResource,+ DLPProjectsLocationsConnectionsDelete (..),+ newDLPProjectsLocationsConnectionsDelete,++ -- ** dlp.projects.locations.connections.get+ DLPProjectsLocationsConnectionsGetResource,+ DLPProjectsLocationsConnectionsGet (..),+ newDLPProjectsLocationsConnectionsGet,++ -- ** dlp.projects.locations.connections.list+ DLPProjectsLocationsConnectionsListResource,+ DLPProjectsLocationsConnectionsList (..),+ newDLPProjectsLocationsConnectionsList,++ -- ** dlp.projects.locations.connections.patch+ DLPProjectsLocationsConnectionsPatchResource,+ DLPProjectsLocationsConnectionsPatch (..),+ newDLPProjectsLocationsConnectionsPatch,++ -- ** dlp.projects.locations.connections.search+ DLPProjectsLocationsConnectionsSearchResource,+ DLPProjectsLocationsConnectionsSearch (..),+ newDLPProjectsLocationsConnectionsSearch,++ -- ** dlp.projects.locations.content.deidentify+ DLPProjectsLocationsContentDeidentifyResource,+ DLPProjectsLocationsContentDeidentify (..),+ newDLPProjectsLocationsContentDeidentify,++ -- ** dlp.projects.locations.content.inspect+ DLPProjectsLocationsContentInspectResource,+ DLPProjectsLocationsContentInspect (..),+ newDLPProjectsLocationsContentInspect,++ -- ** dlp.projects.locations.content.reidentify+ DLPProjectsLocationsContentReidentifyResource,+ DLPProjectsLocationsContentReidentify (..),+ newDLPProjectsLocationsContentReidentify,++ -- ** dlp.projects.locations.deidentifyTemplates.create+ DLPProjectsLocationsDeidentifyTemplatesCreateResource,+ DLPProjectsLocationsDeidentifyTemplatesCreate (..),+ newDLPProjectsLocationsDeidentifyTemplatesCreate,++ -- ** dlp.projects.locations.deidentifyTemplates.delete+ DLPProjectsLocationsDeidentifyTemplatesDeleteResource,+ DLPProjectsLocationsDeidentifyTemplatesDelete (..),+ newDLPProjectsLocationsDeidentifyTemplatesDelete,++ -- ** dlp.projects.locations.deidentifyTemplates.get+ DLPProjectsLocationsDeidentifyTemplatesGetResource,+ DLPProjectsLocationsDeidentifyTemplatesGet (..),+ newDLPProjectsLocationsDeidentifyTemplatesGet,++ -- ** dlp.projects.locations.deidentifyTemplates.list+ DLPProjectsLocationsDeidentifyTemplatesListResource,+ DLPProjectsLocationsDeidentifyTemplatesList (..),+ newDLPProjectsLocationsDeidentifyTemplatesList,++ -- ** dlp.projects.locations.deidentifyTemplates.patch+ DLPProjectsLocationsDeidentifyTemplatesPatchResource,+ DLPProjectsLocationsDeidentifyTemplatesPatch (..),+ newDLPProjectsLocationsDeidentifyTemplatesPatch,++ -- ** dlp.projects.locations.discoveryConfigs.create+ DLPProjectsLocationsDiscoveryConfigsCreateResource,+ DLPProjectsLocationsDiscoveryConfigsCreate (..),+ newDLPProjectsLocationsDiscoveryConfigsCreate,++ -- ** dlp.projects.locations.discoveryConfigs.delete+ DLPProjectsLocationsDiscoveryConfigsDeleteResource,+ DLPProjectsLocationsDiscoveryConfigsDelete (..),+ newDLPProjectsLocationsDiscoveryConfigsDelete,++ -- ** dlp.projects.locations.discoveryConfigs.get+ DLPProjectsLocationsDiscoveryConfigsGetResource,+ DLPProjectsLocationsDiscoveryConfigsGet (..),+ newDLPProjectsLocationsDiscoveryConfigsGet,++ -- ** dlp.projects.locations.discoveryConfigs.list+ DLPProjectsLocationsDiscoveryConfigsListResource,+ DLPProjectsLocationsDiscoveryConfigsList (..),+ newDLPProjectsLocationsDiscoveryConfigsList,++ -- ** dlp.projects.locations.discoveryConfigs.patch+ DLPProjectsLocationsDiscoveryConfigsPatchResource,+ DLPProjectsLocationsDiscoveryConfigsPatch (..),+ newDLPProjectsLocationsDiscoveryConfigsPatch,++ -- ** dlp.projects.locations.dlpJobs.cancel+ DLPProjectsLocationsDlpJobsCancelResource,+ DLPProjectsLocationsDlpJobsCancel (..),+ newDLPProjectsLocationsDlpJobsCancel,++ -- ** dlp.projects.locations.dlpJobs.create+ DLPProjectsLocationsDlpJobsCreateResource,+ DLPProjectsLocationsDlpJobsCreate (..),+ newDLPProjectsLocationsDlpJobsCreate,++ -- ** dlp.projects.locations.dlpJobs.delete+ DLPProjectsLocationsDlpJobsDeleteResource,+ DLPProjectsLocationsDlpJobsDelete (..),+ newDLPProjectsLocationsDlpJobsDelete,++ -- ** dlp.projects.locations.dlpJobs.finish+ DLPProjectsLocationsDlpJobsFinishResource,+ DLPProjectsLocationsDlpJobsFinish (..),+ newDLPProjectsLocationsDlpJobsFinish,++ -- ** dlp.projects.locations.dlpJobs.get+ DLPProjectsLocationsDlpJobsGetResource,+ DLPProjectsLocationsDlpJobsGet (..),+ newDLPProjectsLocationsDlpJobsGet,++ -- ** dlp.projects.locations.dlpJobs.hybridInspect+ DLPProjectsLocationsDlpJobsHybridInspectResource,+ DLPProjectsLocationsDlpJobsHybridInspect (..),+ newDLPProjectsLocationsDlpJobsHybridInspect,++ -- ** dlp.projects.locations.dlpJobs.list+ DLPProjectsLocationsDlpJobsListResource,+ DLPProjectsLocationsDlpJobsList (..),+ newDLPProjectsLocationsDlpJobsList,++ -- ** dlp.projects.locations.fileStoreDataProfiles.delete+ DLPProjectsLocationsFileStoreDataProfilesDeleteResource,+ DLPProjectsLocationsFileStoreDataProfilesDelete (..),+ newDLPProjectsLocationsFileStoreDataProfilesDelete,++ -- ** dlp.projects.locations.fileStoreDataProfiles.get+ DLPProjectsLocationsFileStoreDataProfilesGetResource,+ DLPProjectsLocationsFileStoreDataProfilesGet (..),+ newDLPProjectsLocationsFileStoreDataProfilesGet,++ -- ** dlp.projects.locations.fileStoreDataProfiles.list+ DLPProjectsLocationsFileStoreDataProfilesListResource,+ DLPProjectsLocationsFileStoreDataProfilesList (..),+ newDLPProjectsLocationsFileStoreDataProfilesList,++ -- ** dlp.projects.locations.image.redact+ DLPProjectsLocationsImageRedactResource,+ DLPProjectsLocationsImageRedact (..),+ newDLPProjectsLocationsImageRedact,++ -- ** dlp.projects.locations.inspectTemplates.create+ DLPProjectsLocationsInspectTemplatesCreateResource,+ DLPProjectsLocationsInspectTemplatesCreate (..),+ newDLPProjectsLocationsInspectTemplatesCreate,++ -- ** dlp.projects.locations.inspectTemplates.delete+ DLPProjectsLocationsInspectTemplatesDeleteResource,+ DLPProjectsLocationsInspectTemplatesDelete (..),+ newDLPProjectsLocationsInspectTemplatesDelete,++ -- ** dlp.projects.locations.inspectTemplates.get+ DLPProjectsLocationsInspectTemplatesGetResource,+ DLPProjectsLocationsInspectTemplatesGet (..),+ newDLPProjectsLocationsInspectTemplatesGet,++ -- ** dlp.projects.locations.inspectTemplates.list+ DLPProjectsLocationsInspectTemplatesListResource,+ DLPProjectsLocationsInspectTemplatesList (..),+ newDLPProjectsLocationsInspectTemplatesList,++ -- ** dlp.projects.locations.inspectTemplates.patch+ DLPProjectsLocationsInspectTemplatesPatchResource,+ DLPProjectsLocationsInspectTemplatesPatch (..),+ newDLPProjectsLocationsInspectTemplatesPatch,++ -- ** dlp.projects.locations.jobTriggers.activate+ DLPProjectsLocationsJobTriggersActivateResource,+ DLPProjectsLocationsJobTriggersActivate (..),+ newDLPProjectsLocationsJobTriggersActivate,++ -- ** dlp.projects.locations.jobTriggers.create+ DLPProjectsLocationsJobTriggersCreateResource,+ DLPProjectsLocationsJobTriggersCreate (..),+ newDLPProjectsLocationsJobTriggersCreate,++ -- ** dlp.projects.locations.jobTriggers.delete+ DLPProjectsLocationsJobTriggersDeleteResource,+ DLPProjectsLocationsJobTriggersDelete (..),+ newDLPProjectsLocationsJobTriggersDelete,++ -- ** dlp.projects.locations.jobTriggers.get+ DLPProjectsLocationsJobTriggersGetResource,+ DLPProjectsLocationsJobTriggersGet (..),+ newDLPProjectsLocationsJobTriggersGet,++ -- ** dlp.projects.locations.jobTriggers.hybridInspect+ DLPProjectsLocationsJobTriggersHybridInspectResource,+ DLPProjectsLocationsJobTriggersHybridInspect (..),+ newDLPProjectsLocationsJobTriggersHybridInspect,++ -- ** dlp.projects.locations.jobTriggers.list+ DLPProjectsLocationsJobTriggersListResource,+ DLPProjectsLocationsJobTriggersList (..),+ newDLPProjectsLocationsJobTriggersList,++ -- ** dlp.projects.locations.jobTriggers.patch+ DLPProjectsLocationsJobTriggersPatchResource,+ DLPProjectsLocationsJobTriggersPatch (..),+ newDLPProjectsLocationsJobTriggersPatch,++ -- ** dlp.projects.locations.projectDataProfiles.get+ DLPProjectsLocationsProjectDataProfilesGetResource,+ DLPProjectsLocationsProjectDataProfilesGet (..),+ newDLPProjectsLocationsProjectDataProfilesGet,++ -- ** dlp.projects.locations.projectDataProfiles.list+ DLPProjectsLocationsProjectDataProfilesListResource,+ DLPProjectsLocationsProjectDataProfilesList (..),+ newDLPProjectsLocationsProjectDataProfilesList,++ -- ** dlp.projects.locations.storedInfoTypes.create+ DLPProjectsLocationsStoredInfoTypesCreateResource,+ DLPProjectsLocationsStoredInfoTypesCreate (..),+ newDLPProjectsLocationsStoredInfoTypesCreate,++ -- ** dlp.projects.locations.storedInfoTypes.delete+ DLPProjectsLocationsStoredInfoTypesDeleteResource,+ DLPProjectsLocationsStoredInfoTypesDelete (..),+ newDLPProjectsLocationsStoredInfoTypesDelete,++ -- ** dlp.projects.locations.storedInfoTypes.get+ DLPProjectsLocationsStoredInfoTypesGetResource,+ DLPProjectsLocationsStoredInfoTypesGet (..),+ newDLPProjectsLocationsStoredInfoTypesGet,++ -- ** dlp.projects.locations.storedInfoTypes.list+ DLPProjectsLocationsStoredInfoTypesListResource,+ DLPProjectsLocationsStoredInfoTypesList (..),+ newDLPProjectsLocationsStoredInfoTypesList,++ -- ** dlp.projects.locations.storedInfoTypes.patch+ DLPProjectsLocationsStoredInfoTypesPatchResource,+ DLPProjectsLocationsStoredInfoTypesPatch (..),+ newDLPProjectsLocationsStoredInfoTypesPatch,++ -- ** dlp.projects.locations.tableDataProfiles.delete+ DLPProjectsLocationsTableDataProfilesDeleteResource,+ DLPProjectsLocationsTableDataProfilesDelete (..),+ newDLPProjectsLocationsTableDataProfilesDelete,++ -- ** dlp.projects.locations.tableDataProfiles.get+ DLPProjectsLocationsTableDataProfilesGetResource,+ DLPProjectsLocationsTableDataProfilesGet (..),+ newDLPProjectsLocationsTableDataProfilesGet,++ -- ** dlp.projects.locations.tableDataProfiles.list+ DLPProjectsLocationsTableDataProfilesListResource,+ DLPProjectsLocationsTableDataProfilesList (..),+ newDLPProjectsLocationsTableDataProfilesList,++ -- ** dlp.projects.storedInfoTypes.create+ DLPProjectsStoredInfoTypesCreateResource,+ DLPProjectsStoredInfoTypesCreate (..),+ newDLPProjectsStoredInfoTypesCreate,++ -- ** dlp.projects.storedInfoTypes.delete+ DLPProjectsStoredInfoTypesDeleteResource,+ DLPProjectsStoredInfoTypesDelete (..),+ newDLPProjectsStoredInfoTypesDelete,++ -- ** dlp.projects.storedInfoTypes.get+ DLPProjectsStoredInfoTypesGetResource,+ DLPProjectsStoredInfoTypesGet (..),+ newDLPProjectsStoredInfoTypesGet,++ -- ** dlp.projects.storedInfoTypes.list+ DLPProjectsStoredInfoTypesListResource,+ DLPProjectsStoredInfoTypesList (..),+ newDLPProjectsStoredInfoTypesList,++ -- ** dlp.projects.storedInfoTypes.patch+ DLPProjectsStoredInfoTypesPatchResource,+ DLPProjectsStoredInfoTypesPatch (..),+ newDLPProjectsStoredInfoTypesPatch,++ -- * Types++ -- ** Xgafv+ Xgafv (..),++ -- ** GooglePrivacyDlpV2Action+ GooglePrivacyDlpV2Action (..),+ newGooglePrivacyDlpV2Action,++ -- ** GooglePrivacyDlpV2ActionDetails+ GooglePrivacyDlpV2ActionDetails (..),+ newGooglePrivacyDlpV2ActionDetails,++ -- ** GooglePrivacyDlpV2ActivateJobTriggerRequest+ GooglePrivacyDlpV2ActivateJobTriggerRequest (..),+ newGooglePrivacyDlpV2ActivateJobTriggerRequest,++ -- ** GooglePrivacyDlpV2AllInfoTypes+ GooglePrivacyDlpV2AllInfoTypes (..),+ newGooglePrivacyDlpV2AllInfoTypes,++ -- ** GooglePrivacyDlpV2AllOtherBigQueryTables+ GooglePrivacyDlpV2AllOtherBigQueryTables (..),+ newGooglePrivacyDlpV2AllOtherBigQueryTables,++ -- ** GooglePrivacyDlpV2AllOtherDatabaseResources+ GooglePrivacyDlpV2AllOtherDatabaseResources (..),+ newGooglePrivacyDlpV2AllOtherDatabaseResources,++ -- ** GooglePrivacyDlpV2AllOtherResources+ GooglePrivacyDlpV2AllOtherResources (..),+ newGooglePrivacyDlpV2AllOtherResources,++ -- ** GooglePrivacyDlpV2AllText+ GooglePrivacyDlpV2AllText (..),+ newGooglePrivacyDlpV2AllText,++ -- ** GooglePrivacyDlpV2AmazonS3Bucket+ GooglePrivacyDlpV2AmazonS3Bucket (..),+ newGooglePrivacyDlpV2AmazonS3Bucket,++ -- ** GooglePrivacyDlpV2AmazonS3BucketConditions+ GooglePrivacyDlpV2AmazonS3BucketConditions (..),+ newGooglePrivacyDlpV2AmazonS3BucketConditions,++ -- ** GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem+ GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem (..),++ -- ** GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem+ GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem (..),++ -- ** GooglePrivacyDlpV2AmazonS3BucketRegex+ GooglePrivacyDlpV2AmazonS3BucketRegex (..),+ newGooglePrivacyDlpV2AmazonS3BucketRegex,++ -- ** GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails+ GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails (..),+ newGooglePrivacyDlpV2AnalyzeDataSourceRiskDetails,++ -- ** GooglePrivacyDlpV2AuxiliaryTable+ GooglePrivacyDlpV2AuxiliaryTable (..),+ newGooglePrivacyDlpV2AuxiliaryTable,++ -- ** GooglePrivacyDlpV2AwsAccount+ GooglePrivacyDlpV2AwsAccount (..),+ newGooglePrivacyDlpV2AwsAccount,++ -- ** GooglePrivacyDlpV2AwsAccountRegex+ GooglePrivacyDlpV2AwsAccountRegex (..),+ newGooglePrivacyDlpV2AwsAccountRegex,++ -- ** GooglePrivacyDlpV2AwsDiscoveryStartingLocation+ GooglePrivacyDlpV2AwsDiscoveryStartingLocation (..),+ newGooglePrivacyDlpV2AwsDiscoveryStartingLocation,++ -- ** GooglePrivacyDlpV2BigQueryDiscoveryTarget+ GooglePrivacyDlpV2BigQueryDiscoveryTarget (..),+ newGooglePrivacyDlpV2BigQueryDiscoveryTarget,++ -- ** GooglePrivacyDlpV2BigQueryField+ GooglePrivacyDlpV2BigQueryField (..),+ newGooglePrivacyDlpV2BigQueryField,++ -- ** GooglePrivacyDlpV2BigQueryKey+ GooglePrivacyDlpV2BigQueryKey (..),+ newGooglePrivacyDlpV2BigQueryKey,++ -- ** GooglePrivacyDlpV2BigQueryOptions+ GooglePrivacyDlpV2BigQueryOptions (..),+ newGooglePrivacyDlpV2BigQueryOptions,++ -- ** GooglePrivacyDlpV2BigQueryOptions_SampleMethod+ GooglePrivacyDlpV2BigQueryOptions_SampleMethod (..),++ -- ** GooglePrivacyDlpV2BigQueryRegex+ GooglePrivacyDlpV2BigQueryRegex (..),+ newGooglePrivacyDlpV2BigQueryRegex,++ -- ** GooglePrivacyDlpV2BigQueryRegexes+ GooglePrivacyDlpV2BigQueryRegexes (..),+ newGooglePrivacyDlpV2BigQueryRegexes,++ -- ** GooglePrivacyDlpV2BigQueryTable+ GooglePrivacyDlpV2BigQueryTable (..),+ newGooglePrivacyDlpV2BigQueryTable,++ -- ** GooglePrivacyDlpV2BigQueryTableCollection+ GooglePrivacyDlpV2BigQueryTableCollection (..),+ newGooglePrivacyDlpV2BigQueryTableCollection,++ -- ** GooglePrivacyDlpV2BigQueryTableTypes+ GooglePrivacyDlpV2BigQueryTableTypes (..),+ newGooglePrivacyDlpV2BigQueryTableTypes,++ -- ** GooglePrivacyDlpV2BigQueryTableTypes_TypesItem+ GooglePrivacyDlpV2BigQueryTableTypes_TypesItem (..),++ -- ** GooglePrivacyDlpV2BoundingBox+ GooglePrivacyDlpV2BoundingBox (..),+ newGooglePrivacyDlpV2BoundingBox,++ -- ** GooglePrivacyDlpV2Bucket+ GooglePrivacyDlpV2Bucket (..),+ newGooglePrivacyDlpV2Bucket,++ -- ** GooglePrivacyDlpV2BucketingConfig+ GooglePrivacyDlpV2BucketingConfig (..),+ newGooglePrivacyDlpV2BucketingConfig,++ -- ** GooglePrivacyDlpV2ByteContentItem+ GooglePrivacyDlpV2ByteContentItem (..),+ newGooglePrivacyDlpV2ByteContentItem,++ -- ** GooglePrivacyDlpV2ByteContentItem_Type+ GooglePrivacyDlpV2ByteContentItem_Type (..),++ -- ** GooglePrivacyDlpV2CancelDlpJobRequest+ GooglePrivacyDlpV2CancelDlpJobRequest (..),+ newGooglePrivacyDlpV2CancelDlpJobRequest,++ -- ** GooglePrivacyDlpV2CategoricalStatsConfig+ GooglePrivacyDlpV2CategoricalStatsConfig (..),+ newGooglePrivacyDlpV2CategoricalStatsConfig,++ -- ** GooglePrivacyDlpV2CategoricalStatsHistogramBucket+ GooglePrivacyDlpV2CategoricalStatsHistogramBucket (..),+ newGooglePrivacyDlpV2CategoricalStatsHistogramBucket,++ -- ** GooglePrivacyDlpV2CategoricalStatsResult+ GooglePrivacyDlpV2CategoricalStatsResult (..),+ newGooglePrivacyDlpV2CategoricalStatsResult,++ -- ** GooglePrivacyDlpV2CharacterMaskConfig+ GooglePrivacyDlpV2CharacterMaskConfig (..),+ newGooglePrivacyDlpV2CharacterMaskConfig,++ -- ** GooglePrivacyDlpV2CharsToIgnore+ GooglePrivacyDlpV2CharsToIgnore (..),+ newGooglePrivacyDlpV2CharsToIgnore,++ -- ** GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore+ GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore (..),++ -- ** GooglePrivacyDlpV2CloudSqlDiscoveryTarget+ GooglePrivacyDlpV2CloudSqlDiscoveryTarget (..),+ newGooglePrivacyDlpV2CloudSqlDiscoveryTarget,++ -- ** GooglePrivacyDlpV2CloudSqlIamCredential+ GooglePrivacyDlpV2CloudSqlIamCredential (..),+ newGooglePrivacyDlpV2CloudSqlIamCredential,++ -- ** GooglePrivacyDlpV2CloudSqlProperties+ GooglePrivacyDlpV2CloudSqlProperties (..),+ newGooglePrivacyDlpV2CloudSqlProperties,++ -- ** GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine+ GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine (..),++ -- ** GooglePrivacyDlpV2CloudStorageDiscoveryTarget+ GooglePrivacyDlpV2CloudStorageDiscoveryTarget (..),+ newGooglePrivacyDlpV2CloudStorageDiscoveryTarget,++ -- ** GooglePrivacyDlpV2CloudStorageFileSet+ GooglePrivacyDlpV2CloudStorageFileSet (..),+ newGooglePrivacyDlpV2CloudStorageFileSet,++ -- ** GooglePrivacyDlpV2CloudStorageOptions+ GooglePrivacyDlpV2CloudStorageOptions (..),+ newGooglePrivacyDlpV2CloudStorageOptions,++ -- ** GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem (..),++ -- ** GooglePrivacyDlpV2CloudStorageOptions_SampleMethod+ GooglePrivacyDlpV2CloudStorageOptions_SampleMethod (..),++ -- ** GooglePrivacyDlpV2CloudStoragePath+ GooglePrivacyDlpV2CloudStoragePath (..),+ newGooglePrivacyDlpV2CloudStoragePath,++ -- ** GooglePrivacyDlpV2CloudStorageRegex+ GooglePrivacyDlpV2CloudStorageRegex (..),+ newGooglePrivacyDlpV2CloudStorageRegex,++ -- ** GooglePrivacyDlpV2CloudStorageRegexFileSet+ GooglePrivacyDlpV2CloudStorageRegexFileSet (..),+ newGooglePrivacyDlpV2CloudStorageRegexFileSet,++ -- ** GooglePrivacyDlpV2CloudStorageResourceReference+ GooglePrivacyDlpV2CloudStorageResourceReference (..),+ newGooglePrivacyDlpV2CloudStorageResourceReference,++ -- ** GooglePrivacyDlpV2Color+ GooglePrivacyDlpV2Color (..),+ newGooglePrivacyDlpV2Color,++ -- ** GooglePrivacyDlpV2ColumnDataProfile+ GooglePrivacyDlpV2ColumnDataProfile (..),+ newGooglePrivacyDlpV2ColumnDataProfile,++ -- ** GooglePrivacyDlpV2ColumnDataProfile_ColumnType+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType (..),++ -- ** GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage (..),++ -- ** GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore (..),++ -- ** GooglePrivacyDlpV2ColumnDataProfile_PolicyState+ GooglePrivacyDlpV2ColumnDataProfile_PolicyState (..),++ -- ** GooglePrivacyDlpV2ColumnDataProfile_State+ GooglePrivacyDlpV2ColumnDataProfile_State (..),++ -- ** GooglePrivacyDlpV2Condition+ GooglePrivacyDlpV2Condition (..),+ newGooglePrivacyDlpV2Condition,++ -- ** GooglePrivacyDlpV2Condition_Operator+ GooglePrivacyDlpV2Condition_Operator (..),++ -- ** GooglePrivacyDlpV2Conditions+ GooglePrivacyDlpV2Conditions (..),+ newGooglePrivacyDlpV2Conditions,++ -- ** GooglePrivacyDlpV2Connection+ GooglePrivacyDlpV2Connection (..),+ newGooglePrivacyDlpV2Connection,++ -- ** GooglePrivacyDlpV2Connection_State+ GooglePrivacyDlpV2Connection_State (..),++ -- ** GooglePrivacyDlpV2Container+ GooglePrivacyDlpV2Container (..),+ newGooglePrivacyDlpV2Container,++ -- ** GooglePrivacyDlpV2ContentItem+ GooglePrivacyDlpV2ContentItem (..),+ newGooglePrivacyDlpV2ContentItem,++ -- ** GooglePrivacyDlpV2ContentLocation+ GooglePrivacyDlpV2ContentLocation (..),+ newGooglePrivacyDlpV2ContentLocation,++ -- ** GooglePrivacyDlpV2CreateConnectionRequest+ GooglePrivacyDlpV2CreateConnectionRequest (..),+ newGooglePrivacyDlpV2CreateConnectionRequest,++ -- ** GooglePrivacyDlpV2CreateDeidentifyTemplateRequest+ GooglePrivacyDlpV2CreateDeidentifyTemplateRequest (..),+ newGooglePrivacyDlpV2CreateDeidentifyTemplateRequest,++ -- ** GooglePrivacyDlpV2CreateDiscoveryConfigRequest+ GooglePrivacyDlpV2CreateDiscoveryConfigRequest (..),+ newGooglePrivacyDlpV2CreateDiscoveryConfigRequest,++ -- ** GooglePrivacyDlpV2CreateDlpJobRequest+ GooglePrivacyDlpV2CreateDlpJobRequest (..),+ newGooglePrivacyDlpV2CreateDlpJobRequest,++ -- ** GooglePrivacyDlpV2CreateInspectTemplateRequest+ GooglePrivacyDlpV2CreateInspectTemplateRequest (..),+ newGooglePrivacyDlpV2CreateInspectTemplateRequest,++ -- ** GooglePrivacyDlpV2CreateJobTriggerRequest+ GooglePrivacyDlpV2CreateJobTriggerRequest (..),+ newGooglePrivacyDlpV2CreateJobTriggerRequest,++ -- ** GooglePrivacyDlpV2CreateStoredInfoTypeRequest+ GooglePrivacyDlpV2CreateStoredInfoTypeRequest (..),+ newGooglePrivacyDlpV2CreateStoredInfoTypeRequest,++ -- ** GooglePrivacyDlpV2CryptoDeterministicConfig+ GooglePrivacyDlpV2CryptoDeterministicConfig (..),+ newGooglePrivacyDlpV2CryptoDeterministicConfig,++ -- ** GooglePrivacyDlpV2CryptoHashConfig+ GooglePrivacyDlpV2CryptoHashConfig (..),+ newGooglePrivacyDlpV2CryptoHashConfig,++ -- ** GooglePrivacyDlpV2CryptoKey+ GooglePrivacyDlpV2CryptoKey (..),+ newGooglePrivacyDlpV2CryptoKey,++ -- ** GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig (..),+ newGooglePrivacyDlpV2CryptoReplaceFfxFpeConfig,++ -- ** GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet (..),++ -- ** GooglePrivacyDlpV2CustomInfoType+ GooglePrivacyDlpV2CustomInfoType (..),+ newGooglePrivacyDlpV2CustomInfoType,++ -- ** GooglePrivacyDlpV2CustomInfoType_ExclusionType+ GooglePrivacyDlpV2CustomInfoType_ExclusionType (..),++ -- ** GooglePrivacyDlpV2CustomInfoType_Likelihood+ GooglePrivacyDlpV2CustomInfoType_Likelihood (..),++ -- ** GooglePrivacyDlpV2DataProfileAction+ GooglePrivacyDlpV2DataProfileAction (..),+ newGooglePrivacyDlpV2DataProfileAction,++ -- ** GooglePrivacyDlpV2DataProfileBigQueryRowSchema+ GooglePrivacyDlpV2DataProfileBigQueryRowSchema (..),+ newGooglePrivacyDlpV2DataProfileBigQueryRowSchema,++ -- ** GooglePrivacyDlpV2DataProfileConfigSnapshot+ GooglePrivacyDlpV2DataProfileConfigSnapshot (..),+ newGooglePrivacyDlpV2DataProfileConfigSnapshot,++ -- ** GooglePrivacyDlpV2DataProfileFinding+ GooglePrivacyDlpV2DataProfileFinding (..),+ newGooglePrivacyDlpV2DataProfileFinding,++ -- ** GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility+ GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility (..),++ -- ** GooglePrivacyDlpV2DataProfileFindingLocation+ GooglePrivacyDlpV2DataProfileFindingLocation (..),+ newGooglePrivacyDlpV2DataProfileFindingLocation,++ -- ** GooglePrivacyDlpV2DataProfileFindingRecordLocation+ GooglePrivacyDlpV2DataProfileFindingRecordLocation (..),+ newGooglePrivacyDlpV2DataProfileFindingRecordLocation,++ -- ** GooglePrivacyDlpV2DataProfileJobConfig+ GooglePrivacyDlpV2DataProfileJobConfig (..),+ newGooglePrivacyDlpV2DataProfileJobConfig,++ -- ** GooglePrivacyDlpV2DataProfileLocation+ GooglePrivacyDlpV2DataProfileLocation (..),+ newGooglePrivacyDlpV2DataProfileLocation,++ -- ** GooglePrivacyDlpV2DataProfilePubSubCondition+ GooglePrivacyDlpV2DataProfilePubSubCondition (..),+ newGooglePrivacyDlpV2DataProfilePubSubCondition,++ -- ** GooglePrivacyDlpV2DataProfilePubSubMessage+ GooglePrivacyDlpV2DataProfilePubSubMessage (..),+ newGooglePrivacyDlpV2DataProfilePubSubMessage,++ -- ** GooglePrivacyDlpV2DataProfilePubSubMessage_Event+ GooglePrivacyDlpV2DataProfilePubSubMessage_Event (..),++ -- ** GooglePrivacyDlpV2DataRiskLevel+ GooglePrivacyDlpV2DataRiskLevel (..),+ newGooglePrivacyDlpV2DataRiskLevel,++ -- ** GooglePrivacyDlpV2DataRiskLevel_Score+ GooglePrivacyDlpV2DataRiskLevel_Score (..),++ -- ** GooglePrivacyDlpV2DataSourceType+ GooglePrivacyDlpV2DataSourceType (..),+ newGooglePrivacyDlpV2DataSourceType,++ -- ** GooglePrivacyDlpV2DatabaseResourceCollection+ GooglePrivacyDlpV2DatabaseResourceCollection (..),+ newGooglePrivacyDlpV2DatabaseResourceCollection,++ -- ** GooglePrivacyDlpV2DatabaseResourceReference+ GooglePrivacyDlpV2DatabaseResourceReference (..),+ newGooglePrivacyDlpV2DatabaseResourceReference,++ -- ** GooglePrivacyDlpV2DatabaseResourceRegex+ GooglePrivacyDlpV2DatabaseResourceRegex (..),+ newGooglePrivacyDlpV2DatabaseResourceRegex,++ -- ** GooglePrivacyDlpV2DatabaseResourceRegexes+ GooglePrivacyDlpV2DatabaseResourceRegexes (..),+ newGooglePrivacyDlpV2DatabaseResourceRegexes,++ -- ** GooglePrivacyDlpV2DatastoreKey+ GooglePrivacyDlpV2DatastoreKey (..),+ newGooglePrivacyDlpV2DatastoreKey,++ -- ** GooglePrivacyDlpV2DatastoreOptions+ GooglePrivacyDlpV2DatastoreOptions (..),+ newGooglePrivacyDlpV2DatastoreOptions,++ -- ** GooglePrivacyDlpV2DateShiftConfig+ GooglePrivacyDlpV2DateShiftConfig (..),+ newGooglePrivacyDlpV2DateShiftConfig,++ -- ** GooglePrivacyDlpV2DateTime+ GooglePrivacyDlpV2DateTime (..),+ newGooglePrivacyDlpV2DateTime,++ -- ** GooglePrivacyDlpV2DateTime_DayOfWeek+ GooglePrivacyDlpV2DateTime_DayOfWeek (..),++ -- ** GooglePrivacyDlpV2Deidentify+ GooglePrivacyDlpV2Deidentify (..),+ newGooglePrivacyDlpV2Deidentify,++ -- ** GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem (..),++ -- ** GooglePrivacyDlpV2DeidentifyConfig+ GooglePrivacyDlpV2DeidentifyConfig (..),+ newGooglePrivacyDlpV2DeidentifyConfig,++ -- ** GooglePrivacyDlpV2DeidentifyContentRequest+ GooglePrivacyDlpV2DeidentifyContentRequest (..),+ newGooglePrivacyDlpV2DeidentifyContentRequest,++ -- ** GooglePrivacyDlpV2DeidentifyContentResponse+ GooglePrivacyDlpV2DeidentifyContentResponse (..),+ newGooglePrivacyDlpV2DeidentifyContentResponse,++ -- ** GooglePrivacyDlpV2DeidentifyDataSourceDetails+ GooglePrivacyDlpV2DeidentifyDataSourceDetails (..),+ newGooglePrivacyDlpV2DeidentifyDataSourceDetails,++ -- ** GooglePrivacyDlpV2DeidentifyDataSourceStats+ GooglePrivacyDlpV2DeidentifyDataSourceStats (..),+ newGooglePrivacyDlpV2DeidentifyDataSourceStats,++ -- ** GooglePrivacyDlpV2DeidentifyTemplate+ GooglePrivacyDlpV2DeidentifyTemplate (..),+ newGooglePrivacyDlpV2DeidentifyTemplate,++ -- ** GooglePrivacyDlpV2DeltaPresenceEstimationConfig+ GooglePrivacyDlpV2DeltaPresenceEstimationConfig (..),+ newGooglePrivacyDlpV2DeltaPresenceEstimationConfig,++ -- ** GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket+ GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket (..),+ newGooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket,++ -- ** GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues+ GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues (..),+ newGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues,++ -- ** GooglePrivacyDlpV2DeltaPresenceEstimationResult+ GooglePrivacyDlpV2DeltaPresenceEstimationResult (..),+ newGooglePrivacyDlpV2DeltaPresenceEstimationResult,++ -- ** GooglePrivacyDlpV2DetectionRule+ GooglePrivacyDlpV2DetectionRule (..),+ newGooglePrivacyDlpV2DetectionRule,++ -- ** GooglePrivacyDlpV2Dictionary+ GooglePrivacyDlpV2Dictionary (..),+ newGooglePrivacyDlpV2Dictionary,++ -- ** GooglePrivacyDlpV2Disabled+ GooglePrivacyDlpV2Disabled (..),+ newGooglePrivacyDlpV2Disabled,++ -- ** GooglePrivacyDlpV2DiscoveryBigQueryConditions+ GooglePrivacyDlpV2DiscoveryBigQueryConditions (..),+ newGooglePrivacyDlpV2DiscoveryBigQueryConditions,++ -- ** GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection+ GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection (..),++ -- ** GooglePrivacyDlpV2DiscoveryBigQueryFilter+ GooglePrivacyDlpV2DiscoveryBigQueryFilter (..),+ newGooglePrivacyDlpV2DiscoveryBigQueryFilter,++ -- ** GooglePrivacyDlpV2DiscoveryCloudSqlConditions+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions (..),+ newGooglePrivacyDlpV2DiscoveryCloudSqlConditions,++ -- ** GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem (..),++ -- ** GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem (..),++ -- ** GooglePrivacyDlpV2DiscoveryCloudSqlFilter+ GooglePrivacyDlpV2DiscoveryCloudSqlFilter (..),+ newGooglePrivacyDlpV2DiscoveryCloudSqlFilter,++ -- ** GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence (..),+ newGooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence,++ -- ** GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency (..),++ -- ** GooglePrivacyDlpV2DiscoveryCloudStorageConditions+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions (..),+ newGooglePrivacyDlpV2DiscoveryCloudStorageConditions,++ -- ** GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem (..),++ -- ** GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem (..),++ -- ** GooglePrivacyDlpV2DiscoveryCloudStorageFilter+ GooglePrivacyDlpV2DiscoveryCloudStorageFilter (..),+ newGooglePrivacyDlpV2DiscoveryCloudStorageFilter,++ -- ** GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence (..),+ newGooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence,++ -- ** GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency (..),++ -- ** GooglePrivacyDlpV2DiscoveryConfig+ GooglePrivacyDlpV2DiscoveryConfig (..),+ newGooglePrivacyDlpV2DiscoveryConfig,++ -- ** GooglePrivacyDlpV2DiscoveryConfig_Status+ GooglePrivacyDlpV2DiscoveryConfig_Status (..),++ -- ** GooglePrivacyDlpV2DiscoveryFileStoreConditions+ GooglePrivacyDlpV2DiscoveryFileStoreConditions (..),+ newGooglePrivacyDlpV2DiscoveryFileStoreConditions,++ -- ** GooglePrivacyDlpV2DiscoveryGenerationCadence+ GooglePrivacyDlpV2DiscoveryGenerationCadence (..),+ newGooglePrivacyDlpV2DiscoveryGenerationCadence,++ -- ** GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency+ GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency (..),++ -- ** GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence (..),+ newGooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence,++ -- ** GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency (..),++ -- ** GooglePrivacyDlpV2DiscoveryOtherCloudConditions+ GooglePrivacyDlpV2DiscoveryOtherCloudConditions (..),+ newGooglePrivacyDlpV2DiscoveryOtherCloudConditions,++ -- ** GooglePrivacyDlpV2DiscoveryOtherCloudFilter+ GooglePrivacyDlpV2DiscoveryOtherCloudFilter (..),+ newGooglePrivacyDlpV2DiscoveryOtherCloudFilter,++ -- ** GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence (..),+ newGooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence,++ -- ** GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency (..),++ -- ** GooglePrivacyDlpV2DiscoverySchemaModifiedCadence+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence (..),+ newGooglePrivacyDlpV2DiscoverySchemaModifiedCadence,++ -- ** GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency (..),++ -- ** GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem (..),++ -- ** GooglePrivacyDlpV2DiscoveryStartingLocation+ GooglePrivacyDlpV2DiscoveryStartingLocation (..),+ newGooglePrivacyDlpV2DiscoveryStartingLocation,++ -- ** GooglePrivacyDlpV2DiscoveryTableModifiedCadence+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence (..),+ newGooglePrivacyDlpV2DiscoveryTableModifiedCadence,++ -- ** GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency (..),++ -- ** GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem (..),++ -- ** GooglePrivacyDlpV2DiscoveryTarget+ GooglePrivacyDlpV2DiscoveryTarget (..),+ newGooglePrivacyDlpV2DiscoveryTarget,++ -- ** GooglePrivacyDlpV2DiscoveryVertexDatasetConditions+ GooglePrivacyDlpV2DiscoveryVertexDatasetConditions (..),+ newGooglePrivacyDlpV2DiscoveryVertexDatasetConditions,++ -- ** GooglePrivacyDlpV2DiscoveryVertexDatasetFilter+ GooglePrivacyDlpV2DiscoveryVertexDatasetFilter (..),+ newGooglePrivacyDlpV2DiscoveryVertexDatasetFilter,++ -- ** GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence (..),+ newGooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence,++ -- ** GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency (..),++ -- ** GooglePrivacyDlpV2DlpJob+ GooglePrivacyDlpV2DlpJob (..),+ newGooglePrivacyDlpV2DlpJob,++ -- ** GooglePrivacyDlpV2DlpJob_State+ GooglePrivacyDlpV2DlpJob_State (..),++ -- ** GooglePrivacyDlpV2DlpJob_Type+ GooglePrivacyDlpV2DlpJob_Type (..),++ -- ** GooglePrivacyDlpV2DocumentLocation+ GooglePrivacyDlpV2DocumentLocation (..),+ newGooglePrivacyDlpV2DocumentLocation,++ -- ** GooglePrivacyDlpV2EntityId+ GooglePrivacyDlpV2EntityId (..),+ newGooglePrivacyDlpV2EntityId,++ -- ** GooglePrivacyDlpV2Error+ GooglePrivacyDlpV2Error (..),+ newGooglePrivacyDlpV2Error,++ -- ** GooglePrivacyDlpV2Error_ExtraInfo+ GooglePrivacyDlpV2Error_ExtraInfo (..),++ -- ** GooglePrivacyDlpV2ExcludeByHotword+ GooglePrivacyDlpV2ExcludeByHotword (..),+ newGooglePrivacyDlpV2ExcludeByHotword,++ -- ** GooglePrivacyDlpV2ExcludeInfoTypes+ GooglePrivacyDlpV2ExcludeInfoTypes (..),+ newGooglePrivacyDlpV2ExcludeInfoTypes,++ -- ** GooglePrivacyDlpV2ExclusionRule+ GooglePrivacyDlpV2ExclusionRule (..),+ newGooglePrivacyDlpV2ExclusionRule,++ -- ** GooglePrivacyDlpV2ExclusionRule_MatchingType+ GooglePrivacyDlpV2ExclusionRule_MatchingType (..),++ -- ** GooglePrivacyDlpV2Export+ GooglePrivacyDlpV2Export (..),+ newGooglePrivacyDlpV2Export,++ -- ** GooglePrivacyDlpV2Expressions+ GooglePrivacyDlpV2Expressions (..),+ newGooglePrivacyDlpV2Expressions,++ -- ** GooglePrivacyDlpV2Expressions_LogicalOperator+ GooglePrivacyDlpV2Expressions_LogicalOperator (..),++ -- ** GooglePrivacyDlpV2FieldId+ GooglePrivacyDlpV2FieldId (..),+ newGooglePrivacyDlpV2FieldId,++ -- ** GooglePrivacyDlpV2FieldTransformation+ GooglePrivacyDlpV2FieldTransformation (..),+ newGooglePrivacyDlpV2FieldTransformation,++ -- ** GooglePrivacyDlpV2FileClusterSummary+ GooglePrivacyDlpV2FileClusterSummary (..),+ newGooglePrivacyDlpV2FileClusterSummary,++ -- ** GooglePrivacyDlpV2FileClusterType+ GooglePrivacyDlpV2FileClusterType (..),+ newGooglePrivacyDlpV2FileClusterType,++ -- ** GooglePrivacyDlpV2FileClusterType_Cluster+ GooglePrivacyDlpV2FileClusterType_Cluster (..),++ -- ** GooglePrivacyDlpV2FileExtensionInfo+ GooglePrivacyDlpV2FileExtensionInfo (..),+ newGooglePrivacyDlpV2FileExtensionInfo,++ -- ** GooglePrivacyDlpV2FileSet+ GooglePrivacyDlpV2FileSet (..),+ newGooglePrivacyDlpV2FileSet,++ -- ** GooglePrivacyDlpV2FileStoreCollection+ GooglePrivacyDlpV2FileStoreCollection (..),+ newGooglePrivacyDlpV2FileStoreCollection,++ -- ** GooglePrivacyDlpV2FileStoreDataProfile+ GooglePrivacyDlpV2FileStoreDataProfile (..),+ newGooglePrivacyDlpV2FileStoreDataProfile,++ -- ** GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes (..),+ newGooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes,++ -- ** GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels (..),+ newGooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels,++ -- ** GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility (..),++ -- ** GooglePrivacyDlpV2FileStoreDataProfile_State+ GooglePrivacyDlpV2FileStoreDataProfile_State (..),++ -- ** GooglePrivacyDlpV2FileStoreInfoTypeSummary+ GooglePrivacyDlpV2FileStoreInfoTypeSummary (..),+ newGooglePrivacyDlpV2FileStoreInfoTypeSummary,++ -- ** GooglePrivacyDlpV2FileStoreRegex+ GooglePrivacyDlpV2FileStoreRegex (..),+ newGooglePrivacyDlpV2FileStoreRegex,++ -- ** GooglePrivacyDlpV2FileStoreRegexes+ GooglePrivacyDlpV2FileStoreRegexes (..),+ newGooglePrivacyDlpV2FileStoreRegexes,++ -- ** GooglePrivacyDlpV2Finding+ GooglePrivacyDlpV2Finding (..),+ newGooglePrivacyDlpV2Finding,++ -- ** GooglePrivacyDlpV2Finding_Labels+ GooglePrivacyDlpV2Finding_Labels (..),+ newGooglePrivacyDlpV2Finding_Labels,++ -- ** GooglePrivacyDlpV2Finding_Likelihood+ GooglePrivacyDlpV2Finding_Likelihood (..),++ -- ** GooglePrivacyDlpV2FindingLimits+ GooglePrivacyDlpV2FindingLimits (..),+ newGooglePrivacyDlpV2FindingLimits,++ -- ** GooglePrivacyDlpV2FinishDlpJobRequest+ GooglePrivacyDlpV2FinishDlpJobRequest (..),+ newGooglePrivacyDlpV2FinishDlpJobRequest,++ -- ** GooglePrivacyDlpV2FixedSizeBucketingConfig+ GooglePrivacyDlpV2FixedSizeBucketingConfig (..),+ newGooglePrivacyDlpV2FixedSizeBucketingConfig,++ -- ** GooglePrivacyDlpV2GlobalProcessing+ GooglePrivacyDlpV2GlobalProcessing (..),+ newGooglePrivacyDlpV2GlobalProcessing,++ -- ** GooglePrivacyDlpV2HotwordRule+ GooglePrivacyDlpV2HotwordRule (..),+ newGooglePrivacyDlpV2HotwordRule,++ -- ** GooglePrivacyDlpV2HybridContentItem+ GooglePrivacyDlpV2HybridContentItem (..),+ newGooglePrivacyDlpV2HybridContentItem,++ -- ** GooglePrivacyDlpV2HybridFindingDetails+ GooglePrivacyDlpV2HybridFindingDetails (..),+ newGooglePrivacyDlpV2HybridFindingDetails,++ -- ** GooglePrivacyDlpV2HybridFindingDetails_Labels+ GooglePrivacyDlpV2HybridFindingDetails_Labels (..),+ newGooglePrivacyDlpV2HybridFindingDetails_Labels,++ -- ** GooglePrivacyDlpV2HybridInspectDlpJobRequest+ GooglePrivacyDlpV2HybridInspectDlpJobRequest (..),+ newGooglePrivacyDlpV2HybridInspectDlpJobRequest,++ -- ** GooglePrivacyDlpV2HybridInspectJobTriggerRequest+ GooglePrivacyDlpV2HybridInspectJobTriggerRequest (..),+ newGooglePrivacyDlpV2HybridInspectJobTriggerRequest,++ -- ** GooglePrivacyDlpV2HybridInspectResponse+ GooglePrivacyDlpV2HybridInspectResponse (..),+ newGooglePrivacyDlpV2HybridInspectResponse,++ -- ** GooglePrivacyDlpV2HybridInspectStatistics+ GooglePrivacyDlpV2HybridInspectStatistics (..),+ newGooglePrivacyDlpV2HybridInspectStatistics,++ -- ** GooglePrivacyDlpV2HybridOptions+ GooglePrivacyDlpV2HybridOptions (..),+ newGooglePrivacyDlpV2HybridOptions,++ -- ** GooglePrivacyDlpV2HybridOptions_Labels+ GooglePrivacyDlpV2HybridOptions_Labels (..),+ newGooglePrivacyDlpV2HybridOptions_Labels,++ -- ** GooglePrivacyDlpV2ImageFallbackLocation+ GooglePrivacyDlpV2ImageFallbackLocation (..),+ newGooglePrivacyDlpV2ImageFallbackLocation,++ -- ** GooglePrivacyDlpV2ImageLocation+ GooglePrivacyDlpV2ImageLocation (..),+ newGooglePrivacyDlpV2ImageLocation,++ -- ** GooglePrivacyDlpV2ImageRedactionConfig+ GooglePrivacyDlpV2ImageRedactionConfig (..),+ newGooglePrivacyDlpV2ImageRedactionConfig,++ -- ** GooglePrivacyDlpV2ImageTransformation+ GooglePrivacyDlpV2ImageTransformation (..),+ newGooglePrivacyDlpV2ImageTransformation,++ -- ** GooglePrivacyDlpV2ImageTransformations+ GooglePrivacyDlpV2ImageTransformations (..),+ newGooglePrivacyDlpV2ImageTransformations,++ -- ** GooglePrivacyDlpV2InfoType+ GooglePrivacyDlpV2InfoType (..),+ newGooglePrivacyDlpV2InfoType,++ -- ** GooglePrivacyDlpV2InfoTypeCategory+ GooglePrivacyDlpV2InfoTypeCategory (..),+ newGooglePrivacyDlpV2InfoTypeCategory,++ -- ** GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory+ GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory (..),++ -- ** GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory (..),++ -- ** GooglePrivacyDlpV2InfoTypeCategory_TypeCategory+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory (..),++ -- ** GooglePrivacyDlpV2InfoTypeDescription+ GooglePrivacyDlpV2InfoTypeDescription (..),+ newGooglePrivacyDlpV2InfoTypeDescription,++ -- ** GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem+ GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem (..),++ -- ** GooglePrivacyDlpV2InfoTypeLikelihood+ GooglePrivacyDlpV2InfoTypeLikelihood (..),+ newGooglePrivacyDlpV2InfoTypeLikelihood,++ -- ** GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood+ GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood (..),++ -- ** GooglePrivacyDlpV2InfoTypeLimit+ GooglePrivacyDlpV2InfoTypeLimit (..),+ newGooglePrivacyDlpV2InfoTypeLimit,++ -- ** GooglePrivacyDlpV2InfoTypeStats+ GooglePrivacyDlpV2InfoTypeStats (..),+ newGooglePrivacyDlpV2InfoTypeStats,++ -- ** GooglePrivacyDlpV2InfoTypeSummary+ GooglePrivacyDlpV2InfoTypeSummary (..),+ newGooglePrivacyDlpV2InfoTypeSummary,++ -- ** GooglePrivacyDlpV2InfoTypeTransformation+ GooglePrivacyDlpV2InfoTypeTransformation (..),+ newGooglePrivacyDlpV2InfoTypeTransformation,++ -- ** GooglePrivacyDlpV2InfoTypeTransformations+ GooglePrivacyDlpV2InfoTypeTransformations (..),+ newGooglePrivacyDlpV2InfoTypeTransformations,++ -- ** GooglePrivacyDlpV2InspectConfig+ GooglePrivacyDlpV2InspectConfig (..),+ newGooglePrivacyDlpV2InspectConfig,++ -- ** GooglePrivacyDlpV2InspectConfig_ContentOptionsItem+ GooglePrivacyDlpV2InspectConfig_ContentOptionsItem (..),++ -- ** GooglePrivacyDlpV2InspectConfig_MinLikelihood+ GooglePrivacyDlpV2InspectConfig_MinLikelihood (..),++ -- ** GooglePrivacyDlpV2InspectContentRequest+ GooglePrivacyDlpV2InspectContentRequest (..),+ newGooglePrivacyDlpV2InspectContentRequest,++ -- ** GooglePrivacyDlpV2InspectContentResponse+ GooglePrivacyDlpV2InspectContentResponse (..),+ newGooglePrivacyDlpV2InspectContentResponse,++ -- ** GooglePrivacyDlpV2InspectDataSourceDetails+ GooglePrivacyDlpV2InspectDataSourceDetails (..),+ newGooglePrivacyDlpV2InspectDataSourceDetails,++ -- ** GooglePrivacyDlpV2InspectJobConfig+ GooglePrivacyDlpV2InspectJobConfig (..),+ newGooglePrivacyDlpV2InspectJobConfig,++ -- ** GooglePrivacyDlpV2InspectResult+ GooglePrivacyDlpV2InspectResult (..),+ newGooglePrivacyDlpV2InspectResult,++ -- ** GooglePrivacyDlpV2InspectTemplate+ GooglePrivacyDlpV2InspectTemplate (..),+ newGooglePrivacyDlpV2InspectTemplate,++ -- ** GooglePrivacyDlpV2InspectionRule+ GooglePrivacyDlpV2InspectionRule (..),+ newGooglePrivacyDlpV2InspectionRule,++ -- ** GooglePrivacyDlpV2InspectionRuleSet+ GooglePrivacyDlpV2InspectionRuleSet (..),+ newGooglePrivacyDlpV2InspectionRuleSet,++ -- ** GooglePrivacyDlpV2JobNotificationEmails+ GooglePrivacyDlpV2JobNotificationEmails (..),+ newGooglePrivacyDlpV2JobNotificationEmails,++ -- ** GooglePrivacyDlpV2JobTrigger+ GooglePrivacyDlpV2JobTrigger (..),+ newGooglePrivacyDlpV2JobTrigger,++ -- ** GooglePrivacyDlpV2JobTrigger_Status+ GooglePrivacyDlpV2JobTrigger_Status (..),++ -- ** GooglePrivacyDlpV2KAnonymityConfig+ GooglePrivacyDlpV2KAnonymityConfig (..),+ newGooglePrivacyDlpV2KAnonymityConfig,++ -- ** GooglePrivacyDlpV2KAnonymityEquivalenceClass+ GooglePrivacyDlpV2KAnonymityEquivalenceClass (..),+ newGooglePrivacyDlpV2KAnonymityEquivalenceClass,++ -- ** GooglePrivacyDlpV2KAnonymityHistogramBucket+ GooglePrivacyDlpV2KAnonymityHistogramBucket (..),+ newGooglePrivacyDlpV2KAnonymityHistogramBucket,++ -- ** GooglePrivacyDlpV2KAnonymityResult+ GooglePrivacyDlpV2KAnonymityResult (..),+ newGooglePrivacyDlpV2KAnonymityResult,++ -- ** GooglePrivacyDlpV2KMapEstimationConfig+ GooglePrivacyDlpV2KMapEstimationConfig (..),+ newGooglePrivacyDlpV2KMapEstimationConfig,++ -- ** GooglePrivacyDlpV2KMapEstimationHistogramBucket+ GooglePrivacyDlpV2KMapEstimationHistogramBucket (..),+ newGooglePrivacyDlpV2KMapEstimationHistogramBucket,++ -- ** GooglePrivacyDlpV2KMapEstimationQuasiIdValues+ GooglePrivacyDlpV2KMapEstimationQuasiIdValues (..),+ newGooglePrivacyDlpV2KMapEstimationQuasiIdValues,++ -- ** GooglePrivacyDlpV2KMapEstimationResult+ GooglePrivacyDlpV2KMapEstimationResult (..),+ newGooglePrivacyDlpV2KMapEstimationResult,++ -- ** GooglePrivacyDlpV2Key+ GooglePrivacyDlpV2Key (..),+ newGooglePrivacyDlpV2Key,++ -- ** GooglePrivacyDlpV2KindExpression+ GooglePrivacyDlpV2KindExpression (..),+ newGooglePrivacyDlpV2KindExpression,++ -- ** GooglePrivacyDlpV2KmsWrappedCryptoKey+ GooglePrivacyDlpV2KmsWrappedCryptoKey (..),+ newGooglePrivacyDlpV2KmsWrappedCryptoKey,++ -- ** GooglePrivacyDlpV2LDiversityConfig+ GooglePrivacyDlpV2LDiversityConfig (..),+ newGooglePrivacyDlpV2LDiversityConfig,++ -- ** GooglePrivacyDlpV2LDiversityEquivalenceClass+ GooglePrivacyDlpV2LDiversityEquivalenceClass (..),+ newGooglePrivacyDlpV2LDiversityEquivalenceClass,++ -- ** GooglePrivacyDlpV2LDiversityHistogramBucket+ GooglePrivacyDlpV2LDiversityHistogramBucket (..),+ newGooglePrivacyDlpV2LDiversityHistogramBucket,++ -- ** GooglePrivacyDlpV2LDiversityResult+ GooglePrivacyDlpV2LDiversityResult (..),+ newGooglePrivacyDlpV2LDiversityResult,++ -- ** GooglePrivacyDlpV2LargeCustomDictionaryConfig+ GooglePrivacyDlpV2LargeCustomDictionaryConfig (..),+ newGooglePrivacyDlpV2LargeCustomDictionaryConfig,++ -- ** GooglePrivacyDlpV2LargeCustomDictionaryStats+ GooglePrivacyDlpV2LargeCustomDictionaryStats (..),+ newGooglePrivacyDlpV2LargeCustomDictionaryStats,++ -- ** GooglePrivacyDlpV2LeaveUntransformed+ GooglePrivacyDlpV2LeaveUntransformed (..),+ newGooglePrivacyDlpV2LeaveUntransformed,++ -- ** GooglePrivacyDlpV2LikelihoodAdjustment+ GooglePrivacyDlpV2LikelihoodAdjustment (..),+ newGooglePrivacyDlpV2LikelihoodAdjustment,++ -- ** GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood+ GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood (..),++ -- ** GooglePrivacyDlpV2ListColumnDataProfilesResponse+ GooglePrivacyDlpV2ListColumnDataProfilesResponse (..),+ newGooglePrivacyDlpV2ListColumnDataProfilesResponse,++ -- ** GooglePrivacyDlpV2ListConnectionsResponse+ GooglePrivacyDlpV2ListConnectionsResponse (..),+ newGooglePrivacyDlpV2ListConnectionsResponse,++ -- ** GooglePrivacyDlpV2ListDeidentifyTemplatesResponse+ GooglePrivacyDlpV2ListDeidentifyTemplatesResponse (..),+ newGooglePrivacyDlpV2ListDeidentifyTemplatesResponse,++ -- ** GooglePrivacyDlpV2ListDiscoveryConfigsResponse+ GooglePrivacyDlpV2ListDiscoveryConfigsResponse (..),+ newGooglePrivacyDlpV2ListDiscoveryConfigsResponse,++ -- ** GooglePrivacyDlpV2ListDlpJobsResponse+ GooglePrivacyDlpV2ListDlpJobsResponse (..),+ newGooglePrivacyDlpV2ListDlpJobsResponse,++ -- ** GooglePrivacyDlpV2ListFileStoreDataProfilesResponse+ GooglePrivacyDlpV2ListFileStoreDataProfilesResponse (..),+ newGooglePrivacyDlpV2ListFileStoreDataProfilesResponse,++ -- ** GooglePrivacyDlpV2ListInfoTypesResponse+ GooglePrivacyDlpV2ListInfoTypesResponse (..),+ newGooglePrivacyDlpV2ListInfoTypesResponse,++ -- ** GooglePrivacyDlpV2ListInspectTemplatesResponse+ GooglePrivacyDlpV2ListInspectTemplatesResponse (..),+ newGooglePrivacyDlpV2ListInspectTemplatesResponse,++ -- ** GooglePrivacyDlpV2ListJobTriggersResponse+ GooglePrivacyDlpV2ListJobTriggersResponse (..),+ newGooglePrivacyDlpV2ListJobTriggersResponse,++ -- ** GooglePrivacyDlpV2ListProjectDataProfilesResponse+ GooglePrivacyDlpV2ListProjectDataProfilesResponse (..),+ newGooglePrivacyDlpV2ListProjectDataProfilesResponse,++ -- ** GooglePrivacyDlpV2ListStoredInfoTypesResponse+ GooglePrivacyDlpV2ListStoredInfoTypesResponse (..),+ newGooglePrivacyDlpV2ListStoredInfoTypesResponse,++ -- ** GooglePrivacyDlpV2ListTableDataProfilesResponse+ GooglePrivacyDlpV2ListTableDataProfilesResponse (..),+ newGooglePrivacyDlpV2ListTableDataProfilesResponse,++ -- ** GooglePrivacyDlpV2Location+ GooglePrivacyDlpV2Location (..),+ newGooglePrivacyDlpV2Location,++ -- ** GooglePrivacyDlpV2Manual+ GooglePrivacyDlpV2Manual (..),+ newGooglePrivacyDlpV2Manual,++ -- ** GooglePrivacyDlpV2MetadataLocation+ GooglePrivacyDlpV2MetadataLocation (..),+ newGooglePrivacyDlpV2MetadataLocation,++ -- ** GooglePrivacyDlpV2MetadataLocation_Type+ GooglePrivacyDlpV2MetadataLocation_Type (..),++ -- ** GooglePrivacyDlpV2MultiRegionProcessing+ GooglePrivacyDlpV2MultiRegionProcessing (..),+ newGooglePrivacyDlpV2MultiRegionProcessing,++ -- ** GooglePrivacyDlpV2NumericalStatsConfig+ GooglePrivacyDlpV2NumericalStatsConfig (..),+ newGooglePrivacyDlpV2NumericalStatsConfig,++ -- ** GooglePrivacyDlpV2NumericalStatsResult+ GooglePrivacyDlpV2NumericalStatsResult (..),+ newGooglePrivacyDlpV2NumericalStatsResult,++ -- ** GooglePrivacyDlpV2OrConditions+ GooglePrivacyDlpV2OrConditions (..),+ newGooglePrivacyDlpV2OrConditions,++ -- ** GooglePrivacyDlpV2OrgConfig+ GooglePrivacyDlpV2OrgConfig (..),+ newGooglePrivacyDlpV2OrgConfig,++ -- ** GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation+ GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation (..),+ newGooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation,++ -- ** GooglePrivacyDlpV2OtherCloudDiscoveryTarget+ GooglePrivacyDlpV2OtherCloudDiscoveryTarget (..),+ newGooglePrivacyDlpV2OtherCloudDiscoveryTarget,++ -- ** GooglePrivacyDlpV2OtherCloudResourceCollection+ GooglePrivacyDlpV2OtherCloudResourceCollection (..),+ newGooglePrivacyDlpV2OtherCloudResourceCollection,++ -- ** GooglePrivacyDlpV2OtherCloudResourceRegex+ GooglePrivacyDlpV2OtherCloudResourceRegex (..),+ newGooglePrivacyDlpV2OtherCloudResourceRegex,++ -- ** GooglePrivacyDlpV2OtherCloudResourceRegexes+ GooglePrivacyDlpV2OtherCloudResourceRegexes (..),+ newGooglePrivacyDlpV2OtherCloudResourceRegexes,++ -- ** GooglePrivacyDlpV2OtherCloudSingleResourceReference+ GooglePrivacyDlpV2OtherCloudSingleResourceReference (..),+ newGooglePrivacyDlpV2OtherCloudSingleResourceReference,++ -- ** GooglePrivacyDlpV2OtherInfoTypeSummary+ GooglePrivacyDlpV2OtherInfoTypeSummary (..),+ newGooglePrivacyDlpV2OtherInfoTypeSummary,++ -- ** GooglePrivacyDlpV2OutputStorageConfig+ GooglePrivacyDlpV2OutputStorageConfig (..),+ newGooglePrivacyDlpV2OutputStorageConfig,++ -- ** GooglePrivacyDlpV2OutputStorageConfig_OutputSchema+ GooglePrivacyDlpV2OutputStorageConfig_OutputSchema (..),++ -- ** GooglePrivacyDlpV2PartitionId+ GooglePrivacyDlpV2PartitionId (..),+ newGooglePrivacyDlpV2PartitionId,++ -- ** GooglePrivacyDlpV2PathElement+ GooglePrivacyDlpV2PathElement (..),+ newGooglePrivacyDlpV2PathElement,++ -- ** GooglePrivacyDlpV2PrimitiveTransformation+ GooglePrivacyDlpV2PrimitiveTransformation (..),+ newGooglePrivacyDlpV2PrimitiveTransformation,++ -- ** GooglePrivacyDlpV2PrivacyMetric+ GooglePrivacyDlpV2PrivacyMetric (..),+ newGooglePrivacyDlpV2PrivacyMetric,++ -- ** GooglePrivacyDlpV2ProcessingLocation+ GooglePrivacyDlpV2ProcessingLocation (..),+ newGooglePrivacyDlpV2ProcessingLocation,++ -- ** GooglePrivacyDlpV2ProfileStatus+ GooglePrivacyDlpV2ProfileStatus (..),+ newGooglePrivacyDlpV2ProfileStatus,++ -- ** GooglePrivacyDlpV2ProjectDataProfile+ GooglePrivacyDlpV2ProjectDataProfile (..),+ newGooglePrivacyDlpV2ProjectDataProfile,++ -- ** GooglePrivacyDlpV2Proximity+ GooglePrivacyDlpV2Proximity (..),+ newGooglePrivacyDlpV2Proximity,++ -- ** GooglePrivacyDlpV2PubSubCondition+ GooglePrivacyDlpV2PubSubCondition (..),+ newGooglePrivacyDlpV2PubSubCondition,++ -- ** GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore+ GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore (..),++ -- ** GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore+ GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore (..),++ -- ** GooglePrivacyDlpV2PubSubExpressions+ GooglePrivacyDlpV2PubSubExpressions (..),+ newGooglePrivacyDlpV2PubSubExpressions,++ -- ** GooglePrivacyDlpV2PubSubExpressions_LogicalOperator+ GooglePrivacyDlpV2PubSubExpressions_LogicalOperator (..),++ -- ** GooglePrivacyDlpV2PubSubNotification+ GooglePrivacyDlpV2PubSubNotification (..),+ newGooglePrivacyDlpV2PubSubNotification,++ -- ** GooglePrivacyDlpV2PubSubNotification_DetailOfMessage+ GooglePrivacyDlpV2PubSubNotification_DetailOfMessage (..),++ -- ** GooglePrivacyDlpV2PubSubNotification_Event+ GooglePrivacyDlpV2PubSubNotification_Event (..),++ -- ** GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog+ GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog (..),+ newGooglePrivacyDlpV2PublishFindingsToCloudDataCatalog,++ -- ** GooglePrivacyDlpV2PublishSummaryToCscc+ GooglePrivacyDlpV2PublishSummaryToCscc (..),+ newGooglePrivacyDlpV2PublishSummaryToCscc,++ -- ** GooglePrivacyDlpV2PublishToChronicle+ GooglePrivacyDlpV2PublishToChronicle (..),+ newGooglePrivacyDlpV2PublishToChronicle,++ -- ** GooglePrivacyDlpV2PublishToPubSub+ GooglePrivacyDlpV2PublishToPubSub (..),+ newGooglePrivacyDlpV2PublishToPubSub,++ -- ** GooglePrivacyDlpV2PublishToSecurityCommandCenter+ GooglePrivacyDlpV2PublishToSecurityCommandCenter (..),+ newGooglePrivacyDlpV2PublishToSecurityCommandCenter,++ -- ** GooglePrivacyDlpV2PublishToStackdriver+ GooglePrivacyDlpV2PublishToStackdriver (..),+ newGooglePrivacyDlpV2PublishToStackdriver,++ -- ** GooglePrivacyDlpV2QuasiId+ GooglePrivacyDlpV2QuasiId (..),+ newGooglePrivacyDlpV2QuasiId,++ -- ** GooglePrivacyDlpV2QuasiIdField+ GooglePrivacyDlpV2QuasiIdField (..),+ newGooglePrivacyDlpV2QuasiIdField,++ -- ** GooglePrivacyDlpV2QuasiIdentifierField+ GooglePrivacyDlpV2QuasiIdentifierField (..),+ newGooglePrivacyDlpV2QuasiIdentifierField,++ -- ** GooglePrivacyDlpV2QuoteInfo+ GooglePrivacyDlpV2QuoteInfo (..),+ newGooglePrivacyDlpV2QuoteInfo,++ -- ** GooglePrivacyDlpV2Range+ GooglePrivacyDlpV2Range (..),+ newGooglePrivacyDlpV2Range,++ -- ** GooglePrivacyDlpV2RecordCondition+ GooglePrivacyDlpV2RecordCondition (..),+ newGooglePrivacyDlpV2RecordCondition,++ -- ** GooglePrivacyDlpV2RecordKey+ GooglePrivacyDlpV2RecordKey (..),+ newGooglePrivacyDlpV2RecordKey,++ -- ** GooglePrivacyDlpV2RecordLocation+ GooglePrivacyDlpV2RecordLocation (..),+ newGooglePrivacyDlpV2RecordLocation,++ -- ** GooglePrivacyDlpV2RecordSuppression+ GooglePrivacyDlpV2RecordSuppression (..),+ newGooglePrivacyDlpV2RecordSuppression,++ -- ** GooglePrivacyDlpV2RecordTransformation+ GooglePrivacyDlpV2RecordTransformation (..),+ newGooglePrivacyDlpV2RecordTransformation,++ -- ** GooglePrivacyDlpV2RecordTransformations+ GooglePrivacyDlpV2RecordTransformations (..),+ newGooglePrivacyDlpV2RecordTransformations,++ -- ** GooglePrivacyDlpV2RedactConfig+ GooglePrivacyDlpV2RedactConfig (..),+ newGooglePrivacyDlpV2RedactConfig,++ -- ** GooglePrivacyDlpV2RedactImageRequest+ GooglePrivacyDlpV2RedactImageRequest (..),+ newGooglePrivacyDlpV2RedactImageRequest,++ -- ** GooglePrivacyDlpV2RedactImageResponse+ GooglePrivacyDlpV2RedactImageResponse (..),+ newGooglePrivacyDlpV2RedactImageResponse,++ -- ** GooglePrivacyDlpV2Regex+ GooglePrivacyDlpV2Regex (..),+ newGooglePrivacyDlpV2Regex,++ -- ** GooglePrivacyDlpV2ReidentifyContentRequest+ GooglePrivacyDlpV2ReidentifyContentRequest (..),+ newGooglePrivacyDlpV2ReidentifyContentRequest,++ -- ** GooglePrivacyDlpV2ReidentifyContentResponse+ GooglePrivacyDlpV2ReidentifyContentResponse (..),+ newGooglePrivacyDlpV2ReidentifyContentResponse,++ -- ** GooglePrivacyDlpV2RelatedResource+ GooglePrivacyDlpV2RelatedResource (..),+ newGooglePrivacyDlpV2RelatedResource,++ -- ** GooglePrivacyDlpV2ReplaceDictionaryConfig+ GooglePrivacyDlpV2ReplaceDictionaryConfig (..),+ newGooglePrivacyDlpV2ReplaceDictionaryConfig,++ -- ** GooglePrivacyDlpV2ReplaceValueConfig+ GooglePrivacyDlpV2ReplaceValueConfig (..),+ newGooglePrivacyDlpV2ReplaceValueConfig,++ -- ** GooglePrivacyDlpV2ReplaceWithInfoTypeConfig+ GooglePrivacyDlpV2ReplaceWithInfoTypeConfig (..),+ newGooglePrivacyDlpV2ReplaceWithInfoTypeConfig,++ -- ** GooglePrivacyDlpV2RequestedDeidentifyOptions+ GooglePrivacyDlpV2RequestedDeidentifyOptions (..),+ newGooglePrivacyDlpV2RequestedDeidentifyOptions,++ -- ** GooglePrivacyDlpV2RequestedOptions+ GooglePrivacyDlpV2RequestedOptions (..),+ newGooglePrivacyDlpV2RequestedOptions,++ -- ** GooglePrivacyDlpV2RequestedRiskAnalysisOptions+ GooglePrivacyDlpV2RequestedRiskAnalysisOptions (..),+ newGooglePrivacyDlpV2RequestedRiskAnalysisOptions,++ -- ** GooglePrivacyDlpV2Result+ GooglePrivacyDlpV2Result (..),+ newGooglePrivacyDlpV2Result,++ -- ** GooglePrivacyDlpV2RiskAnalysisJobConfig+ GooglePrivacyDlpV2RiskAnalysisJobConfig (..),+ newGooglePrivacyDlpV2RiskAnalysisJobConfig,++ -- ** GooglePrivacyDlpV2Row+ GooglePrivacyDlpV2Row (..),+ newGooglePrivacyDlpV2Row,++ -- ** GooglePrivacyDlpV2SaveFindings+ GooglePrivacyDlpV2SaveFindings (..),+ newGooglePrivacyDlpV2SaveFindings,++ -- ** GooglePrivacyDlpV2Schedule+ GooglePrivacyDlpV2Schedule (..),+ newGooglePrivacyDlpV2Schedule,++ -- ** GooglePrivacyDlpV2SchemaModifiedCadence+ GooglePrivacyDlpV2SchemaModifiedCadence (..),+ newGooglePrivacyDlpV2SchemaModifiedCadence,++ -- ** GooglePrivacyDlpV2SchemaModifiedCadence_Frequency+ GooglePrivacyDlpV2SchemaModifiedCadence_Frequency (..),++ -- ** GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem+ GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem (..),++ -- ** GooglePrivacyDlpV2SearchConnectionsResponse+ GooglePrivacyDlpV2SearchConnectionsResponse (..),+ newGooglePrivacyDlpV2SearchConnectionsResponse,++ -- ** GooglePrivacyDlpV2SecretManagerCredential+ GooglePrivacyDlpV2SecretManagerCredential (..),+ newGooglePrivacyDlpV2SecretManagerCredential,++ -- ** GooglePrivacyDlpV2SecretsDiscoveryTarget+ GooglePrivacyDlpV2SecretsDiscoveryTarget (..),+ newGooglePrivacyDlpV2SecretsDiscoveryTarget,++ -- ** GooglePrivacyDlpV2SelectedInfoTypes+ GooglePrivacyDlpV2SelectedInfoTypes (..),+ newGooglePrivacyDlpV2SelectedInfoTypes,++ -- ** GooglePrivacyDlpV2SensitivityScore+ GooglePrivacyDlpV2SensitivityScore (..),+ newGooglePrivacyDlpV2SensitivityScore,++ -- ** GooglePrivacyDlpV2SensitivityScore_Score+ GooglePrivacyDlpV2SensitivityScore_Score (..),++ -- ** GooglePrivacyDlpV2StatisticalTable+ GooglePrivacyDlpV2StatisticalTable (..),+ newGooglePrivacyDlpV2StatisticalTable,++ -- ** GooglePrivacyDlpV2StorageConfig+ GooglePrivacyDlpV2StorageConfig (..),+ newGooglePrivacyDlpV2StorageConfig,++ -- ** GooglePrivacyDlpV2StorageMetadataLabel+ GooglePrivacyDlpV2StorageMetadataLabel (..),+ newGooglePrivacyDlpV2StorageMetadataLabel,++ -- ** GooglePrivacyDlpV2StoredInfoType+ GooglePrivacyDlpV2StoredInfoType (..),+ newGooglePrivacyDlpV2StoredInfoType,++ -- ** GooglePrivacyDlpV2StoredInfoTypeConfig+ GooglePrivacyDlpV2StoredInfoTypeConfig (..),+ newGooglePrivacyDlpV2StoredInfoTypeConfig,++ -- ** GooglePrivacyDlpV2StoredInfoTypeStats+ GooglePrivacyDlpV2StoredInfoTypeStats (..),+ newGooglePrivacyDlpV2StoredInfoTypeStats,++ -- ** GooglePrivacyDlpV2StoredInfoTypeVersion+ GooglePrivacyDlpV2StoredInfoTypeVersion (..),+ newGooglePrivacyDlpV2StoredInfoTypeVersion,++ -- ** GooglePrivacyDlpV2StoredInfoTypeVersion_State+ GooglePrivacyDlpV2StoredInfoTypeVersion_State (..),++ -- ** GooglePrivacyDlpV2StoredType+ GooglePrivacyDlpV2StoredType (..),+ newGooglePrivacyDlpV2StoredType,++ -- ** GooglePrivacyDlpV2SummaryResult+ GooglePrivacyDlpV2SummaryResult (..),+ newGooglePrivacyDlpV2SummaryResult,++ -- ** GooglePrivacyDlpV2SummaryResult_Code+ GooglePrivacyDlpV2SummaryResult_Code (..),++ -- ** GooglePrivacyDlpV2SurrogateType+ GooglePrivacyDlpV2SurrogateType (..),+ newGooglePrivacyDlpV2SurrogateType,++ -- ** GooglePrivacyDlpV2Table+ GooglePrivacyDlpV2Table (..),+ newGooglePrivacyDlpV2Table,++ -- ** GooglePrivacyDlpV2TableDataProfile+ GooglePrivacyDlpV2TableDataProfile (..),+ newGooglePrivacyDlpV2TableDataProfile,++ -- ** GooglePrivacyDlpV2TableDataProfile_EncryptionStatus+ GooglePrivacyDlpV2TableDataProfile_EncryptionStatus (..),++ -- ** GooglePrivacyDlpV2TableDataProfile_ResourceLabels+ GooglePrivacyDlpV2TableDataProfile_ResourceLabels (..),+ newGooglePrivacyDlpV2TableDataProfile_ResourceLabels,++ -- ** GooglePrivacyDlpV2TableDataProfile_ResourceVisibility+ GooglePrivacyDlpV2TableDataProfile_ResourceVisibility (..),++ -- ** GooglePrivacyDlpV2TableDataProfile_State+ GooglePrivacyDlpV2TableDataProfile_State (..),++ -- ** GooglePrivacyDlpV2TableLocation+ GooglePrivacyDlpV2TableLocation (..),+ newGooglePrivacyDlpV2TableLocation,++ -- ** GooglePrivacyDlpV2TableOptions+ GooglePrivacyDlpV2TableOptions (..),+ newGooglePrivacyDlpV2TableOptions,++ -- ** GooglePrivacyDlpV2TableReference+ GooglePrivacyDlpV2TableReference (..),+ newGooglePrivacyDlpV2TableReference,++ -- ** GooglePrivacyDlpV2TagCondition+ GooglePrivacyDlpV2TagCondition (..),+ newGooglePrivacyDlpV2TagCondition,++ -- ** GooglePrivacyDlpV2TagResources+ GooglePrivacyDlpV2TagResources (..),+ newGooglePrivacyDlpV2TagResources,++ -- ** GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem+ GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem (..),++ -- ** GooglePrivacyDlpV2TagValue+ GooglePrivacyDlpV2TagValue (..),+ newGooglePrivacyDlpV2TagValue,++ -- ** GooglePrivacyDlpV2TaggedField+ GooglePrivacyDlpV2TaggedField (..),+ newGooglePrivacyDlpV2TaggedField,++ -- ** GooglePrivacyDlpV2ThrowError+ GooglePrivacyDlpV2ThrowError (..),+ newGooglePrivacyDlpV2ThrowError,++ -- ** GooglePrivacyDlpV2TimePartConfig+ GooglePrivacyDlpV2TimePartConfig (..),+ newGooglePrivacyDlpV2TimePartConfig,++ -- ** GooglePrivacyDlpV2TimePartConfig_PartToExtract+ GooglePrivacyDlpV2TimePartConfig_PartToExtract (..),++ -- ** GooglePrivacyDlpV2TimeZone+ GooglePrivacyDlpV2TimeZone (..),+ newGooglePrivacyDlpV2TimeZone,++ -- ** GooglePrivacyDlpV2TimespanConfig+ GooglePrivacyDlpV2TimespanConfig (..),+ newGooglePrivacyDlpV2TimespanConfig,++ -- ** GooglePrivacyDlpV2TransformationConfig+ GooglePrivacyDlpV2TransformationConfig (..),+ newGooglePrivacyDlpV2TransformationConfig,++ -- ** GooglePrivacyDlpV2TransformationDescription+ GooglePrivacyDlpV2TransformationDescription (..),+ newGooglePrivacyDlpV2TransformationDescription,++ -- ** GooglePrivacyDlpV2TransformationDescription_Type+ GooglePrivacyDlpV2TransformationDescription_Type (..),++ -- ** GooglePrivacyDlpV2TransformationDetails+ GooglePrivacyDlpV2TransformationDetails (..),+ newGooglePrivacyDlpV2TransformationDetails,++ -- ** GooglePrivacyDlpV2TransformationDetailsStorageConfig+ GooglePrivacyDlpV2TransformationDetailsStorageConfig (..),+ newGooglePrivacyDlpV2TransformationDetailsStorageConfig,++ -- ** GooglePrivacyDlpV2TransformationErrorHandling+ GooglePrivacyDlpV2TransformationErrorHandling (..),+ newGooglePrivacyDlpV2TransformationErrorHandling,++ -- ** GooglePrivacyDlpV2TransformationLocation+ GooglePrivacyDlpV2TransformationLocation (..),+ newGooglePrivacyDlpV2TransformationLocation,++ -- ** GooglePrivacyDlpV2TransformationLocation_ContainerType+ GooglePrivacyDlpV2TransformationLocation_ContainerType (..),++ -- ** GooglePrivacyDlpV2TransformationOverview+ GooglePrivacyDlpV2TransformationOverview (..),+ newGooglePrivacyDlpV2TransformationOverview,++ -- ** GooglePrivacyDlpV2TransformationResultStatus+ GooglePrivacyDlpV2TransformationResultStatus (..),+ newGooglePrivacyDlpV2TransformationResultStatus,++ -- ** GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType+ GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType (..),++ -- ** GooglePrivacyDlpV2TransformationSummary+ GooglePrivacyDlpV2TransformationSummary (..),+ newGooglePrivacyDlpV2TransformationSummary,++ -- ** GooglePrivacyDlpV2TransientCryptoKey+ GooglePrivacyDlpV2TransientCryptoKey (..),+ newGooglePrivacyDlpV2TransientCryptoKey,++ -- ** GooglePrivacyDlpV2Trigger+ GooglePrivacyDlpV2Trigger (..),+ newGooglePrivacyDlpV2Trigger,++ -- ** GooglePrivacyDlpV2UnwrappedCryptoKey+ GooglePrivacyDlpV2UnwrappedCryptoKey (..),+ newGooglePrivacyDlpV2UnwrappedCryptoKey,++ -- ** GooglePrivacyDlpV2UpdateConnectionRequest+ GooglePrivacyDlpV2UpdateConnectionRequest (..),+ newGooglePrivacyDlpV2UpdateConnectionRequest,++ -- ** GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest+ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest (..),+ newGooglePrivacyDlpV2UpdateDeidentifyTemplateRequest,++ -- ** GooglePrivacyDlpV2UpdateDiscoveryConfigRequest+ GooglePrivacyDlpV2UpdateDiscoveryConfigRequest (..),+ newGooglePrivacyDlpV2UpdateDiscoveryConfigRequest,++ -- ** GooglePrivacyDlpV2UpdateInspectTemplateRequest+ GooglePrivacyDlpV2UpdateInspectTemplateRequest (..),+ newGooglePrivacyDlpV2UpdateInspectTemplateRequest,++ -- ** GooglePrivacyDlpV2UpdateJobTriggerRequest+ GooglePrivacyDlpV2UpdateJobTriggerRequest (..),+ newGooglePrivacyDlpV2UpdateJobTriggerRequest,++ -- ** GooglePrivacyDlpV2UpdateStoredInfoTypeRequest+ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest (..),+ newGooglePrivacyDlpV2UpdateStoredInfoTypeRequest,++ -- ** GooglePrivacyDlpV2Value+ GooglePrivacyDlpV2Value (..),+ newGooglePrivacyDlpV2Value,++ -- ** GooglePrivacyDlpV2Value_DayOfWeekValue+ GooglePrivacyDlpV2Value_DayOfWeekValue (..),++ -- ** GooglePrivacyDlpV2ValueFrequency+ GooglePrivacyDlpV2ValueFrequency (..),+ newGooglePrivacyDlpV2ValueFrequency,++ -- ** GooglePrivacyDlpV2VersionDescription+ GooglePrivacyDlpV2VersionDescription (..),+ newGooglePrivacyDlpV2VersionDescription,++ -- ** GooglePrivacyDlpV2VertexDatasetCollection+ GooglePrivacyDlpV2VertexDatasetCollection (..),+ newGooglePrivacyDlpV2VertexDatasetCollection,++ -- ** GooglePrivacyDlpV2VertexDatasetDiscoveryTarget+ GooglePrivacyDlpV2VertexDatasetDiscoveryTarget (..),+ newGooglePrivacyDlpV2VertexDatasetDiscoveryTarget,++ -- ** GooglePrivacyDlpV2VertexDatasetRegex+ GooglePrivacyDlpV2VertexDatasetRegex (..),+ newGooglePrivacyDlpV2VertexDatasetRegex,++ -- ** GooglePrivacyDlpV2VertexDatasetRegexes+ GooglePrivacyDlpV2VertexDatasetRegexes (..),+ newGooglePrivacyDlpV2VertexDatasetRegexes,++ -- ** GooglePrivacyDlpV2VertexDatasetResourceReference+ GooglePrivacyDlpV2VertexDatasetResourceReference (..),+ newGooglePrivacyDlpV2VertexDatasetResourceReference,++ -- ** GooglePrivacyDlpV2WordList+ GooglePrivacyDlpV2WordList (..),+ newGooglePrivacyDlpV2WordList,++ -- ** GoogleProtobufEmpty+ GoogleProtobufEmpty (..),+ newGoogleProtobufEmpty,++ -- ** GoogleRpcStatus+ GoogleRpcStatus (..),+ newGoogleRpcStatus,++ -- ** GoogleRpcStatus_DetailsItem+ GoogleRpcStatus_DetailsItem (..),+ newGoogleRpcStatus_DetailsItem,++ -- ** GoogleTypeDate+ GoogleTypeDate (..),+ newGoogleTypeDate,++ -- ** GoogleTypeTimeOfDay+ GoogleTypeTimeOfDay (..),+ newGoogleTypeTimeOfDay,++ -- ** OrganizationsLocationsDlpJobsListType+ OrganizationsLocationsDlpJobsListType (..),++ -- ** OrganizationsLocationsJobTriggersListType+ OrganizationsLocationsJobTriggersListType (..),++ -- ** ProjectsDlpJobsListType+ ProjectsDlpJobsListType (..),++ -- ** ProjectsJobTriggersListType+ ProjectsJobTriggersListType (..),++ -- ** ProjectsLocationsDlpJobsListType+ ProjectsLocationsDlpJobsListType (..),++ -- ** ProjectsLocationsJobTriggersListType+ ProjectsLocationsJobTriggersListType (..),+ )+where++import Gogol.DLP.InfoTypes.List+import Gogol.DLP.Locations.InfoTypes.List+import Gogol.DLP.Organizations.DeidentifyTemplates.Create+import Gogol.DLP.Organizations.DeidentifyTemplates.Delete+import Gogol.DLP.Organizations.DeidentifyTemplates.Get+import Gogol.DLP.Organizations.DeidentifyTemplates.List+import Gogol.DLP.Organizations.DeidentifyTemplates.Patch+import Gogol.DLP.Organizations.InspectTemplates.Create+import Gogol.DLP.Organizations.InspectTemplates.Delete+import Gogol.DLP.Organizations.InspectTemplates.Get+import Gogol.DLP.Organizations.InspectTemplates.List+import Gogol.DLP.Organizations.InspectTemplates.Patch+import Gogol.DLP.Organizations.Locations.ColumnDataProfiles.Get+import Gogol.DLP.Organizations.Locations.ColumnDataProfiles.List+import Gogol.DLP.Organizations.Locations.Connections.Create+import Gogol.DLP.Organizations.Locations.Connections.Delete+import Gogol.DLP.Organizations.Locations.Connections.Get+import Gogol.DLP.Organizations.Locations.Connections.List+import Gogol.DLP.Organizations.Locations.Connections.Patch+import Gogol.DLP.Organizations.Locations.Connections.Search+import Gogol.DLP.Organizations.Locations.DeidentifyTemplates.Create+import Gogol.DLP.Organizations.Locations.DeidentifyTemplates.Delete+import Gogol.DLP.Organizations.Locations.DeidentifyTemplates.Get+import Gogol.DLP.Organizations.Locations.DeidentifyTemplates.List+import Gogol.DLP.Organizations.Locations.DeidentifyTemplates.Patch+import Gogol.DLP.Organizations.Locations.DiscoveryConfigs.Create+import Gogol.DLP.Organizations.Locations.DiscoveryConfigs.Delete+import Gogol.DLP.Organizations.Locations.DiscoveryConfigs.Get+import Gogol.DLP.Organizations.Locations.DiscoveryConfigs.List+import Gogol.DLP.Organizations.Locations.DiscoveryConfigs.Patch+import Gogol.DLP.Organizations.Locations.DlpJobs.List+import Gogol.DLP.Organizations.Locations.FileStoreDataProfiles.Delete+import Gogol.DLP.Organizations.Locations.FileStoreDataProfiles.Get+import Gogol.DLP.Organizations.Locations.FileStoreDataProfiles.List+import Gogol.DLP.Organizations.Locations.InspectTemplates.Create+import Gogol.DLP.Organizations.Locations.InspectTemplates.Delete+import Gogol.DLP.Organizations.Locations.InspectTemplates.Get+import Gogol.DLP.Organizations.Locations.InspectTemplates.List+import Gogol.DLP.Organizations.Locations.InspectTemplates.Patch+import Gogol.DLP.Organizations.Locations.JobTriggers.Create+import Gogol.DLP.Organizations.Locations.JobTriggers.Delete+import Gogol.DLP.Organizations.Locations.JobTriggers.Get+import Gogol.DLP.Organizations.Locations.JobTriggers.List+import Gogol.DLP.Organizations.Locations.JobTriggers.Patch+import Gogol.DLP.Organizations.Locations.ProjectDataProfiles.Get+import Gogol.DLP.Organizations.Locations.ProjectDataProfiles.List+import Gogol.DLP.Organizations.Locations.StoredInfoTypes.Create+import Gogol.DLP.Organizations.Locations.StoredInfoTypes.Delete+import Gogol.DLP.Organizations.Locations.StoredInfoTypes.Get+import Gogol.DLP.Organizations.Locations.StoredInfoTypes.List+import Gogol.DLP.Organizations.Locations.StoredInfoTypes.Patch+import Gogol.DLP.Organizations.Locations.TableDataProfiles.Delete+import Gogol.DLP.Organizations.Locations.TableDataProfiles.Get+import Gogol.DLP.Organizations.Locations.TableDataProfiles.List+import Gogol.DLP.Organizations.StoredInfoTypes.Create+import Gogol.DLP.Organizations.StoredInfoTypes.Delete+import Gogol.DLP.Organizations.StoredInfoTypes.Get+import Gogol.DLP.Organizations.StoredInfoTypes.List+import Gogol.DLP.Organizations.StoredInfoTypes.Patch+import Gogol.DLP.Projects.Content.Deidentify+import Gogol.DLP.Projects.Content.Inspect+import Gogol.DLP.Projects.Content.Reidentify+import Gogol.DLP.Projects.DeidentifyTemplates.Create+import Gogol.DLP.Projects.DeidentifyTemplates.Delete+import Gogol.DLP.Projects.DeidentifyTemplates.Get+import Gogol.DLP.Projects.DeidentifyTemplates.List+import Gogol.DLP.Projects.DeidentifyTemplates.Patch+import Gogol.DLP.Projects.DlpJobs.Cancel+import Gogol.DLP.Projects.DlpJobs.Create+import Gogol.DLP.Projects.DlpJobs.Delete+import Gogol.DLP.Projects.DlpJobs.Get+import Gogol.DLP.Projects.DlpJobs.List+import Gogol.DLP.Projects.Image.Redact+import Gogol.DLP.Projects.InspectTemplates.Create+import Gogol.DLP.Projects.InspectTemplates.Delete+import Gogol.DLP.Projects.InspectTemplates.Get+import Gogol.DLP.Projects.InspectTemplates.List+import Gogol.DLP.Projects.InspectTemplates.Patch+import Gogol.DLP.Projects.JobTriggers.Activate+import Gogol.DLP.Projects.JobTriggers.Create+import Gogol.DLP.Projects.JobTriggers.Delete+import Gogol.DLP.Projects.JobTriggers.Get+import Gogol.DLP.Projects.JobTriggers.List+import Gogol.DLP.Projects.JobTriggers.Patch+import Gogol.DLP.Projects.Locations.ColumnDataProfiles.Get+import Gogol.DLP.Projects.Locations.ColumnDataProfiles.List+import Gogol.DLP.Projects.Locations.Connections.Create+import Gogol.DLP.Projects.Locations.Connections.Delete+import Gogol.DLP.Projects.Locations.Connections.Get+import Gogol.DLP.Projects.Locations.Connections.List+import Gogol.DLP.Projects.Locations.Connections.Patch+import Gogol.DLP.Projects.Locations.Connections.Search+import Gogol.DLP.Projects.Locations.Content.Deidentify+import Gogol.DLP.Projects.Locations.Content.Inspect+import Gogol.DLP.Projects.Locations.Content.Reidentify+import Gogol.DLP.Projects.Locations.DeidentifyTemplates.Create+import Gogol.DLP.Projects.Locations.DeidentifyTemplates.Delete+import Gogol.DLP.Projects.Locations.DeidentifyTemplates.Get+import Gogol.DLP.Projects.Locations.DeidentifyTemplates.List+import Gogol.DLP.Projects.Locations.DeidentifyTemplates.Patch+import Gogol.DLP.Projects.Locations.DiscoveryConfigs.Create+import Gogol.DLP.Projects.Locations.DiscoveryConfigs.Delete+import Gogol.DLP.Projects.Locations.DiscoveryConfigs.Get+import Gogol.DLP.Projects.Locations.DiscoveryConfigs.List+import Gogol.DLP.Projects.Locations.DiscoveryConfigs.Patch+import Gogol.DLP.Projects.Locations.DlpJobs.Cancel+import Gogol.DLP.Projects.Locations.DlpJobs.Create+import Gogol.DLP.Projects.Locations.DlpJobs.Delete+import Gogol.DLP.Projects.Locations.DlpJobs.Finish+import Gogol.DLP.Projects.Locations.DlpJobs.Get+import Gogol.DLP.Projects.Locations.DlpJobs.HybridInspect+import Gogol.DLP.Projects.Locations.DlpJobs.List+import Gogol.DLP.Projects.Locations.FileStoreDataProfiles.Delete+import Gogol.DLP.Projects.Locations.FileStoreDataProfiles.Get+import Gogol.DLP.Projects.Locations.FileStoreDataProfiles.List+import Gogol.DLP.Projects.Locations.Image.Redact+import Gogol.DLP.Projects.Locations.InspectTemplates.Create+import Gogol.DLP.Projects.Locations.InspectTemplates.Delete+import Gogol.DLP.Projects.Locations.InspectTemplates.Get+import Gogol.DLP.Projects.Locations.InspectTemplates.List+import Gogol.DLP.Projects.Locations.InspectTemplates.Patch+import Gogol.DLP.Projects.Locations.JobTriggers.Activate+import Gogol.DLP.Projects.Locations.JobTriggers.Create+import Gogol.DLP.Projects.Locations.JobTriggers.Delete+import Gogol.DLP.Projects.Locations.JobTriggers.Get+import Gogol.DLP.Projects.Locations.JobTriggers.HybridInspect+import Gogol.DLP.Projects.Locations.JobTriggers.List+import Gogol.DLP.Projects.Locations.JobTriggers.Patch+import Gogol.DLP.Projects.Locations.ProjectDataProfiles.Get+import Gogol.DLP.Projects.Locations.ProjectDataProfiles.List+import Gogol.DLP.Projects.Locations.StoredInfoTypes.Create+import Gogol.DLP.Projects.Locations.StoredInfoTypes.Delete+import Gogol.DLP.Projects.Locations.StoredInfoTypes.Get+import Gogol.DLP.Projects.Locations.StoredInfoTypes.List+import Gogol.DLP.Projects.Locations.StoredInfoTypes.Patch+import Gogol.DLP.Projects.Locations.TableDataProfiles.Delete+import Gogol.DLP.Projects.Locations.TableDataProfiles.Get+import Gogol.DLP.Projects.Locations.TableDataProfiles.List+import Gogol.DLP.Projects.StoredInfoTypes.Create+import Gogol.DLP.Projects.StoredInfoTypes.Delete+import Gogol.DLP.Projects.StoredInfoTypes.Get+import Gogol.DLP.Projects.StoredInfoTypes.List+import Gogol.DLP.Projects.StoredInfoTypes.Patch+import Gogol.DLP.Types
+ gen/Gogol/DLP/InfoTypes/List.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.InfoTypes.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of the sensitive information types that the DLP API supports. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/infotypes-reference to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.infoTypes.list@.+module Gogol.DLP.InfoTypes.List+ ( -- * Resource+ DLPInfoTypesListResource,++ -- ** Constructing a Request+ DLPInfoTypesList (..),+ newDLPInfoTypesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.infoTypes.list@ method which the+-- 'DLPInfoTypesList' request conforms to.+type DLPInfoTypesListResource =+ "v2"+ Core.:> "infoTypes"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "languageCode" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "parent" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ListInfoTypesResponse++-- | Returns a list of the sensitive information types that the DLP API supports. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/infotypes-reference to learn more.+--+-- /See:/ 'newDLPInfoTypesList' smart constructor.+data DLPInfoTypesList = DLPInfoTypesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.+ filter :: (Core.Maybe Core.Text),+ -- | BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned.+ languageCode :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | The parent resource name. The format of this value is as follows: @locations\/{location_id}@+ parent :: (Core.Maybe Core.Text),+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPInfoTypesList' with the minimum fields required to make a request.+newDLPInfoTypesList ::+ DLPInfoTypesList+newDLPInfoTypesList =+ DLPInfoTypesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ languageCode = Core.Nothing,+ locationId = Core.Nothing,+ parent = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPInfoTypesList where+ type Rs DLPInfoTypesList = GooglePrivacyDlpV2ListInfoTypesResponse+ type Scopes DLPInfoTypesList = '[CloudPlatform'FullControl]+ requestClient DLPInfoTypesList {..} =+ go+ xgafv+ accessToken+ callback+ filter+ languageCode+ locationId+ parent+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPInfoTypesListResource)+ Core.mempty
+ gen/Gogol/DLP/Internal/Product.hs view
@@ -0,0 +1,16007 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Internal.Product+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Gogol.DLP.Internal.Product+ ( -- * GooglePrivacyDlpV2Action+ GooglePrivacyDlpV2Action (..),+ newGooglePrivacyDlpV2Action,++ -- * GooglePrivacyDlpV2ActionDetails+ GooglePrivacyDlpV2ActionDetails (..),+ newGooglePrivacyDlpV2ActionDetails,++ -- * GooglePrivacyDlpV2ActivateJobTriggerRequest+ GooglePrivacyDlpV2ActivateJobTriggerRequest (..),+ newGooglePrivacyDlpV2ActivateJobTriggerRequest,++ -- * GooglePrivacyDlpV2AllInfoTypes+ GooglePrivacyDlpV2AllInfoTypes (..),+ newGooglePrivacyDlpV2AllInfoTypes,++ -- * GooglePrivacyDlpV2AllOtherBigQueryTables+ GooglePrivacyDlpV2AllOtherBigQueryTables (..),+ newGooglePrivacyDlpV2AllOtherBigQueryTables,++ -- * GooglePrivacyDlpV2AllOtherDatabaseResources+ GooglePrivacyDlpV2AllOtherDatabaseResources (..),+ newGooglePrivacyDlpV2AllOtherDatabaseResources,++ -- * GooglePrivacyDlpV2AllOtherResources+ GooglePrivacyDlpV2AllOtherResources (..),+ newGooglePrivacyDlpV2AllOtherResources,++ -- * GooglePrivacyDlpV2AllText+ GooglePrivacyDlpV2AllText (..),+ newGooglePrivacyDlpV2AllText,++ -- * GooglePrivacyDlpV2AmazonS3Bucket+ GooglePrivacyDlpV2AmazonS3Bucket (..),+ newGooglePrivacyDlpV2AmazonS3Bucket,++ -- * GooglePrivacyDlpV2AmazonS3BucketConditions+ GooglePrivacyDlpV2AmazonS3BucketConditions (..),+ newGooglePrivacyDlpV2AmazonS3BucketConditions,++ -- * GooglePrivacyDlpV2AmazonS3BucketRegex+ GooglePrivacyDlpV2AmazonS3BucketRegex (..),+ newGooglePrivacyDlpV2AmazonS3BucketRegex,++ -- * GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails+ GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails (..),+ newGooglePrivacyDlpV2AnalyzeDataSourceRiskDetails,++ -- * GooglePrivacyDlpV2AuxiliaryTable+ GooglePrivacyDlpV2AuxiliaryTable (..),+ newGooglePrivacyDlpV2AuxiliaryTable,++ -- * GooglePrivacyDlpV2AwsAccount+ GooglePrivacyDlpV2AwsAccount (..),+ newGooglePrivacyDlpV2AwsAccount,++ -- * GooglePrivacyDlpV2AwsAccountRegex+ GooglePrivacyDlpV2AwsAccountRegex (..),+ newGooglePrivacyDlpV2AwsAccountRegex,++ -- * GooglePrivacyDlpV2AwsDiscoveryStartingLocation+ GooglePrivacyDlpV2AwsDiscoveryStartingLocation (..),+ newGooglePrivacyDlpV2AwsDiscoveryStartingLocation,++ -- * GooglePrivacyDlpV2BigQueryDiscoveryTarget+ GooglePrivacyDlpV2BigQueryDiscoveryTarget (..),+ newGooglePrivacyDlpV2BigQueryDiscoveryTarget,++ -- * GooglePrivacyDlpV2BigQueryField+ GooglePrivacyDlpV2BigQueryField (..),+ newGooglePrivacyDlpV2BigQueryField,++ -- * GooglePrivacyDlpV2BigQueryKey+ GooglePrivacyDlpV2BigQueryKey (..),+ newGooglePrivacyDlpV2BigQueryKey,++ -- * GooglePrivacyDlpV2BigQueryOptions+ GooglePrivacyDlpV2BigQueryOptions (..),+ newGooglePrivacyDlpV2BigQueryOptions,++ -- * GooglePrivacyDlpV2BigQueryRegex+ GooglePrivacyDlpV2BigQueryRegex (..),+ newGooglePrivacyDlpV2BigQueryRegex,++ -- * GooglePrivacyDlpV2BigQueryRegexes+ GooglePrivacyDlpV2BigQueryRegexes (..),+ newGooglePrivacyDlpV2BigQueryRegexes,++ -- * GooglePrivacyDlpV2BigQueryTable+ GooglePrivacyDlpV2BigQueryTable (..),+ newGooglePrivacyDlpV2BigQueryTable,++ -- * GooglePrivacyDlpV2BigQueryTableCollection+ GooglePrivacyDlpV2BigQueryTableCollection (..),+ newGooglePrivacyDlpV2BigQueryTableCollection,++ -- * GooglePrivacyDlpV2BigQueryTableTypes+ GooglePrivacyDlpV2BigQueryTableTypes (..),+ newGooglePrivacyDlpV2BigQueryTableTypes,++ -- * GooglePrivacyDlpV2BoundingBox+ GooglePrivacyDlpV2BoundingBox (..),+ newGooglePrivacyDlpV2BoundingBox,++ -- * GooglePrivacyDlpV2Bucket+ GooglePrivacyDlpV2Bucket (..),+ newGooglePrivacyDlpV2Bucket,++ -- * GooglePrivacyDlpV2BucketingConfig+ GooglePrivacyDlpV2BucketingConfig (..),+ newGooglePrivacyDlpV2BucketingConfig,++ -- * GooglePrivacyDlpV2ByteContentItem+ GooglePrivacyDlpV2ByteContentItem (..),+ newGooglePrivacyDlpV2ByteContentItem,++ -- * GooglePrivacyDlpV2CancelDlpJobRequest+ GooglePrivacyDlpV2CancelDlpJobRequest (..),+ newGooglePrivacyDlpV2CancelDlpJobRequest,++ -- * GooglePrivacyDlpV2CategoricalStatsConfig+ GooglePrivacyDlpV2CategoricalStatsConfig (..),+ newGooglePrivacyDlpV2CategoricalStatsConfig,++ -- * GooglePrivacyDlpV2CategoricalStatsHistogramBucket+ GooglePrivacyDlpV2CategoricalStatsHistogramBucket (..),+ newGooglePrivacyDlpV2CategoricalStatsHistogramBucket,++ -- * GooglePrivacyDlpV2CategoricalStatsResult+ GooglePrivacyDlpV2CategoricalStatsResult (..),+ newGooglePrivacyDlpV2CategoricalStatsResult,++ -- * GooglePrivacyDlpV2CharacterMaskConfig+ GooglePrivacyDlpV2CharacterMaskConfig (..),+ newGooglePrivacyDlpV2CharacterMaskConfig,++ -- * GooglePrivacyDlpV2CharsToIgnore+ GooglePrivacyDlpV2CharsToIgnore (..),+ newGooglePrivacyDlpV2CharsToIgnore,++ -- * GooglePrivacyDlpV2CloudSqlDiscoveryTarget+ GooglePrivacyDlpV2CloudSqlDiscoveryTarget (..),+ newGooglePrivacyDlpV2CloudSqlDiscoveryTarget,++ -- * GooglePrivacyDlpV2CloudSqlIamCredential+ GooglePrivacyDlpV2CloudSqlIamCredential (..),+ newGooglePrivacyDlpV2CloudSqlIamCredential,++ -- * GooglePrivacyDlpV2CloudSqlProperties+ GooglePrivacyDlpV2CloudSqlProperties (..),+ newGooglePrivacyDlpV2CloudSqlProperties,++ -- * GooglePrivacyDlpV2CloudStorageDiscoveryTarget+ GooglePrivacyDlpV2CloudStorageDiscoveryTarget (..),+ newGooglePrivacyDlpV2CloudStorageDiscoveryTarget,++ -- * GooglePrivacyDlpV2CloudStorageFileSet+ GooglePrivacyDlpV2CloudStorageFileSet (..),+ newGooglePrivacyDlpV2CloudStorageFileSet,++ -- * GooglePrivacyDlpV2CloudStorageOptions+ GooglePrivacyDlpV2CloudStorageOptions (..),+ newGooglePrivacyDlpV2CloudStorageOptions,++ -- * GooglePrivacyDlpV2CloudStoragePath+ GooglePrivacyDlpV2CloudStoragePath (..),+ newGooglePrivacyDlpV2CloudStoragePath,++ -- * GooglePrivacyDlpV2CloudStorageRegex+ GooglePrivacyDlpV2CloudStorageRegex (..),+ newGooglePrivacyDlpV2CloudStorageRegex,++ -- * GooglePrivacyDlpV2CloudStorageRegexFileSet+ GooglePrivacyDlpV2CloudStorageRegexFileSet (..),+ newGooglePrivacyDlpV2CloudStorageRegexFileSet,++ -- * GooglePrivacyDlpV2CloudStorageResourceReference+ GooglePrivacyDlpV2CloudStorageResourceReference (..),+ newGooglePrivacyDlpV2CloudStorageResourceReference,++ -- * GooglePrivacyDlpV2Color+ GooglePrivacyDlpV2Color (..),+ newGooglePrivacyDlpV2Color,++ -- * GooglePrivacyDlpV2ColumnDataProfile+ GooglePrivacyDlpV2ColumnDataProfile (..),+ newGooglePrivacyDlpV2ColumnDataProfile,++ -- * GooglePrivacyDlpV2Condition+ GooglePrivacyDlpV2Condition (..),+ newGooglePrivacyDlpV2Condition,++ -- * GooglePrivacyDlpV2Conditions+ GooglePrivacyDlpV2Conditions (..),+ newGooglePrivacyDlpV2Conditions,++ -- * GooglePrivacyDlpV2Connection+ GooglePrivacyDlpV2Connection (..),+ newGooglePrivacyDlpV2Connection,++ -- * GooglePrivacyDlpV2Container+ GooglePrivacyDlpV2Container (..),+ newGooglePrivacyDlpV2Container,++ -- * GooglePrivacyDlpV2ContentItem+ GooglePrivacyDlpV2ContentItem (..),+ newGooglePrivacyDlpV2ContentItem,++ -- * GooglePrivacyDlpV2ContentLocation+ GooglePrivacyDlpV2ContentLocation (..),+ newGooglePrivacyDlpV2ContentLocation,++ -- * GooglePrivacyDlpV2CreateConnectionRequest+ GooglePrivacyDlpV2CreateConnectionRequest (..),+ newGooglePrivacyDlpV2CreateConnectionRequest,++ -- * GooglePrivacyDlpV2CreateDeidentifyTemplateRequest+ GooglePrivacyDlpV2CreateDeidentifyTemplateRequest (..),+ newGooglePrivacyDlpV2CreateDeidentifyTemplateRequest,++ -- * GooglePrivacyDlpV2CreateDiscoveryConfigRequest+ GooglePrivacyDlpV2CreateDiscoveryConfigRequest (..),+ newGooglePrivacyDlpV2CreateDiscoveryConfigRequest,++ -- * GooglePrivacyDlpV2CreateDlpJobRequest+ GooglePrivacyDlpV2CreateDlpJobRequest (..),+ newGooglePrivacyDlpV2CreateDlpJobRequest,++ -- * GooglePrivacyDlpV2CreateInspectTemplateRequest+ GooglePrivacyDlpV2CreateInspectTemplateRequest (..),+ newGooglePrivacyDlpV2CreateInspectTemplateRequest,++ -- * GooglePrivacyDlpV2CreateJobTriggerRequest+ GooglePrivacyDlpV2CreateJobTriggerRequest (..),+ newGooglePrivacyDlpV2CreateJobTriggerRequest,++ -- * GooglePrivacyDlpV2CreateStoredInfoTypeRequest+ GooglePrivacyDlpV2CreateStoredInfoTypeRequest (..),+ newGooglePrivacyDlpV2CreateStoredInfoTypeRequest,++ -- * GooglePrivacyDlpV2CryptoDeterministicConfig+ GooglePrivacyDlpV2CryptoDeterministicConfig (..),+ newGooglePrivacyDlpV2CryptoDeterministicConfig,++ -- * GooglePrivacyDlpV2CryptoHashConfig+ GooglePrivacyDlpV2CryptoHashConfig (..),+ newGooglePrivacyDlpV2CryptoHashConfig,++ -- * GooglePrivacyDlpV2CryptoKey+ GooglePrivacyDlpV2CryptoKey (..),+ newGooglePrivacyDlpV2CryptoKey,++ -- * GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig (..),+ newGooglePrivacyDlpV2CryptoReplaceFfxFpeConfig,++ -- * GooglePrivacyDlpV2CustomInfoType+ GooglePrivacyDlpV2CustomInfoType (..),+ newGooglePrivacyDlpV2CustomInfoType,++ -- * GooglePrivacyDlpV2DataProfileAction+ GooglePrivacyDlpV2DataProfileAction (..),+ newGooglePrivacyDlpV2DataProfileAction,++ -- * GooglePrivacyDlpV2DataProfileBigQueryRowSchema+ GooglePrivacyDlpV2DataProfileBigQueryRowSchema (..),+ newGooglePrivacyDlpV2DataProfileBigQueryRowSchema,++ -- * GooglePrivacyDlpV2DataProfileConfigSnapshot+ GooglePrivacyDlpV2DataProfileConfigSnapshot (..),+ newGooglePrivacyDlpV2DataProfileConfigSnapshot,++ -- * GooglePrivacyDlpV2DataProfileFinding+ GooglePrivacyDlpV2DataProfileFinding (..),+ newGooglePrivacyDlpV2DataProfileFinding,++ -- * GooglePrivacyDlpV2DataProfileFindingLocation+ GooglePrivacyDlpV2DataProfileFindingLocation (..),+ newGooglePrivacyDlpV2DataProfileFindingLocation,++ -- * GooglePrivacyDlpV2DataProfileFindingRecordLocation+ GooglePrivacyDlpV2DataProfileFindingRecordLocation (..),+ newGooglePrivacyDlpV2DataProfileFindingRecordLocation,++ -- * GooglePrivacyDlpV2DataProfileJobConfig+ GooglePrivacyDlpV2DataProfileJobConfig (..),+ newGooglePrivacyDlpV2DataProfileJobConfig,++ -- * GooglePrivacyDlpV2DataProfileLocation+ GooglePrivacyDlpV2DataProfileLocation (..),+ newGooglePrivacyDlpV2DataProfileLocation,++ -- * GooglePrivacyDlpV2DataProfilePubSubCondition+ GooglePrivacyDlpV2DataProfilePubSubCondition (..),+ newGooglePrivacyDlpV2DataProfilePubSubCondition,++ -- * GooglePrivacyDlpV2DataProfilePubSubMessage+ GooglePrivacyDlpV2DataProfilePubSubMessage (..),+ newGooglePrivacyDlpV2DataProfilePubSubMessage,++ -- * GooglePrivacyDlpV2DataRiskLevel+ GooglePrivacyDlpV2DataRiskLevel (..),+ newGooglePrivacyDlpV2DataRiskLevel,++ -- * GooglePrivacyDlpV2DataSourceType+ GooglePrivacyDlpV2DataSourceType (..),+ newGooglePrivacyDlpV2DataSourceType,++ -- * GooglePrivacyDlpV2DatabaseResourceCollection+ GooglePrivacyDlpV2DatabaseResourceCollection (..),+ newGooglePrivacyDlpV2DatabaseResourceCollection,++ -- * GooglePrivacyDlpV2DatabaseResourceReference+ GooglePrivacyDlpV2DatabaseResourceReference (..),+ newGooglePrivacyDlpV2DatabaseResourceReference,++ -- * GooglePrivacyDlpV2DatabaseResourceRegex+ GooglePrivacyDlpV2DatabaseResourceRegex (..),+ newGooglePrivacyDlpV2DatabaseResourceRegex,++ -- * GooglePrivacyDlpV2DatabaseResourceRegexes+ GooglePrivacyDlpV2DatabaseResourceRegexes (..),+ newGooglePrivacyDlpV2DatabaseResourceRegexes,++ -- * GooglePrivacyDlpV2DatastoreKey+ GooglePrivacyDlpV2DatastoreKey (..),+ newGooglePrivacyDlpV2DatastoreKey,++ -- * GooglePrivacyDlpV2DatastoreOptions+ GooglePrivacyDlpV2DatastoreOptions (..),+ newGooglePrivacyDlpV2DatastoreOptions,++ -- * GooglePrivacyDlpV2DateShiftConfig+ GooglePrivacyDlpV2DateShiftConfig (..),+ newGooglePrivacyDlpV2DateShiftConfig,++ -- * GooglePrivacyDlpV2DateTime+ GooglePrivacyDlpV2DateTime (..),+ newGooglePrivacyDlpV2DateTime,++ -- * GooglePrivacyDlpV2Deidentify+ GooglePrivacyDlpV2Deidentify (..),+ newGooglePrivacyDlpV2Deidentify,++ -- * GooglePrivacyDlpV2DeidentifyConfig+ GooglePrivacyDlpV2DeidentifyConfig (..),+ newGooglePrivacyDlpV2DeidentifyConfig,++ -- * GooglePrivacyDlpV2DeidentifyContentRequest+ GooglePrivacyDlpV2DeidentifyContentRequest (..),+ newGooglePrivacyDlpV2DeidentifyContentRequest,++ -- * GooglePrivacyDlpV2DeidentifyContentResponse+ GooglePrivacyDlpV2DeidentifyContentResponse (..),+ newGooglePrivacyDlpV2DeidentifyContentResponse,++ -- * GooglePrivacyDlpV2DeidentifyDataSourceDetails+ GooglePrivacyDlpV2DeidentifyDataSourceDetails (..),+ newGooglePrivacyDlpV2DeidentifyDataSourceDetails,++ -- * GooglePrivacyDlpV2DeidentifyDataSourceStats+ GooglePrivacyDlpV2DeidentifyDataSourceStats (..),+ newGooglePrivacyDlpV2DeidentifyDataSourceStats,++ -- * GooglePrivacyDlpV2DeidentifyTemplate+ GooglePrivacyDlpV2DeidentifyTemplate (..),+ newGooglePrivacyDlpV2DeidentifyTemplate,++ -- * GooglePrivacyDlpV2DeltaPresenceEstimationConfig+ GooglePrivacyDlpV2DeltaPresenceEstimationConfig (..),+ newGooglePrivacyDlpV2DeltaPresenceEstimationConfig,++ -- * GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket+ GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket (..),+ newGooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket,++ -- * GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues+ GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues (..),+ newGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues,++ -- * GooglePrivacyDlpV2DeltaPresenceEstimationResult+ GooglePrivacyDlpV2DeltaPresenceEstimationResult (..),+ newGooglePrivacyDlpV2DeltaPresenceEstimationResult,++ -- * GooglePrivacyDlpV2DetectionRule+ GooglePrivacyDlpV2DetectionRule (..),+ newGooglePrivacyDlpV2DetectionRule,++ -- * GooglePrivacyDlpV2Dictionary+ GooglePrivacyDlpV2Dictionary (..),+ newGooglePrivacyDlpV2Dictionary,++ -- * GooglePrivacyDlpV2Disabled+ GooglePrivacyDlpV2Disabled (..),+ newGooglePrivacyDlpV2Disabled,++ -- * GooglePrivacyDlpV2DiscoveryBigQueryConditions+ GooglePrivacyDlpV2DiscoveryBigQueryConditions (..),+ newGooglePrivacyDlpV2DiscoveryBigQueryConditions,++ -- * GooglePrivacyDlpV2DiscoveryBigQueryFilter+ GooglePrivacyDlpV2DiscoveryBigQueryFilter (..),+ newGooglePrivacyDlpV2DiscoveryBigQueryFilter,++ -- * GooglePrivacyDlpV2DiscoveryCloudSqlConditions+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions (..),+ newGooglePrivacyDlpV2DiscoveryCloudSqlConditions,++ -- * GooglePrivacyDlpV2DiscoveryCloudSqlFilter+ GooglePrivacyDlpV2DiscoveryCloudSqlFilter (..),+ newGooglePrivacyDlpV2DiscoveryCloudSqlFilter,++ -- * GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence (..),+ newGooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence,++ -- * GooglePrivacyDlpV2DiscoveryCloudStorageConditions+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions (..),+ newGooglePrivacyDlpV2DiscoveryCloudStorageConditions,++ -- * GooglePrivacyDlpV2DiscoveryCloudStorageFilter+ GooglePrivacyDlpV2DiscoveryCloudStorageFilter (..),+ newGooglePrivacyDlpV2DiscoveryCloudStorageFilter,++ -- * GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence (..),+ newGooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence,++ -- * GooglePrivacyDlpV2DiscoveryConfig+ GooglePrivacyDlpV2DiscoveryConfig (..),+ newGooglePrivacyDlpV2DiscoveryConfig,++ -- * GooglePrivacyDlpV2DiscoveryFileStoreConditions+ GooglePrivacyDlpV2DiscoveryFileStoreConditions (..),+ newGooglePrivacyDlpV2DiscoveryFileStoreConditions,++ -- * GooglePrivacyDlpV2DiscoveryGenerationCadence+ GooglePrivacyDlpV2DiscoveryGenerationCadence (..),+ newGooglePrivacyDlpV2DiscoveryGenerationCadence,++ -- * GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence (..),+ newGooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence,++ -- * GooglePrivacyDlpV2DiscoveryOtherCloudConditions+ GooglePrivacyDlpV2DiscoveryOtherCloudConditions (..),+ newGooglePrivacyDlpV2DiscoveryOtherCloudConditions,++ -- * GooglePrivacyDlpV2DiscoveryOtherCloudFilter+ GooglePrivacyDlpV2DiscoveryOtherCloudFilter (..),+ newGooglePrivacyDlpV2DiscoveryOtherCloudFilter,++ -- * GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence (..),+ newGooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence,++ -- * GooglePrivacyDlpV2DiscoverySchemaModifiedCadence+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence (..),+ newGooglePrivacyDlpV2DiscoverySchemaModifiedCadence,++ -- * GooglePrivacyDlpV2DiscoveryStartingLocation+ GooglePrivacyDlpV2DiscoveryStartingLocation (..),+ newGooglePrivacyDlpV2DiscoveryStartingLocation,++ -- * GooglePrivacyDlpV2DiscoveryTableModifiedCadence+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence (..),+ newGooglePrivacyDlpV2DiscoveryTableModifiedCadence,++ -- * GooglePrivacyDlpV2DiscoveryTarget+ GooglePrivacyDlpV2DiscoveryTarget (..),+ newGooglePrivacyDlpV2DiscoveryTarget,++ -- * GooglePrivacyDlpV2DiscoveryVertexDatasetConditions+ GooglePrivacyDlpV2DiscoveryVertexDatasetConditions (..),+ newGooglePrivacyDlpV2DiscoveryVertexDatasetConditions,++ -- * GooglePrivacyDlpV2DiscoveryVertexDatasetFilter+ GooglePrivacyDlpV2DiscoveryVertexDatasetFilter (..),+ newGooglePrivacyDlpV2DiscoveryVertexDatasetFilter,++ -- * GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence (..),+ newGooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence,++ -- * GooglePrivacyDlpV2DlpJob+ GooglePrivacyDlpV2DlpJob (..),+ newGooglePrivacyDlpV2DlpJob,++ -- * GooglePrivacyDlpV2DocumentLocation+ GooglePrivacyDlpV2DocumentLocation (..),+ newGooglePrivacyDlpV2DocumentLocation,++ -- * GooglePrivacyDlpV2EntityId+ GooglePrivacyDlpV2EntityId (..),+ newGooglePrivacyDlpV2EntityId,++ -- * GooglePrivacyDlpV2Error+ GooglePrivacyDlpV2Error (..),+ newGooglePrivacyDlpV2Error,++ -- * GooglePrivacyDlpV2ExcludeByHotword+ GooglePrivacyDlpV2ExcludeByHotword (..),+ newGooglePrivacyDlpV2ExcludeByHotword,++ -- * GooglePrivacyDlpV2ExcludeInfoTypes+ GooglePrivacyDlpV2ExcludeInfoTypes (..),+ newGooglePrivacyDlpV2ExcludeInfoTypes,++ -- * GooglePrivacyDlpV2ExclusionRule+ GooglePrivacyDlpV2ExclusionRule (..),+ newGooglePrivacyDlpV2ExclusionRule,++ -- * GooglePrivacyDlpV2Export+ GooglePrivacyDlpV2Export (..),+ newGooglePrivacyDlpV2Export,++ -- * GooglePrivacyDlpV2Expressions+ GooglePrivacyDlpV2Expressions (..),+ newGooglePrivacyDlpV2Expressions,++ -- * GooglePrivacyDlpV2FieldId+ GooglePrivacyDlpV2FieldId (..),+ newGooglePrivacyDlpV2FieldId,++ -- * GooglePrivacyDlpV2FieldTransformation+ GooglePrivacyDlpV2FieldTransformation (..),+ newGooglePrivacyDlpV2FieldTransformation,++ -- * GooglePrivacyDlpV2FileClusterSummary+ GooglePrivacyDlpV2FileClusterSummary (..),+ newGooglePrivacyDlpV2FileClusterSummary,++ -- * GooglePrivacyDlpV2FileClusterType+ GooglePrivacyDlpV2FileClusterType (..),+ newGooglePrivacyDlpV2FileClusterType,++ -- * GooglePrivacyDlpV2FileExtensionInfo+ GooglePrivacyDlpV2FileExtensionInfo (..),+ newGooglePrivacyDlpV2FileExtensionInfo,++ -- * GooglePrivacyDlpV2FileSet+ GooglePrivacyDlpV2FileSet (..),+ newGooglePrivacyDlpV2FileSet,++ -- * GooglePrivacyDlpV2FileStoreCollection+ GooglePrivacyDlpV2FileStoreCollection (..),+ newGooglePrivacyDlpV2FileStoreCollection,++ -- * GooglePrivacyDlpV2FileStoreDataProfile+ GooglePrivacyDlpV2FileStoreDataProfile (..),+ newGooglePrivacyDlpV2FileStoreDataProfile,++ -- * GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes (..),+ newGooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes,++ -- * GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels (..),+ newGooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels,++ -- * GooglePrivacyDlpV2FileStoreInfoTypeSummary+ GooglePrivacyDlpV2FileStoreInfoTypeSummary (..),+ newGooglePrivacyDlpV2FileStoreInfoTypeSummary,++ -- * GooglePrivacyDlpV2FileStoreRegex+ GooglePrivacyDlpV2FileStoreRegex (..),+ newGooglePrivacyDlpV2FileStoreRegex,++ -- * GooglePrivacyDlpV2FileStoreRegexes+ GooglePrivacyDlpV2FileStoreRegexes (..),+ newGooglePrivacyDlpV2FileStoreRegexes,++ -- * GooglePrivacyDlpV2Finding+ GooglePrivacyDlpV2Finding (..),+ newGooglePrivacyDlpV2Finding,++ -- * GooglePrivacyDlpV2Finding_Labels+ GooglePrivacyDlpV2Finding_Labels (..),+ newGooglePrivacyDlpV2Finding_Labels,++ -- * GooglePrivacyDlpV2FindingLimits+ GooglePrivacyDlpV2FindingLimits (..),+ newGooglePrivacyDlpV2FindingLimits,++ -- * GooglePrivacyDlpV2FinishDlpJobRequest+ GooglePrivacyDlpV2FinishDlpJobRequest (..),+ newGooglePrivacyDlpV2FinishDlpJobRequest,++ -- * GooglePrivacyDlpV2FixedSizeBucketingConfig+ GooglePrivacyDlpV2FixedSizeBucketingConfig (..),+ newGooglePrivacyDlpV2FixedSizeBucketingConfig,++ -- * GooglePrivacyDlpV2GlobalProcessing+ GooglePrivacyDlpV2GlobalProcessing (..),+ newGooglePrivacyDlpV2GlobalProcessing,++ -- * GooglePrivacyDlpV2HotwordRule+ GooglePrivacyDlpV2HotwordRule (..),+ newGooglePrivacyDlpV2HotwordRule,++ -- * GooglePrivacyDlpV2HybridContentItem+ GooglePrivacyDlpV2HybridContentItem (..),+ newGooglePrivacyDlpV2HybridContentItem,++ -- * GooglePrivacyDlpV2HybridFindingDetails+ GooglePrivacyDlpV2HybridFindingDetails (..),+ newGooglePrivacyDlpV2HybridFindingDetails,++ -- * GooglePrivacyDlpV2HybridFindingDetails_Labels+ GooglePrivacyDlpV2HybridFindingDetails_Labels (..),+ newGooglePrivacyDlpV2HybridFindingDetails_Labels,++ -- * GooglePrivacyDlpV2HybridInspectDlpJobRequest+ GooglePrivacyDlpV2HybridInspectDlpJobRequest (..),+ newGooglePrivacyDlpV2HybridInspectDlpJobRequest,++ -- * GooglePrivacyDlpV2HybridInspectJobTriggerRequest+ GooglePrivacyDlpV2HybridInspectJobTriggerRequest (..),+ newGooglePrivacyDlpV2HybridInspectJobTriggerRequest,++ -- * GooglePrivacyDlpV2HybridInspectResponse+ GooglePrivacyDlpV2HybridInspectResponse (..),+ newGooglePrivacyDlpV2HybridInspectResponse,++ -- * GooglePrivacyDlpV2HybridInspectStatistics+ GooglePrivacyDlpV2HybridInspectStatistics (..),+ newGooglePrivacyDlpV2HybridInspectStatistics,++ -- * GooglePrivacyDlpV2HybridOptions+ GooglePrivacyDlpV2HybridOptions (..),+ newGooglePrivacyDlpV2HybridOptions,++ -- * GooglePrivacyDlpV2HybridOptions_Labels+ GooglePrivacyDlpV2HybridOptions_Labels (..),+ newGooglePrivacyDlpV2HybridOptions_Labels,++ -- * GooglePrivacyDlpV2ImageFallbackLocation+ GooglePrivacyDlpV2ImageFallbackLocation (..),+ newGooglePrivacyDlpV2ImageFallbackLocation,++ -- * GooglePrivacyDlpV2ImageLocation+ GooglePrivacyDlpV2ImageLocation (..),+ newGooglePrivacyDlpV2ImageLocation,++ -- * GooglePrivacyDlpV2ImageRedactionConfig+ GooglePrivacyDlpV2ImageRedactionConfig (..),+ newGooglePrivacyDlpV2ImageRedactionConfig,++ -- * GooglePrivacyDlpV2ImageTransformation+ GooglePrivacyDlpV2ImageTransformation (..),+ newGooglePrivacyDlpV2ImageTransformation,++ -- * GooglePrivacyDlpV2ImageTransformations+ GooglePrivacyDlpV2ImageTransformations (..),+ newGooglePrivacyDlpV2ImageTransformations,++ -- * GooglePrivacyDlpV2InfoType+ GooglePrivacyDlpV2InfoType (..),+ newGooglePrivacyDlpV2InfoType,++ -- * GooglePrivacyDlpV2InfoTypeCategory+ GooglePrivacyDlpV2InfoTypeCategory (..),+ newGooglePrivacyDlpV2InfoTypeCategory,++ -- * GooglePrivacyDlpV2InfoTypeDescription+ GooglePrivacyDlpV2InfoTypeDescription (..),+ newGooglePrivacyDlpV2InfoTypeDescription,++ -- * GooglePrivacyDlpV2InfoTypeLikelihood+ GooglePrivacyDlpV2InfoTypeLikelihood (..),+ newGooglePrivacyDlpV2InfoTypeLikelihood,++ -- * GooglePrivacyDlpV2InfoTypeLimit+ GooglePrivacyDlpV2InfoTypeLimit (..),+ newGooglePrivacyDlpV2InfoTypeLimit,++ -- * GooglePrivacyDlpV2InfoTypeStats+ GooglePrivacyDlpV2InfoTypeStats (..),+ newGooglePrivacyDlpV2InfoTypeStats,++ -- * GooglePrivacyDlpV2InfoTypeSummary+ GooglePrivacyDlpV2InfoTypeSummary (..),+ newGooglePrivacyDlpV2InfoTypeSummary,++ -- * GooglePrivacyDlpV2InfoTypeTransformation+ GooglePrivacyDlpV2InfoTypeTransformation (..),+ newGooglePrivacyDlpV2InfoTypeTransformation,++ -- * GooglePrivacyDlpV2InfoTypeTransformations+ GooglePrivacyDlpV2InfoTypeTransformations (..),+ newGooglePrivacyDlpV2InfoTypeTransformations,++ -- * GooglePrivacyDlpV2InspectConfig+ GooglePrivacyDlpV2InspectConfig (..),+ newGooglePrivacyDlpV2InspectConfig,++ -- * GooglePrivacyDlpV2InspectContentRequest+ GooglePrivacyDlpV2InspectContentRequest (..),+ newGooglePrivacyDlpV2InspectContentRequest,++ -- * GooglePrivacyDlpV2InspectContentResponse+ GooglePrivacyDlpV2InspectContentResponse (..),+ newGooglePrivacyDlpV2InspectContentResponse,++ -- * GooglePrivacyDlpV2InspectDataSourceDetails+ GooglePrivacyDlpV2InspectDataSourceDetails (..),+ newGooglePrivacyDlpV2InspectDataSourceDetails,++ -- * GooglePrivacyDlpV2InspectJobConfig+ GooglePrivacyDlpV2InspectJobConfig (..),+ newGooglePrivacyDlpV2InspectJobConfig,++ -- * GooglePrivacyDlpV2InspectResult+ GooglePrivacyDlpV2InspectResult (..),+ newGooglePrivacyDlpV2InspectResult,++ -- * GooglePrivacyDlpV2InspectTemplate+ GooglePrivacyDlpV2InspectTemplate (..),+ newGooglePrivacyDlpV2InspectTemplate,++ -- * GooglePrivacyDlpV2InspectionRule+ GooglePrivacyDlpV2InspectionRule (..),+ newGooglePrivacyDlpV2InspectionRule,++ -- * GooglePrivacyDlpV2InspectionRuleSet+ GooglePrivacyDlpV2InspectionRuleSet (..),+ newGooglePrivacyDlpV2InspectionRuleSet,++ -- * GooglePrivacyDlpV2JobNotificationEmails+ GooglePrivacyDlpV2JobNotificationEmails (..),+ newGooglePrivacyDlpV2JobNotificationEmails,++ -- * GooglePrivacyDlpV2JobTrigger+ GooglePrivacyDlpV2JobTrigger (..),+ newGooglePrivacyDlpV2JobTrigger,++ -- * GooglePrivacyDlpV2KAnonymityConfig+ GooglePrivacyDlpV2KAnonymityConfig (..),+ newGooglePrivacyDlpV2KAnonymityConfig,++ -- * GooglePrivacyDlpV2KAnonymityEquivalenceClass+ GooglePrivacyDlpV2KAnonymityEquivalenceClass (..),+ newGooglePrivacyDlpV2KAnonymityEquivalenceClass,++ -- * GooglePrivacyDlpV2KAnonymityHistogramBucket+ GooglePrivacyDlpV2KAnonymityHistogramBucket (..),+ newGooglePrivacyDlpV2KAnonymityHistogramBucket,++ -- * GooglePrivacyDlpV2KAnonymityResult+ GooglePrivacyDlpV2KAnonymityResult (..),+ newGooglePrivacyDlpV2KAnonymityResult,++ -- * GooglePrivacyDlpV2KMapEstimationConfig+ GooglePrivacyDlpV2KMapEstimationConfig (..),+ newGooglePrivacyDlpV2KMapEstimationConfig,++ -- * GooglePrivacyDlpV2KMapEstimationHistogramBucket+ GooglePrivacyDlpV2KMapEstimationHistogramBucket (..),+ newGooglePrivacyDlpV2KMapEstimationHistogramBucket,++ -- * GooglePrivacyDlpV2KMapEstimationQuasiIdValues+ GooglePrivacyDlpV2KMapEstimationQuasiIdValues (..),+ newGooglePrivacyDlpV2KMapEstimationQuasiIdValues,++ -- * GooglePrivacyDlpV2KMapEstimationResult+ GooglePrivacyDlpV2KMapEstimationResult (..),+ newGooglePrivacyDlpV2KMapEstimationResult,++ -- * GooglePrivacyDlpV2Key+ GooglePrivacyDlpV2Key (..),+ newGooglePrivacyDlpV2Key,++ -- * GooglePrivacyDlpV2KindExpression+ GooglePrivacyDlpV2KindExpression (..),+ newGooglePrivacyDlpV2KindExpression,++ -- * GooglePrivacyDlpV2KmsWrappedCryptoKey+ GooglePrivacyDlpV2KmsWrappedCryptoKey (..),+ newGooglePrivacyDlpV2KmsWrappedCryptoKey,++ -- * GooglePrivacyDlpV2LDiversityConfig+ GooglePrivacyDlpV2LDiversityConfig (..),+ newGooglePrivacyDlpV2LDiversityConfig,++ -- * GooglePrivacyDlpV2LDiversityEquivalenceClass+ GooglePrivacyDlpV2LDiversityEquivalenceClass (..),+ newGooglePrivacyDlpV2LDiversityEquivalenceClass,++ -- * GooglePrivacyDlpV2LDiversityHistogramBucket+ GooglePrivacyDlpV2LDiversityHistogramBucket (..),+ newGooglePrivacyDlpV2LDiversityHistogramBucket,++ -- * GooglePrivacyDlpV2LDiversityResult+ GooglePrivacyDlpV2LDiversityResult (..),+ newGooglePrivacyDlpV2LDiversityResult,++ -- * GooglePrivacyDlpV2LargeCustomDictionaryConfig+ GooglePrivacyDlpV2LargeCustomDictionaryConfig (..),+ newGooglePrivacyDlpV2LargeCustomDictionaryConfig,++ -- * GooglePrivacyDlpV2LargeCustomDictionaryStats+ GooglePrivacyDlpV2LargeCustomDictionaryStats (..),+ newGooglePrivacyDlpV2LargeCustomDictionaryStats,++ -- * GooglePrivacyDlpV2LeaveUntransformed+ GooglePrivacyDlpV2LeaveUntransformed (..),+ newGooglePrivacyDlpV2LeaveUntransformed,++ -- * GooglePrivacyDlpV2LikelihoodAdjustment+ GooglePrivacyDlpV2LikelihoodAdjustment (..),+ newGooglePrivacyDlpV2LikelihoodAdjustment,++ -- * GooglePrivacyDlpV2ListColumnDataProfilesResponse+ GooglePrivacyDlpV2ListColumnDataProfilesResponse (..),+ newGooglePrivacyDlpV2ListColumnDataProfilesResponse,++ -- * GooglePrivacyDlpV2ListConnectionsResponse+ GooglePrivacyDlpV2ListConnectionsResponse (..),+ newGooglePrivacyDlpV2ListConnectionsResponse,++ -- * GooglePrivacyDlpV2ListDeidentifyTemplatesResponse+ GooglePrivacyDlpV2ListDeidentifyTemplatesResponse (..),+ newGooglePrivacyDlpV2ListDeidentifyTemplatesResponse,++ -- * GooglePrivacyDlpV2ListDiscoveryConfigsResponse+ GooglePrivacyDlpV2ListDiscoveryConfigsResponse (..),+ newGooglePrivacyDlpV2ListDiscoveryConfigsResponse,++ -- * GooglePrivacyDlpV2ListDlpJobsResponse+ GooglePrivacyDlpV2ListDlpJobsResponse (..),+ newGooglePrivacyDlpV2ListDlpJobsResponse,++ -- * GooglePrivacyDlpV2ListFileStoreDataProfilesResponse+ GooglePrivacyDlpV2ListFileStoreDataProfilesResponse (..),+ newGooglePrivacyDlpV2ListFileStoreDataProfilesResponse,++ -- * GooglePrivacyDlpV2ListInfoTypesResponse+ GooglePrivacyDlpV2ListInfoTypesResponse (..),+ newGooglePrivacyDlpV2ListInfoTypesResponse,++ -- * GooglePrivacyDlpV2ListInspectTemplatesResponse+ GooglePrivacyDlpV2ListInspectTemplatesResponse (..),+ newGooglePrivacyDlpV2ListInspectTemplatesResponse,++ -- * GooglePrivacyDlpV2ListJobTriggersResponse+ GooglePrivacyDlpV2ListJobTriggersResponse (..),+ newGooglePrivacyDlpV2ListJobTriggersResponse,++ -- * GooglePrivacyDlpV2ListProjectDataProfilesResponse+ GooglePrivacyDlpV2ListProjectDataProfilesResponse (..),+ newGooglePrivacyDlpV2ListProjectDataProfilesResponse,++ -- * GooglePrivacyDlpV2ListStoredInfoTypesResponse+ GooglePrivacyDlpV2ListStoredInfoTypesResponse (..),+ newGooglePrivacyDlpV2ListStoredInfoTypesResponse,++ -- * GooglePrivacyDlpV2ListTableDataProfilesResponse+ GooglePrivacyDlpV2ListTableDataProfilesResponse (..),+ newGooglePrivacyDlpV2ListTableDataProfilesResponse,++ -- * GooglePrivacyDlpV2Location+ GooglePrivacyDlpV2Location (..),+ newGooglePrivacyDlpV2Location,++ -- * GooglePrivacyDlpV2Manual+ GooglePrivacyDlpV2Manual (..),+ newGooglePrivacyDlpV2Manual,++ -- * GooglePrivacyDlpV2MetadataLocation+ GooglePrivacyDlpV2MetadataLocation (..),+ newGooglePrivacyDlpV2MetadataLocation,++ -- * GooglePrivacyDlpV2MultiRegionProcessing+ GooglePrivacyDlpV2MultiRegionProcessing (..),+ newGooglePrivacyDlpV2MultiRegionProcessing,++ -- * GooglePrivacyDlpV2NumericalStatsConfig+ GooglePrivacyDlpV2NumericalStatsConfig (..),+ newGooglePrivacyDlpV2NumericalStatsConfig,++ -- * GooglePrivacyDlpV2NumericalStatsResult+ GooglePrivacyDlpV2NumericalStatsResult (..),+ newGooglePrivacyDlpV2NumericalStatsResult,++ -- * GooglePrivacyDlpV2OrConditions+ GooglePrivacyDlpV2OrConditions (..),+ newGooglePrivacyDlpV2OrConditions,++ -- * GooglePrivacyDlpV2OrgConfig+ GooglePrivacyDlpV2OrgConfig (..),+ newGooglePrivacyDlpV2OrgConfig,++ -- * GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation+ GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation (..),+ newGooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation,++ -- * GooglePrivacyDlpV2OtherCloudDiscoveryTarget+ GooglePrivacyDlpV2OtherCloudDiscoveryTarget (..),+ newGooglePrivacyDlpV2OtherCloudDiscoveryTarget,++ -- * GooglePrivacyDlpV2OtherCloudResourceCollection+ GooglePrivacyDlpV2OtherCloudResourceCollection (..),+ newGooglePrivacyDlpV2OtherCloudResourceCollection,++ -- * GooglePrivacyDlpV2OtherCloudResourceRegex+ GooglePrivacyDlpV2OtherCloudResourceRegex (..),+ newGooglePrivacyDlpV2OtherCloudResourceRegex,++ -- * GooglePrivacyDlpV2OtherCloudResourceRegexes+ GooglePrivacyDlpV2OtherCloudResourceRegexes (..),+ newGooglePrivacyDlpV2OtherCloudResourceRegexes,++ -- * GooglePrivacyDlpV2OtherCloudSingleResourceReference+ GooglePrivacyDlpV2OtherCloudSingleResourceReference (..),+ newGooglePrivacyDlpV2OtherCloudSingleResourceReference,++ -- * GooglePrivacyDlpV2OtherInfoTypeSummary+ GooglePrivacyDlpV2OtherInfoTypeSummary (..),+ newGooglePrivacyDlpV2OtherInfoTypeSummary,++ -- * GooglePrivacyDlpV2OutputStorageConfig+ GooglePrivacyDlpV2OutputStorageConfig (..),+ newGooglePrivacyDlpV2OutputStorageConfig,++ -- * GooglePrivacyDlpV2PartitionId+ GooglePrivacyDlpV2PartitionId (..),+ newGooglePrivacyDlpV2PartitionId,++ -- * GooglePrivacyDlpV2PathElement+ GooglePrivacyDlpV2PathElement (..),+ newGooglePrivacyDlpV2PathElement,++ -- * GooglePrivacyDlpV2PrimitiveTransformation+ GooglePrivacyDlpV2PrimitiveTransformation (..),+ newGooglePrivacyDlpV2PrimitiveTransformation,++ -- * GooglePrivacyDlpV2PrivacyMetric+ GooglePrivacyDlpV2PrivacyMetric (..),+ newGooglePrivacyDlpV2PrivacyMetric,++ -- * GooglePrivacyDlpV2ProcessingLocation+ GooglePrivacyDlpV2ProcessingLocation (..),+ newGooglePrivacyDlpV2ProcessingLocation,++ -- * GooglePrivacyDlpV2ProfileStatus+ GooglePrivacyDlpV2ProfileStatus (..),+ newGooglePrivacyDlpV2ProfileStatus,++ -- * GooglePrivacyDlpV2ProjectDataProfile+ GooglePrivacyDlpV2ProjectDataProfile (..),+ newGooglePrivacyDlpV2ProjectDataProfile,++ -- * GooglePrivacyDlpV2Proximity+ GooglePrivacyDlpV2Proximity (..),+ newGooglePrivacyDlpV2Proximity,++ -- * GooglePrivacyDlpV2PubSubCondition+ GooglePrivacyDlpV2PubSubCondition (..),+ newGooglePrivacyDlpV2PubSubCondition,++ -- * GooglePrivacyDlpV2PubSubExpressions+ GooglePrivacyDlpV2PubSubExpressions (..),+ newGooglePrivacyDlpV2PubSubExpressions,++ -- * GooglePrivacyDlpV2PubSubNotification+ GooglePrivacyDlpV2PubSubNotification (..),+ newGooglePrivacyDlpV2PubSubNotification,++ -- * GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog+ GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog (..),+ newGooglePrivacyDlpV2PublishFindingsToCloudDataCatalog,++ -- * GooglePrivacyDlpV2PublishSummaryToCscc+ GooglePrivacyDlpV2PublishSummaryToCscc (..),+ newGooglePrivacyDlpV2PublishSummaryToCscc,++ -- * GooglePrivacyDlpV2PublishToChronicle+ GooglePrivacyDlpV2PublishToChronicle (..),+ newGooglePrivacyDlpV2PublishToChronicle,++ -- * GooglePrivacyDlpV2PublishToPubSub+ GooglePrivacyDlpV2PublishToPubSub (..),+ newGooglePrivacyDlpV2PublishToPubSub,++ -- * GooglePrivacyDlpV2PublishToSecurityCommandCenter+ GooglePrivacyDlpV2PublishToSecurityCommandCenter (..),+ newGooglePrivacyDlpV2PublishToSecurityCommandCenter,++ -- * GooglePrivacyDlpV2PublishToStackdriver+ GooglePrivacyDlpV2PublishToStackdriver (..),+ newGooglePrivacyDlpV2PublishToStackdriver,++ -- * GooglePrivacyDlpV2QuasiId+ GooglePrivacyDlpV2QuasiId (..),+ newGooglePrivacyDlpV2QuasiId,++ -- * GooglePrivacyDlpV2QuasiIdField+ GooglePrivacyDlpV2QuasiIdField (..),+ newGooglePrivacyDlpV2QuasiIdField,++ -- * GooglePrivacyDlpV2QuasiIdentifierField+ GooglePrivacyDlpV2QuasiIdentifierField (..),+ newGooglePrivacyDlpV2QuasiIdentifierField,++ -- * GooglePrivacyDlpV2QuoteInfo+ GooglePrivacyDlpV2QuoteInfo (..),+ newGooglePrivacyDlpV2QuoteInfo,++ -- * GooglePrivacyDlpV2Range+ GooglePrivacyDlpV2Range (..),+ newGooglePrivacyDlpV2Range,++ -- * GooglePrivacyDlpV2RecordCondition+ GooglePrivacyDlpV2RecordCondition (..),+ newGooglePrivacyDlpV2RecordCondition,++ -- * GooglePrivacyDlpV2RecordKey+ GooglePrivacyDlpV2RecordKey (..),+ newGooglePrivacyDlpV2RecordKey,++ -- * GooglePrivacyDlpV2RecordLocation+ GooglePrivacyDlpV2RecordLocation (..),+ newGooglePrivacyDlpV2RecordLocation,++ -- * GooglePrivacyDlpV2RecordSuppression+ GooglePrivacyDlpV2RecordSuppression (..),+ newGooglePrivacyDlpV2RecordSuppression,++ -- * GooglePrivacyDlpV2RecordTransformation+ GooglePrivacyDlpV2RecordTransformation (..),+ newGooglePrivacyDlpV2RecordTransformation,++ -- * GooglePrivacyDlpV2RecordTransformations+ GooglePrivacyDlpV2RecordTransformations (..),+ newGooglePrivacyDlpV2RecordTransformations,++ -- * GooglePrivacyDlpV2RedactConfig+ GooglePrivacyDlpV2RedactConfig (..),+ newGooglePrivacyDlpV2RedactConfig,++ -- * GooglePrivacyDlpV2RedactImageRequest+ GooglePrivacyDlpV2RedactImageRequest (..),+ newGooglePrivacyDlpV2RedactImageRequest,++ -- * GooglePrivacyDlpV2RedactImageResponse+ GooglePrivacyDlpV2RedactImageResponse (..),+ newGooglePrivacyDlpV2RedactImageResponse,++ -- * GooglePrivacyDlpV2Regex+ GooglePrivacyDlpV2Regex (..),+ newGooglePrivacyDlpV2Regex,++ -- * GooglePrivacyDlpV2ReidentifyContentRequest+ GooglePrivacyDlpV2ReidentifyContentRequest (..),+ newGooglePrivacyDlpV2ReidentifyContentRequest,++ -- * GooglePrivacyDlpV2ReidentifyContentResponse+ GooglePrivacyDlpV2ReidentifyContentResponse (..),+ newGooglePrivacyDlpV2ReidentifyContentResponse,++ -- * GooglePrivacyDlpV2RelatedResource+ GooglePrivacyDlpV2RelatedResource (..),+ newGooglePrivacyDlpV2RelatedResource,++ -- * GooglePrivacyDlpV2ReplaceDictionaryConfig+ GooglePrivacyDlpV2ReplaceDictionaryConfig (..),+ newGooglePrivacyDlpV2ReplaceDictionaryConfig,++ -- * GooglePrivacyDlpV2ReplaceValueConfig+ GooglePrivacyDlpV2ReplaceValueConfig (..),+ newGooglePrivacyDlpV2ReplaceValueConfig,++ -- * GooglePrivacyDlpV2ReplaceWithInfoTypeConfig+ GooglePrivacyDlpV2ReplaceWithInfoTypeConfig (..),+ newGooglePrivacyDlpV2ReplaceWithInfoTypeConfig,++ -- * GooglePrivacyDlpV2RequestedDeidentifyOptions+ GooglePrivacyDlpV2RequestedDeidentifyOptions (..),+ newGooglePrivacyDlpV2RequestedDeidentifyOptions,++ -- * GooglePrivacyDlpV2RequestedOptions+ GooglePrivacyDlpV2RequestedOptions (..),+ newGooglePrivacyDlpV2RequestedOptions,++ -- * GooglePrivacyDlpV2RequestedRiskAnalysisOptions+ GooglePrivacyDlpV2RequestedRiskAnalysisOptions (..),+ newGooglePrivacyDlpV2RequestedRiskAnalysisOptions,++ -- * GooglePrivacyDlpV2Result+ GooglePrivacyDlpV2Result (..),+ newGooglePrivacyDlpV2Result,++ -- * GooglePrivacyDlpV2RiskAnalysisJobConfig+ GooglePrivacyDlpV2RiskAnalysisJobConfig (..),+ newGooglePrivacyDlpV2RiskAnalysisJobConfig,++ -- * GooglePrivacyDlpV2Row+ GooglePrivacyDlpV2Row (..),+ newGooglePrivacyDlpV2Row,++ -- * GooglePrivacyDlpV2SaveFindings+ GooglePrivacyDlpV2SaveFindings (..),+ newGooglePrivacyDlpV2SaveFindings,++ -- * GooglePrivacyDlpV2Schedule+ GooglePrivacyDlpV2Schedule (..),+ newGooglePrivacyDlpV2Schedule,++ -- * GooglePrivacyDlpV2SchemaModifiedCadence+ GooglePrivacyDlpV2SchemaModifiedCadence (..),+ newGooglePrivacyDlpV2SchemaModifiedCadence,++ -- * GooglePrivacyDlpV2SearchConnectionsResponse+ GooglePrivacyDlpV2SearchConnectionsResponse (..),+ newGooglePrivacyDlpV2SearchConnectionsResponse,++ -- * GooglePrivacyDlpV2SecretManagerCredential+ GooglePrivacyDlpV2SecretManagerCredential (..),+ newGooglePrivacyDlpV2SecretManagerCredential,++ -- * GooglePrivacyDlpV2SecretsDiscoveryTarget+ GooglePrivacyDlpV2SecretsDiscoveryTarget (..),+ newGooglePrivacyDlpV2SecretsDiscoveryTarget,++ -- * GooglePrivacyDlpV2SelectedInfoTypes+ GooglePrivacyDlpV2SelectedInfoTypes (..),+ newGooglePrivacyDlpV2SelectedInfoTypes,++ -- * GooglePrivacyDlpV2SensitivityScore+ GooglePrivacyDlpV2SensitivityScore (..),+ newGooglePrivacyDlpV2SensitivityScore,++ -- * GooglePrivacyDlpV2StatisticalTable+ GooglePrivacyDlpV2StatisticalTable (..),+ newGooglePrivacyDlpV2StatisticalTable,++ -- * GooglePrivacyDlpV2StorageConfig+ GooglePrivacyDlpV2StorageConfig (..),+ newGooglePrivacyDlpV2StorageConfig,++ -- * GooglePrivacyDlpV2StorageMetadataLabel+ GooglePrivacyDlpV2StorageMetadataLabel (..),+ newGooglePrivacyDlpV2StorageMetadataLabel,++ -- * GooglePrivacyDlpV2StoredInfoType+ GooglePrivacyDlpV2StoredInfoType (..),+ newGooglePrivacyDlpV2StoredInfoType,++ -- * GooglePrivacyDlpV2StoredInfoTypeConfig+ GooglePrivacyDlpV2StoredInfoTypeConfig (..),+ newGooglePrivacyDlpV2StoredInfoTypeConfig,++ -- * GooglePrivacyDlpV2StoredInfoTypeStats+ GooglePrivacyDlpV2StoredInfoTypeStats (..),+ newGooglePrivacyDlpV2StoredInfoTypeStats,++ -- * GooglePrivacyDlpV2StoredInfoTypeVersion+ GooglePrivacyDlpV2StoredInfoTypeVersion (..),+ newGooglePrivacyDlpV2StoredInfoTypeVersion,++ -- * GooglePrivacyDlpV2StoredType+ GooglePrivacyDlpV2StoredType (..),+ newGooglePrivacyDlpV2StoredType,++ -- * GooglePrivacyDlpV2SummaryResult+ GooglePrivacyDlpV2SummaryResult (..),+ newGooglePrivacyDlpV2SummaryResult,++ -- * GooglePrivacyDlpV2SurrogateType+ GooglePrivacyDlpV2SurrogateType (..),+ newGooglePrivacyDlpV2SurrogateType,++ -- * GooglePrivacyDlpV2Table+ GooglePrivacyDlpV2Table (..),+ newGooglePrivacyDlpV2Table,++ -- * GooglePrivacyDlpV2TableDataProfile+ GooglePrivacyDlpV2TableDataProfile (..),+ newGooglePrivacyDlpV2TableDataProfile,++ -- * GooglePrivacyDlpV2TableDataProfile_ResourceLabels+ GooglePrivacyDlpV2TableDataProfile_ResourceLabels (..),+ newGooglePrivacyDlpV2TableDataProfile_ResourceLabels,++ -- * GooglePrivacyDlpV2TableLocation+ GooglePrivacyDlpV2TableLocation (..),+ newGooglePrivacyDlpV2TableLocation,++ -- * GooglePrivacyDlpV2TableOptions+ GooglePrivacyDlpV2TableOptions (..),+ newGooglePrivacyDlpV2TableOptions,++ -- * GooglePrivacyDlpV2TableReference+ GooglePrivacyDlpV2TableReference (..),+ newGooglePrivacyDlpV2TableReference,++ -- * GooglePrivacyDlpV2TagCondition+ GooglePrivacyDlpV2TagCondition (..),+ newGooglePrivacyDlpV2TagCondition,++ -- * GooglePrivacyDlpV2TagResources+ GooglePrivacyDlpV2TagResources (..),+ newGooglePrivacyDlpV2TagResources,++ -- * GooglePrivacyDlpV2TagValue+ GooglePrivacyDlpV2TagValue (..),+ newGooglePrivacyDlpV2TagValue,++ -- * GooglePrivacyDlpV2TaggedField+ GooglePrivacyDlpV2TaggedField (..),+ newGooglePrivacyDlpV2TaggedField,++ -- * GooglePrivacyDlpV2ThrowError+ GooglePrivacyDlpV2ThrowError (..),+ newGooglePrivacyDlpV2ThrowError,++ -- * GooglePrivacyDlpV2TimePartConfig+ GooglePrivacyDlpV2TimePartConfig (..),+ newGooglePrivacyDlpV2TimePartConfig,++ -- * GooglePrivacyDlpV2TimeZone+ GooglePrivacyDlpV2TimeZone (..),+ newGooglePrivacyDlpV2TimeZone,++ -- * GooglePrivacyDlpV2TimespanConfig+ GooglePrivacyDlpV2TimespanConfig (..),+ newGooglePrivacyDlpV2TimespanConfig,++ -- * GooglePrivacyDlpV2TransformationConfig+ GooglePrivacyDlpV2TransformationConfig (..),+ newGooglePrivacyDlpV2TransformationConfig,++ -- * GooglePrivacyDlpV2TransformationDescription+ GooglePrivacyDlpV2TransformationDescription (..),+ newGooglePrivacyDlpV2TransformationDescription,++ -- * GooglePrivacyDlpV2TransformationDetails+ GooglePrivacyDlpV2TransformationDetails (..),+ newGooglePrivacyDlpV2TransformationDetails,++ -- * GooglePrivacyDlpV2TransformationDetailsStorageConfig+ GooglePrivacyDlpV2TransformationDetailsStorageConfig (..),+ newGooglePrivacyDlpV2TransformationDetailsStorageConfig,++ -- * GooglePrivacyDlpV2TransformationErrorHandling+ GooglePrivacyDlpV2TransformationErrorHandling (..),+ newGooglePrivacyDlpV2TransformationErrorHandling,++ -- * GooglePrivacyDlpV2TransformationLocation+ GooglePrivacyDlpV2TransformationLocation (..),+ newGooglePrivacyDlpV2TransformationLocation,++ -- * GooglePrivacyDlpV2TransformationOverview+ GooglePrivacyDlpV2TransformationOverview (..),+ newGooglePrivacyDlpV2TransformationOverview,++ -- * GooglePrivacyDlpV2TransformationResultStatus+ GooglePrivacyDlpV2TransformationResultStatus (..),+ newGooglePrivacyDlpV2TransformationResultStatus,++ -- * GooglePrivacyDlpV2TransformationSummary+ GooglePrivacyDlpV2TransformationSummary (..),+ newGooglePrivacyDlpV2TransformationSummary,++ -- * GooglePrivacyDlpV2TransientCryptoKey+ GooglePrivacyDlpV2TransientCryptoKey (..),+ newGooglePrivacyDlpV2TransientCryptoKey,++ -- * GooglePrivacyDlpV2Trigger+ GooglePrivacyDlpV2Trigger (..),+ newGooglePrivacyDlpV2Trigger,++ -- * GooglePrivacyDlpV2UnwrappedCryptoKey+ GooglePrivacyDlpV2UnwrappedCryptoKey (..),+ newGooglePrivacyDlpV2UnwrappedCryptoKey,++ -- * GooglePrivacyDlpV2UpdateConnectionRequest+ GooglePrivacyDlpV2UpdateConnectionRequest (..),+ newGooglePrivacyDlpV2UpdateConnectionRequest,++ -- * GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest+ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest (..),+ newGooglePrivacyDlpV2UpdateDeidentifyTemplateRequest,++ -- * GooglePrivacyDlpV2UpdateDiscoveryConfigRequest+ GooglePrivacyDlpV2UpdateDiscoveryConfigRequest (..),+ newGooglePrivacyDlpV2UpdateDiscoveryConfigRequest,++ -- * GooglePrivacyDlpV2UpdateInspectTemplateRequest+ GooglePrivacyDlpV2UpdateInspectTemplateRequest (..),+ newGooglePrivacyDlpV2UpdateInspectTemplateRequest,++ -- * GooglePrivacyDlpV2UpdateJobTriggerRequest+ GooglePrivacyDlpV2UpdateJobTriggerRequest (..),+ newGooglePrivacyDlpV2UpdateJobTriggerRequest,++ -- * GooglePrivacyDlpV2UpdateStoredInfoTypeRequest+ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest (..),+ newGooglePrivacyDlpV2UpdateStoredInfoTypeRequest,++ -- * GooglePrivacyDlpV2Value+ GooglePrivacyDlpV2Value (..),+ newGooglePrivacyDlpV2Value,++ -- * GooglePrivacyDlpV2ValueFrequency+ GooglePrivacyDlpV2ValueFrequency (..),+ newGooglePrivacyDlpV2ValueFrequency,++ -- * GooglePrivacyDlpV2VersionDescription+ GooglePrivacyDlpV2VersionDescription (..),+ newGooglePrivacyDlpV2VersionDescription,++ -- * GooglePrivacyDlpV2VertexDatasetCollection+ GooglePrivacyDlpV2VertexDatasetCollection (..),+ newGooglePrivacyDlpV2VertexDatasetCollection,++ -- * GooglePrivacyDlpV2VertexDatasetDiscoveryTarget+ GooglePrivacyDlpV2VertexDatasetDiscoveryTarget (..),+ newGooglePrivacyDlpV2VertexDatasetDiscoveryTarget,++ -- * GooglePrivacyDlpV2VertexDatasetRegex+ GooglePrivacyDlpV2VertexDatasetRegex (..),+ newGooglePrivacyDlpV2VertexDatasetRegex,++ -- * GooglePrivacyDlpV2VertexDatasetRegexes+ GooglePrivacyDlpV2VertexDatasetRegexes (..),+ newGooglePrivacyDlpV2VertexDatasetRegexes,++ -- * GooglePrivacyDlpV2VertexDatasetResourceReference+ GooglePrivacyDlpV2VertexDatasetResourceReference (..),+ newGooglePrivacyDlpV2VertexDatasetResourceReference,++ -- * GooglePrivacyDlpV2WordList+ GooglePrivacyDlpV2WordList (..),+ newGooglePrivacyDlpV2WordList,++ -- * GoogleProtobufEmpty+ GoogleProtobufEmpty (..),+ newGoogleProtobufEmpty,++ -- * GoogleRpcStatus+ GoogleRpcStatus (..),+ newGoogleRpcStatus,++ -- * GoogleRpcStatus_DetailsItem+ GoogleRpcStatus_DetailsItem (..),+ newGoogleRpcStatus_DetailsItem,++ -- * GoogleTypeDate+ GoogleTypeDate (..),+ newGoogleTypeDate,++ -- * GoogleTypeTimeOfDay+ GoogleTypeTimeOfDay (..),+ newGoogleTypeTimeOfDay,+ )+where++import Gogol.DLP.Internal.Sum+import Gogol.Prelude qualified as Core++-- | A task to execute on the completion of a job. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/concepts-actions to learn more.+--+-- /See:/ 'newGooglePrivacyDlpV2Action' smart constructor.+data GooglePrivacyDlpV2Action = GooglePrivacyDlpV2Action+ { -- | Create a de-identified copy of the input data.+ deidentify :: (Core.Maybe GooglePrivacyDlpV2Deidentify),+ -- | Sends an email when the job completes. The email goes to IAM project owners and technical <https://cloud.google.com/resource-manager/docs/managing-notification-contacts Essential Contacts>.+ jobNotificationEmails :: (Core.Maybe GooglePrivacyDlpV2JobNotificationEmails),+ -- | Publish a notification to a Pub\/Sub topic.+ pubSub :: (Core.Maybe GooglePrivacyDlpV2PublishToPubSub),+ -- | Publish findings to Cloud Datahub.+ publishFindingsToCloudDataCatalog :: (Core.Maybe GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog),+ -- | Publish summary to Cloud Security Command Center (Alpha).+ publishSummaryToCscc :: (Core.Maybe GooglePrivacyDlpV2PublishSummaryToCscc),+ -- | Enable Stackdriver metric dlp.googleapis.com\/finding_count.+ publishToStackdriver :: (Core.Maybe GooglePrivacyDlpV2PublishToStackdriver),+ -- | Save resulting findings in a provided location.+ saveFindings :: (Core.Maybe GooglePrivacyDlpV2SaveFindings)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Action' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Action ::+ GooglePrivacyDlpV2Action+newGooglePrivacyDlpV2Action =+ GooglePrivacyDlpV2Action+ { deidentify = Core.Nothing,+ jobNotificationEmails = Core.Nothing,+ pubSub = Core.Nothing,+ publishFindingsToCloudDataCatalog = Core.Nothing,+ publishSummaryToCscc = Core.Nothing,+ publishToStackdriver = Core.Nothing,+ saveFindings = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Action where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Action"+ ( \o ->+ GooglePrivacyDlpV2Action+ Core.<$> (o Core..:? "deidentify")+ Core.<*> (o Core..:? "jobNotificationEmails")+ Core.<*> (o Core..:? "pubSub")+ Core.<*> (o Core..:? "publishFindingsToCloudDataCatalog")+ Core.<*> (o Core..:? "publishSummaryToCscc")+ Core.<*> (o Core..:? "publishToStackdriver")+ Core.<*> (o Core..:? "saveFindings")+ )++instance Core.ToJSON GooglePrivacyDlpV2Action where+ toJSON GooglePrivacyDlpV2Action {..} =+ Core.object+ ( Core.catMaybes+ [ ("deidentify" Core..=) Core.<$> deidentify,+ ("jobNotificationEmails" Core..=) Core.<$> jobNotificationEmails,+ ("pubSub" Core..=) Core.<$> pubSub,+ ("publishFindingsToCloudDataCatalog" Core..=)+ Core.<$> publishFindingsToCloudDataCatalog,+ ("publishSummaryToCscc" Core..=) Core.<$> publishSummaryToCscc,+ ("publishToStackdriver" Core..=) Core.<$> publishToStackdriver,+ ("saveFindings" Core..=) Core.<$> saveFindings+ ]+ )++-- | The results of an Action.+--+-- /See:/ 'newGooglePrivacyDlpV2ActionDetails' smart constructor.+newtype GooglePrivacyDlpV2ActionDetails = GooglePrivacyDlpV2ActionDetails+ { -- | Outcome of a de-identification action.+ deidentifyDetails :: (Core.Maybe GooglePrivacyDlpV2DeidentifyDataSourceDetails)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ActionDetails' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ActionDetails ::+ GooglePrivacyDlpV2ActionDetails+newGooglePrivacyDlpV2ActionDetails =+ GooglePrivacyDlpV2ActionDetails {deidentifyDetails = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2ActionDetails where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ActionDetails"+ ( \o ->+ GooglePrivacyDlpV2ActionDetails+ Core.<$> (o Core..:? "deidentifyDetails")+ )++instance Core.ToJSON GooglePrivacyDlpV2ActionDetails where+ toJSON GooglePrivacyDlpV2ActionDetails {..} =+ Core.object+ ( Core.catMaybes+ [("deidentifyDetails" Core..=) Core.<$> deidentifyDetails]+ )++-- | Request message for ActivateJobTrigger.+--+-- /See:/ 'newGooglePrivacyDlpV2ActivateJobTriggerRequest' smart constructor.+data GooglePrivacyDlpV2ActivateJobTriggerRequest = GooglePrivacyDlpV2ActivateJobTriggerRequest+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ActivateJobTriggerRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ActivateJobTriggerRequest ::+ GooglePrivacyDlpV2ActivateJobTriggerRequest+newGooglePrivacyDlpV2ActivateJobTriggerRequest =+ GooglePrivacyDlpV2ActivateJobTriggerRequest++instance Core.FromJSON GooglePrivacyDlpV2ActivateJobTriggerRequest where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ActivateJobTriggerRequest"+ (\o -> Core.pure GooglePrivacyDlpV2ActivateJobTriggerRequest)++instance Core.ToJSON GooglePrivacyDlpV2ActivateJobTriggerRequest where+ toJSON = Core.const Core.emptyObject++-- | Apply transformation to all findings.+--+-- /See:/ 'newGooglePrivacyDlpV2AllInfoTypes' smart constructor.+data GooglePrivacyDlpV2AllInfoTypes = GooglePrivacyDlpV2AllInfoTypes+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2AllInfoTypes' with the minimum fields required to make a request.+newGooglePrivacyDlpV2AllInfoTypes ::+ GooglePrivacyDlpV2AllInfoTypes+newGooglePrivacyDlpV2AllInfoTypes = GooglePrivacyDlpV2AllInfoTypes++instance Core.FromJSON GooglePrivacyDlpV2AllInfoTypes where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2AllInfoTypes"+ (\o -> Core.pure GooglePrivacyDlpV2AllInfoTypes)++instance Core.ToJSON GooglePrivacyDlpV2AllInfoTypes where+ toJSON = Core.const Core.emptyObject++-- | Catch-all for all other tables not specified by other filters. Should always be last, except for single-table configurations, which will only have a TableReference target.+--+-- /See:/ 'newGooglePrivacyDlpV2AllOtherBigQueryTables' smart constructor.+data GooglePrivacyDlpV2AllOtherBigQueryTables = GooglePrivacyDlpV2AllOtherBigQueryTables+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2AllOtherBigQueryTables' with the minimum fields required to make a request.+newGooglePrivacyDlpV2AllOtherBigQueryTables ::+ GooglePrivacyDlpV2AllOtherBigQueryTables+newGooglePrivacyDlpV2AllOtherBigQueryTables =+ GooglePrivacyDlpV2AllOtherBigQueryTables++instance Core.FromJSON GooglePrivacyDlpV2AllOtherBigQueryTables where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2AllOtherBigQueryTables"+ (\o -> Core.pure GooglePrivacyDlpV2AllOtherBigQueryTables)++instance Core.ToJSON GooglePrivacyDlpV2AllOtherBigQueryTables where+ toJSON = Core.const Core.emptyObject++-- | Match database resources not covered by any other filter.+--+-- /See:/ 'newGooglePrivacyDlpV2AllOtherDatabaseResources' smart constructor.+data GooglePrivacyDlpV2AllOtherDatabaseResources = GooglePrivacyDlpV2AllOtherDatabaseResources+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2AllOtherDatabaseResources' with the minimum fields required to make a request.+newGooglePrivacyDlpV2AllOtherDatabaseResources ::+ GooglePrivacyDlpV2AllOtherDatabaseResources+newGooglePrivacyDlpV2AllOtherDatabaseResources =+ GooglePrivacyDlpV2AllOtherDatabaseResources++instance Core.FromJSON GooglePrivacyDlpV2AllOtherDatabaseResources where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2AllOtherDatabaseResources"+ (\o -> Core.pure GooglePrivacyDlpV2AllOtherDatabaseResources)++instance Core.ToJSON GooglePrivacyDlpV2AllOtherDatabaseResources where+ toJSON = Core.const Core.emptyObject++-- | Match discovery resources not covered by any other filter.+--+-- /See:/ 'newGooglePrivacyDlpV2AllOtherResources' smart constructor.+data GooglePrivacyDlpV2AllOtherResources = GooglePrivacyDlpV2AllOtherResources+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2AllOtherResources' with the minimum fields required to make a request.+newGooglePrivacyDlpV2AllOtherResources ::+ GooglePrivacyDlpV2AllOtherResources+newGooglePrivacyDlpV2AllOtherResources =+ GooglePrivacyDlpV2AllOtherResources++instance Core.FromJSON GooglePrivacyDlpV2AllOtherResources where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2AllOtherResources"+ (\o -> Core.pure GooglePrivacyDlpV2AllOtherResources)++instance Core.ToJSON GooglePrivacyDlpV2AllOtherResources where+ toJSON = Core.const Core.emptyObject++-- | Apply to all text.+--+-- /See:/ 'newGooglePrivacyDlpV2AllText' smart constructor.+data GooglePrivacyDlpV2AllText = GooglePrivacyDlpV2AllText+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2AllText' with the minimum fields required to make a request.+newGooglePrivacyDlpV2AllText ::+ GooglePrivacyDlpV2AllText+newGooglePrivacyDlpV2AllText = GooglePrivacyDlpV2AllText++instance Core.FromJSON GooglePrivacyDlpV2AllText where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2AllText"+ (\o -> Core.pure GooglePrivacyDlpV2AllText)++instance Core.ToJSON GooglePrivacyDlpV2AllText where+ toJSON = Core.const Core.emptyObject++-- | Amazon S3 bucket.+--+-- /See:/ 'newGooglePrivacyDlpV2AmazonS3Bucket' smart constructor.+data GooglePrivacyDlpV2AmazonS3Bucket = GooglePrivacyDlpV2AmazonS3Bucket+ { -- | The AWS account.+ awsAccount :: (Core.Maybe GooglePrivacyDlpV2AwsAccount),+ -- | Required. The bucket name.+ bucketName :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2AmazonS3Bucket' with the minimum fields required to make a request.+newGooglePrivacyDlpV2AmazonS3Bucket ::+ GooglePrivacyDlpV2AmazonS3Bucket+newGooglePrivacyDlpV2AmazonS3Bucket =+ GooglePrivacyDlpV2AmazonS3Bucket+ { awsAccount = Core.Nothing,+ bucketName = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2AmazonS3Bucket where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2AmazonS3Bucket"+ ( \o ->+ GooglePrivacyDlpV2AmazonS3Bucket+ Core.<$> (o Core..:? "awsAccount")+ Core.<*> (o Core..:? "bucketName")+ )++instance Core.ToJSON GooglePrivacyDlpV2AmazonS3Bucket where+ toJSON GooglePrivacyDlpV2AmazonS3Bucket {..} =+ Core.object+ ( Core.catMaybes+ [ ("awsAccount" Core..=) Core.<$> awsAccount,+ ("bucketName" Core..=) Core.<$> bucketName+ ]+ )++-- | Amazon S3 bucket conditions.+--+-- /See:/ 'newGooglePrivacyDlpV2AmazonS3BucketConditions' smart constructor.+data GooglePrivacyDlpV2AmazonS3BucketConditions = GooglePrivacyDlpV2AmazonS3BucketConditions+ { -- | Optional. Bucket types that should be profiled. Optional. Defaults to TYPE/ALL/SUPPORTED if unspecified.+ bucketTypes ::+ ( Core.Maybe+ [GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem]+ ),+ -- | Optional. Object classes that should be profiled. Optional. Defaults to ALL/SUPPORTED/CLASSES if unspecified.+ objectStorageClasses ::+ ( Core.Maybe+ [GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem]+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2AmazonS3BucketConditions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2AmazonS3BucketConditions ::+ GooglePrivacyDlpV2AmazonS3BucketConditions+newGooglePrivacyDlpV2AmazonS3BucketConditions =+ GooglePrivacyDlpV2AmazonS3BucketConditions+ { bucketTypes =+ Core.Nothing,+ objectStorageClasses = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2AmazonS3BucketConditions where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2AmazonS3BucketConditions"+ ( \o ->+ GooglePrivacyDlpV2AmazonS3BucketConditions+ Core.<$> (o Core..:? "bucketTypes")+ Core.<*> (o Core..:? "objectStorageClasses")+ )++instance Core.ToJSON GooglePrivacyDlpV2AmazonS3BucketConditions where+ toJSON GooglePrivacyDlpV2AmazonS3BucketConditions {..} =+ Core.object+ ( Core.catMaybes+ [ ("bucketTypes" Core..=) Core.<$> bucketTypes,+ ("objectStorageClasses" Core..=) Core.<$> objectStorageClasses+ ]+ )++-- | Amazon S3 bucket regex.+--+-- /See:/ 'newGooglePrivacyDlpV2AmazonS3BucketRegex' smart constructor.+data GooglePrivacyDlpV2AmazonS3BucketRegex = GooglePrivacyDlpV2AmazonS3BucketRegex+ { -- | The AWS account regex.+ awsAccountRegex :: (Core.Maybe GooglePrivacyDlpV2AwsAccountRegex),+ -- | Optional. Regex to test the bucket name against. If empty, all buckets match.+ bucketNameRegex :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2AmazonS3BucketRegex' with the minimum fields required to make a request.+newGooglePrivacyDlpV2AmazonS3BucketRegex ::+ GooglePrivacyDlpV2AmazonS3BucketRegex+newGooglePrivacyDlpV2AmazonS3BucketRegex =+ GooglePrivacyDlpV2AmazonS3BucketRegex+ { awsAccountRegex =+ Core.Nothing,+ bucketNameRegex = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2AmazonS3BucketRegex where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2AmazonS3BucketRegex"+ ( \o ->+ GooglePrivacyDlpV2AmazonS3BucketRegex+ Core.<$> (o Core..:? "awsAccountRegex")+ Core.<*> (o Core..:? "bucketNameRegex")+ )++instance Core.ToJSON GooglePrivacyDlpV2AmazonS3BucketRegex where+ toJSON GooglePrivacyDlpV2AmazonS3BucketRegex {..} =+ Core.object+ ( Core.catMaybes+ [ ("awsAccountRegex" Core..=) Core.<$> awsAccountRegex,+ ("bucketNameRegex" Core..=) Core.<$> bucketNameRegex+ ]+ )++-- | Result of a risk analysis operation request.+--+-- /See:/ 'newGooglePrivacyDlpV2AnalyzeDataSourceRiskDetails' smart constructor.+data GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails = GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails+ { -- | Categorical stats result+ categoricalStatsResult :: (Core.Maybe GooglePrivacyDlpV2CategoricalStatsResult),+ -- | Delta-presence result+ deltaPresenceEstimationResult :: (Core.Maybe GooglePrivacyDlpV2DeltaPresenceEstimationResult),+ -- | K-anonymity result+ kAnonymityResult :: (Core.Maybe GooglePrivacyDlpV2KAnonymityResult),+ -- | K-map result+ kMapEstimationResult :: (Core.Maybe GooglePrivacyDlpV2KMapEstimationResult),+ -- | L-divesity result+ lDiversityResult :: (Core.Maybe GooglePrivacyDlpV2LDiversityResult),+ -- | Numerical stats result+ numericalStatsResult :: (Core.Maybe GooglePrivacyDlpV2NumericalStatsResult),+ -- | The configuration used for this job.+ requestedOptions :: (Core.Maybe GooglePrivacyDlpV2RequestedRiskAnalysisOptions),+ -- | Privacy metric to compute.+ requestedPrivacyMetric :: (Core.Maybe GooglePrivacyDlpV2PrivacyMetric),+ -- | Input dataset to compute metrics over.+ requestedSourceTable :: (Core.Maybe GooglePrivacyDlpV2BigQueryTable)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails' with the minimum fields required to make a request.+newGooglePrivacyDlpV2AnalyzeDataSourceRiskDetails ::+ GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails+newGooglePrivacyDlpV2AnalyzeDataSourceRiskDetails =+ GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails+ { categoricalStatsResult =+ Core.Nothing,+ deltaPresenceEstimationResult = Core.Nothing,+ kAnonymityResult = Core.Nothing,+ kMapEstimationResult = Core.Nothing,+ lDiversityResult = Core.Nothing,+ numericalStatsResult = Core.Nothing,+ requestedOptions = Core.Nothing,+ requestedPrivacyMetric = Core.Nothing,+ requestedSourceTable = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails"+ ( \o ->+ GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails+ Core.<$> (o Core..:? "categoricalStatsResult")+ Core.<*> (o Core..:? "deltaPresenceEstimationResult")+ Core.<*> (o Core..:? "kAnonymityResult")+ Core.<*> (o Core..:? "kMapEstimationResult")+ Core.<*> (o Core..:? "lDiversityResult")+ Core.<*> (o Core..:? "numericalStatsResult")+ Core.<*> (o Core..:? "requestedOptions")+ Core.<*> (o Core..:? "requestedPrivacyMetric")+ Core.<*> (o Core..:? "requestedSourceTable")+ )++instance Core.ToJSON GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails where+ toJSON GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails {..} =+ Core.object+ ( Core.catMaybes+ [ ("categoricalStatsResult" Core..=)+ Core.<$> categoricalStatsResult,+ ("deltaPresenceEstimationResult" Core..=)+ Core.<$> deltaPresenceEstimationResult,+ ("kAnonymityResult" Core..=) Core.<$> kAnonymityResult,+ ("kMapEstimationResult" Core..=) Core.<$> kMapEstimationResult,+ ("lDiversityResult" Core..=) Core.<$> lDiversityResult,+ ("numericalStatsResult" Core..=) Core.<$> numericalStatsResult,+ ("requestedOptions" Core..=) Core.<$> requestedOptions,+ ("requestedPrivacyMetric" Core..=) Core.<$> requestedPrivacyMetric,+ ("requestedSourceTable" Core..=) Core.<$> requestedSourceTable+ ]+ )++-- | An auxiliary table contains statistical information on the relative frequency of different quasi-identifiers values. It has one or several quasi-identifiers columns, and one column that indicates the relative frequency of each quasi-identifier tuple. If a tuple is present in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable).+--+-- /See:/ 'newGooglePrivacyDlpV2AuxiliaryTable' smart constructor.+data GooglePrivacyDlpV2AuxiliaryTable = GooglePrivacyDlpV2AuxiliaryTable+ { -- | Required. Quasi-identifier columns.+ quasiIds :: (Core.Maybe [GooglePrivacyDlpV2QuasiIdField]),+ -- | Required. The relative frequency column must contain a floating-point number between 0 and 1 (inclusive). Null values are assumed to be zero.+ relativeFrequency :: (Core.Maybe GooglePrivacyDlpV2FieldId),+ -- | Required. Auxiliary table location.+ table :: (Core.Maybe GooglePrivacyDlpV2BigQueryTable)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2AuxiliaryTable' with the minimum fields required to make a request.+newGooglePrivacyDlpV2AuxiliaryTable ::+ GooglePrivacyDlpV2AuxiliaryTable+newGooglePrivacyDlpV2AuxiliaryTable =+ GooglePrivacyDlpV2AuxiliaryTable+ { quasiIds = Core.Nothing,+ relativeFrequency = Core.Nothing,+ table = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2AuxiliaryTable where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2AuxiliaryTable"+ ( \o ->+ GooglePrivacyDlpV2AuxiliaryTable+ Core.<$> (o Core..:? "quasiIds")+ Core.<*> (o Core..:? "relativeFrequency")+ Core.<*> (o Core..:? "table")+ )++instance Core.ToJSON GooglePrivacyDlpV2AuxiliaryTable where+ toJSON GooglePrivacyDlpV2AuxiliaryTable {..} =+ Core.object+ ( Core.catMaybes+ [ ("quasiIds" Core..=) Core.<$> quasiIds,+ ("relativeFrequency" Core..=) Core.<$> relativeFrequency,+ ("table" Core..=) Core.<$> table+ ]+ )++-- | AWS account.+--+-- /See:/ 'newGooglePrivacyDlpV2AwsAccount' smart constructor.+newtype GooglePrivacyDlpV2AwsAccount = GooglePrivacyDlpV2AwsAccount+ { -- | Required. AWS account ID.+ accountId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2AwsAccount' with the minimum fields required to make a request.+newGooglePrivacyDlpV2AwsAccount ::+ GooglePrivacyDlpV2AwsAccount+newGooglePrivacyDlpV2AwsAccount =+ GooglePrivacyDlpV2AwsAccount {accountId = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2AwsAccount where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2AwsAccount"+ ( \o ->+ GooglePrivacyDlpV2AwsAccount Core.<$> (o Core..:? "accountId")+ )++instance Core.ToJSON GooglePrivacyDlpV2AwsAccount where+ toJSON GooglePrivacyDlpV2AwsAccount {..} =+ Core.object+ (Core.catMaybes [("accountId" Core..=) Core.<$> accountId])++-- | AWS account regex.+--+-- /See:/ 'newGooglePrivacyDlpV2AwsAccountRegex' smart constructor.+newtype GooglePrivacyDlpV2AwsAccountRegex = GooglePrivacyDlpV2AwsAccountRegex+ { -- | Optional. Regex to test the AWS account ID against. If empty, all accounts match.+ accountIdRegex :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2AwsAccountRegex' with the minimum fields required to make a request.+newGooglePrivacyDlpV2AwsAccountRegex ::+ GooglePrivacyDlpV2AwsAccountRegex+newGooglePrivacyDlpV2AwsAccountRegex =+ GooglePrivacyDlpV2AwsAccountRegex {accountIdRegex = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2AwsAccountRegex where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2AwsAccountRegex"+ ( \o ->+ GooglePrivacyDlpV2AwsAccountRegex+ Core.<$> (o Core..:? "accountIdRegex")+ )++instance Core.ToJSON GooglePrivacyDlpV2AwsAccountRegex where+ toJSON GooglePrivacyDlpV2AwsAccountRegex {..} =+ Core.object+ ( Core.catMaybes+ [("accountIdRegex" Core..=) Core.<$> accountIdRegex]+ )++-- | The AWS starting location for discovery.+--+-- /See:/ 'newGooglePrivacyDlpV2AwsDiscoveryStartingLocation' smart constructor.+data GooglePrivacyDlpV2AwsDiscoveryStartingLocation = GooglePrivacyDlpV2AwsDiscoveryStartingLocation+ { -- | The AWS account ID that this discovery config applies to. Within an AWS organization, you can find the AWS account ID inside an AWS account ARN. Example: arn:{partition}:organizations::{management/account/id}:account\/{org/id}\/{account/id}+ accountId :: (Core.Maybe Core.Text),+ -- | All AWS assets stored in Asset Inventory that didn\'t match other AWS discovery configs.+ allAssetInventoryAssets :: (Core.Maybe Core.Bool)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2AwsDiscoveryStartingLocation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2AwsDiscoveryStartingLocation ::+ GooglePrivacyDlpV2AwsDiscoveryStartingLocation+newGooglePrivacyDlpV2AwsDiscoveryStartingLocation =+ GooglePrivacyDlpV2AwsDiscoveryStartingLocation+ { accountId =+ Core.Nothing,+ allAssetInventoryAssets = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2AwsDiscoveryStartingLocation+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2AwsDiscoveryStartingLocation"+ ( \o ->+ GooglePrivacyDlpV2AwsDiscoveryStartingLocation+ Core.<$> (o Core..:? "accountId")+ Core.<*> (o Core..:? "allAssetInventoryAssets")+ )++instance Core.ToJSON GooglePrivacyDlpV2AwsDiscoveryStartingLocation where+ toJSON GooglePrivacyDlpV2AwsDiscoveryStartingLocation {..} =+ Core.object+ ( Core.catMaybes+ [ ("accountId" Core..=) Core.<$> accountId,+ ("allAssetInventoryAssets" Core..=)+ Core.<$> allAssetInventoryAssets+ ]+ )++-- | Target used to match against for discovery with BigQuery tables+--+-- /See:/ 'newGooglePrivacyDlpV2BigQueryDiscoveryTarget' smart constructor.+data GooglePrivacyDlpV2BigQueryDiscoveryTarget = GooglePrivacyDlpV2BigQueryDiscoveryTarget+ { -- | How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.+ cadence :: (Core.Maybe GooglePrivacyDlpV2DiscoveryGenerationCadence),+ -- | In addition to matching the filter, these conditions must be true before a profile is generated.+ conditions :: (Core.Maybe GooglePrivacyDlpV2DiscoveryBigQueryConditions),+ -- | Tables that match this filter will not have profiles created.+ disabled :: (Core.Maybe GooglePrivacyDlpV2Disabled),+ -- | Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.+ filter :: (Core.Maybe GooglePrivacyDlpV2DiscoveryBigQueryFilter)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2BigQueryDiscoveryTarget' with the minimum fields required to make a request.+newGooglePrivacyDlpV2BigQueryDiscoveryTarget ::+ GooglePrivacyDlpV2BigQueryDiscoveryTarget+newGooglePrivacyDlpV2BigQueryDiscoveryTarget =+ GooglePrivacyDlpV2BigQueryDiscoveryTarget+ { cadence = Core.Nothing,+ conditions = Core.Nothing,+ disabled = Core.Nothing,+ filter = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2BigQueryDiscoveryTarget where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2BigQueryDiscoveryTarget"+ ( \o ->+ GooglePrivacyDlpV2BigQueryDiscoveryTarget+ Core.<$> (o Core..:? "cadence")+ Core.<*> (o Core..:? "conditions")+ Core.<*> (o Core..:? "disabled")+ Core.<*> (o Core..:? "filter")+ )++instance Core.ToJSON GooglePrivacyDlpV2BigQueryDiscoveryTarget where+ toJSON GooglePrivacyDlpV2BigQueryDiscoveryTarget {..} =+ Core.object+ ( Core.catMaybes+ [ ("cadence" Core..=) Core.<$> cadence,+ ("conditions" Core..=) Core.<$> conditions,+ ("disabled" Core..=) Core.<$> disabled,+ ("filter" Core..=) Core.<$> filter+ ]+ )++-- | Message defining a field of a BigQuery table.+--+-- /See:/ 'newGooglePrivacyDlpV2BigQueryField' smart constructor.+data GooglePrivacyDlpV2BigQueryField = GooglePrivacyDlpV2BigQueryField+ { -- | Designated field in the BigQuery table.+ field :: (Core.Maybe GooglePrivacyDlpV2FieldId),+ -- | Source table of the field.+ table :: (Core.Maybe GooglePrivacyDlpV2BigQueryTable)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2BigQueryField' with the minimum fields required to make a request.+newGooglePrivacyDlpV2BigQueryField ::+ GooglePrivacyDlpV2BigQueryField+newGooglePrivacyDlpV2BigQueryField =+ GooglePrivacyDlpV2BigQueryField+ { field = Core.Nothing,+ table = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2BigQueryField where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2BigQueryField"+ ( \o ->+ GooglePrivacyDlpV2BigQueryField+ Core.<$> (o Core..:? "field")+ Core.<*> (o Core..:? "table")+ )++instance Core.ToJSON GooglePrivacyDlpV2BigQueryField where+ toJSON GooglePrivacyDlpV2BigQueryField {..} =+ Core.object+ ( Core.catMaybes+ [ ("field" Core..=) Core.<$> field,+ ("table" Core..=) Core.<$> table+ ]+ )++-- | Row key for identifying a record in BigQuery table.+--+-- /See:/ 'newGooglePrivacyDlpV2BigQueryKey' smart constructor.+data GooglePrivacyDlpV2BigQueryKey = GooglePrivacyDlpV2BigQueryKey+ { -- | Row number inferred at the time the table was scanned. This value is nondeterministic, cannot be queried, and may be null for inspection jobs. To locate findings within a table, specify @inspect_job.storage_config.big_query_options.identifying_fields@ in @CreateDlpJobRequest@.+ rowNumber :: (Core.Maybe Core.Int64),+ -- | Complete BigQuery table reference.+ tableReference :: (Core.Maybe GooglePrivacyDlpV2BigQueryTable)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2BigQueryKey' with the minimum fields required to make a request.+newGooglePrivacyDlpV2BigQueryKey ::+ GooglePrivacyDlpV2BigQueryKey+newGooglePrivacyDlpV2BigQueryKey =+ GooglePrivacyDlpV2BigQueryKey+ { rowNumber = Core.Nothing,+ tableReference = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2BigQueryKey where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2BigQueryKey"+ ( \o ->+ GooglePrivacyDlpV2BigQueryKey+ Core.<$> (o Core..:? "rowNumber" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "tableReference")+ )++instance Core.ToJSON GooglePrivacyDlpV2BigQueryKey where+ toJSON GooglePrivacyDlpV2BigQueryKey {..} =+ Core.object+ ( Core.catMaybes+ [ ("rowNumber" Core..=) Core.. Core.AsText Core.<$> rowNumber,+ ("tableReference" Core..=) Core.<$> tableReference+ ]+ )++-- | Options defining BigQuery table and row identifiers.+--+-- /See:/ 'newGooglePrivacyDlpV2BigQueryOptions' smart constructor.+data GooglePrivacyDlpV2BigQueryOptions = GooglePrivacyDlpV2BigQueryOptions+ { -- | References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings. When inspecting a table, we recommend that you inspect all columns. Otherwise, findings might be affected because hints from excluded columns will not be used.+ excludedFields :: (Core.Maybe [GooglePrivacyDlpV2FieldId]),+ -- | Table fields that may uniquely identify a row within the table. When @actions.saveFindings.outputConfig.table@ is specified, the values of columns specified here are available in the output table under @location.content_locations.record_location.record_key.id_values@. Nested fields such as @person.birthdate.year@ are allowed.+ identifyingFields :: (Core.Maybe [GooglePrivacyDlpV2FieldId]),+ -- | Limit scanning only to these fields. When inspecting a table, we recommend that you inspect all columns. Otherwise, findings might be affected because hints from excluded columns will not be used.+ includedFields :: (Core.Maybe [GooglePrivacyDlpV2FieldId]),+ -- | Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted. If not set, or if set to 0, all rows will be scanned. Only one of rows/limit and rows/limit_percent can be specified. Cannot be used in conjunction with TimespanConfig.+ rowsLimit :: (Core.Maybe Core.Int64),+ -- | Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of rows/limit and rows/limit_percent can be specified. Cannot be used in conjunction with TimespanConfig. Caution: A <https://cloud.google.com/sensitive-data-protection/docs/known-issues#bq-sampling known issue> is causing the @rowsLimitPercent@ field to behave unexpectedly. We recommend using @rowsLimit@ instead.+ rowsLimitPercent :: (Core.Maybe Core.Int32),+ -- | How to sample the data.+ sampleMethod :: (Core.Maybe GooglePrivacyDlpV2BigQueryOptions_SampleMethod),+ -- | Complete BigQuery table reference.+ tableReference :: (Core.Maybe GooglePrivacyDlpV2BigQueryTable)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2BigQueryOptions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2BigQueryOptions ::+ GooglePrivacyDlpV2BigQueryOptions+newGooglePrivacyDlpV2BigQueryOptions =+ GooglePrivacyDlpV2BigQueryOptions+ { excludedFields = Core.Nothing,+ identifyingFields = Core.Nothing,+ includedFields = Core.Nothing,+ rowsLimit = Core.Nothing,+ rowsLimitPercent = Core.Nothing,+ sampleMethod = Core.Nothing,+ tableReference = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2BigQueryOptions where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2BigQueryOptions"+ ( \o ->+ GooglePrivacyDlpV2BigQueryOptions+ Core.<$> (o Core..:? "excludedFields")+ Core.<*> (o Core..:? "identifyingFields")+ Core.<*> (o Core..:? "includedFields")+ Core.<*> (o Core..:? "rowsLimit" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "rowsLimitPercent")+ Core.<*> (o Core..:? "sampleMethod")+ Core.<*> (o Core..:? "tableReference")+ )++instance Core.ToJSON GooglePrivacyDlpV2BigQueryOptions where+ toJSON GooglePrivacyDlpV2BigQueryOptions {..} =+ Core.object+ ( Core.catMaybes+ [ ("excludedFields" Core..=) Core.<$> excludedFields,+ ("identifyingFields" Core..=) Core.<$> identifyingFields,+ ("includedFields" Core..=) Core.<$> includedFields,+ ("rowsLimit" Core..=) Core.. Core.AsText Core.<$> rowsLimit,+ ("rowsLimitPercent" Core..=) Core.<$> rowsLimitPercent,+ ("sampleMethod" Core..=) Core.<$> sampleMethod,+ ("tableReference" Core..=) Core.<$> tableReference+ ]+ )++-- | A pattern to match against one or more tables, datasets, or projects that contain BigQuery tables. At least one pattern must be specified. Regular expressions use RE2 <https://github.com/google/re2/wiki/Syntax syntax>; a guide can be found under the google\/re2 repository on GitHub.+--+-- /See:/ 'newGooglePrivacyDlpV2BigQueryRegex' smart constructor.+data GooglePrivacyDlpV2BigQueryRegex = GooglePrivacyDlpV2BigQueryRegex+ { -- | If unset, this property matches all datasets.+ datasetIdRegex :: (Core.Maybe Core.Text),+ -- | For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.+ projectIdRegex :: (Core.Maybe Core.Text),+ -- | If unset, this property matches all tables.+ tableIdRegex :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2BigQueryRegex' with the minimum fields required to make a request.+newGooglePrivacyDlpV2BigQueryRegex ::+ GooglePrivacyDlpV2BigQueryRegex+newGooglePrivacyDlpV2BigQueryRegex =+ GooglePrivacyDlpV2BigQueryRegex+ { datasetIdRegex = Core.Nothing,+ projectIdRegex = Core.Nothing,+ tableIdRegex = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2BigQueryRegex where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2BigQueryRegex"+ ( \o ->+ GooglePrivacyDlpV2BigQueryRegex+ Core.<$> (o Core..:? "datasetIdRegex")+ Core.<*> (o Core..:? "projectIdRegex")+ Core.<*> (o Core..:? "tableIdRegex")+ )++instance Core.ToJSON GooglePrivacyDlpV2BigQueryRegex where+ toJSON GooglePrivacyDlpV2BigQueryRegex {..} =+ Core.object+ ( Core.catMaybes+ [ ("datasetIdRegex" Core..=) Core.<$> datasetIdRegex,+ ("projectIdRegex" Core..=) Core.<$> projectIdRegex,+ ("tableIdRegex" Core..=) Core.<$> tableIdRegex+ ]+ )++-- | A collection of regular expressions to determine what tables to match against.+--+-- /See:/ 'newGooglePrivacyDlpV2BigQueryRegexes' smart constructor.+newtype GooglePrivacyDlpV2BigQueryRegexes = GooglePrivacyDlpV2BigQueryRegexes+ { -- | A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.+ patterns :: (Core.Maybe [GooglePrivacyDlpV2BigQueryRegex])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2BigQueryRegexes' with the minimum fields required to make a request.+newGooglePrivacyDlpV2BigQueryRegexes ::+ GooglePrivacyDlpV2BigQueryRegexes+newGooglePrivacyDlpV2BigQueryRegexes =+ GooglePrivacyDlpV2BigQueryRegexes {patterns = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2BigQueryRegexes where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2BigQueryRegexes"+ ( \o ->+ GooglePrivacyDlpV2BigQueryRegexes Core.<$> (o Core..:? "patterns")+ )++instance Core.ToJSON GooglePrivacyDlpV2BigQueryRegexes where+ toJSON GooglePrivacyDlpV2BigQueryRegexes {..} =+ Core.object+ (Core.catMaybes [("patterns" Core..=) Core.<$> patterns])++-- | Message defining the location of a BigQuery table. A table is uniquely identified by its project/id, dataset/id, and table_name. Within a query a table is often referenced with a string in the format of: @:.@ or @..@.+--+-- /See:/ 'newGooglePrivacyDlpV2BigQueryTable' smart constructor.+data GooglePrivacyDlpV2BigQueryTable = GooglePrivacyDlpV2BigQueryTable+ { -- | Dataset ID of the table.+ datasetId :: (Core.Maybe Core.Text),+ -- | The Google Cloud project ID of the project containing the table. If omitted, project ID is inferred from the API call.+ projectId :: (Core.Maybe Core.Text),+ -- | Name of the table.+ tableId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2BigQueryTable' with the minimum fields required to make a request.+newGooglePrivacyDlpV2BigQueryTable ::+ GooglePrivacyDlpV2BigQueryTable+newGooglePrivacyDlpV2BigQueryTable =+ GooglePrivacyDlpV2BigQueryTable+ { datasetId = Core.Nothing,+ projectId = Core.Nothing,+ tableId = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2BigQueryTable where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2BigQueryTable"+ ( \o ->+ GooglePrivacyDlpV2BigQueryTable+ Core.<$> (o Core..:? "datasetId")+ Core.<*> (o Core..:? "projectId")+ Core.<*> (o Core..:? "tableId")+ )++instance Core.ToJSON GooglePrivacyDlpV2BigQueryTable where+ toJSON GooglePrivacyDlpV2BigQueryTable {..} =+ Core.object+ ( Core.catMaybes+ [ ("datasetId" Core..=) Core.<$> datasetId,+ ("projectId" Core..=) Core.<$> projectId,+ ("tableId" Core..=) Core.<$> tableId+ ]+ )++-- | Specifies a collection of BigQuery tables. Used for Discovery.+--+-- /See:/ 'newGooglePrivacyDlpV2BigQueryTableCollection' smart constructor.+newtype GooglePrivacyDlpV2BigQueryTableCollection = GooglePrivacyDlpV2BigQueryTableCollection+ { -- | A collection of regular expressions to match a BigQuery table against.+ includeRegexes :: (Core.Maybe GooglePrivacyDlpV2BigQueryRegexes)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2BigQueryTableCollection' with the minimum fields required to make a request.+newGooglePrivacyDlpV2BigQueryTableCollection ::+ GooglePrivacyDlpV2BigQueryTableCollection+newGooglePrivacyDlpV2BigQueryTableCollection =+ GooglePrivacyDlpV2BigQueryTableCollection+ { includeRegexes =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2BigQueryTableCollection where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2BigQueryTableCollection"+ ( \o ->+ GooglePrivacyDlpV2BigQueryTableCollection+ Core.<$> (o Core..:? "includeRegexes")+ )++instance Core.ToJSON GooglePrivacyDlpV2BigQueryTableCollection where+ toJSON GooglePrivacyDlpV2BigQueryTableCollection {..} =+ Core.object+ ( Core.catMaybes+ [("includeRegexes" Core..=) Core.<$> includeRegexes]+ )++-- | The types of BigQuery tables supported by Cloud DLP.+--+-- /See:/ 'newGooglePrivacyDlpV2BigQueryTableTypes' smart constructor.+newtype GooglePrivacyDlpV2BigQueryTableTypes = GooglePrivacyDlpV2BigQueryTableTypes+ { -- | A set of BigQuery table types.+ types :: (Core.Maybe [GooglePrivacyDlpV2BigQueryTableTypes_TypesItem])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2BigQueryTableTypes' with the minimum fields required to make a request.+newGooglePrivacyDlpV2BigQueryTableTypes ::+ GooglePrivacyDlpV2BigQueryTableTypes+newGooglePrivacyDlpV2BigQueryTableTypes =+ GooglePrivacyDlpV2BigQueryTableTypes {types = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2BigQueryTableTypes where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2BigQueryTableTypes"+ ( \o ->+ GooglePrivacyDlpV2BigQueryTableTypes Core.<$> (o Core..:? "types")+ )++instance Core.ToJSON GooglePrivacyDlpV2BigQueryTableTypes where+ toJSON GooglePrivacyDlpV2BigQueryTableTypes {..} =+ Core.object (Core.catMaybes [("types" Core..=) Core.<$> types])++-- | Bounding box encompassing detected text within an image.+--+-- /See:/ 'newGooglePrivacyDlpV2BoundingBox' smart constructor.+data GooglePrivacyDlpV2BoundingBox = GooglePrivacyDlpV2BoundingBox+ { -- | Height of the bounding box in pixels.+ height :: (Core.Maybe Core.Int32),+ -- | Left coordinate of the bounding box. (0,0) is upper left.+ left :: (Core.Maybe Core.Int32),+ -- | Top coordinate of the bounding box. (0,0) is upper left.+ top :: (Core.Maybe Core.Int32),+ -- | Width of the bounding box in pixels.+ width :: (Core.Maybe Core.Int32)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2BoundingBox' with the minimum fields required to make a request.+newGooglePrivacyDlpV2BoundingBox ::+ GooglePrivacyDlpV2BoundingBox+newGooglePrivacyDlpV2BoundingBox =+ GooglePrivacyDlpV2BoundingBox+ { height = Core.Nothing,+ left = Core.Nothing,+ top = Core.Nothing,+ width = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2BoundingBox where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2BoundingBox"+ ( \o ->+ GooglePrivacyDlpV2BoundingBox+ Core.<$> (o Core..:? "height")+ Core.<*> (o Core..:? "left")+ Core.<*> (o Core..:? "top")+ Core.<*> (o Core..:? "width")+ )++instance Core.ToJSON GooglePrivacyDlpV2BoundingBox where+ toJSON GooglePrivacyDlpV2BoundingBox {..} =+ Core.object+ ( Core.catMaybes+ [ ("height" Core..=) Core.<$> height,+ ("left" Core..=) Core.<$> left,+ ("top" Core..=) Core.<$> top,+ ("width" Core..=) Core.<$> width+ ]+ )++-- | Bucket is represented as a range, along with replacement values.+--+-- /See:/ 'newGooglePrivacyDlpV2Bucket' smart constructor.+data GooglePrivacyDlpV2Bucket = GooglePrivacyDlpV2Bucket+ { -- | Upper bound of the range, exclusive; type must match min.+ max :: (Core.Maybe GooglePrivacyDlpV2Value),+ -- | Lower bound of the range, inclusive. Type should be the same as max if used.+ min :: (Core.Maybe GooglePrivacyDlpV2Value),+ -- | Required. Replacement value for this bucket.+ replacementValue :: (Core.Maybe GooglePrivacyDlpV2Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Bucket' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Bucket ::+ GooglePrivacyDlpV2Bucket+newGooglePrivacyDlpV2Bucket =+ GooglePrivacyDlpV2Bucket+ { max = Core.Nothing,+ min = Core.Nothing,+ replacementValue = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Bucket where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Bucket"+ ( \o ->+ GooglePrivacyDlpV2Bucket+ Core.<$> (o Core..:? "max")+ Core.<*> (o Core..:? "min")+ Core.<*> (o Core..:? "replacementValue")+ )++instance Core.ToJSON GooglePrivacyDlpV2Bucket where+ toJSON GooglePrivacyDlpV2Bucket {..} =+ Core.object+ ( Core.catMaybes+ [ ("max" Core..=) Core.<$> max,+ ("min" Core..=) Core.<$> min,+ ("replacementValue" Core..=) Core.<$> replacementValue+ ]+ )++-- | Generalization function that buckets values based on ranges. The ranges and replacement values are dynamically provided by the user for custom behavior, such as 1-30 -> LOW, 31-65 -> MEDIUM, 66-100 -> HIGH. This can be used on data of type: number, long, string, timestamp. If the bound @Value@ type differs from the type of data being transformed, we will first attempt converting the type of the data to be transformed to match the type of the bound before comparing. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/concepts-bucketing to learn more.+--+-- /See:/ 'newGooglePrivacyDlpV2BucketingConfig' smart constructor.+newtype GooglePrivacyDlpV2BucketingConfig = GooglePrivacyDlpV2BucketingConfig+ { -- | Set of buckets. Ranges must be non-overlapping.+ buckets :: (Core.Maybe [GooglePrivacyDlpV2Bucket])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2BucketingConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2BucketingConfig ::+ GooglePrivacyDlpV2BucketingConfig+newGooglePrivacyDlpV2BucketingConfig =+ GooglePrivacyDlpV2BucketingConfig {buckets = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2BucketingConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2BucketingConfig"+ ( \o ->+ GooglePrivacyDlpV2BucketingConfig Core.<$> (o Core..:? "buckets")+ )++instance Core.ToJSON GooglePrivacyDlpV2BucketingConfig where+ toJSON GooglePrivacyDlpV2BucketingConfig {..} =+ Core.object+ (Core.catMaybes [("buckets" Core..=) Core.<$> buckets])++-- | Container for bytes to inspect or redact.+--+-- /See:/ 'newGooglePrivacyDlpV2ByteContentItem' smart constructor.+data GooglePrivacyDlpV2ByteContentItem = GooglePrivacyDlpV2ByteContentItem+ { -- | Content data to inspect or redact.+ data' :: (Core.Maybe Core.Base64),+ -- | The type of data stored in the bytes string. Default will be TEXT_UTF8.+ type' :: (Core.Maybe GooglePrivacyDlpV2ByteContentItem_Type)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ByteContentItem' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ByteContentItem ::+ GooglePrivacyDlpV2ByteContentItem+newGooglePrivacyDlpV2ByteContentItem =+ GooglePrivacyDlpV2ByteContentItem+ { data' = Core.Nothing,+ type' = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ByteContentItem where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ByteContentItem"+ ( \o ->+ GooglePrivacyDlpV2ByteContentItem+ Core.<$> (o Core..:? "data")+ Core.<*> (o Core..:? "type")+ )++instance Core.ToJSON GooglePrivacyDlpV2ByteContentItem where+ toJSON GooglePrivacyDlpV2ByteContentItem {..} =+ Core.object+ ( Core.catMaybes+ [("data" Core..=) Core.<$> data', ("type" Core..=) Core.<$> type']+ )++-- | The request message for canceling a DLP job.+--+-- /See:/ 'newGooglePrivacyDlpV2CancelDlpJobRequest' smart constructor.+data GooglePrivacyDlpV2CancelDlpJobRequest = GooglePrivacyDlpV2CancelDlpJobRequest+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CancelDlpJobRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CancelDlpJobRequest ::+ GooglePrivacyDlpV2CancelDlpJobRequest+newGooglePrivacyDlpV2CancelDlpJobRequest =+ GooglePrivacyDlpV2CancelDlpJobRequest++instance Core.FromJSON GooglePrivacyDlpV2CancelDlpJobRequest where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CancelDlpJobRequest"+ (\o -> Core.pure GooglePrivacyDlpV2CancelDlpJobRequest)++instance Core.ToJSON GooglePrivacyDlpV2CancelDlpJobRequest where+ toJSON = Core.const Core.emptyObject++-- | Compute numerical stats over an individual column, including number of distinct values and value count distribution.+--+-- /See:/ 'newGooglePrivacyDlpV2CategoricalStatsConfig' smart constructor.+newtype GooglePrivacyDlpV2CategoricalStatsConfig = GooglePrivacyDlpV2CategoricalStatsConfig+ { -- | Field to compute categorical stats on. All column types are supported except for arrays and structs. However, it may be more informative to use NumericalStats when the field type is supported, depending on the data.+ field :: (Core.Maybe GooglePrivacyDlpV2FieldId)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CategoricalStatsConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CategoricalStatsConfig ::+ GooglePrivacyDlpV2CategoricalStatsConfig+newGooglePrivacyDlpV2CategoricalStatsConfig =+ GooglePrivacyDlpV2CategoricalStatsConfig {field = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2CategoricalStatsConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CategoricalStatsConfig"+ ( \o ->+ GooglePrivacyDlpV2CategoricalStatsConfig+ Core.<$> (o Core..:? "field")+ )++instance Core.ToJSON GooglePrivacyDlpV2CategoricalStatsConfig where+ toJSON GooglePrivacyDlpV2CategoricalStatsConfig {..} =+ Core.object (Core.catMaybes [("field" Core..=) Core.<$> field])++-- | Histogram of value frequencies in the column.+--+-- /See:/ 'newGooglePrivacyDlpV2CategoricalStatsHistogramBucket' smart constructor.+data GooglePrivacyDlpV2CategoricalStatsHistogramBucket = GooglePrivacyDlpV2CategoricalStatsHistogramBucket+ { -- | Total number of values in this bucket.+ bucketSize :: (Core.Maybe Core.Int64),+ -- | Total number of distinct values in this bucket.+ bucketValueCount :: (Core.Maybe Core.Int64),+ -- | Sample of value frequencies in this bucket. The total number of values returned per bucket is capped at 20.+ bucketValues :: (Core.Maybe [GooglePrivacyDlpV2ValueFrequency]),+ -- | Lower bound on the value frequency of the values in this bucket.+ valueFrequencyLowerBound :: (Core.Maybe Core.Int64),+ -- | Upper bound on the value frequency of the values in this bucket.+ valueFrequencyUpperBound :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CategoricalStatsHistogramBucket' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CategoricalStatsHistogramBucket ::+ GooglePrivacyDlpV2CategoricalStatsHistogramBucket+newGooglePrivacyDlpV2CategoricalStatsHistogramBucket =+ GooglePrivacyDlpV2CategoricalStatsHistogramBucket+ { bucketSize =+ Core.Nothing,+ bucketValueCount = Core.Nothing,+ bucketValues = Core.Nothing,+ valueFrequencyLowerBound = Core.Nothing,+ valueFrequencyUpperBound = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2CategoricalStatsHistogramBucket+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CategoricalStatsHistogramBucket"+ ( \o ->+ GooglePrivacyDlpV2CategoricalStatsHistogramBucket+ Core.<$> (o Core..:? "bucketSize" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "bucketValueCount" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "bucketValues")+ Core.<*> ( o+ Core..:? "valueFrequencyLowerBound"+ Core.<&> Core.fmap Core.fromAsText+ )+ Core.<*> ( o+ Core..:? "valueFrequencyUpperBound"+ Core.<&> Core.fmap Core.fromAsText+ )+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2CategoricalStatsHistogramBucket+ where+ toJSON GooglePrivacyDlpV2CategoricalStatsHistogramBucket {..} =+ Core.object+ ( Core.catMaybes+ [ ("bucketSize" Core..=) Core.. Core.AsText Core.<$> bucketSize,+ ("bucketValueCount" Core..=)+ Core.. Core.AsText+ Core.<$> bucketValueCount,+ ("bucketValues" Core..=) Core.<$> bucketValues,+ ("valueFrequencyLowerBound" Core..=)+ Core.. Core.AsText+ Core.<$> valueFrequencyLowerBound,+ ("valueFrequencyUpperBound" Core..=)+ Core.. Core.AsText+ Core.<$> valueFrequencyUpperBound+ ]+ )++-- | Result of the categorical stats computation.+--+-- /See:/ 'newGooglePrivacyDlpV2CategoricalStatsResult' smart constructor.+newtype GooglePrivacyDlpV2CategoricalStatsResult = GooglePrivacyDlpV2CategoricalStatsResult+ { -- | Histogram of value frequencies in the column.+ valueFrequencyHistogramBuckets :: (Core.Maybe [GooglePrivacyDlpV2CategoricalStatsHistogramBucket])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CategoricalStatsResult' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CategoricalStatsResult ::+ GooglePrivacyDlpV2CategoricalStatsResult+newGooglePrivacyDlpV2CategoricalStatsResult =+ GooglePrivacyDlpV2CategoricalStatsResult+ { valueFrequencyHistogramBuckets =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2CategoricalStatsResult where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CategoricalStatsResult"+ ( \o ->+ GooglePrivacyDlpV2CategoricalStatsResult+ Core.<$> (o Core..:? "valueFrequencyHistogramBuckets")+ )++instance Core.ToJSON GooglePrivacyDlpV2CategoricalStatsResult where+ toJSON GooglePrivacyDlpV2CategoricalStatsResult {..} =+ Core.object+ ( Core.catMaybes+ [ ("valueFrequencyHistogramBuckets" Core..=)+ Core.<$> valueFrequencyHistogramBuckets+ ]+ )++-- | Partially mask a string by replacing a given number of characters with a fixed character. Masking can start from the beginning or end of the string. This can be used on data of any type (numbers, longs, and so on) and when de-identifying structured data we\'ll attempt to preserve the original data\'s type. (This allows you to take a long like 123 and modify it to a string like **3.+--+-- /See:/ 'newGooglePrivacyDlpV2CharacterMaskConfig' smart constructor.+data GooglePrivacyDlpV2CharacterMaskConfig = GooglePrivacyDlpV2CharacterMaskConfig+ { -- | When masking a string, items in this list will be skipped when replacing characters. For example, if the input string is @555-555-5555@ and you instruct Cloud DLP to skip @-@ and mask 5 characters with @*@, Cloud DLP returns @***-**5-5555@.+ charactersToIgnore :: (Core.Maybe [GooglePrivacyDlpV2CharsToIgnore]),+ -- | Character to use to mask the sensitive values—for example, @*@ for an alphabetic string such as a name, or @0@ for a numeric string such as ZIP code or credit card number. This string must have a length of 1. If not supplied, this value defaults to @*@ for strings, and @0@ for digits.+ maskingCharacter :: (Core.Maybe Core.Text),+ -- | Number of characters to mask. If not set, all matching chars will be masked. Skipped characters do not count towards this tally. If @number_to_mask@ is negative, this denotes inverse masking. Cloud DLP masks all but a number of characters. For example, suppose you have the following values: - @masking_character@ is @*@ - @number_to_mask@ is @-4@ - @reverse_order@ is @false@ - @CharsToIgnore@ includes @-@ - Input string is @1234-5678-9012-3456@ The resulting de-identified string is @****-****-****-3456@. Cloud DLP masks all but the last four characters. If @reverse_order@ is @true@, all but the first four characters are masked as @1234-****-****-****@.+ numberToMask :: (Core.Maybe Core.Int32),+ -- | Mask characters in reverse order. For example, if @masking_character@ is @0@, @number_to_mask@ is @14@, and @reverse_order@ is @false@, then the input string @1234-5678-9012-3456@ is masked as @00000000000000-3456@. If @masking_character@ is @*@, @number_to_mask@ is @3@, and @reverse_order@ is @true@, then the string @12345@ is masked as @12***@.+ reverseOrder :: (Core.Maybe Core.Bool)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CharacterMaskConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CharacterMaskConfig ::+ GooglePrivacyDlpV2CharacterMaskConfig+newGooglePrivacyDlpV2CharacterMaskConfig =+ GooglePrivacyDlpV2CharacterMaskConfig+ { charactersToIgnore =+ Core.Nothing,+ maskingCharacter = Core.Nothing,+ numberToMask = Core.Nothing,+ reverseOrder = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2CharacterMaskConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CharacterMaskConfig"+ ( \o ->+ GooglePrivacyDlpV2CharacterMaskConfig+ Core.<$> (o Core..:? "charactersToIgnore")+ Core.<*> (o Core..:? "maskingCharacter")+ Core.<*> (o Core..:? "numberToMask")+ Core.<*> (o Core..:? "reverseOrder")+ )++instance Core.ToJSON GooglePrivacyDlpV2CharacterMaskConfig where+ toJSON GooglePrivacyDlpV2CharacterMaskConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("charactersToIgnore" Core..=) Core.<$> charactersToIgnore,+ ("maskingCharacter" Core..=) Core.<$> maskingCharacter,+ ("numberToMask" Core..=) Core.<$> numberToMask,+ ("reverseOrder" Core..=) Core.<$> reverseOrder+ ]+ )++-- | Characters to skip when doing deidentification of a value. These will be left alone and skipped.+--+-- /See:/ 'newGooglePrivacyDlpV2CharsToIgnore' smart constructor.+data GooglePrivacyDlpV2CharsToIgnore = GooglePrivacyDlpV2CharsToIgnore+ { -- | Characters to not transform when masking.+ charactersToSkip :: (Core.Maybe Core.Text),+ -- | Common characters to not transform when masking. Useful to avoid removing punctuation.+ commonCharactersToIgnore ::+ ( Core.Maybe+ GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CharsToIgnore' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CharsToIgnore ::+ GooglePrivacyDlpV2CharsToIgnore+newGooglePrivacyDlpV2CharsToIgnore =+ GooglePrivacyDlpV2CharsToIgnore+ { charactersToSkip = Core.Nothing,+ commonCharactersToIgnore = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2CharsToIgnore where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CharsToIgnore"+ ( \o ->+ GooglePrivacyDlpV2CharsToIgnore+ Core.<$> (o Core..:? "charactersToSkip")+ Core.<*> (o Core..:? "commonCharactersToIgnore")+ )++instance Core.ToJSON GooglePrivacyDlpV2CharsToIgnore where+ toJSON GooglePrivacyDlpV2CharsToIgnore {..} =+ Core.object+ ( Core.catMaybes+ [ ("charactersToSkip" Core..=) Core.<$> charactersToSkip,+ ("commonCharactersToIgnore" Core..=)+ Core.<$> commonCharactersToIgnore+ ]+ )++-- | Target used to match against for discovery with Cloud SQL tables.+--+-- /See:/ 'newGooglePrivacyDlpV2CloudSqlDiscoveryTarget' smart constructor.+data GooglePrivacyDlpV2CloudSqlDiscoveryTarget = GooglePrivacyDlpV2CloudSqlDiscoveryTarget+ { -- | In addition to matching the filter, these conditions must be true before a profile is generated.+ conditions :: (Core.Maybe GooglePrivacyDlpV2DiscoveryCloudSqlConditions),+ -- | Disable profiling for database resources that match this filter.+ disabled :: (Core.Maybe GooglePrivacyDlpV2Disabled),+ -- | Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.+ filter :: (Core.Maybe GooglePrivacyDlpV2DiscoveryCloudSqlFilter),+ -- | How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.+ generationCadence :: (Core.Maybe GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CloudSqlDiscoveryTarget' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CloudSqlDiscoveryTarget ::+ GooglePrivacyDlpV2CloudSqlDiscoveryTarget+newGooglePrivacyDlpV2CloudSqlDiscoveryTarget =+ GooglePrivacyDlpV2CloudSqlDiscoveryTarget+ { conditions =+ Core.Nothing,+ disabled = Core.Nothing,+ filter = Core.Nothing,+ generationCadence = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2CloudSqlDiscoveryTarget where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CloudSqlDiscoveryTarget"+ ( \o ->+ GooglePrivacyDlpV2CloudSqlDiscoveryTarget+ Core.<$> (o Core..:? "conditions")+ Core.<*> (o Core..:? "disabled")+ Core.<*> (o Core..:? "filter")+ Core.<*> (o Core..:? "generationCadence")+ )++instance Core.ToJSON GooglePrivacyDlpV2CloudSqlDiscoveryTarget where+ toJSON GooglePrivacyDlpV2CloudSqlDiscoveryTarget {..} =+ Core.object+ ( Core.catMaybes+ [ ("conditions" Core..=) Core.<$> conditions,+ ("disabled" Core..=) Core.<$> disabled,+ ("filter" Core..=) Core.<$> filter,+ ("generationCadence" Core..=) Core.<$> generationCadence+ ]+ )++-- | Use IAM authentication to connect. This requires the Cloud SQL IAM feature to be enabled on the instance, which is not the default for Cloud SQL. See https:\/\/cloud.google.com\/sql\/docs\/postgres\/authentication and https:\/\/cloud.google.com\/sql\/docs\/mysql\/authentication.+--+-- /See:/ 'newGooglePrivacyDlpV2CloudSqlIamCredential' smart constructor.+data GooglePrivacyDlpV2CloudSqlIamCredential = GooglePrivacyDlpV2CloudSqlIamCredential+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CloudSqlIamCredential' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CloudSqlIamCredential ::+ GooglePrivacyDlpV2CloudSqlIamCredential+newGooglePrivacyDlpV2CloudSqlIamCredential =+ GooglePrivacyDlpV2CloudSqlIamCredential++instance Core.FromJSON GooglePrivacyDlpV2CloudSqlIamCredential where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CloudSqlIamCredential"+ (\o -> Core.pure GooglePrivacyDlpV2CloudSqlIamCredential)++instance Core.ToJSON GooglePrivacyDlpV2CloudSqlIamCredential where+ toJSON = Core.const Core.emptyObject++-- | Cloud SQL connection properties.+--+-- /See:/ 'newGooglePrivacyDlpV2CloudSqlProperties' smart constructor.+data GooglePrivacyDlpV2CloudSqlProperties = GooglePrivacyDlpV2CloudSqlProperties+ { -- | Built-in IAM authentication (must be configured in Cloud SQL).+ cloudSqlIam :: (Core.Maybe GooglePrivacyDlpV2CloudSqlIamCredential),+ -- | Optional. Immutable. The Cloud SQL instance for which the connection is defined. Only one connection per instance is allowed. This can only be set at creation time, and cannot be updated. It is an error to use a connection/name from different project or region than the one that holds the connection. For example, a Connection resource for Cloud SQL connection/name @project-id:us-central1:sql-instance@ must be created under the parent @projects\/project-id\/locations\/us-central1@+ connectionName :: (Core.Maybe Core.Text),+ -- | Required. The database engine used by the Cloud SQL instance that this connection configures.+ databaseEngine :: (Core.Maybe GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine),+ -- | Required. The DLP API will limit its connections to max_connections. Must be 2 or greater.+ maxConnections :: (Core.Maybe Core.Int32),+ -- | A username and password stored in Secret Manager.+ usernamePassword :: (Core.Maybe GooglePrivacyDlpV2SecretManagerCredential)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CloudSqlProperties' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CloudSqlProperties ::+ GooglePrivacyDlpV2CloudSqlProperties+newGooglePrivacyDlpV2CloudSqlProperties =+ GooglePrivacyDlpV2CloudSqlProperties+ { cloudSqlIam = Core.Nothing,+ connectionName = Core.Nothing,+ databaseEngine = Core.Nothing,+ maxConnections = Core.Nothing,+ usernamePassword = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2CloudSqlProperties where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CloudSqlProperties"+ ( \o ->+ GooglePrivacyDlpV2CloudSqlProperties+ Core.<$> (o Core..:? "cloudSqlIam")+ Core.<*> (o Core..:? "connectionName")+ Core.<*> (o Core..:? "databaseEngine")+ Core.<*> (o Core..:? "maxConnections")+ Core.<*> (o Core..:? "usernamePassword")+ )++instance Core.ToJSON GooglePrivacyDlpV2CloudSqlProperties where+ toJSON GooglePrivacyDlpV2CloudSqlProperties {..} =+ Core.object+ ( Core.catMaybes+ [ ("cloudSqlIam" Core..=) Core.<$> cloudSqlIam,+ ("connectionName" Core..=) Core.<$> connectionName,+ ("databaseEngine" Core..=) Core.<$> databaseEngine,+ ("maxConnections" Core..=) Core.<$> maxConnections,+ ("usernamePassword" Core..=) Core.<$> usernamePassword+ ]+ )++-- | Target used to match against for discovery with Cloud Storage buckets.+--+-- /See:/ 'newGooglePrivacyDlpV2CloudStorageDiscoveryTarget' smart constructor.+data GooglePrivacyDlpV2CloudStorageDiscoveryTarget = GooglePrivacyDlpV2CloudStorageDiscoveryTarget+ { -- | Optional. In addition to matching the filter, these conditions must be true before a profile is generated.+ conditions :: (Core.Maybe GooglePrivacyDlpV2DiscoveryFileStoreConditions),+ -- | Optional. Disable profiling for buckets that match this filter.+ disabled :: (Core.Maybe GooglePrivacyDlpV2Disabled),+ -- | Required. The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket.+ filter :: (Core.Maybe GooglePrivacyDlpV2DiscoveryCloudStorageFilter),+ -- | Optional. How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity.+ generationCadence ::+ ( Core.Maybe+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CloudStorageDiscoveryTarget' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CloudStorageDiscoveryTarget ::+ GooglePrivacyDlpV2CloudStorageDiscoveryTarget+newGooglePrivacyDlpV2CloudStorageDiscoveryTarget =+ GooglePrivacyDlpV2CloudStorageDiscoveryTarget+ { conditions =+ Core.Nothing,+ disabled = Core.Nothing,+ filter = Core.Nothing,+ generationCadence = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2CloudStorageDiscoveryTarget+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CloudStorageDiscoveryTarget"+ ( \o ->+ GooglePrivacyDlpV2CloudStorageDiscoveryTarget+ Core.<$> (o Core..:? "conditions")+ Core.<*> (o Core..:? "disabled")+ Core.<*> (o Core..:? "filter")+ Core.<*> (o Core..:? "generationCadence")+ )++instance Core.ToJSON GooglePrivacyDlpV2CloudStorageDiscoveryTarget where+ toJSON GooglePrivacyDlpV2CloudStorageDiscoveryTarget {..} =+ Core.object+ ( Core.catMaybes+ [ ("conditions" Core..=) Core.<$> conditions,+ ("disabled" Core..=) Core.<$> disabled,+ ("filter" Core..=) Core.<$> filter,+ ("generationCadence" Core..=) Core.<$> generationCadence+ ]+ )++-- | Message representing a set of files in Cloud Storage.+--+-- /See:/ 'newGooglePrivacyDlpV2CloudStorageFileSet' smart constructor.+newtype GooglePrivacyDlpV2CloudStorageFileSet = GooglePrivacyDlpV2CloudStorageFileSet+ { -- | The url, in the format @gs:\/\/\/@. Trailing wildcard in the path is allowed.+ url :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CloudStorageFileSet' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CloudStorageFileSet ::+ GooglePrivacyDlpV2CloudStorageFileSet+newGooglePrivacyDlpV2CloudStorageFileSet =+ GooglePrivacyDlpV2CloudStorageFileSet {url = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2CloudStorageFileSet where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CloudStorageFileSet"+ ( \o ->+ GooglePrivacyDlpV2CloudStorageFileSet Core.<$> (o Core..:? "url")+ )++instance Core.ToJSON GooglePrivacyDlpV2CloudStorageFileSet where+ toJSON GooglePrivacyDlpV2CloudStorageFileSet {..} =+ Core.object (Core.catMaybes [("url" Core..=) Core.<$> url])++-- | Options defining a file or a set of files within a Cloud Storage bucket.+--+-- /See:/ 'newGooglePrivacyDlpV2CloudStorageOptions' smart constructor.+data GooglePrivacyDlpV2CloudStorageOptions = GooglePrivacyDlpV2CloudStorageOptions+ { -- | Max number of bytes to scan from a file. If a scanned file\'s size is bigger than this value then the rest of the bytes are omitted. Only one of @bytes_limit_per_file@ and @bytes_limit_per_file_percent@ can be specified. This field can\'t be set if de-identification is requested. For certain file types, setting this field has no effect. For more information, see <https://cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file Limits on bytes scanned per file>.+ bytesLimitPerFile :: (Core.Maybe Core.Int64),+ -- | Max percentage of bytes to scan from a file. The rest are omitted. The number of bytes scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of bytes/limit/per/file and bytes/limit/per/file_percent can be specified. This field can\'t be set if de-identification is requested. For certain file types, setting this field has no effect. For more information, see <https://cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file Limits on bytes scanned per file>.+ bytesLimitPerFilePercent :: (Core.Maybe Core.Int32),+ -- | The set of one or more files to scan.+ fileSet :: (Core.Maybe GooglePrivacyDlpV2FileSet),+ -- | List of file type groups to include in the scan. If empty, all files are scanned and available data format processors are applied. In addition, the binary content of the selected files is always scanned as well. Images are scanned only as binary if the specified region does not support image inspection and no file_types were specified. Image inspection is restricted to \'global\', \'us\', \'asia\', and \'europe\'.+ fileTypes :: (Core.Maybe [GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem]),+ -- | Limits the number of files to scan to this percentage of the input FileSet. Number of files scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0.+ filesLimitPercent :: (Core.Maybe Core.Int32),+ -- | How to sample the data.+ sampleMethod :: (Core.Maybe GooglePrivacyDlpV2CloudStorageOptions_SampleMethod)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CloudStorageOptions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CloudStorageOptions ::+ GooglePrivacyDlpV2CloudStorageOptions+newGooglePrivacyDlpV2CloudStorageOptions =+ GooglePrivacyDlpV2CloudStorageOptions+ { bytesLimitPerFile =+ Core.Nothing,+ bytesLimitPerFilePercent = Core.Nothing,+ fileSet = Core.Nothing,+ fileTypes = Core.Nothing,+ filesLimitPercent = Core.Nothing,+ sampleMethod = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2CloudStorageOptions where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CloudStorageOptions"+ ( \o ->+ GooglePrivacyDlpV2CloudStorageOptions+ Core.<$> (o Core..:? "bytesLimitPerFile" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "bytesLimitPerFilePercent")+ Core.<*> (o Core..:? "fileSet")+ Core.<*> (o Core..:? "fileTypes")+ Core.<*> (o Core..:? "filesLimitPercent")+ Core.<*> (o Core..:? "sampleMethod")+ )++instance Core.ToJSON GooglePrivacyDlpV2CloudStorageOptions where+ toJSON GooglePrivacyDlpV2CloudStorageOptions {..} =+ Core.object+ ( Core.catMaybes+ [ ("bytesLimitPerFile" Core..=)+ Core.. Core.AsText+ Core.<$> bytesLimitPerFile,+ ("bytesLimitPerFilePercent" Core..=)+ Core.<$> bytesLimitPerFilePercent,+ ("fileSet" Core..=) Core.<$> fileSet,+ ("fileTypes" Core..=) Core.<$> fileTypes,+ ("filesLimitPercent" Core..=) Core.<$> filesLimitPercent,+ ("sampleMethod" Core..=) Core.<$> sampleMethod+ ]+ )++-- | Message representing a single file or path in Cloud Storage.+--+-- /See:/ 'newGooglePrivacyDlpV2CloudStoragePath' smart constructor.+newtype GooglePrivacyDlpV2CloudStoragePath = GooglePrivacyDlpV2CloudStoragePath+ { -- | A URL representing a file or path (no wildcards) in Cloud Storage. Example: @gs:\/\/[BUCKET_NAME]\/dictionary.txt@+ path :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CloudStoragePath' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CloudStoragePath ::+ GooglePrivacyDlpV2CloudStoragePath+newGooglePrivacyDlpV2CloudStoragePath =+ GooglePrivacyDlpV2CloudStoragePath {path = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2CloudStoragePath where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CloudStoragePath"+ ( \o ->+ GooglePrivacyDlpV2CloudStoragePath Core.<$> (o Core..:? "path")+ )++instance Core.ToJSON GooglePrivacyDlpV2CloudStoragePath where+ toJSON GooglePrivacyDlpV2CloudStoragePath {..} =+ Core.object (Core.catMaybes [("path" Core..=) Core.<$> path])++-- | A pattern to match against one or more file stores. At least one pattern must be specified. Regular expressions use RE2 <https://github.com/google/re2/wiki/Syntax syntax>; a guide can be found under the google\/re2 repository on GitHub.+--+-- /See:/ 'newGooglePrivacyDlpV2CloudStorageRegex' smart constructor.+data GooglePrivacyDlpV2CloudStorageRegex = GooglePrivacyDlpV2CloudStorageRegex+ { -- | Optional. Regex to test the bucket name against. If empty, all buckets match. Example: \"marketing2021\" or \"(marketing)\\d{4}\" will both match the bucket gs:\/\/marketing2021+ bucketNameRegex :: (Core.Maybe Core.Text),+ -- | Optional. For organizations, if unset, will match all projects.+ projectIdRegex :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CloudStorageRegex' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CloudStorageRegex ::+ GooglePrivacyDlpV2CloudStorageRegex+newGooglePrivacyDlpV2CloudStorageRegex =+ GooglePrivacyDlpV2CloudStorageRegex+ { bucketNameRegex =+ Core.Nothing,+ projectIdRegex = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2CloudStorageRegex where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CloudStorageRegex"+ ( \o ->+ GooglePrivacyDlpV2CloudStorageRegex+ Core.<$> (o Core..:? "bucketNameRegex")+ Core.<*> (o Core..:? "projectIdRegex")+ )++instance Core.ToJSON GooglePrivacyDlpV2CloudStorageRegex where+ toJSON GooglePrivacyDlpV2CloudStorageRegex {..} =+ Core.object+ ( Core.catMaybes+ [ ("bucketNameRegex" Core..=) Core.<$> bucketNameRegex,+ ("projectIdRegex" Core..=) Core.<$> projectIdRegex+ ]+ )++-- | Message representing a set of files in a Cloud Storage bucket. Regular expressions are used to allow fine-grained control over which files in the bucket to include. Included files are those that match at least one item in @include_regex@ and do not match any items in @exclude_regex@. Note that a file that matches items from both lists will /not/ be included. For a match to occur, the entire file path (i.e., everything in the url after the bucket name) must match the regular expression. For example, given the input @{bucket_name: \"mybucket\", include_regex: [\"directory1\/.*\"], exclude_regex: [\"directory1\/excluded.*\"]}@: * @gs:\/\/mybucket\/directory1\/myfile@ will be included * @gs:\/\/mybucket\/directory1\/directory2\/myfile@ will be included (@.*@ matches across @\/@) * @gs:\/\/mybucket\/directory0\/directory1\/myfile@ will /not/ be included (the full path doesn\'t match any items in @include_regex@) * @gs:\/\/mybucket\/directory1\/excludedfile@ will /not/ be included (the path matches an item in+-- @exclude_regex@) If @include_regex@ is left empty, it will match all files by default (this is equivalent to setting @include_regex: [\".*\"]@). Some other common use cases: * @{bucket_name: \"mybucket\", exclude_regex: [\".*\\.pdf\"]}@ will include all files in @mybucket@ except for .pdf files * @{bucket_name: \"mybucket\", include_regex: [\"directory\/[^\/]+\"]}@ will include all files directly under @gs:\/\/mybucket\/directory\/@, without matching across @\/@+--+-- /See:/ 'newGooglePrivacyDlpV2CloudStorageRegexFileSet' smart constructor.+data GooglePrivacyDlpV2CloudStorageRegexFileSet = GooglePrivacyDlpV2CloudStorageRegexFileSet+ { -- | The name of a Cloud Storage bucket. Required.+ bucketName :: (Core.Maybe Core.Text),+ -- | A list of regular expressions matching file paths to exclude. All files in the bucket that match at least one of these regular expressions will be excluded from the scan. Regular expressions use RE2 <https://github.com/google/re2/wiki/Syntax syntax>; a guide can be found under the google\/re2 repository on GitHub.+ excludeRegex :: (Core.Maybe [Core.Text]),+ -- | A list of regular expressions matching file paths to include. All files in the bucket that match at least one of these regular expressions will be included in the set of files, except for those that also match an item in @exclude_regex@. Leaving this field empty will match all files by default (this is equivalent to including @.*@ in the list). Regular expressions use RE2 <https://github.com/google/re2/wiki/Syntax syntax>; a guide can be found under the google\/re2 repository on GitHub.+ includeRegex :: (Core.Maybe [Core.Text])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CloudStorageRegexFileSet' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CloudStorageRegexFileSet ::+ GooglePrivacyDlpV2CloudStorageRegexFileSet+newGooglePrivacyDlpV2CloudStorageRegexFileSet =+ GooglePrivacyDlpV2CloudStorageRegexFileSet+ { bucketName =+ Core.Nothing,+ excludeRegex = Core.Nothing,+ includeRegex = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2CloudStorageRegexFileSet where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CloudStorageRegexFileSet"+ ( \o ->+ GooglePrivacyDlpV2CloudStorageRegexFileSet+ Core.<$> (o Core..:? "bucketName")+ Core.<*> (o Core..:? "excludeRegex")+ Core.<*> (o Core..:? "includeRegex")+ )++instance Core.ToJSON GooglePrivacyDlpV2CloudStorageRegexFileSet where+ toJSON GooglePrivacyDlpV2CloudStorageRegexFileSet {..} =+ Core.object+ ( Core.catMaybes+ [ ("bucketName" Core..=) Core.<$> bucketName,+ ("excludeRegex" Core..=) Core.<$> excludeRegex,+ ("includeRegex" Core..=) Core.<$> includeRegex+ ]+ )++-- | Identifies a single Cloud Storage bucket.+--+-- /See:/ 'newGooglePrivacyDlpV2CloudStorageResourceReference' smart constructor.+data GooglePrivacyDlpV2CloudStorageResourceReference = GooglePrivacyDlpV2CloudStorageResourceReference+ { -- | Required. The bucket to scan.+ bucketName :: (Core.Maybe Core.Text),+ -- | Required. If within a project-level config, then this must match the config\'s project id.+ projectId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CloudStorageResourceReference' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CloudStorageResourceReference ::+ GooglePrivacyDlpV2CloudStorageResourceReference+newGooglePrivacyDlpV2CloudStorageResourceReference =+ GooglePrivacyDlpV2CloudStorageResourceReference+ { bucketName =+ Core.Nothing,+ projectId = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2CloudStorageResourceReference+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CloudStorageResourceReference"+ ( \o ->+ GooglePrivacyDlpV2CloudStorageResourceReference+ Core.<$> (o Core..:? "bucketName")+ Core.<*> (o Core..:? "projectId")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2CloudStorageResourceReference+ where+ toJSON GooglePrivacyDlpV2CloudStorageResourceReference {..} =+ Core.object+ ( Core.catMaybes+ [ ("bucketName" Core..=) Core.<$> bucketName,+ ("projectId" Core..=) Core.<$> projectId+ ]+ )++-- | Represents a color in the RGB color space.+--+-- /See:/ 'newGooglePrivacyDlpV2Color' smart constructor.+data GooglePrivacyDlpV2Color = GooglePrivacyDlpV2Color+ { -- | The amount of blue in the color as a value in the interval [0, 1].+ blue :: (Core.Maybe Core.Double),+ -- | The amount of green in the color as a value in the interval [0, 1].+ green :: (Core.Maybe Core.Double),+ -- | The amount of red in the color as a value in the interval [0, 1].+ red :: (Core.Maybe Core.Double)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Color' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Color ::+ GooglePrivacyDlpV2Color+newGooglePrivacyDlpV2Color =+ GooglePrivacyDlpV2Color+ { blue = Core.Nothing,+ green = Core.Nothing,+ red = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Color where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Color"+ ( \o ->+ GooglePrivacyDlpV2Color+ Core.<$> (o Core..:? "blue")+ Core.<*> (o Core..:? "green")+ Core.<*> (o Core..:? "red")+ )++instance Core.ToJSON GooglePrivacyDlpV2Color where+ toJSON GooglePrivacyDlpV2Color {..} =+ Core.object+ ( Core.catMaybes+ [ ("blue" Core..=) Core.<$> blue,+ ("green" Core..=) Core.<$> green,+ ("red" Core..=) Core.<$> red+ ]+ )++-- | The profile for a scanned column within a table.+--+-- /See:/ 'newGooglePrivacyDlpV2ColumnDataProfile' smart constructor.+data GooglePrivacyDlpV2ColumnDataProfile = GooglePrivacyDlpV2ColumnDataProfile+ { -- | The name of the column.+ column :: (Core.Maybe Core.Text),+ -- | If it\'s been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types.+ columnInfoType :: (Core.Maybe GooglePrivacyDlpV2InfoTypeSummary),+ -- | The data type of a given column.+ columnType :: (Core.Maybe GooglePrivacyDlpV2ColumnDataProfile_ColumnType),+ -- | The data risk level for this column.+ dataRiskLevel :: (Core.Maybe GooglePrivacyDlpV2DataRiskLevel),+ -- | The BigQuery dataset ID, if the resource profiled is a BigQuery table.+ datasetId :: (Core.Maybe Core.Text),+ -- | If supported, the location where the dataset\'s data is stored. See https:\/\/cloud.google.com\/bigquery\/docs\/locations for supported BigQuery locations.+ datasetLocation :: (Core.Maybe Core.Text),+ -- | The Google Cloud project ID that owns the profiled resource.+ datasetProjectId :: (Core.Maybe Core.Text),+ -- | Approximate percentage of entries being null in the column.+ estimatedNullPercentage ::+ ( Core.Maybe+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage+ ),+ -- | Approximate uniqueness of the column.+ estimatedUniquenessScore ::+ ( Core.Maybe+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore+ ),+ -- | The likelihood that this column contains free-form text. A value close to 1 may indicate the column is likely to contain free-form or natural language text. Range in 0-1.+ freeTextScore :: (Core.Maybe Core.Double),+ -- | The name of the profile.+ name :: (Core.Maybe Core.Text),+ -- | Other types found within this column. List will be unordered.+ otherMatches :: (Core.Maybe [GooglePrivacyDlpV2OtherInfoTypeSummary]),+ -- | Indicates if a policy tag has been applied to the column.+ policyState :: (Core.Maybe GooglePrivacyDlpV2ColumnDataProfile_PolicyState),+ -- | The last time the profile was generated.+ profileLastGenerated :: (Core.Maybe Core.DateTime),+ -- | Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.+ profileStatus :: (Core.Maybe GooglePrivacyDlpV2ProfileStatus),+ -- | The sensitivity of this column.+ sensitivityScore :: (Core.Maybe GooglePrivacyDlpV2SensitivityScore),+ -- | State of a profile.+ state :: (Core.Maybe GooglePrivacyDlpV2ColumnDataProfile_State),+ -- | The resource name of the table data profile.+ tableDataProfile :: (Core.Maybe Core.Text),+ -- | The resource name of the resource this column is within.+ tableFullResource :: (Core.Maybe Core.Text),+ -- | The table ID.+ tableId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ColumnDataProfile' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ColumnDataProfile ::+ GooglePrivacyDlpV2ColumnDataProfile+newGooglePrivacyDlpV2ColumnDataProfile =+ GooglePrivacyDlpV2ColumnDataProfile+ { column = Core.Nothing,+ columnInfoType = Core.Nothing,+ columnType = Core.Nothing,+ dataRiskLevel = Core.Nothing,+ datasetId = Core.Nothing,+ datasetLocation = Core.Nothing,+ datasetProjectId = Core.Nothing,+ estimatedNullPercentage = Core.Nothing,+ estimatedUniquenessScore = Core.Nothing,+ freeTextScore = Core.Nothing,+ name = Core.Nothing,+ otherMatches = Core.Nothing,+ policyState = Core.Nothing,+ profileLastGenerated = Core.Nothing,+ profileStatus = Core.Nothing,+ sensitivityScore = Core.Nothing,+ state = Core.Nothing,+ tableDataProfile = Core.Nothing,+ tableFullResource = Core.Nothing,+ tableId = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ColumnDataProfile where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ColumnDataProfile"+ ( \o ->+ GooglePrivacyDlpV2ColumnDataProfile+ Core.<$> (o Core..:? "column")+ Core.<*> (o Core..:? "columnInfoType")+ Core.<*> (o Core..:? "columnType")+ Core.<*> (o Core..:? "dataRiskLevel")+ Core.<*> (o Core..:? "datasetId")+ Core.<*> (o Core..:? "datasetLocation")+ Core.<*> (o Core..:? "datasetProjectId")+ Core.<*> (o Core..:? "estimatedNullPercentage")+ Core.<*> (o Core..:? "estimatedUniquenessScore")+ Core.<*> (o Core..:? "freeTextScore")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "otherMatches")+ Core.<*> (o Core..:? "policyState")+ Core.<*> (o Core..:? "profileLastGenerated")+ Core.<*> (o Core..:? "profileStatus")+ Core.<*> (o Core..:? "sensitivityScore")+ Core.<*> (o Core..:? "state")+ Core.<*> (o Core..:? "tableDataProfile")+ Core.<*> (o Core..:? "tableFullResource")+ Core.<*> (o Core..:? "tableId")+ )++instance Core.ToJSON GooglePrivacyDlpV2ColumnDataProfile where+ toJSON GooglePrivacyDlpV2ColumnDataProfile {..} =+ Core.object+ ( Core.catMaybes+ [ ("column" Core..=) Core.<$> column,+ ("columnInfoType" Core..=) Core.<$> columnInfoType,+ ("columnType" Core..=) Core.<$> columnType,+ ("dataRiskLevel" Core..=) Core.<$> dataRiskLevel,+ ("datasetId" Core..=) Core.<$> datasetId,+ ("datasetLocation" Core..=) Core.<$> datasetLocation,+ ("datasetProjectId" Core..=) Core.<$> datasetProjectId,+ ("estimatedNullPercentage" Core..=)+ Core.<$> estimatedNullPercentage,+ ("estimatedUniquenessScore" Core..=)+ Core.<$> estimatedUniquenessScore,+ ("freeTextScore" Core..=) Core.<$> freeTextScore,+ ("name" Core..=) Core.<$> name,+ ("otherMatches" Core..=) Core.<$> otherMatches,+ ("policyState" Core..=) Core.<$> policyState,+ ("profileLastGenerated" Core..=) Core.<$> profileLastGenerated,+ ("profileStatus" Core..=) Core.<$> profileStatus,+ ("sensitivityScore" Core..=) Core.<$> sensitivityScore,+ ("state" Core..=) Core.<$> state,+ ("tableDataProfile" Core..=) Core.<$> tableDataProfile,+ ("tableFullResource" Core..=) Core.<$> tableFullResource,+ ("tableId" Core..=) Core.<$> tableId+ ]+ )++-- | The field type of @value@ and @field@ do not need to match to be considered equal, but not all comparisons are possible. EQUAL/TO and NOT/EQUAL_TO attempt to compare even with incompatible types, but all other comparisons are invalid with incompatible types. A @value@ of type: - @string@ can be compared against all other types - @boolean@ can only be compared against other booleans - @integer@ can be compared against doubles or a string if the string value can be parsed as an integer. - @double@ can be compared against integers or a string if the string can be parsed as a double. - @Timestamp@ can be compared against strings in RFC 3339 date string format. - @TimeOfDay@ can be compared against timestamps and strings in the format of \'HH:mm:ss\'. If we fail to compare do to type mismatch, a warning will be given and the condition will evaluate to false.+--+-- /See:/ 'newGooglePrivacyDlpV2Condition' smart constructor.+data GooglePrivacyDlpV2Condition = GooglePrivacyDlpV2Condition+ { -- | Required. Field within the record this condition is evaluated against.+ field :: (Core.Maybe GooglePrivacyDlpV2FieldId),+ -- | Required. Operator used to compare the field or infoType to the value.+ operator :: (Core.Maybe GooglePrivacyDlpV2Condition_Operator),+ -- | Value to compare against. [Mandatory, except for @EXISTS@ tests.]+ value :: (Core.Maybe GooglePrivacyDlpV2Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Condition' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Condition ::+ GooglePrivacyDlpV2Condition+newGooglePrivacyDlpV2Condition =+ GooglePrivacyDlpV2Condition+ { field = Core.Nothing,+ operator = Core.Nothing,+ value = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Condition where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Condition"+ ( \o ->+ GooglePrivacyDlpV2Condition+ Core.<$> (o Core..:? "field")+ Core.<*> (o Core..:? "operator")+ Core.<*> (o Core..:? "value")+ )++instance Core.ToJSON GooglePrivacyDlpV2Condition where+ toJSON GooglePrivacyDlpV2Condition {..} =+ Core.object+ ( Core.catMaybes+ [ ("field" Core..=) Core.<$> field,+ ("operator" Core..=) Core.<$> operator,+ ("value" Core..=) Core.<$> value+ ]+ )++-- | A collection of conditions.+--+-- /See:/ 'newGooglePrivacyDlpV2Conditions' smart constructor.+newtype GooglePrivacyDlpV2Conditions = GooglePrivacyDlpV2Conditions+ { -- | A collection of conditions.+ conditions :: (Core.Maybe [GooglePrivacyDlpV2Condition])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Conditions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Conditions ::+ GooglePrivacyDlpV2Conditions+newGooglePrivacyDlpV2Conditions =+ GooglePrivacyDlpV2Conditions {conditions = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2Conditions where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Conditions"+ ( \o ->+ GooglePrivacyDlpV2Conditions Core.<$> (o Core..:? "conditions")+ )++instance Core.ToJSON GooglePrivacyDlpV2Conditions where+ toJSON GooglePrivacyDlpV2Conditions {..} =+ Core.object+ (Core.catMaybes [("conditions" Core..=) Core.<$> conditions])++-- | A data connection to allow the DLP API to profile data in locations that require additional configuration.+--+-- /See:/ 'newGooglePrivacyDlpV2Connection' smart constructor.+data GooglePrivacyDlpV2Connection = GooglePrivacyDlpV2Connection+ { -- | Connect to a Cloud SQL instance.+ cloudSql :: (Core.Maybe GooglePrivacyDlpV2CloudSqlProperties),+ -- | Output only. Set if status == ERROR, to provide additional details. Will store the last 10 errors sorted with the most recent first.+ errors :: (Core.Maybe [GooglePrivacyDlpV2Error]),+ -- | Output only. Name of the connection: @projects\/{project}\/locations\/{location}\/connections\/{name}@.+ name :: (Core.Maybe Core.Text),+ -- | Required. The connection\'s state in its lifecycle.+ state :: (Core.Maybe GooglePrivacyDlpV2Connection_State)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Connection' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Connection ::+ GooglePrivacyDlpV2Connection+newGooglePrivacyDlpV2Connection =+ GooglePrivacyDlpV2Connection+ { cloudSql = Core.Nothing,+ errors = Core.Nothing,+ name = Core.Nothing,+ state = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Connection where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Connection"+ ( \o ->+ GooglePrivacyDlpV2Connection+ Core.<$> (o Core..:? "cloudSql")+ Core.<*> (o Core..:? "errors")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "state")+ )++instance Core.ToJSON GooglePrivacyDlpV2Connection where+ toJSON GooglePrivacyDlpV2Connection {..} =+ Core.object+ ( Core.catMaybes+ [ ("cloudSql" Core..=) Core.<$> cloudSql,+ ("errors" Core..=) Core.<$> errors,+ ("name" Core..=) Core.<$> name,+ ("state" Core..=) Core.<$> state+ ]+ )++-- | Represents a container that may contain DLP findings. Examples of a container include a file, table, or database record.+--+-- /See:/ 'newGooglePrivacyDlpV2Container' smart constructor.+data GooglePrivacyDlpV2Container = GooglePrivacyDlpV2Container+ { -- | A string representation of the full container name. Examples: - BigQuery: \'Project:DataSetId.TableId\' - Cloud Storage: \'gs:\/\/Bucket\/folders\/filename.txt\'+ fullPath :: (Core.Maybe Core.Text),+ -- | Project where the finding was found. Can be different from the project that owns the finding.+ projectId :: (Core.Maybe Core.Text),+ -- | The rest of the path after the root. Examples: - For BigQuery table @project_id:dataset_id.table_id@, the relative path is @table_id@ - For Cloud Storage file @gs:\/\/bucket\/folder\/filename.txt@, the relative path is @folder\/filename.txt@+ relativePath :: (Core.Maybe Core.Text),+ -- | The root of the container. Examples: - For BigQuery table @project_id:dataset_id.table_id@, the root is @dataset_id@ - For Cloud Storage file @gs:\/\/bucket\/folder\/filename.txt@, the root is @gs:\/\/bucket@+ rootPath :: (Core.Maybe Core.Text),+ -- | Container type, for example BigQuery or Cloud Storage.+ type' :: (Core.Maybe Core.Text),+ -- | Findings container modification timestamp, if applicable. For Cloud Storage, this field contains the last file modification timestamp. For a BigQuery table, this field contains the last/modified/time property. For Datastore, this field isn\'t populated.+ updateTime :: (Core.Maybe Core.DateTime),+ -- | Findings container version, if available (\"generation\" for Cloud Storage).+ version :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Container' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Container ::+ GooglePrivacyDlpV2Container+newGooglePrivacyDlpV2Container =+ GooglePrivacyDlpV2Container+ { fullPath = Core.Nothing,+ projectId = Core.Nothing,+ relativePath = Core.Nothing,+ rootPath = Core.Nothing,+ type' = Core.Nothing,+ updateTime = Core.Nothing,+ version = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Container where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Container"+ ( \o ->+ GooglePrivacyDlpV2Container+ Core.<$> (o Core..:? "fullPath")+ Core.<*> (o Core..:? "projectId")+ Core.<*> (o Core..:? "relativePath")+ Core.<*> (o Core..:? "rootPath")+ Core.<*> (o Core..:? "type")+ Core.<*> (o Core..:? "updateTime")+ Core.<*> (o Core..:? "version")+ )++instance Core.ToJSON GooglePrivacyDlpV2Container where+ toJSON GooglePrivacyDlpV2Container {..} =+ Core.object+ ( Core.catMaybes+ [ ("fullPath" Core..=) Core.<$> fullPath,+ ("projectId" Core..=) Core.<$> projectId,+ ("relativePath" Core..=) Core.<$> relativePath,+ ("rootPath" Core..=) Core.<$> rootPath,+ ("type" Core..=) Core.<$> type',+ ("updateTime" Core..=) Core.<$> updateTime,+ ("version" Core..=) Core.<$> version+ ]+ )++-- | Type of content to inspect.+--+-- /See:/ 'newGooglePrivacyDlpV2ContentItem' smart constructor.+data GooglePrivacyDlpV2ContentItem = GooglePrivacyDlpV2ContentItem+ { -- | Content data to inspect or redact. Replaces @type@ and @data@.+ byteItem :: (Core.Maybe GooglePrivacyDlpV2ByteContentItem),+ -- | Structured content for inspection. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-text#inspecting/a/table to learn more.+ table :: (Core.Maybe GooglePrivacyDlpV2Table),+ -- | String data to inspect or redact.+ value :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ContentItem' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ContentItem ::+ GooglePrivacyDlpV2ContentItem+newGooglePrivacyDlpV2ContentItem =+ GooglePrivacyDlpV2ContentItem+ { byteItem = Core.Nothing,+ table = Core.Nothing,+ value = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ContentItem where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ContentItem"+ ( \o ->+ GooglePrivacyDlpV2ContentItem+ Core.<$> (o Core..:? "byteItem")+ Core.<*> (o Core..:? "table")+ Core.<*> (o Core..:? "value")+ )++instance Core.ToJSON GooglePrivacyDlpV2ContentItem where+ toJSON GooglePrivacyDlpV2ContentItem {..} =+ Core.object+ ( Core.catMaybes+ [ ("byteItem" Core..=) Core.<$> byteItem,+ ("table" Core..=) Core.<$> table,+ ("value" Core..=) Core.<$> value+ ]+ )++-- | Precise location of the finding within a document, record, image, or metadata container.+--+-- /See:/ 'newGooglePrivacyDlpV2ContentLocation' smart constructor.+data GooglePrivacyDlpV2ContentLocation = GooglePrivacyDlpV2ContentLocation+ { -- | Name of the container where the finding is located. The top level name is the source file name or table name. Names of some common storage containers are formatted as follows: * BigQuery tables: @{project_id}:{dataset_id}.{table_id}@ * Cloud Storage files: @gs:\/\/{bucket}\/{path}@ * Datastore namespace: {namespace} Nested names could be absent if the embedded object has no string identifier (for example, an image contained within a document).+ containerName :: (Core.Maybe Core.Text),+ -- | Finding container modification timestamp, if applicable. For Cloud Storage, this field contains the last file modification timestamp. For a BigQuery table, this field contains the last/modified/time property. For Datastore, this field isn\'t populated.+ containerTimestamp :: (Core.Maybe Core.DateTime),+ -- | Finding container version, if available (\"generation\" for Cloud Storage).+ containerVersion :: (Core.Maybe Core.Text),+ -- | Location data for document files.+ documentLocation :: (Core.Maybe GooglePrivacyDlpV2DocumentLocation),+ -- | Location within an image\'s pixels.+ imageLocation :: (Core.Maybe GooglePrivacyDlpV2ImageLocation),+ -- | Location within the metadata for inspected content.+ metadataLocation :: (Core.Maybe GooglePrivacyDlpV2MetadataLocation),+ -- | Location within a row or record of a database table.+ recordLocation :: (Core.Maybe GooglePrivacyDlpV2RecordLocation)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ContentLocation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ContentLocation ::+ GooglePrivacyDlpV2ContentLocation+newGooglePrivacyDlpV2ContentLocation =+ GooglePrivacyDlpV2ContentLocation+ { containerName = Core.Nothing,+ containerTimestamp = Core.Nothing,+ containerVersion = Core.Nothing,+ documentLocation = Core.Nothing,+ imageLocation = Core.Nothing,+ metadataLocation = Core.Nothing,+ recordLocation = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ContentLocation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ContentLocation"+ ( \o ->+ GooglePrivacyDlpV2ContentLocation+ Core.<$> (o Core..:? "containerName")+ Core.<*> (o Core..:? "containerTimestamp")+ Core.<*> (o Core..:? "containerVersion")+ Core.<*> (o Core..:? "documentLocation")+ Core.<*> (o Core..:? "imageLocation")+ Core.<*> (o Core..:? "metadataLocation")+ Core.<*> (o Core..:? "recordLocation")+ )++instance Core.ToJSON GooglePrivacyDlpV2ContentLocation where+ toJSON GooglePrivacyDlpV2ContentLocation {..} =+ Core.object+ ( Core.catMaybes+ [ ("containerName" Core..=) Core.<$> containerName,+ ("containerTimestamp" Core..=) Core.<$> containerTimestamp,+ ("containerVersion" Core..=) Core.<$> containerVersion,+ ("documentLocation" Core..=) Core.<$> documentLocation,+ ("imageLocation" Core..=) Core.<$> imageLocation,+ ("metadataLocation" Core..=) Core.<$> metadataLocation,+ ("recordLocation" Core..=) Core.<$> recordLocation+ ]+ )++-- | Request message for CreateConnection.+--+-- /See:/ 'newGooglePrivacyDlpV2CreateConnectionRequest' smart constructor.+newtype GooglePrivacyDlpV2CreateConnectionRequest = GooglePrivacyDlpV2CreateConnectionRequest+ { -- | Required. The connection resource.+ connection :: (Core.Maybe GooglePrivacyDlpV2Connection)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CreateConnectionRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CreateConnectionRequest ::+ GooglePrivacyDlpV2CreateConnectionRequest+newGooglePrivacyDlpV2CreateConnectionRequest =+ GooglePrivacyDlpV2CreateConnectionRequest+ { connection =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2CreateConnectionRequest where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CreateConnectionRequest"+ ( \o ->+ GooglePrivacyDlpV2CreateConnectionRequest+ Core.<$> (o Core..:? "connection")+ )++instance Core.ToJSON GooglePrivacyDlpV2CreateConnectionRequest where+ toJSON GooglePrivacyDlpV2CreateConnectionRequest {..} =+ Core.object+ (Core.catMaybes [("connection" Core..=) Core.<$> connection])++-- | Request message for CreateDeidentifyTemplate.+--+-- /See:/ 'newGooglePrivacyDlpV2CreateDeidentifyTemplateRequest' smart constructor.+data GooglePrivacyDlpV2CreateDeidentifyTemplateRequest = GooglePrivacyDlpV2CreateDeidentifyTemplateRequest+ { -- | Required. The DeidentifyTemplate to create.+ deidentifyTemplate :: (Core.Maybe GooglePrivacyDlpV2DeidentifyTemplate),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | The template id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: @[a-zA-Z\\d-_]+@. The maximum length is 100 characters. Can be empty to allow the system to generate one.+ templateId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CreateDeidentifyTemplateRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CreateDeidentifyTemplateRequest ::+ GooglePrivacyDlpV2CreateDeidentifyTemplateRequest+newGooglePrivacyDlpV2CreateDeidentifyTemplateRequest =+ GooglePrivacyDlpV2CreateDeidentifyTemplateRequest+ { deidentifyTemplate =+ Core.Nothing,+ locationId = Core.Nothing,+ templateId = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2CreateDeidentifyTemplateRequest+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CreateDeidentifyTemplateRequest"+ ( \o ->+ GooglePrivacyDlpV2CreateDeidentifyTemplateRequest+ Core.<$> (o Core..:? "deidentifyTemplate")+ Core.<*> (o Core..:? "locationId")+ Core.<*> (o Core..:? "templateId")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2CreateDeidentifyTemplateRequest+ where+ toJSON GooglePrivacyDlpV2CreateDeidentifyTemplateRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("deidentifyTemplate" Core..=) Core.<$> deidentifyTemplate,+ ("locationId" Core..=) Core.<$> locationId,+ ("templateId" Core..=) Core.<$> templateId+ ]+ )++-- | Request message for CreateDiscoveryConfig.+--+-- /See:/ 'newGooglePrivacyDlpV2CreateDiscoveryConfigRequest' smart constructor.+data GooglePrivacyDlpV2CreateDiscoveryConfigRequest = GooglePrivacyDlpV2CreateDiscoveryConfigRequest+ { -- | The config ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: @[a-zA-Z\\d-_]+@. The maximum length is 100 characters. Can be empty to allow the system to generate one.+ configId :: (Core.Maybe Core.Text),+ -- | Required. The DiscoveryConfig to create.+ discoveryConfig :: (Core.Maybe GooglePrivacyDlpV2DiscoveryConfig)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CreateDiscoveryConfigRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CreateDiscoveryConfigRequest ::+ GooglePrivacyDlpV2CreateDiscoveryConfigRequest+newGooglePrivacyDlpV2CreateDiscoveryConfigRequest =+ GooglePrivacyDlpV2CreateDiscoveryConfigRequest+ { configId =+ Core.Nothing,+ discoveryConfig = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2CreateDiscoveryConfigRequest+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CreateDiscoveryConfigRequest"+ ( \o ->+ GooglePrivacyDlpV2CreateDiscoveryConfigRequest+ Core.<$> (o Core..:? "configId")+ Core.<*> (o Core..:? "discoveryConfig")+ )++instance Core.ToJSON GooglePrivacyDlpV2CreateDiscoveryConfigRequest where+ toJSON GooglePrivacyDlpV2CreateDiscoveryConfigRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("configId" Core..=) Core.<$> configId,+ ("discoveryConfig" Core..=) Core.<$> discoveryConfig+ ]+ )++-- | Request message for CreateDlpJobRequest. Used to initiate long running jobs such as calculating risk metrics or inspecting Google Cloud Storage.+--+-- /See:/ 'newGooglePrivacyDlpV2CreateDlpJobRequest' smart constructor.+data GooglePrivacyDlpV2CreateDlpJobRequest = GooglePrivacyDlpV2CreateDlpJobRequest+ { -- | An inspection job scans a storage repository for InfoTypes.+ inspectJob :: (Core.Maybe GooglePrivacyDlpV2InspectJobConfig),+ -- | The job id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: @[a-zA-Z\\d-_]+@. The maximum length is 100 characters. Can be empty to allow the system to generate one.+ jobId :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | A risk analysis job calculates re-identification risk metrics for a BigQuery table.+ riskJob :: (Core.Maybe GooglePrivacyDlpV2RiskAnalysisJobConfig)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CreateDlpJobRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CreateDlpJobRequest ::+ GooglePrivacyDlpV2CreateDlpJobRequest+newGooglePrivacyDlpV2CreateDlpJobRequest =+ GooglePrivacyDlpV2CreateDlpJobRequest+ { inspectJob = Core.Nothing,+ jobId = Core.Nothing,+ locationId = Core.Nothing,+ riskJob = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2CreateDlpJobRequest where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CreateDlpJobRequest"+ ( \o ->+ GooglePrivacyDlpV2CreateDlpJobRequest+ Core.<$> (o Core..:? "inspectJob")+ Core.<*> (o Core..:? "jobId")+ Core.<*> (o Core..:? "locationId")+ Core.<*> (o Core..:? "riskJob")+ )++instance Core.ToJSON GooglePrivacyDlpV2CreateDlpJobRequest where+ toJSON GooglePrivacyDlpV2CreateDlpJobRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("inspectJob" Core..=) Core.<$> inspectJob,+ ("jobId" Core..=) Core.<$> jobId,+ ("locationId" Core..=) Core.<$> locationId,+ ("riskJob" Core..=) Core.<$> riskJob+ ]+ )++-- | Request message for CreateInspectTemplate.+--+-- /See:/ 'newGooglePrivacyDlpV2CreateInspectTemplateRequest' smart constructor.+data GooglePrivacyDlpV2CreateInspectTemplateRequest = GooglePrivacyDlpV2CreateInspectTemplateRequest+ { -- | Required. The InspectTemplate to create.+ inspectTemplate :: (Core.Maybe GooglePrivacyDlpV2InspectTemplate),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | The template id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: @[a-zA-Z\\d-_]+@. The maximum length is 100 characters. Can be empty to allow the system to generate one.+ templateId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CreateInspectTemplateRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CreateInspectTemplateRequest ::+ GooglePrivacyDlpV2CreateInspectTemplateRequest+newGooglePrivacyDlpV2CreateInspectTemplateRequest =+ GooglePrivacyDlpV2CreateInspectTemplateRequest+ { inspectTemplate =+ Core.Nothing,+ locationId = Core.Nothing,+ templateId = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2CreateInspectTemplateRequest+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CreateInspectTemplateRequest"+ ( \o ->+ GooglePrivacyDlpV2CreateInspectTemplateRequest+ Core.<$> (o Core..:? "inspectTemplate")+ Core.<*> (o Core..:? "locationId")+ Core.<*> (o Core..:? "templateId")+ )++instance Core.ToJSON GooglePrivacyDlpV2CreateInspectTemplateRequest where+ toJSON GooglePrivacyDlpV2CreateInspectTemplateRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("inspectTemplate" Core..=) Core.<$> inspectTemplate,+ ("locationId" Core..=) Core.<$> locationId,+ ("templateId" Core..=) Core.<$> templateId+ ]+ )++-- | Request message for CreateJobTrigger.+--+-- /See:/ 'newGooglePrivacyDlpV2CreateJobTriggerRequest' smart constructor.+data GooglePrivacyDlpV2CreateJobTriggerRequest = GooglePrivacyDlpV2CreateJobTriggerRequest+ { -- | Required. The JobTrigger to create.+ jobTrigger :: (Core.Maybe GooglePrivacyDlpV2JobTrigger),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: @[a-zA-Z\\d-_]+@. The maximum length is 100 characters. Can be empty to allow the system to generate one.+ triggerId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CreateJobTriggerRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CreateJobTriggerRequest ::+ GooglePrivacyDlpV2CreateJobTriggerRequest+newGooglePrivacyDlpV2CreateJobTriggerRequest =+ GooglePrivacyDlpV2CreateJobTriggerRequest+ { jobTrigger =+ Core.Nothing,+ locationId = Core.Nothing,+ triggerId = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2CreateJobTriggerRequest where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CreateJobTriggerRequest"+ ( \o ->+ GooglePrivacyDlpV2CreateJobTriggerRequest+ Core.<$> (o Core..:? "jobTrigger")+ Core.<*> (o Core..:? "locationId")+ Core.<*> (o Core..:? "triggerId")+ )++instance Core.ToJSON GooglePrivacyDlpV2CreateJobTriggerRequest where+ toJSON GooglePrivacyDlpV2CreateJobTriggerRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("jobTrigger" Core..=) Core.<$> jobTrigger,+ ("locationId" Core..=) Core.<$> locationId,+ ("triggerId" Core..=) Core.<$> triggerId+ ]+ )++-- | Request message for CreateStoredInfoType.+--+-- /See:/ 'newGooglePrivacyDlpV2CreateStoredInfoTypeRequest' smart constructor.+data GooglePrivacyDlpV2CreateStoredInfoTypeRequest = GooglePrivacyDlpV2CreateStoredInfoTypeRequest+ { -- | Required. Configuration of the storedInfoType to create.+ config :: (Core.Maybe GooglePrivacyDlpV2StoredInfoTypeConfig),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | The storedInfoType ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: @[a-zA-Z\\d-_]+@. The maximum length is 100 characters. Can be empty to allow the system to generate one.+ storedInfoTypeId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CreateStoredInfoTypeRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CreateStoredInfoTypeRequest ::+ GooglePrivacyDlpV2CreateStoredInfoTypeRequest+newGooglePrivacyDlpV2CreateStoredInfoTypeRequest =+ GooglePrivacyDlpV2CreateStoredInfoTypeRequest+ { config =+ Core.Nothing,+ locationId = Core.Nothing,+ storedInfoTypeId = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2CreateStoredInfoTypeRequest+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CreateStoredInfoTypeRequest"+ ( \o ->+ GooglePrivacyDlpV2CreateStoredInfoTypeRequest+ Core.<$> (o Core..:? "config")+ Core.<*> (o Core..:? "locationId")+ Core.<*> (o Core..:? "storedInfoTypeId")+ )++instance Core.ToJSON GooglePrivacyDlpV2CreateStoredInfoTypeRequest where+ toJSON GooglePrivacyDlpV2CreateStoredInfoTypeRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("config" Core..=) Core.<$> config,+ ("locationId" Core..=) Core.<$> locationId,+ ("storedInfoTypeId" Core..=) Core.<$> storedInfoTypeId+ ]+ )++-- | Pseudonymization method that generates deterministic encryption for the given input. Outputs a base64 encoded representation of the encrypted output. Uses AES-SIV based on the RFC https:\/\/tools.ietf.org\/html\/rfc5297.+--+-- /See:/ 'newGooglePrivacyDlpV2CryptoDeterministicConfig' smart constructor.+data GooglePrivacyDlpV2CryptoDeterministicConfig = GooglePrivacyDlpV2CryptoDeterministicConfig+ { -- | A context may be used for higher security and maintaining referential integrity such that the same identifier in two different contexts will be given a distinct surrogate. The context is appended to plaintext value being encrypted. On decryption the provided context is validated against the value used during encryption. If a context was provided during encryption, same context must be provided during decryption as well. If the context is not set, plaintext would be used as is for encryption. If the context is set but: 1. there is no record present when transforming a given value or 2. the field is not present when transforming a given value, plaintext would be used as is for encryption. Note that case (1) is expected when an @InfoTypeTransformation@ is applied to both structured and unstructured @ContentItem@s.+ context :: (Core.Maybe GooglePrivacyDlpV2FieldId),+ -- | The key used by the encryption function. For deterministic encryption using AES-SIV, the provided key is internally expanded to 64 bytes prior to use.+ cryptoKey :: (Core.Maybe GooglePrivacyDlpV2CryptoKey),+ -- | The custom info type to annotate the surrogate with. This annotation will be applied to the surrogate by prefixing it with the name of the custom info type followed by the number of characters comprising the surrogate. The following scheme defines the format: {info type name}({surrogate character count}):{surrogate} For example, if the name of custom info type is \'MY/TOKEN/INFO/TYPE\' and the surrogate is \'abc\', the full replacement value will be: \'MY/TOKEN/INFO/TYPE(3):abc\' This annotation identifies the surrogate when inspecting content using the custom info type \'Surrogate\'. This facilitates reversal of the surrogate when it occurs in free text. Note: For record transformations where the entire cell in a table is being transformed, surrogates are not mandatory. Surrogates are used to denote the location of the token and are necessary for re-identification in free form text. In order for inspection to work properly, the name of this info type must not occur naturally anywhere in your data; otherwise,+ -- inspection may either - reverse a surrogate that does not correspond to an actual identifier - be unable to parse the surrogate and result in an error Therefore, choose your custom info type name carefully after considering what your data looks like. One way to select a name that has a high chance of yielding reliable detection is to include one or more unicode characters that are highly improbable to exist in your data. For example, assuming your data is entered from a regular ASCII keyboard, the symbol with the hex code point 29DD might be used like so: ⧝MY/TOKEN/TYPE.+ surrogateInfoType :: (Core.Maybe GooglePrivacyDlpV2InfoType)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CryptoDeterministicConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CryptoDeterministicConfig ::+ GooglePrivacyDlpV2CryptoDeterministicConfig+newGooglePrivacyDlpV2CryptoDeterministicConfig =+ GooglePrivacyDlpV2CryptoDeterministicConfig+ { context =+ Core.Nothing,+ cryptoKey = Core.Nothing,+ surrogateInfoType = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2CryptoDeterministicConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CryptoDeterministicConfig"+ ( \o ->+ GooglePrivacyDlpV2CryptoDeterministicConfig+ Core.<$> (o Core..:? "context")+ Core.<*> (o Core..:? "cryptoKey")+ Core.<*> (o Core..:? "surrogateInfoType")+ )++instance Core.ToJSON GooglePrivacyDlpV2CryptoDeterministicConfig where+ toJSON GooglePrivacyDlpV2CryptoDeterministicConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("context" Core..=) Core.<$> context,+ ("cryptoKey" Core..=) Core.<$> cryptoKey,+ ("surrogateInfoType" Core..=) Core.<$> surrogateInfoType+ ]+ )++-- | Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. The key size must be either 32 or 64 bytes. Outputs a base64 encoded representation of the hashed output (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only string and integer values can be hashed. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/pseudonymization to learn more.+--+-- /See:/ 'newGooglePrivacyDlpV2CryptoHashConfig' smart constructor.+newtype GooglePrivacyDlpV2CryptoHashConfig = GooglePrivacyDlpV2CryptoHashConfig+ { -- | The key used by the hash function.+ cryptoKey :: (Core.Maybe GooglePrivacyDlpV2CryptoKey)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CryptoHashConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CryptoHashConfig ::+ GooglePrivacyDlpV2CryptoHashConfig+newGooglePrivacyDlpV2CryptoHashConfig =+ GooglePrivacyDlpV2CryptoHashConfig {cryptoKey = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2CryptoHashConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CryptoHashConfig"+ ( \o ->+ GooglePrivacyDlpV2CryptoHashConfig+ Core.<$> (o Core..:? "cryptoKey")+ )++instance Core.ToJSON GooglePrivacyDlpV2CryptoHashConfig where+ toJSON GooglePrivacyDlpV2CryptoHashConfig {..} =+ Core.object+ (Core.catMaybes [("cryptoKey" Core..=) Core.<$> cryptoKey])++-- | This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by Cloud Key Management Service (Cloud KMS). When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate IAM policy on the KEK to ensure an attacker cannot unwrap the DEK.+--+-- /See:/ 'newGooglePrivacyDlpV2CryptoKey' smart constructor.+data GooglePrivacyDlpV2CryptoKey = GooglePrivacyDlpV2CryptoKey+ { -- | Key wrapped using Cloud KMS+ kmsWrapped :: (Core.Maybe GooglePrivacyDlpV2KmsWrappedCryptoKey),+ -- | Transient crypto key+ transient :: (Core.Maybe GooglePrivacyDlpV2TransientCryptoKey),+ -- | Unwrapped crypto key+ unwrapped :: (Core.Maybe GooglePrivacyDlpV2UnwrappedCryptoKey)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CryptoKey' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CryptoKey ::+ GooglePrivacyDlpV2CryptoKey+newGooglePrivacyDlpV2CryptoKey =+ GooglePrivacyDlpV2CryptoKey+ { kmsWrapped = Core.Nothing,+ transient = Core.Nothing,+ unwrapped = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2CryptoKey where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CryptoKey"+ ( \o ->+ GooglePrivacyDlpV2CryptoKey+ Core.<$> (o Core..:? "kmsWrapped")+ Core.<*> (o Core..:? "transient")+ Core.<*> (o Core..:? "unwrapped")+ )++instance Core.ToJSON GooglePrivacyDlpV2CryptoKey where+ toJSON GooglePrivacyDlpV2CryptoKey {..} =+ Core.object+ ( Core.catMaybes+ [ ("kmsWrapped" Core..=) Core.<$> kmsWrapped,+ ("transient" Core..=) Core.<$> transient,+ ("unwrapped" Core..=) Core.<$> unwrapped+ ]+ )++-- | Replaces an identifier with a surrogate using Format Preserving Encryption (FPE) with the FFX mode of operation; however when used in the @ReidentifyContent@ API method, it serves the opposite function by reversing the surrogate back into the original identifier. The identifier must be encoded as ASCII. For a given crypto key and context, the same identifier will be replaced with the same surrogate. Identifiers must be at least two characters long. In the case that the identifier is the empty string, it will be skipped. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/pseudonymization to learn more. Note: We recommend using CryptoDeterministicConfig for all use cases which do not require preserving the input alphabet space and size, plus warrant referential integrity. FPE incurs significant latency costs.+--+-- /See:/ 'newGooglePrivacyDlpV2CryptoReplaceFfxFpeConfig' smart constructor.+data GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig = GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig+ { -- | Common alphabets.+ commonAlphabet ::+ ( Core.Maybe+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet+ ),+ -- | The \'tweak\', a context may be used for higher security since the same identifier in two different contexts won\'t be given the same surrogate. If the context is not set, a default tweak will be used. If the context is set but: 1. there is no record present when transforming a given value or 1. the field is not present when transforming a given value, a default tweak will be used. Note that case (1) is expected when an @InfoTypeTransformation@ is applied to both structured and unstructured @ContentItem@s. Currently, the referenced field may be of value type integer or string. The tweak is constructed as a sequence of bytes in big endian byte order such that: - a 64 bit integer is encoded followed by a single byte of value 1 - a string is encoded in UTF-8 format followed by a single byte of value 2+ context :: (Core.Maybe GooglePrivacyDlpV2FieldId),+ -- | Required. The key used by the encryption algorithm.+ cryptoKey :: (Core.Maybe GooglePrivacyDlpV2CryptoKey),+ -- | This is supported by mapping these to the alphanumeric characters that the FFX mode natively supports. This happens before\/after encryption\/decryption. Each character listed must appear only once. Number of characters must be in the range [2, 95]. This must be encoded as ASCII. The order of characters does not matter. The full list of allowed characters is: @0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~\`!\@#$%^&*()_-+={[}]|\\:;\"\'\<,>.?\/@+ customAlphabet :: (Core.Maybe Core.Text),+ -- | The native way to select the alphabet. Must be in the range [2, 95].+ radix :: (Core.Maybe Core.Int32),+ -- | The custom infoType to annotate the surrogate with. This annotation will be applied to the surrogate by prefixing it with the name of the custom infoType followed by the number of characters comprising the surrogate. The following scheme defines the format: info/type/name(surrogate/character/count):surrogate For example, if the name of custom infoType is \'MY/TOKEN/INFO/TYPE\' and the surrogate is \'abc\', the full replacement value will be: \'MY/TOKEN/INFO/TYPE(3):abc\' This annotation identifies the surrogate when inspecting content using the custom infoType <https://cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InspectConfig#surrogatetype SurrogateType>. This facilitates reversal of the surrogate when it occurs in free text. In order for inspection to work properly, the name of this infoType must not occur naturally anywhere in your data; otherwise, inspection may find a surrogate that does not correspond to an actual identifier. Therefore, choose your custom infoType name carefully+ -- after considering what your data looks like. One way to select a name that has a high chance of yielding reliable detection is to include one or more unicode characters that are highly improbable to exist in your data. For example, assuming your data is entered from a regular ASCII keyboard, the symbol with the hex code point 29DD might be used like so: ⧝MY/TOKEN/TYPE+ surrogateInfoType :: (Core.Maybe GooglePrivacyDlpV2InfoType)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CryptoReplaceFfxFpeConfig ::+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig+newGooglePrivacyDlpV2CryptoReplaceFfxFpeConfig =+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig+ { commonAlphabet =+ Core.Nothing,+ context = Core.Nothing,+ cryptoKey = Core.Nothing,+ customAlphabet = Core.Nothing,+ radix = Core.Nothing,+ surrogateInfoType = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig"+ ( \o ->+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig+ Core.<$> (o Core..:? "commonAlphabet")+ Core.<*> (o Core..:? "context")+ Core.<*> (o Core..:? "cryptoKey")+ Core.<*> (o Core..:? "customAlphabet")+ Core.<*> (o Core..:? "radix")+ Core.<*> (o Core..:? "surrogateInfoType")+ )++instance Core.ToJSON GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig where+ toJSON GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("commonAlphabet" Core..=) Core.<$> commonAlphabet,+ ("context" Core..=) Core.<$> context,+ ("cryptoKey" Core..=) Core.<$> cryptoKey,+ ("customAlphabet" Core..=) Core.<$> customAlphabet,+ ("radix" Core..=) Core.<$> radix,+ ("surrogateInfoType" Core..=) Core.<$> surrogateInfoType+ ]+ )++-- | Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question.+--+-- /See:/ 'newGooglePrivacyDlpV2CustomInfoType' smart constructor.+data GooglePrivacyDlpV2CustomInfoType = GooglePrivacyDlpV2CustomInfoType+ { -- | Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the @surrogate_type@ CustomInfoType.+ detectionRules :: (Core.Maybe [GooglePrivacyDlpV2DetectionRule]),+ -- | A list of phrases to detect as a CustomInfoType.+ dictionary :: (Core.Maybe GooglePrivacyDlpV2Dictionary),+ -- | If set to EXCLUSION/TYPE/EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.+ exclusionType :: (Core.Maybe GooglePrivacyDlpV2CustomInfoType_ExclusionType),+ -- | CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in @InspectContent.info_types@ field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in @InspectContent.info_types@ list then the name is treated as a custom info type.+ infoType :: (Core.Maybe GooglePrivacyDlpV2InfoType),+ -- | Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults to @VERY_LIKELY@ if not specified.+ likelihood :: (Core.Maybe GooglePrivacyDlpV2CustomInfoType_Likelihood),+ -- | Regular expression based CustomInfoType.+ regex :: (Core.Maybe GooglePrivacyDlpV2Regex),+ -- | Sensitivity for this CustomInfoType. If this CustomInfoType extends an existing InfoType, the sensitivity here will take precedence over that of the original InfoType. If unset for a CustomInfoType, it will default to HIGH. This only applies to data profiling.+ sensitivityScore :: (Core.Maybe GooglePrivacyDlpV2SensitivityScore),+ -- | Load an existing @StoredInfoType@ resource for use in @InspectDataSource@. Not currently supported in @InspectContent@.+ storedType :: (Core.Maybe GooglePrivacyDlpV2StoredType),+ -- | Message for detecting output from deidentification transformations that support reversing.+ surrogateType :: (Core.Maybe GooglePrivacyDlpV2SurrogateType)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2CustomInfoType' with the minimum fields required to make a request.+newGooglePrivacyDlpV2CustomInfoType ::+ GooglePrivacyDlpV2CustomInfoType+newGooglePrivacyDlpV2CustomInfoType =+ GooglePrivacyDlpV2CustomInfoType+ { detectionRules = Core.Nothing,+ dictionary = Core.Nothing,+ exclusionType = Core.Nothing,+ infoType = Core.Nothing,+ likelihood = Core.Nothing,+ regex = Core.Nothing,+ sensitivityScore = Core.Nothing,+ storedType = Core.Nothing,+ surrogateType = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2CustomInfoType where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2CustomInfoType"+ ( \o ->+ GooglePrivacyDlpV2CustomInfoType+ Core.<$> (o Core..:? "detectionRules")+ Core.<*> (o Core..:? "dictionary")+ Core.<*> (o Core..:? "exclusionType")+ Core.<*> (o Core..:? "infoType")+ Core.<*> (o Core..:? "likelihood")+ Core.<*> (o Core..:? "regex")+ Core.<*> (o Core..:? "sensitivityScore")+ Core.<*> (o Core..:? "storedType")+ Core.<*> (o Core..:? "surrogateType")+ )++instance Core.ToJSON GooglePrivacyDlpV2CustomInfoType where+ toJSON GooglePrivacyDlpV2CustomInfoType {..} =+ Core.object+ ( Core.catMaybes+ [ ("detectionRules" Core..=) Core.<$> detectionRules,+ ("dictionary" Core..=) Core.<$> dictionary,+ ("exclusionType" Core..=) Core.<$> exclusionType,+ ("infoType" Core..=) Core.<$> infoType,+ ("likelihood" Core..=) Core.<$> likelihood,+ ("regex" Core..=) Core.<$> regex,+ ("sensitivityScore" Core..=) Core.<$> sensitivityScore,+ ("storedType" Core..=) Core.<$> storedType,+ ("surrogateType" Core..=) Core.<$> surrogateType+ ]+ )++-- | A task to execute when a data profile has been generated.+--+-- /See:/ 'newGooglePrivacyDlpV2DataProfileAction' smart constructor.+data GooglePrivacyDlpV2DataProfileAction = GooglePrivacyDlpV2DataProfileAction+ { -- | Export data profiles into a provided location.+ exportData :: (Core.Maybe GooglePrivacyDlpV2Export),+ -- | Publish a message into the Pub\/Sub topic.+ pubSubNotification :: (Core.Maybe GooglePrivacyDlpV2PubSubNotification),+ -- | Publishes generated data profiles to Google Security Operations. For more information, see <https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download Use Sensitive Data Protection data in context-aware analytics>.+ publishToChronicle :: (Core.Maybe GooglePrivacyDlpV2PublishToChronicle),+ -- | Publishes findings to Security Command Center for each data profile.+ publishToScc :: (Core.Maybe GooglePrivacyDlpV2PublishToSecurityCommandCenter),+ -- | Tags the profiled resources with the specified tag values.+ tagResources :: (Core.Maybe GooglePrivacyDlpV2TagResources)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DataProfileAction' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DataProfileAction ::+ GooglePrivacyDlpV2DataProfileAction+newGooglePrivacyDlpV2DataProfileAction =+ GooglePrivacyDlpV2DataProfileAction+ { exportData = Core.Nothing,+ pubSubNotification = Core.Nothing,+ publishToChronicle = Core.Nothing,+ publishToScc = Core.Nothing,+ tagResources = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DataProfileAction where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DataProfileAction"+ ( \o ->+ GooglePrivacyDlpV2DataProfileAction+ Core.<$> (o Core..:? "exportData")+ Core.<*> (o Core..:? "pubSubNotification")+ Core.<*> (o Core..:? "publishToChronicle")+ Core.<*> (o Core..:? "publishToScc")+ Core.<*> (o Core..:? "tagResources")+ )++instance Core.ToJSON GooglePrivacyDlpV2DataProfileAction where+ toJSON GooglePrivacyDlpV2DataProfileAction {..} =+ Core.object+ ( Core.catMaybes+ [ ("exportData" Core..=) Core.<$> exportData,+ ("pubSubNotification" Core..=) Core.<$> pubSubNotification,+ ("publishToChronicle" Core..=) Core.<$> publishToChronicle,+ ("publishToScc" Core..=) Core.<$> publishToScc,+ ("tagResources" Core..=) Core.<$> tagResources+ ]+ )++-- | The schema of data to be saved to the BigQuery table when the @DataProfileAction@ is enabled.+--+-- /See:/ 'newGooglePrivacyDlpV2DataProfileBigQueryRowSchema' smart constructor.+data GooglePrivacyDlpV2DataProfileBigQueryRowSchema = GooglePrivacyDlpV2DataProfileBigQueryRowSchema+ { -- | Column data profile column+ columnProfile :: (Core.Maybe GooglePrivacyDlpV2ColumnDataProfile),+ -- | File store data profile column.+ fileStoreProfile :: (Core.Maybe GooglePrivacyDlpV2FileStoreDataProfile),+ -- | Table data profile column+ tableProfile :: (Core.Maybe GooglePrivacyDlpV2TableDataProfile)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DataProfileBigQueryRowSchema' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DataProfileBigQueryRowSchema ::+ GooglePrivacyDlpV2DataProfileBigQueryRowSchema+newGooglePrivacyDlpV2DataProfileBigQueryRowSchema =+ GooglePrivacyDlpV2DataProfileBigQueryRowSchema+ { columnProfile =+ Core.Nothing,+ fileStoreProfile = Core.Nothing,+ tableProfile = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DataProfileBigQueryRowSchema+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DataProfileBigQueryRowSchema"+ ( \o ->+ GooglePrivacyDlpV2DataProfileBigQueryRowSchema+ Core.<$> (o Core..:? "columnProfile")+ Core.<*> (o Core..:? "fileStoreProfile")+ Core.<*> (o Core..:? "tableProfile")+ )++instance Core.ToJSON GooglePrivacyDlpV2DataProfileBigQueryRowSchema where+ toJSON GooglePrivacyDlpV2DataProfileBigQueryRowSchema {..} =+ Core.object+ ( Core.catMaybes+ [ ("columnProfile" Core..=) Core.<$> columnProfile,+ ("fileStoreProfile" Core..=) Core.<$> fileStoreProfile,+ ("tableProfile" Core..=) Core.<$> tableProfile+ ]+ )++-- | Snapshot of the configurations used to generate the profile.+--+-- /See:/ 'newGooglePrivacyDlpV2DataProfileConfigSnapshot' smart constructor.+data GooglePrivacyDlpV2DataProfileConfigSnapshot = GooglePrivacyDlpV2DataProfileConfigSnapshot+ { -- | A copy of the configuration used to generate this profile. This is deprecated, and the DiscoveryConfig field is preferred moving forward. DataProfileJobConfig will still be written here for Discovery in BigQuery for backwards compatibility, but will not be updated with new fields, while DiscoveryConfig will.+ dataProfileJob :: (Core.Maybe GooglePrivacyDlpV2DataProfileJobConfig),+ -- | A copy of the configuration used to generate this profile.+ discoveryConfig :: (Core.Maybe GooglePrivacyDlpV2DiscoveryConfig),+ -- | A copy of the inspection config used to generate this profile. This is a copy of the inspect_template specified in @DataProfileJobConfig@.+ inspectConfig :: (Core.Maybe GooglePrivacyDlpV2InspectConfig),+ -- | Timestamp when the template was modified+ inspectTemplateModifiedTime :: (Core.Maybe Core.DateTime),+ -- | Name of the inspection template used to generate this profile+ inspectTemplateName :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DataProfileConfigSnapshot' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DataProfileConfigSnapshot ::+ GooglePrivacyDlpV2DataProfileConfigSnapshot+newGooglePrivacyDlpV2DataProfileConfigSnapshot =+ GooglePrivacyDlpV2DataProfileConfigSnapshot+ { dataProfileJob =+ Core.Nothing,+ discoveryConfig = Core.Nothing,+ inspectConfig = Core.Nothing,+ inspectTemplateModifiedTime = Core.Nothing,+ inspectTemplateName = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DataProfileConfigSnapshot where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DataProfileConfigSnapshot"+ ( \o ->+ GooglePrivacyDlpV2DataProfileConfigSnapshot+ Core.<$> (o Core..:? "dataProfileJob")+ Core.<*> (o Core..:? "discoveryConfig")+ Core.<*> (o Core..:? "inspectConfig")+ Core.<*> (o Core..:? "inspectTemplateModifiedTime")+ Core.<*> (o Core..:? "inspectTemplateName")+ )++instance Core.ToJSON GooglePrivacyDlpV2DataProfileConfigSnapshot where+ toJSON GooglePrivacyDlpV2DataProfileConfigSnapshot {..} =+ Core.object+ ( Core.catMaybes+ [ ("dataProfileJob" Core..=) Core.<$> dataProfileJob,+ ("discoveryConfig" Core..=) Core.<$> discoveryConfig,+ ("inspectConfig" Core..=) Core.<$> inspectConfig,+ ("inspectTemplateModifiedTime" Core..=)+ Core.<$> inspectTemplateModifiedTime,+ ("inspectTemplateName" Core..=) Core.<$> inspectTemplateName+ ]+ )++-- | Details about a piece of potentially sensitive information that was detected when the data resource was profiled.+--+-- /See:/ 'newGooglePrivacyDlpV2DataProfileFinding' smart constructor.+data GooglePrivacyDlpV2DataProfileFinding = GooglePrivacyDlpV2DataProfileFinding+ { -- | Resource name of the data profile associated with the finding.+ dataProfileResourceName :: (Core.Maybe Core.Text),+ -- | A unique identifier for the finding.+ findingId :: (Core.Maybe Core.Text),+ -- | The <https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference type of content> that might have been found.+ infotype :: (Core.Maybe GooglePrivacyDlpV2InfoType),+ -- | Where the content was found.+ location :: (Core.Maybe GooglePrivacyDlpV2DataProfileFindingLocation),+ -- | The content that was found. Even if the content is not textual, it may be converted to a textual representation here. If the finding exceeds 4096 bytes in length, the quote may be omitted.+ quote :: (Core.Maybe Core.Text),+ -- | Contains data parsed from quotes. Currently supported infoTypes: DATE, DATE/OF/BIRTH, and TIME.+ quoteInfo :: (Core.Maybe GooglePrivacyDlpV2QuoteInfo),+ -- | How broadly a resource has been shared.+ resourceVisibility ::+ ( Core.Maybe+ GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility+ ),+ -- | Timestamp when the finding was detected.+ timestamp :: (Core.Maybe Core.DateTime)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DataProfileFinding' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DataProfileFinding ::+ GooglePrivacyDlpV2DataProfileFinding+newGooglePrivacyDlpV2DataProfileFinding =+ GooglePrivacyDlpV2DataProfileFinding+ { dataProfileResourceName =+ Core.Nothing,+ findingId = Core.Nothing,+ infotype = Core.Nothing,+ location = Core.Nothing,+ quote = Core.Nothing,+ quoteInfo = Core.Nothing,+ resourceVisibility = Core.Nothing,+ timestamp = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DataProfileFinding where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DataProfileFinding"+ ( \o ->+ GooglePrivacyDlpV2DataProfileFinding+ Core.<$> (o Core..:? "dataProfileResourceName")+ Core.<*> (o Core..:? "findingId")+ Core.<*> (o Core..:? "infotype")+ Core.<*> (o Core..:? "location")+ Core.<*> (o Core..:? "quote")+ Core.<*> (o Core..:? "quoteInfo")+ Core.<*> (o Core..:? "resourceVisibility")+ Core.<*> (o Core..:? "timestamp")+ )++instance Core.ToJSON GooglePrivacyDlpV2DataProfileFinding where+ toJSON GooglePrivacyDlpV2DataProfileFinding {..} =+ Core.object+ ( Core.catMaybes+ [ ("dataProfileResourceName" Core..=)+ Core.<$> dataProfileResourceName,+ ("findingId" Core..=) Core.<$> findingId,+ ("infotype" Core..=) Core.<$> infotype,+ ("location" Core..=) Core.<$> location,+ ("quote" Core..=) Core.<$> quote,+ ("quoteInfo" Core..=) Core.<$> quoteInfo,+ ("resourceVisibility" Core..=) Core.<$> resourceVisibility,+ ("timestamp" Core..=) Core.<$> timestamp+ ]+ )++-- | Location of a data profile finding within a resource.+--+-- /See:/ 'newGooglePrivacyDlpV2DataProfileFindingLocation' smart constructor.+data GooglePrivacyDlpV2DataProfileFindingLocation = GooglePrivacyDlpV2DataProfileFindingLocation+ { -- | Name of the container where the finding is located. The top-level name is the source file name or table name. Names of some common storage containers are formatted as follows: * BigQuery tables: @{project_id}:{dataset_id}.{table_id}@ * Cloud Storage files: @gs:\/\/{bucket}\/{path}@+ containerName :: (Core.Maybe Core.Text),+ -- | Location of a finding within a resource that produces a table data profile.+ dataProfileFindingRecordLocation :: (Core.Maybe GooglePrivacyDlpV2DataProfileFindingRecordLocation)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DataProfileFindingLocation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DataProfileFindingLocation ::+ GooglePrivacyDlpV2DataProfileFindingLocation+newGooglePrivacyDlpV2DataProfileFindingLocation =+ GooglePrivacyDlpV2DataProfileFindingLocation+ { containerName =+ Core.Nothing,+ dataProfileFindingRecordLocation = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DataProfileFindingLocation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DataProfileFindingLocation"+ ( \o ->+ GooglePrivacyDlpV2DataProfileFindingLocation+ Core.<$> (o Core..:? "containerName")+ Core.<*> (o Core..:? "dataProfileFindingRecordLocation")+ )++instance Core.ToJSON GooglePrivacyDlpV2DataProfileFindingLocation where+ toJSON GooglePrivacyDlpV2DataProfileFindingLocation {..} =+ Core.object+ ( Core.catMaybes+ [ ("containerName" Core..=) Core.<$> containerName,+ ("dataProfileFindingRecordLocation" Core..=)+ Core.<$> dataProfileFindingRecordLocation+ ]+ )++-- | Location of a finding within a resource that produces a table data profile.+--+-- /See:/ 'newGooglePrivacyDlpV2DataProfileFindingRecordLocation' smart constructor.+newtype GooglePrivacyDlpV2DataProfileFindingRecordLocation = GooglePrivacyDlpV2DataProfileFindingRecordLocation+ { -- | Field ID of the column containing the finding.+ field :: (Core.Maybe GooglePrivacyDlpV2FieldId)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DataProfileFindingRecordLocation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DataProfileFindingRecordLocation ::+ GooglePrivacyDlpV2DataProfileFindingRecordLocation+newGooglePrivacyDlpV2DataProfileFindingRecordLocation =+ GooglePrivacyDlpV2DataProfileFindingRecordLocation+ { field =+ Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DataProfileFindingRecordLocation+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DataProfileFindingRecordLocation"+ ( \o ->+ GooglePrivacyDlpV2DataProfileFindingRecordLocation+ Core.<$> (o Core..:? "field")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2DataProfileFindingRecordLocation+ where+ toJSON GooglePrivacyDlpV2DataProfileFindingRecordLocation {..} =+ Core.object (Core.catMaybes [("field" Core..=) Core.<$> field])++-- | Configuration for setting up a job to scan resources for profile generation. Only one data profile configuration may exist per organization, folder, or project. The generated data profiles are retained according to the [data retention policy] (https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/data-profiles#retention).+--+-- /See:/ 'newGooglePrivacyDlpV2DataProfileJobConfig' smart constructor.+data GooglePrivacyDlpV2DataProfileJobConfig = GooglePrivacyDlpV2DataProfileJobConfig+ { -- | Actions to execute at the completion of the job.+ dataProfileActions :: (Core.Maybe [GooglePrivacyDlpV2DataProfileAction]),+ -- | Detection logic for profile generation. Not all template features are used by profiles. FindingLimits, include/quote and exclude/info_types have no impact on data profiling. Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including \"global\"). Each region is scanned using the applicable template. If no region-specific template is specified, but a \"global\" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region\'s data will not be scanned. For more information, see https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/data-profiles#data-residency.+ inspectTemplates :: (Core.Maybe [Core.Text]),+ -- | The data to scan.+ location :: (Core.Maybe GooglePrivacyDlpV2DataProfileLocation),+ -- | Must be set only when scanning other clouds.+ otherCloudStartingLocation :: (Core.Maybe GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation),+ -- | The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the DLP API must be enabled.+ projectId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DataProfileJobConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DataProfileJobConfig ::+ GooglePrivacyDlpV2DataProfileJobConfig+newGooglePrivacyDlpV2DataProfileJobConfig =+ GooglePrivacyDlpV2DataProfileJobConfig+ { dataProfileActions =+ Core.Nothing,+ inspectTemplates = Core.Nothing,+ location = Core.Nothing,+ otherCloudStartingLocation = Core.Nothing,+ projectId = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DataProfileJobConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DataProfileJobConfig"+ ( \o ->+ GooglePrivacyDlpV2DataProfileJobConfig+ Core.<$> (o Core..:? "dataProfileActions")+ Core.<*> (o Core..:? "inspectTemplates")+ Core.<*> (o Core..:? "location")+ Core.<*> (o Core..:? "otherCloudStartingLocation")+ Core.<*> (o Core..:? "projectId")+ )++instance Core.ToJSON GooglePrivacyDlpV2DataProfileJobConfig where+ toJSON GooglePrivacyDlpV2DataProfileJobConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("dataProfileActions" Core..=) Core.<$> dataProfileActions,+ ("inspectTemplates" Core..=) Core.<$> inspectTemplates,+ ("location" Core..=) Core.<$> location,+ ("otherCloudStartingLocation" Core..=)+ Core.<$> otherCloudStartingLocation,+ ("projectId" Core..=) Core.<$> projectId+ ]+ )++-- | The data that will be profiled.+--+-- /See:/ 'newGooglePrivacyDlpV2DataProfileLocation' smart constructor.+data GooglePrivacyDlpV2DataProfileLocation = GooglePrivacyDlpV2DataProfileLocation+ { -- | The ID of the folder within an organization to scan.+ folderId :: (Core.Maybe Core.Int64),+ -- | The ID of an organization to scan.+ organizationId :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DataProfileLocation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DataProfileLocation ::+ GooglePrivacyDlpV2DataProfileLocation+newGooglePrivacyDlpV2DataProfileLocation =+ GooglePrivacyDlpV2DataProfileLocation+ { folderId = Core.Nothing,+ organizationId = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DataProfileLocation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DataProfileLocation"+ ( \o ->+ GooglePrivacyDlpV2DataProfileLocation+ Core.<$> (o Core..:? "folderId" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "organizationId" Core.<&> Core.fmap Core.fromAsText)+ )++instance Core.ToJSON GooglePrivacyDlpV2DataProfileLocation where+ toJSON GooglePrivacyDlpV2DataProfileLocation {..} =+ Core.object+ ( Core.catMaybes+ [ ("folderId" Core..=) Core.. Core.AsText Core.<$> folderId,+ ("organizationId" Core..=)+ Core.. Core.AsText+ Core.<$> organizationId+ ]+ )++-- | A condition for determining whether a Pub\/Sub should be triggered.+--+-- /See:/ 'newGooglePrivacyDlpV2DataProfilePubSubCondition' smart constructor.+newtype GooglePrivacyDlpV2DataProfilePubSubCondition = GooglePrivacyDlpV2DataProfilePubSubCondition+ { -- | An expression.+ expressions :: (Core.Maybe GooglePrivacyDlpV2PubSubExpressions)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DataProfilePubSubCondition' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DataProfilePubSubCondition ::+ GooglePrivacyDlpV2DataProfilePubSubCondition+newGooglePrivacyDlpV2DataProfilePubSubCondition =+ GooglePrivacyDlpV2DataProfilePubSubCondition+ { expressions =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DataProfilePubSubCondition where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DataProfilePubSubCondition"+ ( \o ->+ GooglePrivacyDlpV2DataProfilePubSubCondition+ Core.<$> (o Core..:? "expressions")+ )++instance Core.ToJSON GooglePrivacyDlpV2DataProfilePubSubCondition where+ toJSON GooglePrivacyDlpV2DataProfilePubSubCondition {..} =+ Core.object+ (Core.catMaybes [("expressions" Core..=) Core.<$> expressions])++-- | Pub\/Sub topic message for a DataProfileAction.PubSubNotification event. To receive a message of protocol buffer schema type, convert the message data to an object of this proto class.+--+-- /See:/ 'newGooglePrivacyDlpV2DataProfilePubSubMessage' smart constructor.+data GooglePrivacyDlpV2DataProfilePubSubMessage = GooglePrivacyDlpV2DataProfilePubSubMessage+ { -- | The event that caused the Pub\/Sub message to be sent.+ event :: (Core.Maybe GooglePrivacyDlpV2DataProfilePubSubMessage_Event),+ -- | If @DetailLevel@ is @FILE_STORE_PROFILE@ this will be fully populated. Otherwise, if @DetailLevel@ is @RESOURCE_NAME@, then only @name@ and @file_store_path@ will be populated.+ fileStoreProfile :: (Core.Maybe GooglePrivacyDlpV2FileStoreDataProfile),+ -- | If @DetailLevel@ is @TABLE_PROFILE@ this will be fully populated. Otherwise, if @DetailLevel@ is @RESOURCE_NAME@, then only @name@ and @full_resource@ will be populated.+ profile :: (Core.Maybe GooglePrivacyDlpV2TableDataProfile)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DataProfilePubSubMessage' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DataProfilePubSubMessage ::+ GooglePrivacyDlpV2DataProfilePubSubMessage+newGooglePrivacyDlpV2DataProfilePubSubMessage =+ GooglePrivacyDlpV2DataProfilePubSubMessage+ { event = Core.Nothing,+ fileStoreProfile = Core.Nothing,+ profile = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DataProfilePubSubMessage where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DataProfilePubSubMessage"+ ( \o ->+ GooglePrivacyDlpV2DataProfilePubSubMessage+ Core.<$> (o Core..:? "event")+ Core.<*> (o Core..:? "fileStoreProfile")+ Core.<*> (o Core..:? "profile")+ )++instance Core.ToJSON GooglePrivacyDlpV2DataProfilePubSubMessage where+ toJSON GooglePrivacyDlpV2DataProfilePubSubMessage {..} =+ Core.object+ ( Core.catMaybes+ [ ("event" Core..=) Core.<$> event,+ ("fileStoreProfile" Core..=) Core.<$> fileStoreProfile,+ ("profile" Core..=) Core.<$> profile+ ]+ )++-- | Score is a summary of all elements in the data profile. A higher number means more risk.+--+-- /See:/ 'newGooglePrivacyDlpV2DataRiskLevel' smart constructor.+newtype GooglePrivacyDlpV2DataRiskLevel = GooglePrivacyDlpV2DataRiskLevel+ { -- | The score applied to the resource.+ score :: (Core.Maybe GooglePrivacyDlpV2DataRiskLevel_Score)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DataRiskLevel' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DataRiskLevel ::+ GooglePrivacyDlpV2DataRiskLevel+newGooglePrivacyDlpV2DataRiskLevel =+ GooglePrivacyDlpV2DataRiskLevel {score = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2DataRiskLevel where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DataRiskLevel"+ ( \o ->+ GooglePrivacyDlpV2DataRiskLevel Core.<$> (o Core..:? "score")+ )++instance Core.ToJSON GooglePrivacyDlpV2DataRiskLevel where+ toJSON GooglePrivacyDlpV2DataRiskLevel {..} =+ Core.object (Core.catMaybes [("score" Core..=) Core.<$> score])++-- | Message used to identify the type of resource being profiled.+--+-- /See:/ 'newGooglePrivacyDlpV2DataSourceType' smart constructor.+newtype GooglePrivacyDlpV2DataSourceType = GooglePrivacyDlpV2DataSourceType+ { -- | Output only. An identifying string to the type of resource being profiled. Current values: * google\/bigquery\/table * google\/project * google\/sql\/table * google\/gcs\/bucket+ dataSource :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DataSourceType' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DataSourceType ::+ GooglePrivacyDlpV2DataSourceType+newGooglePrivacyDlpV2DataSourceType =+ GooglePrivacyDlpV2DataSourceType {dataSource = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2DataSourceType where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DataSourceType"+ ( \o ->+ GooglePrivacyDlpV2DataSourceType+ Core.<$> (o Core..:? "dataSource")+ )++instance Core.ToJSON GooglePrivacyDlpV2DataSourceType where+ toJSON GooglePrivacyDlpV2DataSourceType {..} =+ Core.object+ (Core.catMaybes [("dataSource" Core..=) Core.<$> dataSource])++-- | Match database resources using regex filters. Examples of database resources are tables, views, and stored procedures.+--+-- /See:/ 'newGooglePrivacyDlpV2DatabaseResourceCollection' smart constructor.+newtype GooglePrivacyDlpV2DatabaseResourceCollection = GooglePrivacyDlpV2DatabaseResourceCollection+ { -- | A collection of regular expressions to match a database resource against.+ includeRegexes :: (Core.Maybe GooglePrivacyDlpV2DatabaseResourceRegexes)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DatabaseResourceCollection' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DatabaseResourceCollection ::+ GooglePrivacyDlpV2DatabaseResourceCollection+newGooglePrivacyDlpV2DatabaseResourceCollection =+ GooglePrivacyDlpV2DatabaseResourceCollection+ { includeRegexes =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DatabaseResourceCollection where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DatabaseResourceCollection"+ ( \o ->+ GooglePrivacyDlpV2DatabaseResourceCollection+ Core.<$> (o Core..:? "includeRegexes")+ )++instance Core.ToJSON GooglePrivacyDlpV2DatabaseResourceCollection where+ toJSON GooglePrivacyDlpV2DatabaseResourceCollection {..} =+ Core.object+ ( Core.catMaybes+ [("includeRegexes" Core..=) Core.<$> includeRegexes]+ )++-- | Identifies a single database resource, like a table within a database.+--+-- /See:/ 'newGooglePrivacyDlpV2DatabaseResourceReference' smart constructor.+data GooglePrivacyDlpV2DatabaseResourceReference = GooglePrivacyDlpV2DatabaseResourceReference+ { -- | Required. Name of a database within the instance.+ database :: (Core.Maybe Core.Text),+ -- | Required. Name of a database resource, for example, a table within the database.+ databaseResource :: (Core.Maybe Core.Text),+ -- | Required. The instance where this resource is located. For example: Cloud SQL instance ID.+ instance' :: (Core.Maybe Core.Text),+ -- | Required. If within a project-level config, then this must match the config\'s project ID.+ projectId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DatabaseResourceReference' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DatabaseResourceReference ::+ GooglePrivacyDlpV2DatabaseResourceReference+newGooglePrivacyDlpV2DatabaseResourceReference =+ GooglePrivacyDlpV2DatabaseResourceReference+ { database =+ Core.Nothing,+ databaseResource = Core.Nothing,+ instance' = Core.Nothing,+ projectId = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DatabaseResourceReference where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DatabaseResourceReference"+ ( \o ->+ GooglePrivacyDlpV2DatabaseResourceReference+ Core.<$> (o Core..:? "database")+ Core.<*> (o Core..:? "databaseResource")+ Core.<*> (o Core..:? "instance")+ Core.<*> (o Core..:? "projectId")+ )++instance Core.ToJSON GooglePrivacyDlpV2DatabaseResourceReference where+ toJSON GooglePrivacyDlpV2DatabaseResourceReference {..} =+ Core.object+ ( Core.catMaybes+ [ ("database" Core..=) Core.<$> database,+ ("databaseResource" Core..=) Core.<$> databaseResource,+ ("instance" Core..=) Core.<$> instance',+ ("projectId" Core..=) Core.<$> projectId+ ]+ )++-- | A pattern to match against one or more database resources. At least one pattern must be specified. Regular expressions use RE2 <https://github.com/google/re2/wiki/Syntax syntax>; a guide can be found under the google\/re2 repository on GitHub.+--+-- /See:/ 'newGooglePrivacyDlpV2DatabaseResourceRegex' smart constructor.+data GooglePrivacyDlpV2DatabaseResourceRegex = GooglePrivacyDlpV2DatabaseResourceRegex+ { -- | Regex to test the database name against. If empty, all databases match.+ databaseRegex :: (Core.Maybe Core.Text),+ -- | Regex to test the database resource\'s name against. An example of a database resource name is a table\'s name. Other database resource names like view names could be included in the future. If empty, all database resources match.+ databaseResourceNameRegex :: (Core.Maybe Core.Text),+ -- | Regex to test the instance name against. If empty, all instances match.+ instanceRegex :: (Core.Maybe Core.Text),+ -- | For organizations, if unset, will match all projects. Has no effect for configurations created within a project.+ projectIdRegex :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DatabaseResourceRegex' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DatabaseResourceRegex ::+ GooglePrivacyDlpV2DatabaseResourceRegex+newGooglePrivacyDlpV2DatabaseResourceRegex =+ GooglePrivacyDlpV2DatabaseResourceRegex+ { databaseRegex =+ Core.Nothing,+ databaseResourceNameRegex = Core.Nothing,+ instanceRegex = Core.Nothing,+ projectIdRegex = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DatabaseResourceRegex where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DatabaseResourceRegex"+ ( \o ->+ GooglePrivacyDlpV2DatabaseResourceRegex+ Core.<$> (o Core..:? "databaseRegex")+ Core.<*> (o Core..:? "databaseResourceNameRegex")+ Core.<*> (o Core..:? "instanceRegex")+ Core.<*> (o Core..:? "projectIdRegex")+ )++instance Core.ToJSON GooglePrivacyDlpV2DatabaseResourceRegex where+ toJSON GooglePrivacyDlpV2DatabaseResourceRegex {..} =+ Core.object+ ( Core.catMaybes+ [ ("databaseRegex" Core..=) Core.<$> databaseRegex,+ ("databaseResourceNameRegex" Core..=)+ Core.<$> databaseResourceNameRegex,+ ("instanceRegex" Core..=) Core.<$> instanceRegex,+ ("projectIdRegex" Core..=) Core.<$> projectIdRegex+ ]+ )++-- | A collection of regular expressions to determine what database resources to match against.+--+-- /See:/ 'newGooglePrivacyDlpV2DatabaseResourceRegexes' smart constructor.+newtype GooglePrivacyDlpV2DatabaseResourceRegexes = GooglePrivacyDlpV2DatabaseResourceRegexes+ { -- | A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expression\'s length can\'t exceed 10 KiB.+ patterns :: (Core.Maybe [GooglePrivacyDlpV2DatabaseResourceRegex])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DatabaseResourceRegexes' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DatabaseResourceRegexes ::+ GooglePrivacyDlpV2DatabaseResourceRegexes+newGooglePrivacyDlpV2DatabaseResourceRegexes =+ GooglePrivacyDlpV2DatabaseResourceRegexes+ { patterns =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DatabaseResourceRegexes where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DatabaseResourceRegexes"+ ( \o ->+ GooglePrivacyDlpV2DatabaseResourceRegexes+ Core.<$> (o Core..:? "patterns")+ )++instance Core.ToJSON GooglePrivacyDlpV2DatabaseResourceRegexes where+ toJSON GooglePrivacyDlpV2DatabaseResourceRegexes {..} =+ Core.object+ (Core.catMaybes [("patterns" Core..=) Core.<$> patterns])++-- | Record key for a finding in Cloud Datastore.+--+-- /See:/ 'newGooglePrivacyDlpV2DatastoreKey' smart constructor.+newtype GooglePrivacyDlpV2DatastoreKey = GooglePrivacyDlpV2DatastoreKey+ { -- | Datastore entity key.+ entityKey :: (Core.Maybe GooglePrivacyDlpV2Key)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DatastoreKey' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DatastoreKey ::+ GooglePrivacyDlpV2DatastoreKey+newGooglePrivacyDlpV2DatastoreKey =+ GooglePrivacyDlpV2DatastoreKey {entityKey = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2DatastoreKey where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DatastoreKey"+ ( \o ->+ GooglePrivacyDlpV2DatastoreKey Core.<$> (o Core..:? "entityKey")+ )++instance Core.ToJSON GooglePrivacyDlpV2DatastoreKey where+ toJSON GooglePrivacyDlpV2DatastoreKey {..} =+ Core.object+ (Core.catMaybes [("entityKey" Core..=) Core.<$> entityKey])++-- | Options defining a data set within Google Cloud Datastore.+--+-- /See:/ 'newGooglePrivacyDlpV2DatastoreOptions' smart constructor.+data GooglePrivacyDlpV2DatastoreOptions = GooglePrivacyDlpV2DatastoreOptions+ { -- | The kind to process.+ kind :: (Core.Maybe GooglePrivacyDlpV2KindExpression),+ -- | A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty.+ partitionId :: (Core.Maybe GooglePrivacyDlpV2PartitionId)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DatastoreOptions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DatastoreOptions ::+ GooglePrivacyDlpV2DatastoreOptions+newGooglePrivacyDlpV2DatastoreOptions =+ GooglePrivacyDlpV2DatastoreOptions+ { kind = Core.Nothing,+ partitionId = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DatastoreOptions where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DatastoreOptions"+ ( \o ->+ GooglePrivacyDlpV2DatastoreOptions+ Core.<$> (o Core..:? "kind")+ Core.<*> (o Core..:? "partitionId")+ )++instance Core.ToJSON GooglePrivacyDlpV2DatastoreOptions where+ toJSON GooglePrivacyDlpV2DatastoreOptions {..} =+ Core.object+ ( Core.catMaybes+ [ ("kind" Core..=) Core.<$> kind,+ ("partitionId" Core..=) Core.<$> partitionId+ ]+ )++-- | Shifts dates by random number of days, with option to be consistent for the same context. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/concepts-date-shifting to learn more.+--+-- /See:/ 'newGooglePrivacyDlpV2DateShiftConfig' smart constructor.+data GooglePrivacyDlpV2DateShiftConfig = GooglePrivacyDlpV2DateShiftConfig+ { -- | Points to the field that contains the context, for example, an entity id. If set, must also set cryptoKey. If set, shift will be consistent for the given context.+ context :: (Core.Maybe GooglePrivacyDlpV2FieldId),+ -- | Causes the shift to be computed based on this key and the context. This results in the same shift for the same context and crypto_key. If set, must also set context. Can only be applied to table items.+ cryptoKey :: (Core.Maybe GooglePrivacyDlpV2CryptoKey),+ -- | Required. For example, -5 means shift date to at most 5 days back in the past.+ lowerBoundDays :: (Core.Maybe Core.Int32),+ -- | Required. Range of shift in days. Actual shift will be selected at random within this range (inclusive ends). Negative means shift to earlier in time. Must not be more than 365250 days (1000 years) each direction. For example, 3 means shift date to at most 3 days into the future.+ upperBoundDays :: (Core.Maybe Core.Int32)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DateShiftConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DateShiftConfig ::+ GooglePrivacyDlpV2DateShiftConfig+newGooglePrivacyDlpV2DateShiftConfig =+ GooglePrivacyDlpV2DateShiftConfig+ { context = Core.Nothing,+ cryptoKey = Core.Nothing,+ lowerBoundDays = Core.Nothing,+ upperBoundDays = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DateShiftConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DateShiftConfig"+ ( \o ->+ GooglePrivacyDlpV2DateShiftConfig+ Core.<$> (o Core..:? "context")+ Core.<*> (o Core..:? "cryptoKey")+ Core.<*> (o Core..:? "lowerBoundDays")+ Core.<*> (o Core..:? "upperBoundDays")+ )++instance Core.ToJSON GooglePrivacyDlpV2DateShiftConfig where+ toJSON GooglePrivacyDlpV2DateShiftConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("context" Core..=) Core.<$> context,+ ("cryptoKey" Core..=) Core.<$> cryptoKey,+ ("lowerBoundDays" Core..=) Core.<$> lowerBoundDays,+ ("upperBoundDays" Core..=) Core.<$> upperBoundDays+ ]+ )++-- | Message for a date time object. e.g. 2018-01-01, 5th August.+--+-- /See:/ 'newGooglePrivacyDlpV2DateTime' smart constructor.+data GooglePrivacyDlpV2DateTime = GooglePrivacyDlpV2DateTime+ { -- | One or more of the following must be set. Must be a valid date or time value.+ date :: (Core.Maybe GoogleTypeDate),+ -- | Day of week+ dayOfWeek :: (Core.Maybe GooglePrivacyDlpV2DateTime_DayOfWeek),+ -- | Time of day+ time :: (Core.Maybe GoogleTypeTimeOfDay),+ -- | Time zone+ timeZone :: (Core.Maybe GooglePrivacyDlpV2TimeZone)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DateTime' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DateTime ::+ GooglePrivacyDlpV2DateTime+newGooglePrivacyDlpV2DateTime =+ GooglePrivacyDlpV2DateTime+ { date = Core.Nothing,+ dayOfWeek = Core.Nothing,+ time = Core.Nothing,+ timeZone = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DateTime where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DateTime"+ ( \o ->+ GooglePrivacyDlpV2DateTime+ Core.<$> (o Core..:? "date")+ Core.<*> (o Core..:? "dayOfWeek")+ Core.<*> (o Core..:? "time")+ Core.<*> (o Core..:? "timeZone")+ )++instance Core.ToJSON GooglePrivacyDlpV2DateTime where+ toJSON GooglePrivacyDlpV2DateTime {..} =+ Core.object+ ( Core.catMaybes+ [ ("date" Core..=) Core.<$> date,+ ("dayOfWeek" Core..=) Core.<$> dayOfWeek,+ ("time" Core..=) Core.<$> time,+ ("timeZone" Core..=) Core.<$> timeZone+ ]+ )++-- | Create a de-identified copy of the requested table or files. A TransformationDetail will be created for each transformation. If any rows in BigQuery are skipped during de-identification (transformation errors or row size exceeds BigQuery insert API limits) they are placed in the failure output table. If the original row exceeds the BigQuery insert API limit it will be truncated when written to the failure output table. The failure output table can be set in the action.deidentify.output.big/query/output.deidentified/failure/output_table field, if no table is set, a table will be automatically created in the same project and dataset as the original table. Compatible with: Inspect+--+-- /See:/ 'newGooglePrivacyDlpV2Deidentify' smart constructor.+data GooglePrivacyDlpV2Deidentify = GooglePrivacyDlpV2Deidentify+ { -- | Required. User settable Cloud Storage bucket and folders to store de-identified files. This field must be set for Cloud Storage deidentification. The output Cloud Storage bucket must be different from the input bucket. De-identified files will overwrite files in the output path. Form of: gs:\/\/bucket\/folder\/ or gs:\/\/bucket+ cloudStorageOutput :: (Core.Maybe Core.Text),+ -- | List of user-specified file type groups to transform. If specified, only the files with these file types will be transformed. If empty, all supported files will be transformed. Supported types may be automatically added over time. If a file type is set in this field that isn\'t supported by the Deidentify action then the job will fail and will not be successfully created\/started. Currently the only file types supported are: IMAGES, TEXT_FILES, CSV, TSV.+ fileTypesToTransform ::+ ( Core.Maybe+ [GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem]+ ),+ -- | User specified deidentify templates and configs for structured, unstructured, and image files.+ transformationConfig :: (Core.Maybe GooglePrivacyDlpV2TransformationConfig),+ -- | Config for storing transformation details. This is separate from the de-identified content, and contains metadata about the successful transformations and\/or failures that occurred while de-identifying. This needs to be set in order for users to access information about the status of each transformation (see TransformationDetails message for more information about what is noted).+ transformationDetailsStorageConfig :: (Core.Maybe GooglePrivacyDlpV2TransformationDetailsStorageConfig)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Deidentify' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Deidentify ::+ GooglePrivacyDlpV2Deidentify+newGooglePrivacyDlpV2Deidentify =+ GooglePrivacyDlpV2Deidentify+ { cloudStorageOutput = Core.Nothing,+ fileTypesToTransform = Core.Nothing,+ transformationConfig = Core.Nothing,+ transformationDetailsStorageConfig = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Deidentify where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Deidentify"+ ( \o ->+ GooglePrivacyDlpV2Deidentify+ Core.<$> (o Core..:? "cloudStorageOutput")+ Core.<*> (o Core..:? "fileTypesToTransform")+ Core.<*> (o Core..:? "transformationConfig")+ Core.<*> (o Core..:? "transformationDetailsStorageConfig")+ )++instance Core.ToJSON GooglePrivacyDlpV2Deidentify where+ toJSON GooglePrivacyDlpV2Deidentify {..} =+ Core.object+ ( Core.catMaybes+ [ ("cloudStorageOutput" Core..=) Core.<$> cloudStorageOutput,+ ("fileTypesToTransform" Core..=) Core.<$> fileTypesToTransform,+ ("transformationConfig" Core..=) Core.<$> transformationConfig,+ ("transformationDetailsStorageConfig" Core..=)+ Core.<$> transformationDetailsStorageConfig+ ]+ )++-- | The configuration that controls how the data will change.+--+-- /See:/ 'newGooglePrivacyDlpV2DeidentifyConfig' smart constructor.+data GooglePrivacyDlpV2DeidentifyConfig = GooglePrivacyDlpV2DeidentifyConfig+ { -- | Treat the dataset as an image and redact.+ imageTransformations :: (Core.Maybe GooglePrivacyDlpV2ImageTransformations),+ -- | Treat the dataset as free-form text and apply the same free text transformation everywhere.+ infoTypeTransformations :: (Core.Maybe GooglePrivacyDlpV2InfoTypeTransformations),+ -- | Treat the dataset as structured. Transformations can be applied to specific locations within structured datasets, such as transforming a column within a table.+ recordTransformations :: (Core.Maybe GooglePrivacyDlpV2RecordTransformations),+ -- | Mode for handling transformation errors. If left unspecified, the default mode is @TransformationErrorHandling.ThrowError@.+ transformationErrorHandling :: (Core.Maybe GooglePrivacyDlpV2TransformationErrorHandling)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DeidentifyConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DeidentifyConfig ::+ GooglePrivacyDlpV2DeidentifyConfig+newGooglePrivacyDlpV2DeidentifyConfig =+ GooglePrivacyDlpV2DeidentifyConfig+ { imageTransformations =+ Core.Nothing,+ infoTypeTransformations = Core.Nothing,+ recordTransformations = Core.Nothing,+ transformationErrorHandling = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DeidentifyConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DeidentifyConfig"+ ( \o ->+ GooglePrivacyDlpV2DeidentifyConfig+ Core.<$> (o Core..:? "imageTransformations")+ Core.<*> (o Core..:? "infoTypeTransformations")+ Core.<*> (o Core..:? "recordTransformations")+ Core.<*> (o Core..:? "transformationErrorHandling")+ )++instance Core.ToJSON GooglePrivacyDlpV2DeidentifyConfig where+ toJSON GooglePrivacyDlpV2DeidentifyConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("imageTransformations" Core..=) Core.<$> imageTransformations,+ ("infoTypeTransformations" Core..=)+ Core.<$> infoTypeTransformations,+ ("recordTransformations" Core..=) Core.<$> recordTransformations,+ ("transformationErrorHandling" Core..=)+ Core.<$> transformationErrorHandling+ ]+ )++-- | Request to de-identify a ContentItem.+--+-- /See:/ 'newGooglePrivacyDlpV2DeidentifyContentRequest' smart constructor.+data GooglePrivacyDlpV2DeidentifyContentRequest = GooglePrivacyDlpV2DeidentifyContentRequest+ { -- | Configuration for the de-identification of the content item. Items specified here will override the template referenced by the deidentify/template/name argument.+ deidentifyConfig :: (Core.Maybe GooglePrivacyDlpV2DeidentifyConfig),+ -- | Template to use. Any configuration directly specified in deidentify_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.+ deidentifyTemplateName :: (Core.Maybe Core.Text),+ -- | Configuration for the inspector. Items specified here will override the template referenced by the inspect/template/name argument.+ inspectConfig :: (Core.Maybe GooglePrivacyDlpV2InspectConfig),+ -- | Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.+ inspectTemplateName :: (Core.Maybe Core.Text),+ -- | The item to de-identify. Will be treated as text. This value must be of type Table if your deidentify_config is a RecordTransformations object.+ item :: (Core.Maybe GooglePrivacyDlpV2ContentItem),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DeidentifyContentRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DeidentifyContentRequest ::+ GooglePrivacyDlpV2DeidentifyContentRequest+newGooglePrivacyDlpV2DeidentifyContentRequest =+ GooglePrivacyDlpV2DeidentifyContentRequest+ { deidentifyConfig =+ Core.Nothing,+ deidentifyTemplateName = Core.Nothing,+ inspectConfig = Core.Nothing,+ inspectTemplateName = Core.Nothing,+ item = Core.Nothing,+ locationId = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DeidentifyContentRequest where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DeidentifyContentRequest"+ ( \o ->+ GooglePrivacyDlpV2DeidentifyContentRequest+ Core.<$> (o Core..:? "deidentifyConfig")+ Core.<*> (o Core..:? "deidentifyTemplateName")+ Core.<*> (o Core..:? "inspectConfig")+ Core.<*> (o Core..:? "inspectTemplateName")+ Core.<*> (o Core..:? "item")+ Core.<*> (o Core..:? "locationId")+ )++instance Core.ToJSON GooglePrivacyDlpV2DeidentifyContentRequest where+ toJSON GooglePrivacyDlpV2DeidentifyContentRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("deidentifyConfig" Core..=) Core.<$> deidentifyConfig,+ ("deidentifyTemplateName" Core..=) Core.<$> deidentifyTemplateName,+ ("inspectConfig" Core..=) Core.<$> inspectConfig,+ ("inspectTemplateName" Core..=) Core.<$> inspectTemplateName,+ ("item" Core..=) Core.<$> item,+ ("locationId" Core..=) Core.<$> locationId+ ]+ )++-- | Results of de-identifying a ContentItem.+--+-- /See:/ 'newGooglePrivacyDlpV2DeidentifyContentResponse' smart constructor.+data GooglePrivacyDlpV2DeidentifyContentResponse = GooglePrivacyDlpV2DeidentifyContentResponse+ { -- | The de-identified item.+ item :: (Core.Maybe GooglePrivacyDlpV2ContentItem),+ -- | An overview of the changes that were made on the @item@.+ overview :: (Core.Maybe GooglePrivacyDlpV2TransformationOverview)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DeidentifyContentResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DeidentifyContentResponse ::+ GooglePrivacyDlpV2DeidentifyContentResponse+newGooglePrivacyDlpV2DeidentifyContentResponse =+ GooglePrivacyDlpV2DeidentifyContentResponse+ { item = Core.Nothing,+ overview = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DeidentifyContentResponse where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DeidentifyContentResponse"+ ( \o ->+ GooglePrivacyDlpV2DeidentifyContentResponse+ Core.<$> (o Core..:? "item")+ Core.<*> (o Core..:? "overview")+ )++instance Core.ToJSON GooglePrivacyDlpV2DeidentifyContentResponse where+ toJSON GooglePrivacyDlpV2DeidentifyContentResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("item" Core..=) Core.<$> item,+ ("overview" Core..=) Core.<$> overview+ ]+ )++-- | The results of a Deidentify action from an inspect job.+--+-- /See:/ 'newGooglePrivacyDlpV2DeidentifyDataSourceDetails' smart constructor.+data GooglePrivacyDlpV2DeidentifyDataSourceDetails = GooglePrivacyDlpV2DeidentifyDataSourceDetails+ { -- | Stats about the de-identification operation.+ deidentifyStats :: (Core.Maybe GooglePrivacyDlpV2DeidentifyDataSourceStats),+ -- | De-identification config used for the request.+ requestedOptions :: (Core.Maybe GooglePrivacyDlpV2RequestedDeidentifyOptions)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DeidentifyDataSourceDetails' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DeidentifyDataSourceDetails ::+ GooglePrivacyDlpV2DeidentifyDataSourceDetails+newGooglePrivacyDlpV2DeidentifyDataSourceDetails =+ GooglePrivacyDlpV2DeidentifyDataSourceDetails+ { deidentifyStats =+ Core.Nothing,+ requestedOptions = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DeidentifyDataSourceDetails+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DeidentifyDataSourceDetails"+ ( \o ->+ GooglePrivacyDlpV2DeidentifyDataSourceDetails+ Core.<$> (o Core..:? "deidentifyStats")+ Core.<*> (o Core..:? "requestedOptions")+ )++instance Core.ToJSON GooglePrivacyDlpV2DeidentifyDataSourceDetails where+ toJSON GooglePrivacyDlpV2DeidentifyDataSourceDetails {..} =+ Core.object+ ( Core.catMaybes+ [ ("deidentifyStats" Core..=) Core.<$> deidentifyStats,+ ("requestedOptions" Core..=) Core.<$> requestedOptions+ ]+ )++-- | Summary of what was modified during a transformation.+--+-- /See:/ 'newGooglePrivacyDlpV2DeidentifyDataSourceStats' smart constructor.+data GooglePrivacyDlpV2DeidentifyDataSourceStats = GooglePrivacyDlpV2DeidentifyDataSourceStats+ { -- | Number of successfully applied transformations.+ transformationCount :: (Core.Maybe Core.Int64),+ -- | Number of errors encountered while trying to apply transformations.+ transformationErrorCount :: (Core.Maybe Core.Int64),+ -- | Total size in bytes that were transformed in some way.+ transformedBytes :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DeidentifyDataSourceStats' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DeidentifyDataSourceStats ::+ GooglePrivacyDlpV2DeidentifyDataSourceStats+newGooglePrivacyDlpV2DeidentifyDataSourceStats =+ GooglePrivacyDlpV2DeidentifyDataSourceStats+ { transformationCount =+ Core.Nothing,+ transformationErrorCount = Core.Nothing,+ transformedBytes = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DeidentifyDataSourceStats where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DeidentifyDataSourceStats"+ ( \o ->+ GooglePrivacyDlpV2DeidentifyDataSourceStats+ Core.<$> ( o+ Core..:? "transformationCount"+ Core.<&> Core.fmap Core.fromAsText+ )+ Core.<*> ( o+ Core..:? "transformationErrorCount"+ Core.<&> Core.fmap Core.fromAsText+ )+ Core.<*> (o Core..:? "transformedBytes" Core.<&> Core.fmap Core.fromAsText)+ )++instance Core.ToJSON GooglePrivacyDlpV2DeidentifyDataSourceStats where+ toJSON GooglePrivacyDlpV2DeidentifyDataSourceStats {..} =+ Core.object+ ( Core.catMaybes+ [ ("transformationCount" Core..=)+ Core.. Core.AsText+ Core.<$> transformationCount,+ ("transformationErrorCount" Core..=)+ Core.. Core.AsText+ Core.<$> transformationErrorCount,+ ("transformedBytes" Core..=)+ Core.. Core.AsText+ Core.<$> transformedBytes+ ]+ )++-- | DeidentifyTemplates contains instructions on how to de-identify content. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/concepts-templates to learn more.+--+-- /See:/ 'newGooglePrivacyDlpV2DeidentifyTemplate' smart constructor.+data GooglePrivacyDlpV2DeidentifyTemplate = GooglePrivacyDlpV2DeidentifyTemplate+ { -- | Output only. The creation timestamp of an inspectTemplate.+ createTime :: (Core.Maybe Core.DateTime),+ -- | The core content of the template.+ deidentifyConfig :: (Core.Maybe GooglePrivacyDlpV2DeidentifyConfig),+ -- | Short description (max 256 chars).+ description :: (Core.Maybe Core.Text),+ -- | Display name (max 256 chars).+ displayName :: (Core.Maybe Core.Text),+ -- | Output only. The template name. The template will have one of the following formats: @projects\/PROJECT_ID\/deidentifyTemplates\/TEMPLATE_ID@ OR @organizations\/ORGANIZATION_ID\/deidentifyTemplates\/TEMPLATE_ID@+ name :: (Core.Maybe Core.Text),+ -- | Output only. The last update timestamp of an inspectTemplate.+ updateTime :: (Core.Maybe Core.DateTime)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DeidentifyTemplate' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DeidentifyTemplate ::+ GooglePrivacyDlpV2DeidentifyTemplate+newGooglePrivacyDlpV2DeidentifyTemplate =+ GooglePrivacyDlpV2DeidentifyTemplate+ { createTime = Core.Nothing,+ deidentifyConfig = Core.Nothing,+ description = Core.Nothing,+ displayName = Core.Nothing,+ name = Core.Nothing,+ updateTime = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DeidentifyTemplate where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DeidentifyTemplate"+ ( \o ->+ GooglePrivacyDlpV2DeidentifyTemplate+ Core.<$> (o Core..:? "createTime")+ Core.<*> (o Core..:? "deidentifyConfig")+ Core.<*> (o Core..:? "description")+ Core.<*> (o Core..:? "displayName")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "updateTime")+ )++instance Core.ToJSON GooglePrivacyDlpV2DeidentifyTemplate where+ toJSON GooglePrivacyDlpV2DeidentifyTemplate {..} =+ Core.object+ ( Core.catMaybes+ [ ("createTime" Core..=) Core.<$> createTime,+ ("deidentifyConfig" Core..=) Core.<$> deidentifyConfig,+ ("description" Core..=) Core.<$> description,+ ("displayName" Core..=) Core.<$> displayName,+ ("name" Core..=) Core.<$> name,+ ("updateTime" Core..=) Core.<$> updateTime+ ]+ )++-- | δ-presence metric, used to estimate how likely it is for an attacker to figure out that one given individual appears in a de-identified dataset. Similarly to the k-map metric, we cannot compute δ-presence exactly without knowing the attack dataset, so we use a statistical model instead.+--+-- /See:/ 'newGooglePrivacyDlpV2DeltaPresenceEstimationConfig' smart constructor.+data GooglePrivacyDlpV2DeltaPresenceEstimationConfig = GooglePrivacyDlpV2DeltaPresenceEstimationConfig+ { -- | Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers field must appear in exactly one field of one auxiliary table.+ auxiliaryTables :: (Core.Maybe [GooglePrivacyDlpV2StatisticalTable]),+ -- | Required. Fields considered to be quasi-identifiers. No two fields can have the same tag.+ quasiIds :: (Core.Maybe [GooglePrivacyDlpV2QuasiId]),+ -- | ISO 3166-1 alpha-2 region code to use in the statistical modeling. Set if no column is tagged with a region-specific InfoType (like US/ZIP/5) or a region code.+ regionCode :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DeltaPresenceEstimationConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DeltaPresenceEstimationConfig ::+ GooglePrivacyDlpV2DeltaPresenceEstimationConfig+newGooglePrivacyDlpV2DeltaPresenceEstimationConfig =+ GooglePrivacyDlpV2DeltaPresenceEstimationConfig+ { auxiliaryTables =+ Core.Nothing,+ quasiIds = Core.Nothing,+ regionCode = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DeltaPresenceEstimationConfig+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DeltaPresenceEstimationConfig"+ ( \o ->+ GooglePrivacyDlpV2DeltaPresenceEstimationConfig+ Core.<$> (o Core..:? "auxiliaryTables")+ Core.<*> (o Core..:? "quasiIds")+ Core.<*> (o Core..:? "regionCode")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2DeltaPresenceEstimationConfig+ where+ toJSON GooglePrivacyDlpV2DeltaPresenceEstimationConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("auxiliaryTables" Core..=) Core.<$> auxiliaryTables,+ ("quasiIds" Core..=) Core.<$> quasiIds,+ ("regionCode" Core..=) Core.<$> regionCode+ ]+ )++-- | A DeltaPresenceEstimationHistogramBucket message with the following values: min/probability: 0.1 max/probability: 0.2 frequency: 42 means that there are 42 records for which δ is in [0.1, 0.2). An important particular case is when min/probability = max/probability = 1: then, every individual who shares this quasi-identifier combination is in the dataset.+--+-- /See:/ 'newGooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket' smart constructor.+data GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket = GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket+ { -- | Number of records within these probability bounds.+ bucketSize :: (Core.Maybe Core.Int64),+ -- | Total number of distinct quasi-identifier tuple values in this bucket.+ bucketValueCount :: (Core.Maybe Core.Int64),+ -- | Sample of quasi-identifier tuple values in this bucket. The total number of classes returned per bucket is capped at 20.+ bucketValues ::+ ( Core.Maybe+ [GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues]+ ),+ -- | Always greater than or equal to min_probability.+ maxProbability :: (Core.Maybe Core.Double),+ -- | Between 0 and 1.+ minProbability :: (Core.Maybe Core.Double)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket ::+ GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket+newGooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket =+ GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket+ { bucketSize =+ Core.Nothing,+ bucketValueCount = Core.Nothing,+ bucketValues = Core.Nothing,+ maxProbability = Core.Nothing,+ minProbability = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket"+ ( \o ->+ GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket+ Core.<$> (o Core..:? "bucketSize" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "bucketValueCount" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "bucketValues")+ Core.<*> (o Core..:? "maxProbability")+ Core.<*> (o Core..:? "minProbability")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket+ where+ toJSON GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket {..} =+ Core.object+ ( Core.catMaybes+ [ ("bucketSize" Core..=) Core.. Core.AsText Core.<$> bucketSize,+ ("bucketValueCount" Core..=)+ Core.. Core.AsText+ Core.<$> bucketValueCount,+ ("bucketValues" Core..=) Core.<$> bucketValues,+ ("maxProbability" Core..=) Core.<$> maxProbability,+ ("minProbability" Core..=) Core.<$> minProbability+ ]+ )++-- | A tuple of values for the quasi-identifier columns.+--+-- /See:/ 'newGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues' smart constructor.+data GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues = GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues+ { -- | The estimated probability that a given individual sharing these quasi-identifier values is in the dataset. This value, typically called δ, is the ratio between the number of records in the dataset with these quasi-identifier values, and the total number of individuals (inside /and/ outside the dataset) with these quasi-identifier values. For example, if there are 15 individuals in the dataset who share the same quasi-identifier values, and an estimated 100 people in the entire population with these values, then δ is 0.15.+ estimatedProbability :: (Core.Maybe Core.Double),+ -- | The quasi-identifier values.+ quasiIdsValues :: (Core.Maybe [GooglePrivacyDlpV2Value])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues ::+ GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues+newGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues =+ GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues+ { estimatedProbability =+ Core.Nothing,+ quasiIdsValues = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues"+ ( \o ->+ GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues+ Core.<$> (o Core..:? "estimatedProbability")+ Core.<*> (o Core..:? "quasiIdsValues")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues+ where+ toJSON GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues {..} =+ Core.object+ ( Core.catMaybes+ [ ("estimatedProbability" Core..=) Core.<$> estimatedProbability,+ ("quasiIdsValues" Core..=) Core.<$> quasiIdsValues+ ]+ )++-- | Result of the δ-presence computation. Note that these results are an estimation, not exact values.+--+-- /See:/ 'newGooglePrivacyDlpV2DeltaPresenceEstimationResult' smart constructor.+newtype GooglePrivacyDlpV2DeltaPresenceEstimationResult = GooglePrivacyDlpV2DeltaPresenceEstimationResult+ { -- | The intervals [min/probability, max/probability) do not overlap. If a value doesn\'t correspond to any such interval, the associated frequency is zero. For example, the following records: {min/probability: 0, max/probability: 0.1, frequency: 17} {min/probability: 0.2, max/probability: 0.3, frequency: 42} {min/probability: 0.3, max/probability: 0.4, frequency: 99} mean that there are no record with an estimated probability in [0.1, 0.2) nor larger or equal to 0.4.+ deltaPresenceEstimationHistogram ::+ ( Core.Maybe+ [GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket]+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DeltaPresenceEstimationResult' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DeltaPresenceEstimationResult ::+ GooglePrivacyDlpV2DeltaPresenceEstimationResult+newGooglePrivacyDlpV2DeltaPresenceEstimationResult =+ GooglePrivacyDlpV2DeltaPresenceEstimationResult+ { deltaPresenceEstimationHistogram =+ Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DeltaPresenceEstimationResult+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DeltaPresenceEstimationResult"+ ( \o ->+ GooglePrivacyDlpV2DeltaPresenceEstimationResult+ Core.<$> (o Core..:? "deltaPresenceEstimationHistogram")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2DeltaPresenceEstimationResult+ where+ toJSON GooglePrivacyDlpV2DeltaPresenceEstimationResult {..} =+ Core.object+ ( Core.catMaybes+ [ ("deltaPresenceEstimationHistogram" Core..=)+ Core.<$> deltaPresenceEstimationHistogram+ ]+ )++-- | Deprecated; use @InspectionRuleSet@ instead. Rule for modifying a @CustomInfoType@ to alter behavior under certain circumstances, depending on the specific details of the rule. Not supported for the @surrogate_type@ custom infoType.+--+-- /See:/ 'newGooglePrivacyDlpV2DetectionRule' smart constructor.+newtype GooglePrivacyDlpV2DetectionRule = GooglePrivacyDlpV2DetectionRule+ { -- | Hotword-based detection rule.+ hotwordRule :: (Core.Maybe GooglePrivacyDlpV2HotwordRule)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DetectionRule' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DetectionRule ::+ GooglePrivacyDlpV2DetectionRule+newGooglePrivacyDlpV2DetectionRule =+ GooglePrivacyDlpV2DetectionRule {hotwordRule = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2DetectionRule where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DetectionRule"+ ( \o ->+ GooglePrivacyDlpV2DetectionRule+ Core.<$> (o Core..:? "hotwordRule")+ )++instance Core.ToJSON GooglePrivacyDlpV2DetectionRule where+ toJSON GooglePrivacyDlpV2DetectionRule {..} =+ Core.object+ (Core.catMaybes [("hotwordRule" Core..=) Core.<$> hotwordRule])++-- | Custom information type based on a dictionary of words or phrases. This can be used to match sensitive information specific to the data, such as a list of employee IDs or job titles. Dictionary words are case-insensitive and all characters other than letters and digits in the unicode <https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane Basic Multilingual Plane> will be replaced with whitespace when scanning for matches, so the dictionary phrase \"Sam Johnson\" will match all three phrases \"sam johnson\", \"Sam, Johnson\", and \"Sam (Johnson)\". Additionally, the characters surrounding any match must be of a different type than the adjacent characters within the word, so letters must be next to non-letters and digits next to non-digits. For example, the dictionary word \"jen\" will match the first three letters of the text \"jen123\" but will return no matches for \"jennifer\". Dictionary words containing a large number of characters that are not letters or digits may result in+-- unexpected findings because such characters are treated as whitespace. The <https://cloud.google.com/sensitive-data-protection/limits limits> page contains details about the size limits of dictionaries. For dictionaries that do not fit within these constraints, consider using @LargeCustomDictionaryConfig@ in the @StoredInfoType@ API.+--+-- /See:/ 'newGooglePrivacyDlpV2Dictionary' smart constructor.+data GooglePrivacyDlpV2Dictionary = GooglePrivacyDlpV2Dictionary+ { -- | Newline-delimited file of words in Cloud Storage. Only a single file is accepted.+ cloudStoragePath :: (Core.Maybe GooglePrivacyDlpV2CloudStoragePath),+ -- | List of words or phrases to search for.+ wordList :: (Core.Maybe GooglePrivacyDlpV2WordList)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Dictionary' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Dictionary ::+ GooglePrivacyDlpV2Dictionary+newGooglePrivacyDlpV2Dictionary =+ GooglePrivacyDlpV2Dictionary+ { cloudStoragePath = Core.Nothing,+ wordList = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Dictionary where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Dictionary"+ ( \o ->+ GooglePrivacyDlpV2Dictionary+ Core.<$> (o Core..:? "cloudStoragePath")+ Core.<*> (o Core..:? "wordList")+ )++instance Core.ToJSON GooglePrivacyDlpV2Dictionary where+ toJSON GooglePrivacyDlpV2Dictionary {..} =+ Core.object+ ( Core.catMaybes+ [ ("cloudStoragePath" Core..=) Core.<$> cloudStoragePath,+ ("wordList" Core..=) Core.<$> wordList+ ]+ )++-- | Do not profile the tables.+--+-- /See:/ 'newGooglePrivacyDlpV2Disabled' smart constructor.+data GooglePrivacyDlpV2Disabled = GooglePrivacyDlpV2Disabled+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Disabled' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Disabled ::+ GooglePrivacyDlpV2Disabled+newGooglePrivacyDlpV2Disabled = GooglePrivacyDlpV2Disabled++instance Core.FromJSON GooglePrivacyDlpV2Disabled where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Disabled"+ (\o -> Core.pure GooglePrivacyDlpV2Disabled)++instance Core.ToJSON GooglePrivacyDlpV2Disabled where+ toJSON = Core.const Core.emptyObject++-- | Requirements that must be true before a table is scanned in discovery for the first time. There is an AND relationship between the top-level attributes. Additionally, minimum conditions with an OR relationship that must be met before Cloud DLP scans a table can be set (like a minimum row count or a minimum table age).+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryBigQueryConditions' smart constructor.+data GooglePrivacyDlpV2DiscoveryBigQueryConditions = GooglePrivacyDlpV2DiscoveryBigQueryConditions+ { -- | BigQuery table must have been created after this date. Used to avoid backfilling.+ createdAfter :: (Core.Maybe Core.DateTime),+ -- | At least one of the conditions must be true for a table to be scanned.+ orConditions :: (Core.Maybe GooglePrivacyDlpV2OrConditions),+ -- | Restrict discovery to categories of table types.+ typeCollection ::+ ( Core.Maybe+ GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection+ ),+ -- | Restrict discovery to specific table types.+ types :: (Core.Maybe GooglePrivacyDlpV2BigQueryTableTypes)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryBigQueryConditions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryBigQueryConditions ::+ GooglePrivacyDlpV2DiscoveryBigQueryConditions+newGooglePrivacyDlpV2DiscoveryBigQueryConditions =+ GooglePrivacyDlpV2DiscoveryBigQueryConditions+ { createdAfter =+ Core.Nothing,+ orConditions = Core.Nothing,+ typeCollection = Core.Nothing,+ types = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DiscoveryBigQueryConditions+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryBigQueryConditions"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryBigQueryConditions+ Core.<$> (o Core..:? "createdAfter")+ Core.<*> (o Core..:? "orConditions")+ Core.<*> (o Core..:? "typeCollection")+ Core.<*> (o Core..:? "types")+ )++instance Core.ToJSON GooglePrivacyDlpV2DiscoveryBigQueryConditions where+ toJSON GooglePrivacyDlpV2DiscoveryBigQueryConditions {..} =+ Core.object+ ( Core.catMaybes+ [ ("createdAfter" Core..=) Core.<$> createdAfter,+ ("orConditions" Core..=) Core.<$> orConditions,+ ("typeCollection" Core..=) Core.<$> typeCollection,+ ("types" Core..=) Core.<$> types+ ]+ )++-- | Determines what tables will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID, dataset ID, and table ID.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryBigQueryFilter' smart constructor.+data GooglePrivacyDlpV2DiscoveryBigQueryFilter = GooglePrivacyDlpV2DiscoveryBigQueryFilter+ { -- | Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.+ otherTables :: (Core.Maybe GooglePrivacyDlpV2AllOtherBigQueryTables),+ -- | The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference).+ tableReference :: (Core.Maybe GooglePrivacyDlpV2TableReference),+ -- | A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID.+ tables :: (Core.Maybe GooglePrivacyDlpV2BigQueryTableCollection)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryBigQueryFilter' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryBigQueryFilter ::+ GooglePrivacyDlpV2DiscoveryBigQueryFilter+newGooglePrivacyDlpV2DiscoveryBigQueryFilter =+ GooglePrivacyDlpV2DiscoveryBigQueryFilter+ { otherTables =+ Core.Nothing,+ tableReference = Core.Nothing,+ tables = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DiscoveryBigQueryFilter where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryBigQueryFilter"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryBigQueryFilter+ Core.<$> (o Core..:? "otherTables")+ Core.<*> (o Core..:? "tableReference")+ Core.<*> (o Core..:? "tables")+ )++instance Core.ToJSON GooglePrivacyDlpV2DiscoveryBigQueryFilter where+ toJSON GooglePrivacyDlpV2DiscoveryBigQueryFilter {..} =+ Core.object+ ( Core.catMaybes+ [ ("otherTables" Core..=) Core.<$> otherTables,+ ("tableReference" Core..=) Core.<$> tableReference,+ ("tables" Core..=) Core.<$> tables+ ]+ )++-- | Requirements that must be true before a table is profiled for the first time.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryCloudSqlConditions' smart constructor.+data GooglePrivacyDlpV2DiscoveryCloudSqlConditions = GooglePrivacyDlpV2DiscoveryCloudSqlConditions+ { -- | Optional. Database engines that should be profiled. Optional. Defaults to ALL/SUPPORTED/DATABASE_ENGINES if unspecified.+ databaseEngines ::+ ( Core.Maybe+ [GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem]+ ),+ -- | Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE/RESOURCE/TYPE/ALL/SUPPORTED_TYPES].+ types ::+ ( Core.Maybe+ [GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem]+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryCloudSqlConditions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryCloudSqlConditions ::+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions+newGooglePrivacyDlpV2DiscoveryCloudSqlConditions =+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions+ { databaseEngines =+ Core.Nothing,+ types = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryCloudSqlConditions"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions+ Core.<$> (o Core..:? "databaseEngines")+ Core.<*> (o Core..:? "types")+ )++instance Core.ToJSON GooglePrivacyDlpV2DiscoveryCloudSqlConditions where+ toJSON GooglePrivacyDlpV2DiscoveryCloudSqlConditions {..} =+ Core.object+ ( Core.catMaybes+ [ ("databaseEngines" Core..=) Core.<$> databaseEngines,+ ("types" Core..=) Core.<$> types+ ]+ )++-- | Determines what tables will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID, location, instance, database, and database resource name.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryCloudSqlFilter' smart constructor.+data GooglePrivacyDlpV2DiscoveryCloudSqlFilter = GooglePrivacyDlpV2DiscoveryCloudSqlFilter+ { -- | A specific set of database resources for this filter to apply to.+ collection :: (Core.Maybe GooglePrivacyDlpV2DatabaseResourceCollection),+ -- | The database resource to scan. Targets including this can only include one target (the target with this database resource reference).+ databaseResourceReference :: (Core.Maybe GooglePrivacyDlpV2DatabaseResourceReference),+ -- | Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.+ others :: (Core.Maybe GooglePrivacyDlpV2AllOtherDatabaseResources)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryCloudSqlFilter' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryCloudSqlFilter ::+ GooglePrivacyDlpV2DiscoveryCloudSqlFilter+newGooglePrivacyDlpV2DiscoveryCloudSqlFilter =+ GooglePrivacyDlpV2DiscoveryCloudSqlFilter+ { collection =+ Core.Nothing,+ databaseResourceReference = Core.Nothing,+ others = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DiscoveryCloudSqlFilter where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryCloudSqlFilter"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryCloudSqlFilter+ Core.<$> (o Core..:? "collection")+ Core.<*> (o Core..:? "databaseResourceReference")+ Core.<*> (o Core..:? "others")+ )++instance Core.ToJSON GooglePrivacyDlpV2DiscoveryCloudSqlFilter where+ toJSON GooglePrivacyDlpV2DiscoveryCloudSqlFilter {..} =+ Core.object+ ( Core.catMaybes+ [ ("collection" Core..=) Core.<$> collection,+ ("databaseResourceReference" Core..=)+ Core.<$> databaseResourceReference,+ ("others" Core..=) Core.<$> others+ ]+ )++-- | How often existing tables should have their profiles refreshed. New tables are scanned as quickly as possible depending on system capacity.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence' smart constructor.+data GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence = GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence+ { -- | Governs when to update data profiles when the inspection rules defined by the @InspectTemplate@ change. If not set, changing the template will not cause a data profile to update.+ inspectTemplateModifiedCadence ::+ ( Core.Maybe+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence+ ),+ -- | Data changes (non-schema changes) in Cloud SQL tables can\'t trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changed. Defaults to never.+ refreshFrequency ::+ ( Core.Maybe+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency+ ),+ -- | When to reprofile if the schema has changed.+ schemaModifiedCadence :: (Core.Maybe GooglePrivacyDlpV2SchemaModifiedCadence)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence ::+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence+newGooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence =+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence+ { inspectTemplateModifiedCadence =+ Core.Nothing,+ refreshFrequency = Core.Nothing,+ schemaModifiedCadence = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence+ Core.<$> (o Core..:? "inspectTemplateModifiedCadence")+ Core.<*> (o Core..:? "refreshFrequency")+ Core.<*> (o Core..:? "schemaModifiedCadence")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence+ where+ toJSON GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence {..} =+ Core.object+ ( Core.catMaybes+ [ ("inspectTemplateModifiedCadence" Core..=)+ Core.<$> inspectTemplateModifiedCadence,+ ("refreshFrequency" Core..=) Core.<$> refreshFrequency,+ ("schemaModifiedCadence" Core..=) Core.<$> schemaModifiedCadence+ ]+ )++-- | Requirements that must be true before a Cloud Storage bucket or object is scanned in discovery for the first time. There is an AND relationship between the top-level attributes.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryCloudStorageConditions' smart constructor.+data GooglePrivacyDlpV2DiscoveryCloudStorageConditions = GooglePrivacyDlpV2DiscoveryCloudStorageConditions+ { -- | Required. Only objects with the specified attributes will be scanned. Defaults to [ALL/SUPPORTED/BUCKETS] if unset.+ includedBucketAttributes ::+ ( Core.Maybe+ [GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem]+ ),+ -- | Required. Only objects with the specified attributes will be scanned. If an object has one of the specified attributes but is inside an excluded bucket, it will not be scanned. Defaults to [ALL/SUPPORTED/OBJECTS]. A profile will be created even if no objects match the included/object/attributes.+ includedObjectAttributes ::+ ( Core.Maybe+ [GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem]+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryCloudStorageConditions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryCloudStorageConditions ::+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions+newGooglePrivacyDlpV2DiscoveryCloudStorageConditions =+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions+ { includedBucketAttributes =+ Core.Nothing,+ includedObjectAttributes = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryCloudStorageConditions"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions+ Core.<$> (o Core..:? "includedBucketAttributes")+ Core.<*> (o Core..:? "includedObjectAttributes")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions+ where+ toJSON GooglePrivacyDlpV2DiscoveryCloudStorageConditions {..} =+ Core.object+ ( Core.catMaybes+ [ ("includedBucketAttributes" Core..=)+ Core.<$> includedBucketAttributes,+ ("includedObjectAttributes" Core..=)+ Core.<$> includedObjectAttributes+ ]+ )++-- | Determines which buckets will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID and bucket name.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryCloudStorageFilter' smart constructor.+data GooglePrivacyDlpV2DiscoveryCloudStorageFilter = GooglePrivacyDlpV2DiscoveryCloudStorageFilter+ { -- | Optional. The bucket to scan. Targets including this can only include one target (the target with this bucket). This enables profiling the contents of a single bucket, while the other options allow for easy profiling of many bucets within a project or an organization.+ cloudStorageResourceReference :: (Core.Maybe GooglePrivacyDlpV2CloudStorageResourceReference),+ -- | Optional. A specific set of buckets for this filter to apply to.+ collection :: (Core.Maybe GooglePrivacyDlpV2FileStoreCollection),+ -- | Optional. Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.+ others :: (Core.Maybe GooglePrivacyDlpV2AllOtherResources)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryCloudStorageFilter' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryCloudStorageFilter ::+ GooglePrivacyDlpV2DiscoveryCloudStorageFilter+newGooglePrivacyDlpV2DiscoveryCloudStorageFilter =+ GooglePrivacyDlpV2DiscoveryCloudStorageFilter+ { cloudStorageResourceReference =+ Core.Nothing,+ collection = Core.Nothing,+ others = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DiscoveryCloudStorageFilter+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryCloudStorageFilter"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryCloudStorageFilter+ Core.<$> (o Core..:? "cloudStorageResourceReference")+ Core.<*> (o Core..:? "collection")+ Core.<*> (o Core..:? "others")+ )++instance Core.ToJSON GooglePrivacyDlpV2DiscoveryCloudStorageFilter where+ toJSON GooglePrivacyDlpV2DiscoveryCloudStorageFilter {..} =+ Core.object+ ( Core.catMaybes+ [ ("cloudStorageResourceReference" Core..=)+ Core.<$> cloudStorageResourceReference,+ ("collection" Core..=) Core.<$> collection,+ ("others" Core..=) Core.<$> others+ ]+ )++-- | How often existing buckets should have their profiles refreshed. New buckets are scanned as quickly as possible depending on system capacity.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence' smart constructor.+data GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence = GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence+ { -- | Optional. Governs when to update data profiles when the inspection rules defined by the @InspectTemplate@ change. If not set, changing the template will not cause a data profile to update.+ inspectTemplateModifiedCadence ::+ ( Core.Maybe+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence+ ),+ -- | Optional. Data changes in Cloud Storage can\'t trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changed. Defaults to never.+ refreshFrequency ::+ ( Core.Maybe+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence ::+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence+newGooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence =+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence+ { inspectTemplateModifiedCadence =+ Core.Nothing,+ refreshFrequency = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence+ Core.<$> (o Core..:? "inspectTemplateModifiedCadence")+ Core.<*> (o Core..:? "refreshFrequency")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence+ where+ toJSON GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence {..} =+ Core.object+ ( Core.catMaybes+ [ ("inspectTemplateModifiedCadence" Core..=)+ Core.<$> inspectTemplateModifiedCadence,+ ("refreshFrequency" Core..=) Core.<$> refreshFrequency+ ]+ )++-- | Configuration for discovery to scan resources for profile generation. Only one discovery configuration may exist per organization, folder, or project. The generated data profiles are retained according to the [data retention policy] (https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/data-profiles#retention).+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryConfig' smart constructor.+data GooglePrivacyDlpV2DiscoveryConfig = GooglePrivacyDlpV2DiscoveryConfig+ { -- | Actions to execute at the completion of scanning.+ actions :: (Core.Maybe [GooglePrivacyDlpV2DataProfileAction]),+ -- | Output only. The creation timestamp of a DiscoveryConfig.+ createTime :: (Core.Maybe Core.DateTime),+ -- | Display name (max 100 chars)+ displayName :: (Core.Maybe Core.Text),+ -- | Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared.+ errors :: (Core.Maybe [GooglePrivacyDlpV2Error]),+ -- | Detection logic for profile generation. Not all template features are used by Discovery. FindingLimits, include/quote and exclude/info_types have no impact on Discovery. Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including \"global\"). Each region is scanned using the applicable template. If no region-specific template is specified, but a \"global\" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region\'s data will not be scanned. For more information, see https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/data-profiles#data-residency.+ inspectTemplates :: (Core.Maybe [Core.Text]),+ -- | Output only. The timestamp of the last time this config was executed.+ lastRunTime :: (Core.Maybe Core.DateTime),+ -- | Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created, for example @projects\/dlp-test-project\/locations\/global\/discoveryConfigs\/53234423@.+ name :: (Core.Maybe Core.Text),+ -- | Only set when the parent is an org.+ orgConfig :: (Core.Maybe GooglePrivacyDlpV2OrgConfig),+ -- | Must be set only when scanning other clouds.+ otherCloudStartingLocation :: (Core.Maybe GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation),+ -- | Optional. Processing location configuration. Vertex AI dataset scanning will set processing/location.image/fallback_type to MultiRegionProcessing by default.+ processingLocation :: (Core.Maybe GooglePrivacyDlpV2ProcessingLocation),+ -- | Required. A status for this configuration.+ status :: (Core.Maybe GooglePrivacyDlpV2DiscoveryConfig_Status),+ -- | Target to match against for determining what to scan and how frequently.+ targets :: (Core.Maybe [GooglePrivacyDlpV2DiscoveryTarget]),+ -- | Output only. The last update timestamp of a DiscoveryConfig.+ updateTime :: (Core.Maybe Core.DateTime)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryConfig ::+ GooglePrivacyDlpV2DiscoveryConfig+newGooglePrivacyDlpV2DiscoveryConfig =+ GooglePrivacyDlpV2DiscoveryConfig+ { actions = Core.Nothing,+ createTime = Core.Nothing,+ displayName = Core.Nothing,+ errors = Core.Nothing,+ inspectTemplates = Core.Nothing,+ lastRunTime = Core.Nothing,+ name = Core.Nothing,+ orgConfig = Core.Nothing,+ otherCloudStartingLocation = Core.Nothing,+ processingLocation = Core.Nothing,+ status = Core.Nothing,+ targets = Core.Nothing,+ updateTime = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DiscoveryConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryConfig"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryConfig+ Core.<$> (o Core..:? "actions")+ Core.<*> (o Core..:? "createTime")+ Core.<*> (o Core..:? "displayName")+ Core.<*> (o Core..:? "errors")+ Core.<*> (o Core..:? "inspectTemplates")+ Core.<*> (o Core..:? "lastRunTime")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "orgConfig")+ Core.<*> (o Core..:? "otherCloudStartingLocation")+ Core.<*> (o Core..:? "processingLocation")+ Core.<*> (o Core..:? "status")+ Core.<*> (o Core..:? "targets")+ Core.<*> (o Core..:? "updateTime")+ )++instance Core.ToJSON GooglePrivacyDlpV2DiscoveryConfig where+ toJSON GooglePrivacyDlpV2DiscoveryConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("actions" Core..=) Core.<$> actions,+ ("createTime" Core..=) Core.<$> createTime,+ ("displayName" Core..=) Core.<$> displayName,+ ("errors" Core..=) Core.<$> errors,+ ("inspectTemplates" Core..=) Core.<$> inspectTemplates,+ ("lastRunTime" Core..=) Core.<$> lastRunTime,+ ("name" Core..=) Core.<$> name,+ ("orgConfig" Core..=) Core.<$> orgConfig,+ ("otherCloudStartingLocation" Core..=)+ Core.<$> otherCloudStartingLocation,+ ("processingLocation" Core..=) Core.<$> processingLocation,+ ("status" Core..=) Core.<$> status,+ ("targets" Core..=) Core.<$> targets,+ ("updateTime" Core..=) Core.<$> updateTime+ ]+ )++-- | Requirements that must be true before a file store is scanned in discovery for the first time. There is an AND relationship between the top-level attributes.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryFileStoreConditions' smart constructor.+data GooglePrivacyDlpV2DiscoveryFileStoreConditions = GooglePrivacyDlpV2DiscoveryFileStoreConditions+ { -- | Optional. Cloud Storage conditions.+ cloudStorageConditions :: (Core.Maybe GooglePrivacyDlpV2DiscoveryCloudStorageConditions),+ -- | Optional. File store must have been created after this date. Used to avoid backfilling.+ createdAfter :: (Core.Maybe Core.DateTime),+ -- | Optional. Minimum age a file store must have. If set, the value must be 1 hour or greater.+ minAge :: (Core.Maybe Core.Duration)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryFileStoreConditions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryFileStoreConditions ::+ GooglePrivacyDlpV2DiscoveryFileStoreConditions+newGooglePrivacyDlpV2DiscoveryFileStoreConditions =+ GooglePrivacyDlpV2DiscoveryFileStoreConditions+ { cloudStorageConditions =+ Core.Nothing,+ createdAfter = Core.Nothing,+ minAge = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DiscoveryFileStoreConditions+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryFileStoreConditions"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryFileStoreConditions+ Core.<$> (o Core..:? "cloudStorageConditions")+ Core.<*> (o Core..:? "createdAfter")+ Core.<*> (o Core..:? "minAge")+ )++instance Core.ToJSON GooglePrivacyDlpV2DiscoveryFileStoreConditions where+ toJSON GooglePrivacyDlpV2DiscoveryFileStoreConditions {..} =+ Core.object+ ( Core.catMaybes+ [ ("cloudStorageConditions" Core..=)+ Core.<$> cloudStorageConditions,+ ("createdAfter" Core..=) Core.<$> createdAfter,+ ("minAge" Core..=) Core.<$> minAge+ ]+ )++-- | What must take place for a profile to be updated and how frequently it should occur. New tables are scanned as quickly as possible depending on system capacity.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryGenerationCadence' smart constructor.+data GooglePrivacyDlpV2DiscoveryGenerationCadence = GooglePrivacyDlpV2DiscoveryGenerationCadence+ { -- | Governs when to update data profiles when the inspection rules defined by the @InspectTemplate@ change. If not set, changing the template will not cause a data profile to update.+ inspectTemplateModifiedCadence ::+ ( Core.Maybe+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence+ ),+ -- | Frequency at which profiles should be updated, regardless of whether the underlying resource has changed. Defaults to never.+ refreshFrequency ::+ ( Core.Maybe+ GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency+ ),+ -- | Governs when to update data profiles when a schema is modified.+ schemaModifiedCadence :: (Core.Maybe GooglePrivacyDlpV2DiscoverySchemaModifiedCadence),+ -- | Governs when to update data profiles when a table is modified.+ tableModifiedCadence :: (Core.Maybe GooglePrivacyDlpV2DiscoveryTableModifiedCadence)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryGenerationCadence' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryGenerationCadence ::+ GooglePrivacyDlpV2DiscoveryGenerationCadence+newGooglePrivacyDlpV2DiscoveryGenerationCadence =+ GooglePrivacyDlpV2DiscoveryGenerationCadence+ { inspectTemplateModifiedCadence =+ Core.Nothing,+ refreshFrequency = Core.Nothing,+ schemaModifiedCadence = Core.Nothing,+ tableModifiedCadence = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DiscoveryGenerationCadence where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryGenerationCadence"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryGenerationCadence+ Core.<$> (o Core..:? "inspectTemplateModifiedCadence")+ Core.<*> (o Core..:? "refreshFrequency")+ Core.<*> (o Core..:? "schemaModifiedCadence")+ Core.<*> (o Core..:? "tableModifiedCadence")+ )++instance Core.ToJSON GooglePrivacyDlpV2DiscoveryGenerationCadence where+ toJSON GooglePrivacyDlpV2DiscoveryGenerationCadence {..} =+ Core.object+ ( Core.catMaybes+ [ ("inspectTemplateModifiedCadence" Core..=)+ Core.<$> inspectTemplateModifiedCadence,+ ("refreshFrequency" Core..=) Core.<$> refreshFrequency,+ ("schemaModifiedCadence" Core..=) Core.<$> schemaModifiedCadence,+ ("tableModifiedCadence" Core..=) Core.<$> tableModifiedCadence+ ]+ )++-- | The cadence at which to update data profiles when the inspection rules defined by the @InspectTemplate@ change.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence' smart constructor.+newtype GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence = GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence+ { -- | How frequently data profiles can be updated when the template is modified. Defaults to never.+ frequency ::+ ( Core.Maybe+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence ::+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence+newGooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence =+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence+ { frequency =+ Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence+ Core.<$> (o Core..:? "frequency")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence+ where+ toJSON+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence {..} =+ Core.object+ (Core.catMaybes [("frequency" Core..=) Core.<$> frequency])++-- | Requirements that must be true before a resource is profiled for the first time.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryOtherCloudConditions' smart constructor.+data GooglePrivacyDlpV2DiscoveryOtherCloudConditions = GooglePrivacyDlpV2DiscoveryOtherCloudConditions+ { -- | Amazon S3 bucket conditions.+ amazonS3BucketConditions :: (Core.Maybe GooglePrivacyDlpV2AmazonS3BucketConditions),+ -- | Minimum age a resource must be before Cloud DLP can profile it. Value must be 1 hour or greater.+ minAge :: (Core.Maybe Core.Duration)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryOtherCloudConditions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryOtherCloudConditions ::+ GooglePrivacyDlpV2DiscoveryOtherCloudConditions+newGooglePrivacyDlpV2DiscoveryOtherCloudConditions =+ GooglePrivacyDlpV2DiscoveryOtherCloudConditions+ { amazonS3BucketConditions =+ Core.Nothing,+ minAge = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DiscoveryOtherCloudConditions+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryOtherCloudConditions"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryOtherCloudConditions+ Core.<$> (o Core..:? "amazonS3BucketConditions")+ Core.<*> (o Core..:? "minAge")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2DiscoveryOtherCloudConditions+ where+ toJSON GooglePrivacyDlpV2DiscoveryOtherCloudConditions {..} =+ Core.object+ ( Core.catMaybes+ [ ("amazonS3BucketConditions" Core..=)+ Core.<$> amazonS3BucketConditions,+ ("minAge" Core..=) Core.<$> minAge+ ]+ )++-- | Determines which resources from the other cloud will have profiles generated. Includes the ability to filter by resource names.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryOtherCloudFilter' smart constructor.+data GooglePrivacyDlpV2DiscoveryOtherCloudFilter = GooglePrivacyDlpV2DiscoveryOtherCloudFilter+ { -- | A collection of resources for this filter to apply to.+ collection :: (Core.Maybe GooglePrivacyDlpV2OtherCloudResourceCollection),+ -- | Optional. Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.+ others :: (Core.Maybe GooglePrivacyDlpV2AllOtherResources),+ -- | The resource to scan. Configs using this filter can only have one target (the target with this single resource reference).+ singleResource :: (Core.Maybe GooglePrivacyDlpV2OtherCloudSingleResourceReference)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryOtherCloudFilter' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryOtherCloudFilter ::+ GooglePrivacyDlpV2DiscoveryOtherCloudFilter+newGooglePrivacyDlpV2DiscoveryOtherCloudFilter =+ GooglePrivacyDlpV2DiscoveryOtherCloudFilter+ { collection =+ Core.Nothing,+ others = Core.Nothing,+ singleResource = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DiscoveryOtherCloudFilter where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryOtherCloudFilter"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryOtherCloudFilter+ Core.<$> (o Core..:? "collection")+ Core.<*> (o Core..:? "others")+ Core.<*> (o Core..:? "singleResource")+ )++instance Core.ToJSON GooglePrivacyDlpV2DiscoveryOtherCloudFilter where+ toJSON GooglePrivacyDlpV2DiscoveryOtherCloudFilter {..} =+ Core.object+ ( Core.catMaybes+ [ ("collection" Core..=) Core.<$> collection,+ ("others" Core..=) Core.<$> others,+ ("singleResource" Core..=) Core.<$> singleResource+ ]+ )++-- | How often existing resources should have their profiles refreshed. New resources are scanned as quickly as possible depending on system capacity.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence' smart constructor.+data GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence = GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence+ { -- | Optional. Governs when to update data profiles when the inspection rules defined by the @InspectTemplate@ change. If not set, changing the template will not cause a data profile to update.+ inspectTemplateModifiedCadence ::+ ( Core.Maybe+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence+ ),+ -- | Optional. Frequency to update profiles regardless of whether the underlying resource has changes. Defaults to never.+ refreshFrequency ::+ ( Core.Maybe+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence ::+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence+newGooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence =+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence+ { inspectTemplateModifiedCadence =+ Core.Nothing,+ refreshFrequency = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence+ Core.<$> (o Core..:? "inspectTemplateModifiedCadence")+ Core.<*> (o Core..:? "refreshFrequency")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence+ where+ toJSON GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence {..} =+ Core.object+ ( Core.catMaybes+ [ ("inspectTemplateModifiedCadence" Core..=)+ Core.<$> inspectTemplateModifiedCadence,+ ("refreshFrequency" Core..=) Core.<$> refreshFrequency+ ]+ )++-- | The cadence at which to update data profiles when a schema is modified.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoverySchemaModifiedCadence' smart constructor.+data GooglePrivacyDlpV2DiscoverySchemaModifiedCadence = GooglePrivacyDlpV2DiscoverySchemaModifiedCadence+ { -- | How frequently profiles may be updated when schemas are modified. Defaults to monthly.+ frequency ::+ ( Core.Maybe+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency+ ),+ -- | The type of events to consider when deciding if the table\'s schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.+ types ::+ ( Core.Maybe+ [GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem]+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoverySchemaModifiedCadence' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoverySchemaModifiedCadence ::+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence+newGooglePrivacyDlpV2DiscoverySchemaModifiedCadence =+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence+ { frequency =+ Core.Nothing,+ types = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoverySchemaModifiedCadence"+ ( \o ->+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence+ Core.<$> (o Core..:? "frequency")+ Core.<*> (o Core..:? "types")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence+ where+ toJSON GooglePrivacyDlpV2DiscoverySchemaModifiedCadence {..} =+ Core.object+ ( Core.catMaybes+ [ ("frequency" Core..=) Core.<$> frequency,+ ("types" Core..=) Core.<$> types+ ]+ )++-- | The location to begin a discovery scan. Denotes an organization ID or folder ID within an organization.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryStartingLocation' smart constructor.+data GooglePrivacyDlpV2DiscoveryStartingLocation = GooglePrivacyDlpV2DiscoveryStartingLocation+ { -- | The ID of the folder within an organization to be scanned.+ folderId :: (Core.Maybe Core.Int64),+ -- | The ID of an organization to scan.+ organizationId :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryStartingLocation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryStartingLocation ::+ GooglePrivacyDlpV2DiscoveryStartingLocation+newGooglePrivacyDlpV2DiscoveryStartingLocation =+ GooglePrivacyDlpV2DiscoveryStartingLocation+ { folderId =+ Core.Nothing,+ organizationId = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DiscoveryStartingLocation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryStartingLocation"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryStartingLocation+ Core.<$> (o Core..:? "folderId" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "organizationId" Core.<&> Core.fmap Core.fromAsText)+ )++instance Core.ToJSON GooglePrivacyDlpV2DiscoveryStartingLocation where+ toJSON GooglePrivacyDlpV2DiscoveryStartingLocation {..} =+ Core.object+ ( Core.catMaybes+ [ ("folderId" Core..=) Core.. Core.AsText Core.<$> folderId,+ ("organizationId" Core..=)+ Core.. Core.AsText+ Core.<$> organizationId+ ]+ )++-- | The cadence at which to update data profiles when a table is modified.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryTableModifiedCadence' smart constructor.+data GooglePrivacyDlpV2DiscoveryTableModifiedCadence = GooglePrivacyDlpV2DiscoveryTableModifiedCadence+ { -- | How frequently data profiles can be updated when tables are modified. Defaults to never.+ frequency ::+ ( Core.Maybe+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency+ ),+ -- | The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.+ types ::+ ( Core.Maybe+ [GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem]+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryTableModifiedCadence' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryTableModifiedCadence ::+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence+newGooglePrivacyDlpV2DiscoveryTableModifiedCadence =+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence+ { frequency =+ Core.Nothing,+ types = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryTableModifiedCadence"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence+ Core.<$> (o Core..:? "frequency")+ Core.<*> (o Core..:? "types")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence+ where+ toJSON GooglePrivacyDlpV2DiscoveryTableModifiedCadence {..} =+ Core.object+ ( Core.catMaybes+ [ ("frequency" Core..=) Core.<$> frequency,+ ("types" Core..=) Core.<$> types+ ]+ )++-- | Target used to match against for Discovery.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryTarget' smart constructor.+data GooglePrivacyDlpV2DiscoveryTarget = GooglePrivacyDlpV2DiscoveryTarget+ { -- | BigQuery target for Discovery. The first target to match a table will be the one applied.+ bigQueryTarget :: (Core.Maybe GooglePrivacyDlpV2BigQueryDiscoveryTarget),+ -- | Cloud SQL target for Discovery. The first target to match a table will be the one applied.+ cloudSqlTarget :: (Core.Maybe GooglePrivacyDlpV2CloudSqlDiscoveryTarget),+ -- | Cloud Storage target for Discovery. The first target to match a table will be the one applied.+ cloudStorageTarget :: (Core.Maybe GooglePrivacyDlpV2CloudStorageDiscoveryTarget),+ -- | Other clouds target for discovery. The first target to match a resource will be the one applied.+ otherCloudTarget :: (Core.Maybe GooglePrivacyDlpV2OtherCloudDiscoveryTarget),+ -- | Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed.+ secretsTarget :: (Core.Maybe GooglePrivacyDlpV2SecretsDiscoveryTarget),+ -- | Vertex AI dataset target for Discovery. The first target to match a dataset will be the one applied. Note that discovery for Vertex AI can incur Cloud Storage Class B operation charges for storage.objects.get operations and retrieval fees. For more information, see <https://cloud.google.com/storage/pricing#price-tables Cloud Storage pricing>. Note that discovery for Vertex AI dataset will not be able to scan images unless DiscoveryConfig.processing/location.image/fallback/location has multi/region/processing or global/processing configured.+ vertexDatasetTarget :: (Core.Maybe GooglePrivacyDlpV2VertexDatasetDiscoveryTarget)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryTarget' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryTarget ::+ GooglePrivacyDlpV2DiscoveryTarget+newGooglePrivacyDlpV2DiscoveryTarget =+ GooglePrivacyDlpV2DiscoveryTarget+ { bigQueryTarget = Core.Nothing,+ cloudSqlTarget = Core.Nothing,+ cloudStorageTarget = Core.Nothing,+ otherCloudTarget = Core.Nothing,+ secretsTarget = Core.Nothing,+ vertexDatasetTarget = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DiscoveryTarget where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryTarget"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryTarget+ Core.<$> (o Core..:? "bigQueryTarget")+ Core.<*> (o Core..:? "cloudSqlTarget")+ Core.<*> (o Core..:? "cloudStorageTarget")+ Core.<*> (o Core..:? "otherCloudTarget")+ Core.<*> (o Core..:? "secretsTarget")+ Core.<*> (o Core..:? "vertexDatasetTarget")+ )++instance Core.ToJSON GooglePrivacyDlpV2DiscoveryTarget where+ toJSON GooglePrivacyDlpV2DiscoveryTarget {..} =+ Core.object+ ( Core.catMaybes+ [ ("bigQueryTarget" Core..=) Core.<$> bigQueryTarget,+ ("cloudSqlTarget" Core..=) Core.<$> cloudSqlTarget,+ ("cloudStorageTarget" Core..=) Core.<$> cloudStorageTarget,+ ("otherCloudTarget" Core..=) Core.<$> otherCloudTarget,+ ("secretsTarget" Core..=) Core.<$> secretsTarget,+ ("vertexDatasetTarget" Core..=) Core.<$> vertexDatasetTarget+ ]+ )++-- | Requirements that must be true before a dataset is profiled for the first time.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryVertexDatasetConditions' smart constructor.+data GooglePrivacyDlpV2DiscoveryVertexDatasetConditions = GooglePrivacyDlpV2DiscoveryVertexDatasetConditions+ { -- | Vertex AI dataset must have been created after this date. Used to avoid backfilling.+ createdAfter :: (Core.Maybe Core.DateTime),+ -- | Minimum age a Vertex AI dataset must have. If set, the value must be 1 hour or greater.+ minAge :: (Core.Maybe Core.Duration)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryVertexDatasetConditions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryVertexDatasetConditions ::+ GooglePrivacyDlpV2DiscoveryVertexDatasetConditions+newGooglePrivacyDlpV2DiscoveryVertexDatasetConditions =+ GooglePrivacyDlpV2DiscoveryVertexDatasetConditions+ { createdAfter =+ Core.Nothing,+ minAge = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DiscoveryVertexDatasetConditions+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryVertexDatasetConditions"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryVertexDatasetConditions+ Core.<$> (o Core..:? "createdAfter")+ Core.<*> (o Core..:? "minAge")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2DiscoveryVertexDatasetConditions+ where+ toJSON GooglePrivacyDlpV2DiscoveryVertexDatasetConditions {..} =+ Core.object+ ( Core.catMaybes+ [ ("createdAfter" Core..=) Core.<$> createdAfter,+ ("minAge" Core..=) Core.<$> minAge+ ]+ )++-- | Determines what datasets will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID or dataset regex.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryVertexDatasetFilter' smart constructor.+data GooglePrivacyDlpV2DiscoveryVertexDatasetFilter = GooglePrivacyDlpV2DiscoveryVertexDatasetFilter+ { -- | A specific set of Vertex AI datasets for this filter to apply to.+ collection :: (Core.Maybe GooglePrivacyDlpV2VertexDatasetCollection),+ -- | Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.+ others :: (Core.Maybe GooglePrivacyDlpV2AllOtherResources),+ -- | The dataset resource to scan. Targets including this can only include one target (the target with this dataset resource reference).+ vertexDatasetResourceReference :: (Core.Maybe GooglePrivacyDlpV2VertexDatasetResourceReference)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryVertexDatasetFilter' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryVertexDatasetFilter ::+ GooglePrivacyDlpV2DiscoveryVertexDatasetFilter+newGooglePrivacyDlpV2DiscoveryVertexDatasetFilter =+ GooglePrivacyDlpV2DiscoveryVertexDatasetFilter+ { collection =+ Core.Nothing,+ others = Core.Nothing,+ vertexDatasetResourceReference = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DiscoveryVertexDatasetFilter+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryVertexDatasetFilter"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryVertexDatasetFilter+ Core.<$> (o Core..:? "collection")+ Core.<*> (o Core..:? "others")+ Core.<*> (o Core..:? "vertexDatasetResourceReference")+ )++instance Core.ToJSON GooglePrivacyDlpV2DiscoveryVertexDatasetFilter where+ toJSON GooglePrivacyDlpV2DiscoveryVertexDatasetFilter {..} =+ Core.object+ ( Core.catMaybes+ [ ("collection" Core..=) Core.<$> collection,+ ("others" Core..=) Core.<$> others,+ ("vertexDatasetResourceReference" Core..=)+ Core.<$> vertexDatasetResourceReference+ ]+ )++-- | How often existing datasets should have their profiles refreshed. New datasets are scanned as quickly as possible depending on system capacity.+--+-- /See:/ 'newGooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence' smart constructor.+data GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence = GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence+ { -- | Governs when to update data profiles when the inspection rules defined by the @InspectTemplate@ change. If not set, changing the template will not cause a data profile to be updated.+ inspectTemplateModifiedCadence ::+ ( Core.Maybe+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence+ ),+ -- | If you set this field, profiles are refreshed at this frequency regardless of whether the underlying datasets have changed. Defaults to never.+ refreshFrequency ::+ ( Core.Maybe+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence ::+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence+newGooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence =+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence+ { inspectTemplateModifiedCadence =+ Core.Nothing,+ refreshFrequency = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence"+ ( \o ->+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence+ Core.<$> (o Core..:? "inspectTemplateModifiedCadence")+ Core.<*> (o Core..:? "refreshFrequency")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence+ where+ toJSON+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence {..} =+ Core.object+ ( Core.catMaybes+ [ ("inspectTemplateModifiedCadence" Core..=)+ Core.<$> inspectTemplateModifiedCadence,+ ("refreshFrequency" Core..=) Core.<$> refreshFrequency+ ]+ )++-- | Combines all of the information about a DLP job.+--+-- /See:/ 'newGooglePrivacyDlpV2DlpJob' smart constructor.+data GooglePrivacyDlpV2DlpJob = GooglePrivacyDlpV2DlpJob+ { -- | Events that should occur after the job has completed.+ actionDetails :: (Core.Maybe [GooglePrivacyDlpV2ActionDetails]),+ -- | Time when the job was created.+ createTime :: (Core.Maybe Core.DateTime),+ -- | Time when the job finished.+ endTime :: (Core.Maybe Core.DateTime),+ -- | A stream of errors encountered running the job.+ errors :: (Core.Maybe [GooglePrivacyDlpV2Error]),+ -- | Results from inspecting a data source.+ inspectDetails :: (Core.Maybe GooglePrivacyDlpV2InspectDataSourceDetails),+ -- | If created by a job trigger, the resource name of the trigger that instantiated the job.+ jobTriggerName :: (Core.Maybe Core.Text),+ -- | Time when the job was last modified by the system.+ lastModified :: (Core.Maybe Core.DateTime),+ -- | The server-assigned name.+ name :: (Core.Maybe Core.Text),+ -- | Results from analyzing risk of a data source.+ riskDetails :: (Core.Maybe GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails),+ -- | Time when the job started.+ startTime :: (Core.Maybe Core.DateTime),+ -- | State of a job.+ state :: (Core.Maybe GooglePrivacyDlpV2DlpJob_State),+ -- | The type of job.+ type' :: (Core.Maybe GooglePrivacyDlpV2DlpJob_Type)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DlpJob' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DlpJob ::+ GooglePrivacyDlpV2DlpJob+newGooglePrivacyDlpV2DlpJob =+ GooglePrivacyDlpV2DlpJob+ { actionDetails = Core.Nothing,+ createTime = Core.Nothing,+ endTime = Core.Nothing,+ errors = Core.Nothing,+ inspectDetails = Core.Nothing,+ jobTriggerName = Core.Nothing,+ lastModified = Core.Nothing,+ name = Core.Nothing,+ riskDetails = Core.Nothing,+ startTime = Core.Nothing,+ state = Core.Nothing,+ type' = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2DlpJob where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DlpJob"+ ( \o ->+ GooglePrivacyDlpV2DlpJob+ Core.<$> (o Core..:? "actionDetails")+ Core.<*> (o Core..:? "createTime")+ Core.<*> (o Core..:? "endTime")+ Core.<*> (o Core..:? "errors")+ Core.<*> (o Core..:? "inspectDetails")+ Core.<*> (o Core..:? "jobTriggerName")+ Core.<*> (o Core..:? "lastModified")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "riskDetails")+ Core.<*> (o Core..:? "startTime")+ Core.<*> (o Core..:? "state")+ Core.<*> (o Core..:? "type")+ )++instance Core.ToJSON GooglePrivacyDlpV2DlpJob where+ toJSON GooglePrivacyDlpV2DlpJob {..} =+ Core.object+ ( Core.catMaybes+ [ ("actionDetails" Core..=) Core.<$> actionDetails,+ ("createTime" Core..=) Core.<$> createTime,+ ("endTime" Core..=) Core.<$> endTime,+ ("errors" Core..=) Core.<$> errors,+ ("inspectDetails" Core..=) Core.<$> inspectDetails,+ ("jobTriggerName" Core..=) Core.<$> jobTriggerName,+ ("lastModified" Core..=) Core.<$> lastModified,+ ("name" Core..=) Core.<$> name,+ ("riskDetails" Core..=) Core.<$> riskDetails,+ ("startTime" Core..=) Core.<$> startTime,+ ("state" Core..=) Core.<$> state,+ ("type" Core..=) Core.<$> type'+ ]+ )++-- | Location of a finding within a document.+--+-- /See:/ 'newGooglePrivacyDlpV2DocumentLocation' smart constructor.+newtype GooglePrivacyDlpV2DocumentLocation = GooglePrivacyDlpV2DocumentLocation+ { -- | Offset of the line, from the beginning of the file, where the finding is located.+ fileOffset :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2DocumentLocation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2DocumentLocation ::+ GooglePrivacyDlpV2DocumentLocation+newGooglePrivacyDlpV2DocumentLocation =+ GooglePrivacyDlpV2DocumentLocation {fileOffset = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2DocumentLocation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2DocumentLocation"+ ( \o ->+ GooglePrivacyDlpV2DocumentLocation+ Core.<$> (o Core..:? "fileOffset" Core.<&> Core.fmap Core.fromAsText)+ )++instance Core.ToJSON GooglePrivacyDlpV2DocumentLocation where+ toJSON GooglePrivacyDlpV2DocumentLocation {..} =+ Core.object+ ( Core.catMaybes+ [("fileOffset" Core..=) Core.. Core.AsText Core.<$> fileOffset]+ )++-- | An entity in a dataset is a field or set of fields that correspond to a single person. For example, in medical records the @EntityId@ might be a patient identifier, or for financial records it might be an account identifier. This message is used when generalizations or analysis must take into account that multiple rows correspond to the same entity.+--+-- /See:/ 'newGooglePrivacyDlpV2EntityId' smart constructor.+newtype GooglePrivacyDlpV2EntityId = GooglePrivacyDlpV2EntityId+ { -- | Composite key indicating which field contains the entity identifier.+ field :: (Core.Maybe GooglePrivacyDlpV2FieldId)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2EntityId' with the minimum fields required to make a request.+newGooglePrivacyDlpV2EntityId ::+ GooglePrivacyDlpV2EntityId+newGooglePrivacyDlpV2EntityId =+ GooglePrivacyDlpV2EntityId {field = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2EntityId where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2EntityId"+ (\o -> GooglePrivacyDlpV2EntityId Core.<$> (o Core..:? "field"))++instance Core.ToJSON GooglePrivacyDlpV2EntityId where+ toJSON GooglePrivacyDlpV2EntityId {..} =+ Core.object (Core.catMaybes [("field" Core..=) Core.<$> field])++-- | Details information about an error encountered during job execution or the results of an unsuccessful activation of the JobTrigger.+--+-- /See:/ 'newGooglePrivacyDlpV2Error' smart constructor.+data GooglePrivacyDlpV2Error = GooglePrivacyDlpV2Error+ { -- | Detailed error codes and messages.+ details :: (Core.Maybe GoogleRpcStatus),+ -- | Additional information about the error.+ extraInfo :: (Core.Maybe GooglePrivacyDlpV2Error_ExtraInfo),+ -- | The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.+ timestamps :: (Core.Maybe [Core.DateTime])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Error' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Error ::+ GooglePrivacyDlpV2Error+newGooglePrivacyDlpV2Error =+ GooglePrivacyDlpV2Error+ { details = Core.Nothing,+ extraInfo = Core.Nothing,+ timestamps = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Error where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Error"+ ( \o ->+ GooglePrivacyDlpV2Error+ Core.<$> (o Core..:? "details")+ Core.<*> (o Core..:? "extraInfo")+ Core.<*> (o Core..:? "timestamps")+ )++instance Core.ToJSON GooglePrivacyDlpV2Error where+ toJSON GooglePrivacyDlpV2Error {..} =+ Core.object+ ( Core.catMaybes+ [ ("details" Core..=) Core.<$> details,+ ("extraInfo" Core..=) Core.<$> extraInfo,+ ("timestamps" Core..=) Core.<$> timestamps+ ]+ )++-- | The rule to exclude findings based on a hotword. For record inspection of tables, column names are considered hotwords. An example of this is to exclude a finding if it belongs to a BigQuery column that matches a specific pattern.+--+-- /See:/ 'newGooglePrivacyDlpV2ExcludeByHotword' smart constructor.+data GooglePrivacyDlpV2ExcludeByHotword = GooglePrivacyDlpV2ExcludeByHotword+ { -- | Regular expression pattern defining what qualifies as a hotword.+ hotwordRegex :: (Core.Maybe GooglePrivacyDlpV2Regex),+ -- | Range of characters within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. The windowBefore property in proximity should be set to 1 if the hotword needs to be included in a column header.+ proximity :: (Core.Maybe GooglePrivacyDlpV2Proximity)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ExcludeByHotword' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ExcludeByHotword ::+ GooglePrivacyDlpV2ExcludeByHotword+newGooglePrivacyDlpV2ExcludeByHotword =+ GooglePrivacyDlpV2ExcludeByHotword+ { hotwordRegex = Core.Nothing,+ proximity = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ExcludeByHotword where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ExcludeByHotword"+ ( \o ->+ GooglePrivacyDlpV2ExcludeByHotword+ Core.<$> (o Core..:? "hotwordRegex")+ Core.<*> (o Core..:? "proximity")+ )++instance Core.ToJSON GooglePrivacyDlpV2ExcludeByHotword where+ toJSON GooglePrivacyDlpV2ExcludeByHotword {..} =+ Core.object+ ( Core.catMaybes+ [ ("hotwordRegex" Core..=) Core.<$> hotwordRegex,+ ("proximity" Core..=) Core.<$> proximity+ ]+ )++-- | List of excluded infoTypes.+--+-- /See:/ 'newGooglePrivacyDlpV2ExcludeInfoTypes' smart constructor.+newtype GooglePrivacyDlpV2ExcludeInfoTypes = GooglePrivacyDlpV2ExcludeInfoTypes+ { -- | InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list. For example, for @InspectionRuleSet.info_types@ containing \"PHONE/NUMBER\"@and@exclusion/rule@containing@exclude/info/types.info/types\` with \"EMAIL/ADDRESS\" the phone number findings are dropped if they overlap with EMAIL_ADDRESS finding. That leads to \"555-222-2222\@example.org\" to generate only a single finding, namely email address.+ infoTypes :: (Core.Maybe [GooglePrivacyDlpV2InfoType])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ExcludeInfoTypes' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ExcludeInfoTypes ::+ GooglePrivacyDlpV2ExcludeInfoTypes+newGooglePrivacyDlpV2ExcludeInfoTypes =+ GooglePrivacyDlpV2ExcludeInfoTypes {infoTypes = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2ExcludeInfoTypes where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ExcludeInfoTypes"+ ( \o ->+ GooglePrivacyDlpV2ExcludeInfoTypes+ Core.<$> (o Core..:? "infoTypes")+ )++instance Core.ToJSON GooglePrivacyDlpV2ExcludeInfoTypes where+ toJSON GooglePrivacyDlpV2ExcludeInfoTypes {..} =+ Core.object+ (Core.catMaybes [("infoTypes" Core..=) Core.<$> infoTypes])++-- | The rule that specifies conditions when findings of infoTypes specified in @InspectionRuleSet@ are removed from results.+--+-- /See:/ 'newGooglePrivacyDlpV2ExclusionRule' smart constructor.+data GooglePrivacyDlpV2ExclusionRule = GooglePrivacyDlpV2ExclusionRule+ { -- | Dictionary which defines the rule.+ dictionary :: (Core.Maybe GooglePrivacyDlpV2Dictionary),+ -- | Drop if the hotword rule is contained in the proximate context. For tabular data, the context includes the column name.+ excludeByHotword :: (Core.Maybe GooglePrivacyDlpV2ExcludeByHotword),+ -- | Set of infoTypes for which findings would affect this rule.+ excludeInfoTypes :: (Core.Maybe GooglePrivacyDlpV2ExcludeInfoTypes),+ -- | How the rule is applied, see MatchingType documentation for details.+ matchingType :: (Core.Maybe GooglePrivacyDlpV2ExclusionRule_MatchingType),+ -- | Regular expression which defines the rule.+ regex :: (Core.Maybe GooglePrivacyDlpV2Regex)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ExclusionRule' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ExclusionRule ::+ GooglePrivacyDlpV2ExclusionRule+newGooglePrivacyDlpV2ExclusionRule =+ GooglePrivacyDlpV2ExclusionRule+ { dictionary = Core.Nothing,+ excludeByHotword = Core.Nothing,+ excludeInfoTypes = Core.Nothing,+ matchingType = Core.Nothing,+ regex = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ExclusionRule where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ExclusionRule"+ ( \o ->+ GooglePrivacyDlpV2ExclusionRule+ Core.<$> (o Core..:? "dictionary")+ Core.<*> (o Core..:? "excludeByHotword")+ Core.<*> (o Core..:? "excludeInfoTypes")+ Core.<*> (o Core..:? "matchingType")+ Core.<*> (o Core..:? "regex")+ )++instance Core.ToJSON GooglePrivacyDlpV2ExclusionRule where+ toJSON GooglePrivacyDlpV2ExclusionRule {..} =+ Core.object+ ( Core.catMaybes+ [ ("dictionary" Core..=) Core.<$> dictionary,+ ("excludeByHotword" Core..=) Core.<$> excludeByHotword,+ ("excludeInfoTypes" Core..=) Core.<$> excludeInfoTypes,+ ("matchingType" Core..=) Core.<$> matchingType,+ ("regex" Core..=) Core.<$> regex+ ]+ )++-- | If set, the detailed data profiles will be persisted to the location of your choice whenever updated.+--+-- /See:/ 'newGooglePrivacyDlpV2Export' smart constructor.+data GooglePrivacyDlpV2Export = GooglePrivacyDlpV2Export+ { -- | Store all profiles to BigQuery. * The system will create a new dataset and table for you if none are are provided. The dataset will be named @sensitive_data_protection_discovery@ and table will be named @discovery_profiles@. This table will be placed in the same project as the container project running the scan. After the first profile is generated and the dataset and table are created, the discovery scan configuration will be updated with the dataset and table names. * See <https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles Analyze data profiles stored in BigQuery>. * See <https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#sample_sql_queries Sample queries for your BigQuery table>. * Data is inserted using <https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert streaming insert> and so data may be in the buffer for a period of time after the profile has finished. * The Pub\/Sub notification is sent before the streaming buffer+ -- is guaranteed to be written, so data may not be instantly visible to queries by the time your topic receives the Pub\/Sub notification. * The best practice is to use the same table for an entire organization so that you can take advantage of the <https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#use_a_premade_report provided Looker reports>. If you use VPC Service Controls to define security perimeters, then you must use a separate table for each boundary.+ profileTable :: (Core.Maybe GooglePrivacyDlpV2BigQueryTable),+ -- | Store sample data profile findings in an existing table or a new table in an existing dataset. Each regeneration will result in new rows in BigQuery. Data is inserted using <https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert streaming insert> and so data may be in the buffer for a period of time after the profile has finished.+ sampleFindingsTable :: (Core.Maybe GooglePrivacyDlpV2BigQueryTable)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Export' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Export ::+ GooglePrivacyDlpV2Export+newGooglePrivacyDlpV2Export =+ GooglePrivacyDlpV2Export+ { profileTable = Core.Nothing,+ sampleFindingsTable = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Export where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Export"+ ( \o ->+ GooglePrivacyDlpV2Export+ Core.<$> (o Core..:? "profileTable")+ Core.<*> (o Core..:? "sampleFindingsTable")+ )++instance Core.ToJSON GooglePrivacyDlpV2Export where+ toJSON GooglePrivacyDlpV2Export {..} =+ Core.object+ ( Core.catMaybes+ [ ("profileTable" Core..=) Core.<$> profileTable,+ ("sampleFindingsTable" Core..=) Core.<$> sampleFindingsTable+ ]+ )++-- | An expression, consisting of an operator and conditions.+--+-- /See:/ 'newGooglePrivacyDlpV2Expressions' smart constructor.+data GooglePrivacyDlpV2Expressions = GooglePrivacyDlpV2Expressions+ { -- | Conditions to apply to the expression.+ conditions :: (Core.Maybe GooglePrivacyDlpV2Conditions),+ -- | The operator to apply to the result of conditions. Default and currently only supported value is @AND@.+ logicalOperator :: (Core.Maybe GooglePrivacyDlpV2Expressions_LogicalOperator)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Expressions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Expressions ::+ GooglePrivacyDlpV2Expressions+newGooglePrivacyDlpV2Expressions =+ GooglePrivacyDlpV2Expressions+ { conditions = Core.Nothing,+ logicalOperator = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Expressions where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Expressions"+ ( \o ->+ GooglePrivacyDlpV2Expressions+ Core.<$> (o Core..:? "conditions")+ Core.<*> (o Core..:? "logicalOperator")+ )++instance Core.ToJSON GooglePrivacyDlpV2Expressions where+ toJSON GooglePrivacyDlpV2Expressions {..} =+ Core.object+ ( Core.catMaybes+ [ ("conditions" Core..=) Core.<$> conditions,+ ("logicalOperator" Core..=) Core.<$> logicalOperator+ ]+ )++-- | General identifier of a data field in a storage service.+--+-- /See:/ 'newGooglePrivacyDlpV2FieldId' smart constructor.+newtype GooglePrivacyDlpV2FieldId = GooglePrivacyDlpV2FieldId+ { -- | Name describing the field.+ name :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2FieldId' with the minimum fields required to make a request.+newGooglePrivacyDlpV2FieldId ::+ GooglePrivacyDlpV2FieldId+newGooglePrivacyDlpV2FieldId =+ GooglePrivacyDlpV2FieldId {name = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2FieldId where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2FieldId"+ (\o -> GooglePrivacyDlpV2FieldId Core.<$> (o Core..:? "name"))++instance Core.ToJSON GooglePrivacyDlpV2FieldId where+ toJSON GooglePrivacyDlpV2FieldId {..} =+ Core.object (Core.catMaybes [("name" Core..=) Core.<$> name])++-- | The transformation to apply to the field.+--+-- /See:/ 'newGooglePrivacyDlpV2FieldTransformation' smart constructor.+data GooglePrivacyDlpV2FieldTransformation = GooglePrivacyDlpV2FieldTransformation+ { -- | Only apply the transformation if the condition evaluates to true for the given @RecordCondition@. The conditions are allowed to reference fields that are not used in the actual transformation. Example Use Cases: - Apply a different bucket transformation to an age column if the zip code column for the same record is within a specific range. - Redact a field if the date of birth field is greater than 85.+ condition :: (Core.Maybe GooglePrivacyDlpV2RecordCondition),+ -- | Required. Input field(s) to apply the transformation to. When you have columns that reference their position within a list, omit the index from the FieldId. FieldId name matching ignores the index. For example, instead of \"contact.nums[0].type\", use \"contact.nums.type\".+ fields :: (Core.Maybe [GooglePrivacyDlpV2FieldId]),+ -- | Treat the contents of the field as free text, and selectively transform content that matches an @InfoType@.+ infoTypeTransformations :: (Core.Maybe GooglePrivacyDlpV2InfoTypeTransformations),+ -- | Apply the transformation to the entire field.+ primitiveTransformation :: (Core.Maybe GooglePrivacyDlpV2PrimitiveTransformation)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2FieldTransformation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2FieldTransformation ::+ GooglePrivacyDlpV2FieldTransformation+newGooglePrivacyDlpV2FieldTransformation =+ GooglePrivacyDlpV2FieldTransformation+ { condition = Core.Nothing,+ fields = Core.Nothing,+ infoTypeTransformations = Core.Nothing,+ primitiveTransformation = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2FieldTransformation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2FieldTransformation"+ ( \o ->+ GooglePrivacyDlpV2FieldTransformation+ Core.<$> (o Core..:? "condition")+ Core.<*> (o Core..:? "fields")+ Core.<*> (o Core..:? "infoTypeTransformations")+ Core.<*> (o Core..:? "primitiveTransformation")+ )++instance Core.ToJSON GooglePrivacyDlpV2FieldTransformation where+ toJSON GooglePrivacyDlpV2FieldTransformation {..} =+ Core.object+ ( Core.catMaybes+ [ ("condition" Core..=) Core.<$> condition,+ ("fields" Core..=) Core.<$> fields,+ ("infoTypeTransformations" Core..=)+ Core.<$> infoTypeTransformations,+ ("primitiveTransformation" Core..=)+ Core.<$> primitiveTransformation+ ]+ )++-- | The file cluster summary.+--+-- /See:/ 'newGooglePrivacyDlpV2FileClusterSummary' smart constructor.+data GooglePrivacyDlpV2FileClusterSummary = GooglePrivacyDlpV2FileClusterSummary+ { -- | The data risk level of this cluster. RISK_LOW if nothing has been scanned.+ dataRiskLevel :: (Core.Maybe GooglePrivacyDlpV2DataRiskLevel),+ -- | A list of errors detected while scanning this cluster. The list is truncated to 10 per cluster.+ errors :: (Core.Maybe [GooglePrivacyDlpV2Error]),+ -- | The file cluster type.+ fileClusterType :: (Core.Maybe GooglePrivacyDlpV2FileClusterType),+ -- | A sample of file types scanned in this cluster. Empty if no files were scanned. File extensions can be derived from the file name or the file content.+ fileExtensionsScanned :: (Core.Maybe [GooglePrivacyDlpV2FileExtensionInfo]),+ -- | A sample of file types seen in this cluster. Empty if no files were seen. File extensions can be derived from the file name or the file content.+ fileExtensionsSeen :: (Core.Maybe [GooglePrivacyDlpV2FileExtensionInfo]),+ -- | InfoTypes detected in this cluster.+ fileStoreInfoTypeSummaries :: (Core.Maybe [GooglePrivacyDlpV2FileStoreInfoTypeSummary]),+ -- | True if no files exist in this cluster. If the file store had more files than could be listed, this will be false even if no files for this cluster were seen and file/extensions/seen is empty.+ noFilesExist :: (Core.Maybe Core.Bool),+ -- | The sensitivity score of this cluster. The score will be SENSITIVITY_LOW if nothing has been scanned.+ sensitivityScore :: (Core.Maybe GooglePrivacyDlpV2SensitivityScore)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2FileClusterSummary' with the minimum fields required to make a request.+newGooglePrivacyDlpV2FileClusterSummary ::+ GooglePrivacyDlpV2FileClusterSummary+newGooglePrivacyDlpV2FileClusterSummary =+ GooglePrivacyDlpV2FileClusterSummary+ { dataRiskLevel =+ Core.Nothing,+ errors = Core.Nothing,+ fileClusterType = Core.Nothing,+ fileExtensionsScanned = Core.Nothing,+ fileExtensionsSeen = Core.Nothing,+ fileStoreInfoTypeSummaries = Core.Nothing,+ noFilesExist = Core.Nothing,+ sensitivityScore = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2FileClusterSummary where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2FileClusterSummary"+ ( \o ->+ GooglePrivacyDlpV2FileClusterSummary+ Core.<$> (o Core..:? "dataRiskLevel")+ Core.<*> (o Core..:? "errors")+ Core.<*> (o Core..:? "fileClusterType")+ Core.<*> (o Core..:? "fileExtensionsScanned")+ Core.<*> (o Core..:? "fileExtensionsSeen")+ Core.<*> (o Core..:? "fileStoreInfoTypeSummaries")+ Core.<*> (o Core..:? "noFilesExist")+ Core.<*> (o Core..:? "sensitivityScore")+ )++instance Core.ToJSON GooglePrivacyDlpV2FileClusterSummary where+ toJSON GooglePrivacyDlpV2FileClusterSummary {..} =+ Core.object+ ( Core.catMaybes+ [ ("dataRiskLevel" Core..=) Core.<$> dataRiskLevel,+ ("errors" Core..=) Core.<$> errors,+ ("fileClusterType" Core..=) Core.<$> fileClusterType,+ ("fileExtensionsScanned" Core..=) Core.<$> fileExtensionsScanned,+ ("fileExtensionsSeen" Core..=) Core.<$> fileExtensionsSeen,+ ("fileStoreInfoTypeSummaries" Core..=)+ Core.<$> fileStoreInfoTypeSummaries,+ ("noFilesExist" Core..=) Core.<$> noFilesExist,+ ("sensitivityScore" Core..=) Core.<$> sensitivityScore+ ]+ )++-- | Message used to identify file cluster type being profiled.+--+-- /See:/ 'newGooglePrivacyDlpV2FileClusterType' smart constructor.+newtype GooglePrivacyDlpV2FileClusterType = GooglePrivacyDlpV2FileClusterType+ { -- | Cluster type.+ cluster :: (Core.Maybe GooglePrivacyDlpV2FileClusterType_Cluster)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2FileClusterType' with the minimum fields required to make a request.+newGooglePrivacyDlpV2FileClusterType ::+ GooglePrivacyDlpV2FileClusterType+newGooglePrivacyDlpV2FileClusterType =+ GooglePrivacyDlpV2FileClusterType {cluster = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2FileClusterType where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2FileClusterType"+ ( \o ->+ GooglePrivacyDlpV2FileClusterType Core.<$> (o Core..:? "cluster")+ )++instance Core.ToJSON GooglePrivacyDlpV2FileClusterType where+ toJSON GooglePrivacyDlpV2FileClusterType {..} =+ Core.object+ (Core.catMaybes [("cluster" Core..=) Core.<$> cluster])++-- | Information regarding the discovered file extension.+--+-- /See:/ 'newGooglePrivacyDlpV2FileExtensionInfo' smart constructor.+newtype GooglePrivacyDlpV2FileExtensionInfo = GooglePrivacyDlpV2FileExtensionInfo+ { -- | The file extension if set. (aka .pdf, .jpg, .txt)+ fileExtension :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2FileExtensionInfo' with the minimum fields required to make a request.+newGooglePrivacyDlpV2FileExtensionInfo ::+ GooglePrivacyDlpV2FileExtensionInfo+newGooglePrivacyDlpV2FileExtensionInfo =+ GooglePrivacyDlpV2FileExtensionInfo {fileExtension = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2FileExtensionInfo where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2FileExtensionInfo"+ ( \o ->+ GooglePrivacyDlpV2FileExtensionInfo+ Core.<$> (o Core..:? "fileExtension")+ )++instance Core.ToJSON GooglePrivacyDlpV2FileExtensionInfo where+ toJSON GooglePrivacyDlpV2FileExtensionInfo {..} =+ Core.object+ (Core.catMaybes [("fileExtension" Core..=) Core.<$> fileExtension])++-- | Set of files to scan.+--+-- /See:/ 'newGooglePrivacyDlpV2FileSet' smart constructor.+data GooglePrivacyDlpV2FileSet = GooglePrivacyDlpV2FileSet+ { -- | The regex-filtered set of files to scan. Exactly one of @url@ or @regex_file_set@ must be set.+ regexFileSet :: (Core.Maybe GooglePrivacyDlpV2CloudStorageRegexFileSet),+ -- | The Cloud Storage url of the file(s) to scan, in the format @gs:\/\/\/@. Trailing wildcard in the path is allowed. If the url ends in a trailing slash, the bucket or directory represented by the url will be scanned non-recursively (content in sub-directories will not be scanned). This means that @gs:\/\/mybucket\/@ is equivalent to @gs:\/\/mybucket\/*@, and @gs:\/\/mybucket\/directory\/@ is equivalent to @gs:\/\/mybucket\/directory\/*@. Exactly one of @url@ or @regex_file_set@ must be set.+ url :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2FileSet' with the minimum fields required to make a request.+newGooglePrivacyDlpV2FileSet ::+ GooglePrivacyDlpV2FileSet+newGooglePrivacyDlpV2FileSet =+ GooglePrivacyDlpV2FileSet+ { regexFileSet = Core.Nothing,+ url = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2FileSet where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2FileSet"+ ( \o ->+ GooglePrivacyDlpV2FileSet+ Core.<$> (o Core..:? "regexFileSet")+ Core.<*> (o Core..:? "url")+ )++instance Core.ToJSON GooglePrivacyDlpV2FileSet where+ toJSON GooglePrivacyDlpV2FileSet {..} =+ Core.object+ ( Core.catMaybes+ [ ("regexFileSet" Core..=) Core.<$> regexFileSet,+ ("url" Core..=) Core.<$> url+ ]+ )++-- | Match file stores (e.g. buckets) using regex filters.+--+-- /See:/ 'newGooglePrivacyDlpV2FileStoreCollection' smart constructor.+newtype GooglePrivacyDlpV2FileStoreCollection = GooglePrivacyDlpV2FileStoreCollection+ { -- | Optional. A collection of regular expressions to match a file store against.+ includeRegexes :: (Core.Maybe GooglePrivacyDlpV2FileStoreRegexes)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2FileStoreCollection' with the minimum fields required to make a request.+newGooglePrivacyDlpV2FileStoreCollection ::+ GooglePrivacyDlpV2FileStoreCollection+newGooglePrivacyDlpV2FileStoreCollection =+ GooglePrivacyDlpV2FileStoreCollection+ { includeRegexes =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2FileStoreCollection where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2FileStoreCollection"+ ( \o ->+ GooglePrivacyDlpV2FileStoreCollection+ Core.<$> (o Core..:? "includeRegexes")+ )++instance Core.ToJSON GooglePrivacyDlpV2FileStoreCollection where+ toJSON GooglePrivacyDlpV2FileStoreCollection {..} =+ Core.object+ ( Core.catMaybes+ [("includeRegexes" Core..=) Core.<$> includeRegexes]+ )++-- | The profile for a file store. * Cloud Storage: maps 1:1 with a bucket. * Amazon S3: maps 1:1 with a bucket.+--+-- /See:/ 'newGooglePrivacyDlpV2FileStoreDataProfile' smart constructor.+data GooglePrivacyDlpV2FileStoreDataProfile = GooglePrivacyDlpV2FileStoreDataProfile+ { -- | The snapshot of the configurations used to generate the profile.+ configSnapshot :: (Core.Maybe GooglePrivacyDlpV2DataProfileConfigSnapshot),+ -- | The time the file store was first created.+ createTime :: (Core.Maybe Core.DateTime),+ -- | The data risk level of this resource.+ dataRiskLevel :: (Core.Maybe GooglePrivacyDlpV2DataRiskLevel),+ -- | The resource type that was profiled.+ dataSourceType :: (Core.Maybe GooglePrivacyDlpV2DataSourceType),+ -- | For resources that have multiple storage locations, these are those regions. For Cloud Storage this is the list of regions chosen for dual-region storage. @file_store_location@ will normally be the corresponding multi-region for the list of individual locations. The first region is always picked as the processing and storage location for the data profile.+ dataStorageLocations :: (Core.Maybe [Core.Text]),+ -- | FileClusterSummary per each cluster.+ fileClusterSummaries :: (Core.Maybe [GooglePrivacyDlpV2FileClusterSummary]),+ -- | InfoTypes detected in this file store.+ fileStoreInfoTypeSummaries :: (Core.Maybe [GooglePrivacyDlpV2FileStoreInfoTypeSummary]),+ -- | The file store does not have any files.+ fileStoreIsEmpty :: (Core.Maybe Core.Bool),+ -- | The location of the file store. * Cloud Storage: https:\/\/cloud.google.com\/storage\/docs\/locations#available-locations * Amazon S3: https:\/\/docs.aws.amazon.com\/general\/latest\/gr\/rande.html#regional-endpoints+ fileStoreLocation :: (Core.Maybe Core.Text),+ -- | The file store path. * Cloud Storage: @gs:\/\/{bucket}@ * Amazon S3: @s3:\/\/{bucket}@ * Vertex AI dataset: @projects\/{project_number}\/locations\/{location}\/datasets\/{dataset_id}@+ fileStorePath :: (Core.Maybe Core.Text),+ -- | The resource name of the resource profiled. https:\/\/cloud.google.com\/apis\/design\/resource/names#full/resource_name Example format of an S3 bucket full resource name: @\/\/cloudasset.googleapis.com\/organizations\/{org_id}\/otherCloudConnections\/aws\/arn:aws:s3:::{bucket_name}@+ fullResource :: (Core.Maybe Core.Text),+ -- | The time the file store was last modified.+ lastModifiedTime :: (Core.Maybe Core.DateTime),+ -- | The location type of the file store (region, dual-region, multi-region, etc). If dual-region, expect data/storage/locations to be populated.+ locationType :: (Core.Maybe Core.Text),+ -- | The name of the profile.+ name :: (Core.Maybe Core.Text),+ -- | The last time the profile was generated.+ profileLastGenerated :: (Core.Maybe Core.DateTime),+ -- | Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.+ profileStatus :: (Core.Maybe GooglePrivacyDlpV2ProfileStatus),+ -- | The resource name of the project data profile for this file store.+ projectDataProfile :: (Core.Maybe Core.Text),+ -- | The Google Cloud project ID that owns the resource. For Amazon S3 buckets, this is the AWS Account Id.+ projectId :: (Core.Maybe Core.Text),+ -- | Resources related to this profile.+ relatedResources :: (Core.Maybe [GooglePrivacyDlpV2RelatedResource]),+ -- | Attributes of the resource being profiled. Currently used attributes: * customer/managed/encryption: boolean - true: the resource is encrypted with a customer-managed key. - false: the resource is encrypted with a provider-managed key.+ resourceAttributes ::+ ( Core.Maybe+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes+ ),+ -- | The labels applied to the resource at the time the profile was generated.+ resourceLabels :: (Core.Maybe GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels),+ -- | How broadly a resource has been shared.+ resourceVisibility ::+ ( Core.Maybe+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility+ ),+ -- | The BigQuery table to which the sample findings are written.+ sampleFindingsTable :: (Core.Maybe GooglePrivacyDlpV2BigQueryTable),+ -- | The sensitivity score of this resource.+ sensitivityScore :: (Core.Maybe GooglePrivacyDlpV2SensitivityScore),+ -- | State of a profile.+ state :: (Core.Maybe GooglePrivacyDlpV2FileStoreDataProfile_State)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2FileStoreDataProfile' with the minimum fields required to make a request.+newGooglePrivacyDlpV2FileStoreDataProfile ::+ GooglePrivacyDlpV2FileStoreDataProfile+newGooglePrivacyDlpV2FileStoreDataProfile =+ GooglePrivacyDlpV2FileStoreDataProfile+ { configSnapshot =+ Core.Nothing,+ createTime = Core.Nothing,+ dataRiskLevel = Core.Nothing,+ dataSourceType = Core.Nothing,+ dataStorageLocations = Core.Nothing,+ fileClusterSummaries = Core.Nothing,+ fileStoreInfoTypeSummaries = Core.Nothing,+ fileStoreIsEmpty = Core.Nothing,+ fileStoreLocation = Core.Nothing,+ fileStorePath = Core.Nothing,+ fullResource = Core.Nothing,+ lastModifiedTime = Core.Nothing,+ locationType = Core.Nothing,+ name = Core.Nothing,+ profileLastGenerated = Core.Nothing,+ profileStatus = Core.Nothing,+ projectDataProfile = Core.Nothing,+ projectId = Core.Nothing,+ relatedResources = Core.Nothing,+ resourceAttributes = Core.Nothing,+ resourceLabels = Core.Nothing,+ resourceVisibility = Core.Nothing,+ sampleFindingsTable = Core.Nothing,+ sensitivityScore = Core.Nothing,+ state = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2FileStoreDataProfile where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2FileStoreDataProfile"+ ( \o ->+ GooglePrivacyDlpV2FileStoreDataProfile+ Core.<$> (o Core..:? "configSnapshot")+ Core.<*> (o Core..:? "createTime")+ Core.<*> (o Core..:? "dataRiskLevel")+ Core.<*> (o Core..:? "dataSourceType")+ Core.<*> (o Core..:? "dataStorageLocations")+ Core.<*> (o Core..:? "fileClusterSummaries")+ Core.<*> (o Core..:? "fileStoreInfoTypeSummaries")+ Core.<*> (o Core..:? "fileStoreIsEmpty")+ Core.<*> (o Core..:? "fileStoreLocation")+ Core.<*> (o Core..:? "fileStorePath")+ Core.<*> (o Core..:? "fullResource")+ Core.<*> (o Core..:? "lastModifiedTime")+ Core.<*> (o Core..:? "locationType")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "profileLastGenerated")+ Core.<*> (o Core..:? "profileStatus")+ Core.<*> (o Core..:? "projectDataProfile")+ Core.<*> (o Core..:? "projectId")+ Core.<*> (o Core..:? "relatedResources")+ Core.<*> (o Core..:? "resourceAttributes")+ Core.<*> (o Core..:? "resourceLabels")+ Core.<*> (o Core..:? "resourceVisibility")+ Core.<*> (o Core..:? "sampleFindingsTable")+ Core.<*> (o Core..:? "sensitivityScore")+ Core.<*> (o Core..:? "state")+ )++instance Core.ToJSON GooglePrivacyDlpV2FileStoreDataProfile where+ toJSON GooglePrivacyDlpV2FileStoreDataProfile {..} =+ Core.object+ ( Core.catMaybes+ [ ("configSnapshot" Core..=) Core.<$> configSnapshot,+ ("createTime" Core..=) Core.<$> createTime,+ ("dataRiskLevel" Core..=) Core.<$> dataRiskLevel,+ ("dataSourceType" Core..=) Core.<$> dataSourceType,+ ("dataStorageLocations" Core..=) Core.<$> dataStorageLocations,+ ("fileClusterSummaries" Core..=) Core.<$> fileClusterSummaries,+ ("fileStoreInfoTypeSummaries" Core..=)+ Core.<$> fileStoreInfoTypeSummaries,+ ("fileStoreIsEmpty" Core..=) Core.<$> fileStoreIsEmpty,+ ("fileStoreLocation" Core..=) Core.<$> fileStoreLocation,+ ("fileStorePath" Core..=) Core.<$> fileStorePath,+ ("fullResource" Core..=) Core.<$> fullResource,+ ("lastModifiedTime" Core..=) Core.<$> lastModifiedTime,+ ("locationType" Core..=) Core.<$> locationType,+ ("name" Core..=) Core.<$> name,+ ("profileLastGenerated" Core..=) Core.<$> profileLastGenerated,+ ("profileStatus" Core..=) Core.<$> profileStatus,+ ("projectDataProfile" Core..=) Core.<$> projectDataProfile,+ ("projectId" Core..=) Core.<$> projectId,+ ("relatedResources" Core..=) Core.<$> relatedResources,+ ("resourceAttributes" Core..=) Core.<$> resourceAttributes,+ ("resourceLabels" Core..=) Core.<$> resourceLabels,+ ("resourceVisibility" Core..=) Core.<$> resourceVisibility,+ ("sampleFindingsTable" Core..=) Core.<$> sampleFindingsTable,+ ("sensitivityScore" Core..=) Core.<$> sensitivityScore,+ ("state" Core..=) Core.<$> state+ ]+ )++-- | Attributes of the resource being profiled. Currently used attributes: * customer/managed/encryption: boolean - true: the resource is encrypted with a customer-managed key. - false: the resource is encrypted with a provider-managed key.+--+-- /See:/ 'newGooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes' smart constructor.+newtype GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes = GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes+ { additional :: (Core.HashMap Core.Text GooglePrivacyDlpV2Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes' with the minimum fields required to make a request.+newGooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes ::+ -- | See 'additional'.+ Core.HashMap+ Core.Text+ GooglePrivacyDlpV2Value ->+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes+newGooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes+ additional =+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes+ { additional =+ additional+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes"+ ( \o ->+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes+ Core.<$> (Core.parseJSONObject o)+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes+ where+ toJSON+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes {..} =+ Core.toJSON additional++-- | The labels applied to the resource at the time the profile was generated.+--+-- /See:/ 'newGooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels' smart constructor.+newtype GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels = GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels' with the minimum fields required to make a request.+newGooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Text ->+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels+newGooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels additional =+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels+ { additional =+ additional+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels"+ ( \o ->+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels+ Core.<$> (Core.parseJSONObject o)+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels+ where+ toJSON GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels {..} =+ Core.toJSON additional++-- | Information regarding the discovered InfoType.+--+-- /See:/ 'newGooglePrivacyDlpV2FileStoreInfoTypeSummary' smart constructor.+newtype GooglePrivacyDlpV2FileStoreInfoTypeSummary = GooglePrivacyDlpV2FileStoreInfoTypeSummary+ { -- | The InfoType seen.+ infoType :: (Core.Maybe GooglePrivacyDlpV2InfoType)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2FileStoreInfoTypeSummary' with the minimum fields required to make a request.+newGooglePrivacyDlpV2FileStoreInfoTypeSummary ::+ GooglePrivacyDlpV2FileStoreInfoTypeSummary+newGooglePrivacyDlpV2FileStoreInfoTypeSummary =+ GooglePrivacyDlpV2FileStoreInfoTypeSummary+ { infoType =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2FileStoreInfoTypeSummary where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2FileStoreInfoTypeSummary"+ ( \o ->+ GooglePrivacyDlpV2FileStoreInfoTypeSummary+ Core.<$> (o Core..:? "infoType")+ )++instance Core.ToJSON GooglePrivacyDlpV2FileStoreInfoTypeSummary where+ toJSON GooglePrivacyDlpV2FileStoreInfoTypeSummary {..} =+ Core.object+ (Core.catMaybes [("infoType" Core..=) Core.<$> infoType])++-- | A pattern to match against one or more file stores.+--+-- /See:/ 'newGooglePrivacyDlpV2FileStoreRegex' smart constructor.+newtype GooglePrivacyDlpV2FileStoreRegex = GooglePrivacyDlpV2FileStoreRegex+ { -- | Optional. Regex for Cloud Storage.+ cloudStorageRegex :: (Core.Maybe GooglePrivacyDlpV2CloudStorageRegex)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2FileStoreRegex' with the minimum fields required to make a request.+newGooglePrivacyDlpV2FileStoreRegex ::+ GooglePrivacyDlpV2FileStoreRegex+newGooglePrivacyDlpV2FileStoreRegex =+ GooglePrivacyDlpV2FileStoreRegex+ { cloudStorageRegex =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2FileStoreRegex where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2FileStoreRegex"+ ( \o ->+ GooglePrivacyDlpV2FileStoreRegex+ Core.<$> (o Core..:? "cloudStorageRegex")+ )++instance Core.ToJSON GooglePrivacyDlpV2FileStoreRegex where+ toJSON GooglePrivacyDlpV2FileStoreRegex {..} =+ Core.object+ ( Core.catMaybes+ [("cloudStorageRegex" Core..=) Core.<$> cloudStorageRegex]+ )++-- | A collection of regular expressions to determine what file store to match against.+--+-- /See:/ 'newGooglePrivacyDlpV2FileStoreRegexes' smart constructor.+newtype GooglePrivacyDlpV2FileStoreRegexes = GooglePrivacyDlpV2FileStoreRegexes+ { -- | Required. The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all regular expression\'s length can\'t exceed 10 KiB.+ patterns :: (Core.Maybe [GooglePrivacyDlpV2FileStoreRegex])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2FileStoreRegexes' with the minimum fields required to make a request.+newGooglePrivacyDlpV2FileStoreRegexes ::+ GooglePrivacyDlpV2FileStoreRegexes+newGooglePrivacyDlpV2FileStoreRegexes =+ GooglePrivacyDlpV2FileStoreRegexes {patterns = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2FileStoreRegexes where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2FileStoreRegexes"+ ( \o ->+ GooglePrivacyDlpV2FileStoreRegexes+ Core.<$> (o Core..:? "patterns")+ )++instance Core.ToJSON GooglePrivacyDlpV2FileStoreRegexes where+ toJSON GooglePrivacyDlpV2FileStoreRegexes {..} =+ Core.object+ (Core.catMaybes [("patterns" Core..=) Core.<$> patterns])++-- | Represents a piece of potentially sensitive content.+--+-- /See:/ 'newGooglePrivacyDlpV2Finding' smart constructor.+data GooglePrivacyDlpV2Finding = GooglePrivacyDlpV2Finding+ { -- | Timestamp when finding was detected.+ createTime :: (Core.Maybe Core.DateTime),+ -- | The unique finding id.+ findingId :: (Core.Maybe Core.Text),+ -- | The type of content that might have been found. Provided if @excluded_types@ is false.+ infoType :: (Core.Maybe GooglePrivacyDlpV2InfoType),+ -- | Time the job started that produced this finding.+ jobCreateTime :: (Core.Maybe Core.DateTime),+ -- | The job that stored the finding.+ jobName :: (Core.Maybe Core.Text),+ -- | The labels associated with this @Finding@. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: @[a-z]([-a-z0-9]*[a-z0-9])?@. Label values must be between 0 and 63 characters long and must conform to the regular expression @([a-z]([-a-z0-9]*[a-z0-9])?)?@. No more than 10 labels can be associated with a given finding. Examples: * @\"environment\" : \"production\"@ * @\"pipeline\" : \"etl\"@+ labels :: (Core.Maybe GooglePrivacyDlpV2Finding_Labels),+ -- | Confidence of how likely it is that the @info_type@ is correct.+ likelihood :: (Core.Maybe GooglePrivacyDlpV2Finding_Likelihood),+ -- | Where the content was found.+ location :: (Core.Maybe GooglePrivacyDlpV2Location),+ -- | Resource name in format projects\/{project}\/locations\/{location}\/findings\/{finding} Populated only when viewing persisted findings.+ name :: (Core.Maybe Core.Text),+ -- | The content that was found. Even if the content is not textual, it may be converted to a textual representation here. Provided if @include_quote@ is true and the finding is less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes in length, the quote may be omitted.+ quote :: (Core.Maybe Core.Text),+ -- | Contains data parsed from quotes. Only populated if include/quote was set to true and a supported infoType was requested. Currently supported infoTypes: DATE, DATE/OF_BIRTH and TIME.+ quoteInfo :: (Core.Maybe GooglePrivacyDlpV2QuoteInfo),+ -- | The job that stored the finding.+ resourceName :: (Core.Maybe Core.Text),+ -- | Job trigger name, if applicable, for this finding.+ triggerName :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Finding' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Finding ::+ GooglePrivacyDlpV2Finding+newGooglePrivacyDlpV2Finding =+ GooglePrivacyDlpV2Finding+ { createTime = Core.Nothing,+ findingId = Core.Nothing,+ infoType = Core.Nothing,+ jobCreateTime = Core.Nothing,+ jobName = Core.Nothing,+ labels = Core.Nothing,+ likelihood = Core.Nothing,+ location = Core.Nothing,+ name = Core.Nothing,+ quote = Core.Nothing,+ quoteInfo = Core.Nothing,+ resourceName = Core.Nothing,+ triggerName = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Finding where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Finding"+ ( \o ->+ GooglePrivacyDlpV2Finding+ Core.<$> (o Core..:? "createTime")+ Core.<*> (o Core..:? "findingId")+ Core.<*> (o Core..:? "infoType")+ Core.<*> (o Core..:? "jobCreateTime")+ Core.<*> (o Core..:? "jobName")+ Core.<*> (o Core..:? "labels")+ Core.<*> (o Core..:? "likelihood")+ Core.<*> (o Core..:? "location")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "quote")+ Core.<*> (o Core..:? "quoteInfo")+ Core.<*> (o Core..:? "resourceName")+ Core.<*> (o Core..:? "triggerName")+ )++instance Core.ToJSON GooglePrivacyDlpV2Finding where+ toJSON GooglePrivacyDlpV2Finding {..} =+ Core.object+ ( Core.catMaybes+ [ ("createTime" Core..=) Core.<$> createTime,+ ("findingId" Core..=) Core.<$> findingId,+ ("infoType" Core..=) Core.<$> infoType,+ ("jobCreateTime" Core..=) Core.<$> jobCreateTime,+ ("jobName" Core..=) Core.<$> jobName,+ ("labels" Core..=) Core.<$> labels,+ ("likelihood" Core..=) Core.<$> likelihood,+ ("location" Core..=) Core.<$> location,+ ("name" Core..=) Core.<$> name,+ ("quote" Core..=) Core.<$> quote,+ ("quoteInfo" Core..=) Core.<$> quoteInfo,+ ("resourceName" Core..=) Core.<$> resourceName,+ ("triggerName" Core..=) Core.<$> triggerName+ ]+ )++-- | The labels associated with this @Finding@. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: @[a-z]([-a-z0-9]*[a-z0-9])?@. Label values must be between 0 and 63 characters long and must conform to the regular expression @([a-z]([-a-z0-9]*[a-z0-9])?)?@. No more than 10 labels can be associated with a given finding. Examples: * @\"environment\" : \"production\"@ * @\"pipeline\" : \"etl\"@+--+-- /See:/ 'newGooglePrivacyDlpV2Finding_Labels' smart constructor.+newtype GooglePrivacyDlpV2Finding_Labels = GooglePrivacyDlpV2Finding_Labels+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Finding_Labels' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Finding_Labels ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Text ->+ GooglePrivacyDlpV2Finding_Labels+newGooglePrivacyDlpV2Finding_Labels additional =+ GooglePrivacyDlpV2Finding_Labels {additional = additional}++instance Core.FromJSON GooglePrivacyDlpV2Finding_Labels where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Finding_Labels"+ ( \o ->+ GooglePrivacyDlpV2Finding_Labels Core.<$> (Core.parseJSONObject o)+ )++instance Core.ToJSON GooglePrivacyDlpV2Finding_Labels where+ toJSON GooglePrivacyDlpV2Finding_Labels {..} =+ Core.toJSON additional++-- | Configuration to control the number of findings returned for inspection. This is not used for de-identification or data profiling. When redacting sensitive data from images, finding limits don\'t apply. They can cause unexpected or inconsistent results, where only some data is redacted. Don\'t include finding limits in RedactImage requests. Otherwise, Cloud DLP returns an error.+--+-- /See:/ 'newGooglePrivacyDlpV2FindingLimits' smart constructor.+data GooglePrivacyDlpV2FindingLimits = GooglePrivacyDlpV2FindingLimits+ { -- | Configuration of findings limit given for specified infoTypes.+ maxFindingsPerInfoType :: (Core.Maybe [GooglePrivacyDlpV2InfoTypeLimit]),+ -- | Max number of findings that are returned for each item scanned. When set within an InspectContentRequest, this field is ignored. This value isn\'t a hard limit. If the number of findings for an item reaches this limit, the inspection of that item ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns for the item can be multiple times higher than this value.+ maxFindingsPerItem :: (Core.Maybe Core.Int32),+ -- | Max number of findings that are returned per request or job. If you set this field in an InspectContentRequest, the resulting maximum value is the value that you set or 3,000, whichever is lower. This value isn\'t a hard limit. If an inspection reaches this limit, the inspection ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns can be multiple times higher than this value.+ maxFindingsPerRequest :: (Core.Maybe Core.Int32)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2FindingLimits' with the minimum fields required to make a request.+newGooglePrivacyDlpV2FindingLimits ::+ GooglePrivacyDlpV2FindingLimits+newGooglePrivacyDlpV2FindingLimits =+ GooglePrivacyDlpV2FindingLimits+ { maxFindingsPerInfoType =+ Core.Nothing,+ maxFindingsPerItem = Core.Nothing,+ maxFindingsPerRequest = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2FindingLimits where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2FindingLimits"+ ( \o ->+ GooglePrivacyDlpV2FindingLimits+ Core.<$> (o Core..:? "maxFindingsPerInfoType")+ Core.<*> (o Core..:? "maxFindingsPerItem")+ Core.<*> (o Core..:? "maxFindingsPerRequest")+ )++instance Core.ToJSON GooglePrivacyDlpV2FindingLimits where+ toJSON GooglePrivacyDlpV2FindingLimits {..} =+ Core.object+ ( Core.catMaybes+ [ ("maxFindingsPerInfoType" Core..=)+ Core.<$> maxFindingsPerInfoType,+ ("maxFindingsPerItem" Core..=) Core.<$> maxFindingsPerItem,+ ("maxFindingsPerRequest" Core..=) Core.<$> maxFindingsPerRequest+ ]+ )++-- | The request message for finishing a DLP hybrid job.+--+-- /See:/ 'newGooglePrivacyDlpV2FinishDlpJobRequest' smart constructor.+data GooglePrivacyDlpV2FinishDlpJobRequest = GooglePrivacyDlpV2FinishDlpJobRequest+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2FinishDlpJobRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2FinishDlpJobRequest ::+ GooglePrivacyDlpV2FinishDlpJobRequest+newGooglePrivacyDlpV2FinishDlpJobRequest =+ GooglePrivacyDlpV2FinishDlpJobRequest++instance Core.FromJSON GooglePrivacyDlpV2FinishDlpJobRequest where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2FinishDlpJobRequest"+ (\o -> Core.pure GooglePrivacyDlpV2FinishDlpJobRequest)++instance Core.ToJSON GooglePrivacyDlpV2FinishDlpJobRequest where+ toJSON = Core.const Core.emptyObject++-- | Buckets values based on fixed size ranges. The Bucketing transformation can provide all of this functionality, but requires more configuration. This message is provided as a convenience to the user for simple bucketing strategies. The transformed value will be a hyphenated string of {lower/bound}-{upper/bound}. For example, if lower/bound = 10 and upper/bound = 20, all values that are within this bucket will be replaced with \"10-20\". This can be used on data of type: double, long. If the bound Value type differs from the type of data being transformed, we will first attempt converting the type of the data to be transformed to match the type of the bound before comparing. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/concepts-bucketing to learn more.+--+-- /See:/ 'newGooglePrivacyDlpV2FixedSizeBucketingConfig' smart constructor.+data GooglePrivacyDlpV2FixedSizeBucketingConfig = GooglePrivacyDlpV2FixedSizeBucketingConfig+ { -- | Required. Size of each bucket (except for minimum and maximum buckets). So if @lower_bound@ = 10, @upper_bound@ = 89, and @bucket_size@ = 10, then the following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works.+ bucketSize :: (Core.Maybe Core.Double),+ -- | Required. Lower bound value of buckets. All values less than @lower_bound@ are grouped together into a single bucket; for example if @lower_bound@ = 10, then all values less than 10 are replaced with the value \"-10\".+ lowerBound :: (Core.Maybe GooglePrivacyDlpV2Value),+ -- | Required. Upper bound value of buckets. All values greater than upper_bound are grouped together into a single bucket; for example if @upper_bound@ = 89, then all values greater than 89 are replaced with the value \"89+\".+ upperBound :: (Core.Maybe GooglePrivacyDlpV2Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2FixedSizeBucketingConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2FixedSizeBucketingConfig ::+ GooglePrivacyDlpV2FixedSizeBucketingConfig+newGooglePrivacyDlpV2FixedSizeBucketingConfig =+ GooglePrivacyDlpV2FixedSizeBucketingConfig+ { bucketSize =+ Core.Nothing,+ lowerBound = Core.Nothing,+ upperBound = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2FixedSizeBucketingConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2FixedSizeBucketingConfig"+ ( \o ->+ GooglePrivacyDlpV2FixedSizeBucketingConfig+ Core.<$> (o Core..:? "bucketSize")+ Core.<*> (o Core..:? "lowerBound")+ Core.<*> (o Core..:? "upperBound")+ )++instance Core.ToJSON GooglePrivacyDlpV2FixedSizeBucketingConfig where+ toJSON GooglePrivacyDlpV2FixedSizeBucketingConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("bucketSize" Core..=) Core.<$> bucketSize,+ ("lowerBound" Core..=) Core.<$> lowerBound,+ ("upperBound" Core..=) Core.<$> upperBound+ ]+ )++-- | Processing will happen in the global region.+--+-- /See:/ 'newGooglePrivacyDlpV2GlobalProcessing' smart constructor.+data GooglePrivacyDlpV2GlobalProcessing = GooglePrivacyDlpV2GlobalProcessing+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2GlobalProcessing' with the minimum fields required to make a request.+newGooglePrivacyDlpV2GlobalProcessing ::+ GooglePrivacyDlpV2GlobalProcessing+newGooglePrivacyDlpV2GlobalProcessing =+ GooglePrivacyDlpV2GlobalProcessing++instance Core.FromJSON GooglePrivacyDlpV2GlobalProcessing where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2GlobalProcessing"+ (\o -> Core.pure GooglePrivacyDlpV2GlobalProcessing)++instance Core.ToJSON GooglePrivacyDlpV2GlobalProcessing where+ toJSON = Core.const Core.emptyObject++-- | The rule that adjusts the likelihood of findings within a certain proximity of hotwords.+--+-- /See:/ 'newGooglePrivacyDlpV2HotwordRule' smart constructor.+data GooglePrivacyDlpV2HotwordRule = GooglePrivacyDlpV2HotwordRule+ { -- | Regular expression pattern defining what qualifies as a hotword.+ hotwordRegex :: (Core.Maybe GooglePrivacyDlpV2Regex),+ -- | Likelihood adjustment to apply to all matching findings.+ likelihoodAdjustment :: (Core.Maybe GooglePrivacyDlpV2LikelihoodAdjustment),+ -- | Range of characters within which the entire hotword must reside. The total length of the window cannot exceed 1000 characters. The finding itself will be included in the window, so that hotwords can be used to match substrings of the finding itself. Suppose you want Cloud DLP to promote the likelihood of the phone number regex \"(\\d{3}) \\d{3}-\\d{4}\" if the area code is known to be the area code of a company\'s office. In this case, use the hotword regex \"(xxx)\", where \"xxx\" is the area code in question. For tabular data, if you want to modify the likelihood of an entire column of findngs, see [Hotword example: Set the match likelihood of a table column] (https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-custom-infotypes-likelihood#match-column-values).+ proximity :: (Core.Maybe GooglePrivacyDlpV2Proximity)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2HotwordRule' with the minimum fields required to make a request.+newGooglePrivacyDlpV2HotwordRule ::+ GooglePrivacyDlpV2HotwordRule+newGooglePrivacyDlpV2HotwordRule =+ GooglePrivacyDlpV2HotwordRule+ { hotwordRegex = Core.Nothing,+ likelihoodAdjustment = Core.Nothing,+ proximity = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2HotwordRule where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2HotwordRule"+ ( \o ->+ GooglePrivacyDlpV2HotwordRule+ Core.<$> (o Core..:? "hotwordRegex")+ Core.<*> (o Core..:? "likelihoodAdjustment")+ Core.<*> (o Core..:? "proximity")+ )++instance Core.ToJSON GooglePrivacyDlpV2HotwordRule where+ toJSON GooglePrivacyDlpV2HotwordRule {..} =+ Core.object+ ( Core.catMaybes+ [ ("hotwordRegex" Core..=) Core.<$> hotwordRegex,+ ("likelihoodAdjustment" Core..=) Core.<$> likelihoodAdjustment,+ ("proximity" Core..=) Core.<$> proximity+ ]+ )++-- | An individual hybrid item to inspect. Will be stored temporarily during processing.+--+-- /See:/ 'newGooglePrivacyDlpV2HybridContentItem' smart constructor.+data GooglePrivacyDlpV2HybridContentItem = GooglePrivacyDlpV2HybridContentItem+ { -- | Supplementary information that will be added to each finding.+ findingDetails :: (Core.Maybe GooglePrivacyDlpV2HybridFindingDetails),+ -- | The item to inspect.+ item :: (Core.Maybe GooglePrivacyDlpV2ContentItem)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2HybridContentItem' with the minimum fields required to make a request.+newGooglePrivacyDlpV2HybridContentItem ::+ GooglePrivacyDlpV2HybridContentItem+newGooglePrivacyDlpV2HybridContentItem =+ GooglePrivacyDlpV2HybridContentItem+ { findingDetails =+ Core.Nothing,+ item = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2HybridContentItem where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2HybridContentItem"+ ( \o ->+ GooglePrivacyDlpV2HybridContentItem+ Core.<$> (o Core..:? "findingDetails")+ Core.<*> (o Core..:? "item")+ )++instance Core.ToJSON GooglePrivacyDlpV2HybridContentItem where+ toJSON GooglePrivacyDlpV2HybridContentItem {..} =+ Core.object+ ( Core.catMaybes+ [ ("findingDetails" Core..=) Core.<$> findingDetails,+ ("item" Core..=) Core.<$> item+ ]+ )++-- | Populate to associate additional data with each finding.+--+-- /See:/ 'newGooglePrivacyDlpV2HybridFindingDetails' smart constructor.+data GooglePrivacyDlpV2HybridFindingDetails = GooglePrivacyDlpV2HybridFindingDetails+ { -- | Details about the container where the content being inspected is from.+ containerDetails :: (Core.Maybe GooglePrivacyDlpV2Container),+ -- | Offset in bytes of the line, from the beginning of the file, where the finding is located. Populate if the item being scanned is only part of a bigger item, such as a shard of a file and you want to track the absolute position of the finding.+ fileOffset :: (Core.Maybe Core.Int64),+ -- | Labels to represent user provided metadata about the data being inspected. If configured by the job, some key values may be required. The labels associated with @Finding@\'s produced by hybrid inspection. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: @[a-z]([-a-z0-9]*[a-z0-9])?@. Label values must be between 0 and 63 characters long and must conform to the regular expression @([a-z]([-a-z0-9]*[a-z0-9])?)?@. No more than 10 labels can be associated with a given finding. Examples: * @\"environment\" : \"production\"@ * @\"pipeline\" : \"etl\"@+ labels :: (Core.Maybe GooglePrivacyDlpV2HybridFindingDetails_Labels),+ -- | Offset of the row for tables. Populate if the row(s) being scanned are part of a bigger dataset and you want to keep track of their absolute position.+ rowOffset :: (Core.Maybe Core.Int64),+ -- | If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. If not known ahead of time, can also be set within each inspect hybrid call and the two will be merged. Note that identifying_fields will only be stored to BigQuery, and only if the BigQuery action has been included.+ tableOptions :: (Core.Maybe GooglePrivacyDlpV2TableOptions)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2HybridFindingDetails' with the minimum fields required to make a request.+newGooglePrivacyDlpV2HybridFindingDetails ::+ GooglePrivacyDlpV2HybridFindingDetails+newGooglePrivacyDlpV2HybridFindingDetails =+ GooglePrivacyDlpV2HybridFindingDetails+ { containerDetails =+ Core.Nothing,+ fileOffset = Core.Nothing,+ labels = Core.Nothing,+ rowOffset = Core.Nothing,+ tableOptions = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2HybridFindingDetails where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2HybridFindingDetails"+ ( \o ->+ GooglePrivacyDlpV2HybridFindingDetails+ Core.<$> (o Core..:? "containerDetails")+ Core.<*> (o Core..:? "fileOffset" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "labels")+ Core.<*> (o Core..:? "rowOffset" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "tableOptions")+ )++instance Core.ToJSON GooglePrivacyDlpV2HybridFindingDetails where+ toJSON GooglePrivacyDlpV2HybridFindingDetails {..} =+ Core.object+ ( Core.catMaybes+ [ ("containerDetails" Core..=) Core.<$> containerDetails,+ ("fileOffset" Core..=) Core.. Core.AsText Core.<$> fileOffset,+ ("labels" Core..=) Core.<$> labels,+ ("rowOffset" Core..=) Core.. Core.AsText Core.<$> rowOffset,+ ("tableOptions" Core..=) Core.<$> tableOptions+ ]+ )++-- | Labels to represent user provided metadata about the data being inspected. If configured by the job, some key values may be required. The labels associated with @Finding@\'s produced by hybrid inspection. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: @[a-z]([-a-z0-9]*[a-z0-9])?@. Label values must be between 0 and 63 characters long and must conform to the regular expression @([a-z]([-a-z0-9]*[a-z0-9])?)?@. No more than 10 labels can be associated with a given finding. Examples: * @\"environment\" : \"production\"@ * @\"pipeline\" : \"etl\"@+--+-- /See:/ 'newGooglePrivacyDlpV2HybridFindingDetails_Labels' smart constructor.+newtype GooglePrivacyDlpV2HybridFindingDetails_Labels = GooglePrivacyDlpV2HybridFindingDetails_Labels+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2HybridFindingDetails_Labels' with the minimum fields required to make a request.+newGooglePrivacyDlpV2HybridFindingDetails_Labels ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Text ->+ GooglePrivacyDlpV2HybridFindingDetails_Labels+newGooglePrivacyDlpV2HybridFindingDetails_Labels additional =+ GooglePrivacyDlpV2HybridFindingDetails_Labels+ { additional =+ additional+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2HybridFindingDetails_Labels+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2HybridFindingDetails_Labels"+ ( \o ->+ GooglePrivacyDlpV2HybridFindingDetails_Labels+ Core.<$> (Core.parseJSONObject o)+ )++instance Core.ToJSON GooglePrivacyDlpV2HybridFindingDetails_Labels where+ toJSON GooglePrivacyDlpV2HybridFindingDetails_Labels {..} =+ Core.toJSON additional++-- | Request to search for potentially sensitive info in a custom location.+--+-- /See:/ 'newGooglePrivacyDlpV2HybridInspectDlpJobRequest' smart constructor.+newtype GooglePrivacyDlpV2HybridInspectDlpJobRequest = GooglePrivacyDlpV2HybridInspectDlpJobRequest+ { -- | The item to inspect.+ hybridItem :: (Core.Maybe GooglePrivacyDlpV2HybridContentItem)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2HybridInspectDlpJobRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2HybridInspectDlpJobRequest ::+ GooglePrivacyDlpV2HybridInspectDlpJobRequest+newGooglePrivacyDlpV2HybridInspectDlpJobRequest =+ GooglePrivacyDlpV2HybridInspectDlpJobRequest+ { hybridItem =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2HybridInspectDlpJobRequest where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2HybridInspectDlpJobRequest"+ ( \o ->+ GooglePrivacyDlpV2HybridInspectDlpJobRequest+ Core.<$> (o Core..:? "hybridItem")+ )++instance Core.ToJSON GooglePrivacyDlpV2HybridInspectDlpJobRequest where+ toJSON GooglePrivacyDlpV2HybridInspectDlpJobRequest {..} =+ Core.object+ (Core.catMaybes [("hybridItem" Core..=) Core.<$> hybridItem])++-- | Request to search for potentially sensitive info in a custom location.+--+-- /See:/ 'newGooglePrivacyDlpV2HybridInspectJobTriggerRequest' smart constructor.+newtype GooglePrivacyDlpV2HybridInspectJobTriggerRequest = GooglePrivacyDlpV2HybridInspectJobTriggerRequest+ { -- | The item to inspect.+ hybridItem :: (Core.Maybe GooglePrivacyDlpV2HybridContentItem)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2HybridInspectJobTriggerRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2HybridInspectJobTriggerRequest ::+ GooglePrivacyDlpV2HybridInspectJobTriggerRequest+newGooglePrivacyDlpV2HybridInspectJobTriggerRequest =+ GooglePrivacyDlpV2HybridInspectJobTriggerRequest+ { hybridItem =+ Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2HybridInspectJobTriggerRequest+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2HybridInspectJobTriggerRequest"+ ( \o ->+ GooglePrivacyDlpV2HybridInspectJobTriggerRequest+ Core.<$> (o Core..:? "hybridItem")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2HybridInspectJobTriggerRequest+ where+ toJSON GooglePrivacyDlpV2HybridInspectJobTriggerRequest {..} =+ Core.object+ (Core.catMaybes [("hybridItem" Core..=) Core.<$> hybridItem])++-- | Quota exceeded errors will be thrown once quota has been met.+--+-- /See:/ 'newGooglePrivacyDlpV2HybridInspectResponse' smart constructor.+data GooglePrivacyDlpV2HybridInspectResponse = GooglePrivacyDlpV2HybridInspectResponse+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2HybridInspectResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2HybridInspectResponse ::+ GooglePrivacyDlpV2HybridInspectResponse+newGooglePrivacyDlpV2HybridInspectResponse =+ GooglePrivacyDlpV2HybridInspectResponse++instance Core.FromJSON GooglePrivacyDlpV2HybridInspectResponse where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2HybridInspectResponse"+ (\o -> Core.pure GooglePrivacyDlpV2HybridInspectResponse)++instance Core.ToJSON GooglePrivacyDlpV2HybridInspectResponse where+ toJSON = Core.const Core.emptyObject++-- | Statistics related to processing hybrid inspect requests.+--+-- /See:/ 'newGooglePrivacyDlpV2HybridInspectStatistics' smart constructor.+data GooglePrivacyDlpV2HybridInspectStatistics = GooglePrivacyDlpV2HybridInspectStatistics+ { -- | The number of hybrid inspection requests aborted because the job ran out of quota or was ended before they could be processed.+ abortedCount :: (Core.Maybe Core.Int64),+ -- | The number of hybrid requests currently being processed. Only populated when called via method @getDlpJob@. A burst of traffic may cause hybrid inspect requests to be enqueued. Processing will take place as quickly as possible, but resource limitations may impact how long a request is enqueued for.+ pendingCount :: (Core.Maybe Core.Int64),+ -- | The number of hybrid inspection requests processed within this job.+ processedCount :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2HybridInspectStatistics' with the minimum fields required to make a request.+newGooglePrivacyDlpV2HybridInspectStatistics ::+ GooglePrivacyDlpV2HybridInspectStatistics+newGooglePrivacyDlpV2HybridInspectStatistics =+ GooglePrivacyDlpV2HybridInspectStatistics+ { abortedCount =+ Core.Nothing,+ pendingCount = Core.Nothing,+ processedCount = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2HybridInspectStatistics where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2HybridInspectStatistics"+ ( \o ->+ GooglePrivacyDlpV2HybridInspectStatistics+ Core.<$> (o Core..:? "abortedCount" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "pendingCount" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "processedCount" Core.<&> Core.fmap Core.fromAsText)+ )++instance Core.ToJSON GooglePrivacyDlpV2HybridInspectStatistics where+ toJSON GooglePrivacyDlpV2HybridInspectStatistics {..} =+ Core.object+ ( Core.catMaybes+ [ ("abortedCount" Core..=) Core.. Core.AsText Core.<$> abortedCount,+ ("pendingCount" Core..=) Core.. Core.AsText Core.<$> pendingCount,+ ("processedCount" Core..=)+ Core.. Core.AsText+ Core.<$> processedCount+ ]+ )++-- | Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.+--+-- /See:/ 'newGooglePrivacyDlpV2HybridOptions' smart constructor.+data GooglePrivacyDlpV2HybridOptions = GooglePrivacyDlpV2HybridOptions+ { -- | A short description of where the data is coming from. Will be stored once in the job. 256 max length.+ description :: (Core.Maybe Core.Text),+ -- | To organize findings, these labels will be added to each finding. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: @[a-z]([-a-z0-9]*[a-z0-9])?@. Label values must be between 0 and 63 characters long and must conform to the regular expression @([a-z]([-a-z0-9]*[a-z0-9])?)?@. No more than 10 labels can be associated with a given finding. Examples: * @\"environment\" : \"production\"@ * @\"pipeline\" : \"etl\"@+ labels :: (Core.Maybe GooglePrivacyDlpV2HybridOptions_Labels),+ -- | These are labels that each inspection request must include within their \'finding_labels\' map. Request may contain others, but any missing one of these will be rejected. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: @[a-z]([-a-z0-9]*[a-z0-9])?@. No more than 10 keys can be required.+ requiredFindingLabelKeys :: (Core.Maybe [Core.Text]),+ -- | If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.+ tableOptions :: (Core.Maybe GooglePrivacyDlpV2TableOptions)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2HybridOptions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2HybridOptions ::+ GooglePrivacyDlpV2HybridOptions+newGooglePrivacyDlpV2HybridOptions =+ GooglePrivacyDlpV2HybridOptions+ { description = Core.Nothing,+ labels = Core.Nothing,+ requiredFindingLabelKeys = Core.Nothing,+ tableOptions = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2HybridOptions where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2HybridOptions"+ ( \o ->+ GooglePrivacyDlpV2HybridOptions+ Core.<$> (o Core..:? "description")+ Core.<*> (o Core..:? "labels")+ Core.<*> (o Core..:? "requiredFindingLabelKeys")+ Core.<*> (o Core..:? "tableOptions")+ )++instance Core.ToJSON GooglePrivacyDlpV2HybridOptions where+ toJSON GooglePrivacyDlpV2HybridOptions {..} =+ Core.object+ ( Core.catMaybes+ [ ("description" Core..=) Core.<$> description,+ ("labels" Core..=) Core.<$> labels,+ ("requiredFindingLabelKeys" Core..=)+ Core.<$> requiredFindingLabelKeys,+ ("tableOptions" Core..=) Core.<$> tableOptions+ ]+ )++-- | To organize findings, these labels will be added to each finding. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: @[a-z]([-a-z0-9]*[a-z0-9])?@. Label values must be between 0 and 63 characters long and must conform to the regular expression @([a-z]([-a-z0-9]*[a-z0-9])?)?@. No more than 10 labels can be associated with a given finding. Examples: * @\"environment\" : \"production\"@ * @\"pipeline\" : \"etl\"@+--+-- /See:/ 'newGooglePrivacyDlpV2HybridOptions_Labels' smart constructor.+newtype GooglePrivacyDlpV2HybridOptions_Labels = GooglePrivacyDlpV2HybridOptions_Labels+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2HybridOptions_Labels' with the minimum fields required to make a request.+newGooglePrivacyDlpV2HybridOptions_Labels ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Text ->+ GooglePrivacyDlpV2HybridOptions_Labels+newGooglePrivacyDlpV2HybridOptions_Labels additional =+ GooglePrivacyDlpV2HybridOptions_Labels {additional = additional}++instance Core.FromJSON GooglePrivacyDlpV2HybridOptions_Labels where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2HybridOptions_Labels"+ ( \o ->+ GooglePrivacyDlpV2HybridOptions_Labels+ Core.<$> (Core.parseJSONObject o)+ )++instance Core.ToJSON GooglePrivacyDlpV2HybridOptions_Labels where+ toJSON GooglePrivacyDlpV2HybridOptions_Labels {..} =+ Core.toJSON additional++-- | Configure image processing to fall back to the configured processing option below if unavailable in the request location.+--+-- /See:/ 'newGooglePrivacyDlpV2ImageFallbackLocation' smart constructor.+data GooglePrivacyDlpV2ImageFallbackLocation = GooglePrivacyDlpV2ImageFallbackLocation+ { -- | Processing will happen in the global region.+ globalProcessing :: (Core.Maybe GooglePrivacyDlpV2GlobalProcessing),+ -- | Processing will happen in a multi-region that contains the current region if available.+ multiRegionProcessing :: (Core.Maybe GooglePrivacyDlpV2MultiRegionProcessing)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ImageFallbackLocation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ImageFallbackLocation ::+ GooglePrivacyDlpV2ImageFallbackLocation+newGooglePrivacyDlpV2ImageFallbackLocation =+ GooglePrivacyDlpV2ImageFallbackLocation+ { globalProcessing =+ Core.Nothing,+ multiRegionProcessing = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ImageFallbackLocation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ImageFallbackLocation"+ ( \o ->+ GooglePrivacyDlpV2ImageFallbackLocation+ Core.<$> (o Core..:? "globalProcessing")+ Core.<*> (o Core..:? "multiRegionProcessing")+ )++instance Core.ToJSON GooglePrivacyDlpV2ImageFallbackLocation where+ toJSON GooglePrivacyDlpV2ImageFallbackLocation {..} =+ Core.object+ ( Core.catMaybes+ [ ("globalProcessing" Core..=) Core.<$> globalProcessing,+ ("multiRegionProcessing" Core..=) Core.<$> multiRegionProcessing+ ]+ )++-- | Location of the finding within an image.+--+-- /See:/ 'newGooglePrivacyDlpV2ImageLocation' smart constructor.+newtype GooglePrivacyDlpV2ImageLocation = GooglePrivacyDlpV2ImageLocation+ { -- | Bounding boxes locating the pixels within the image containing the finding.+ boundingBoxes :: (Core.Maybe [GooglePrivacyDlpV2BoundingBox])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ImageLocation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ImageLocation ::+ GooglePrivacyDlpV2ImageLocation+newGooglePrivacyDlpV2ImageLocation =+ GooglePrivacyDlpV2ImageLocation {boundingBoxes = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2ImageLocation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ImageLocation"+ ( \o ->+ GooglePrivacyDlpV2ImageLocation+ Core.<$> (o Core..:? "boundingBoxes")+ )++instance Core.ToJSON GooglePrivacyDlpV2ImageLocation where+ toJSON GooglePrivacyDlpV2ImageLocation {..} =+ Core.object+ (Core.catMaybes [("boundingBoxes" Core..=) Core.<$> boundingBoxes])++-- | Configuration for determining how redaction of images should occur.+--+-- /See:/ 'newGooglePrivacyDlpV2ImageRedactionConfig' smart constructor.+data GooglePrivacyDlpV2ImageRedactionConfig = GooglePrivacyDlpV2ImageRedactionConfig+ { -- | Only one per info/type should be provided per request. If not specified, and redact/all/text is false, the DLP API will redact all text that it matches against all info/types that are found, but not specified in another ImageRedactionConfig.+ infoType :: (Core.Maybe GooglePrivacyDlpV2InfoType),+ -- | If true, all text found in the image, regardless whether it matches an info_type, is redacted. Only one should be provided.+ redactAllText :: (Core.Maybe Core.Bool),+ -- | The color to use when redacting content from an image. If not specified, the default is black.+ redactionColor :: (Core.Maybe GooglePrivacyDlpV2Color)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ImageRedactionConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ImageRedactionConfig ::+ GooglePrivacyDlpV2ImageRedactionConfig+newGooglePrivacyDlpV2ImageRedactionConfig =+ GooglePrivacyDlpV2ImageRedactionConfig+ { infoType = Core.Nothing,+ redactAllText = Core.Nothing,+ redactionColor = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ImageRedactionConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ImageRedactionConfig"+ ( \o ->+ GooglePrivacyDlpV2ImageRedactionConfig+ Core.<$> (o Core..:? "infoType")+ Core.<*> (o Core..:? "redactAllText")+ Core.<*> (o Core..:? "redactionColor")+ )++instance Core.ToJSON GooglePrivacyDlpV2ImageRedactionConfig where+ toJSON GooglePrivacyDlpV2ImageRedactionConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("infoType" Core..=) Core.<$> infoType,+ ("redactAllText" Core..=) Core.<$> redactAllText,+ ("redactionColor" Core..=) Core.<$> redactionColor+ ]+ )++-- | Configuration for determining how redaction of images should occur.+--+-- /See:/ 'newGooglePrivacyDlpV2ImageTransformation' smart constructor.+data GooglePrivacyDlpV2ImageTransformation = GooglePrivacyDlpV2ImageTransformation+ { -- | Apply transformation to all findings not specified in other ImageTransformation\'s selected/info/types. Only one instance is allowed within the ImageTransformations message.+ allInfoTypes :: (Core.Maybe GooglePrivacyDlpV2AllInfoTypes),+ -- | Apply transformation to all text that doesn\'t match an infoType. Only one instance is allowed within the ImageTransformations message.+ allText :: (Core.Maybe GooglePrivacyDlpV2AllText),+ -- | The color to use when redacting content from an image. If not specified, the default is black.+ redactionColor :: (Core.Maybe GooglePrivacyDlpV2Color),+ -- | Apply transformation to the selected info_types.+ selectedInfoTypes :: (Core.Maybe GooglePrivacyDlpV2SelectedInfoTypes)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ImageTransformation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ImageTransformation ::+ GooglePrivacyDlpV2ImageTransformation+newGooglePrivacyDlpV2ImageTransformation =+ GooglePrivacyDlpV2ImageTransformation+ { allInfoTypes =+ Core.Nothing,+ allText = Core.Nothing,+ redactionColor = Core.Nothing,+ selectedInfoTypes = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ImageTransformation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ImageTransformation"+ ( \o ->+ GooglePrivacyDlpV2ImageTransformation+ Core.<$> (o Core..:? "allInfoTypes")+ Core.<*> (o Core..:? "allText")+ Core.<*> (o Core..:? "redactionColor")+ Core.<*> (o Core..:? "selectedInfoTypes")+ )++instance Core.ToJSON GooglePrivacyDlpV2ImageTransformation where+ toJSON GooglePrivacyDlpV2ImageTransformation {..} =+ Core.object+ ( Core.catMaybes+ [ ("allInfoTypes" Core..=) Core.<$> allInfoTypes,+ ("allText" Core..=) Core.<$> allText,+ ("redactionColor" Core..=) Core.<$> redactionColor,+ ("selectedInfoTypes" Core..=) Core.<$> selectedInfoTypes+ ]+ )++-- | A type of transformation that is applied over images.+--+-- /See:/ 'newGooglePrivacyDlpV2ImageTransformations' smart constructor.+newtype GooglePrivacyDlpV2ImageTransformations = GooglePrivacyDlpV2ImageTransformations+ { -- | List of transforms to make.+ transforms :: (Core.Maybe [GooglePrivacyDlpV2ImageTransformation])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ImageTransformations' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ImageTransformations ::+ GooglePrivacyDlpV2ImageTransformations+newGooglePrivacyDlpV2ImageTransformations =+ GooglePrivacyDlpV2ImageTransformations {transforms = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2ImageTransformations where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ImageTransformations"+ ( \o ->+ GooglePrivacyDlpV2ImageTransformations+ Core.<$> (o Core..:? "transforms")+ )++instance Core.ToJSON GooglePrivacyDlpV2ImageTransformations where+ toJSON GooglePrivacyDlpV2ImageTransformations {..} =+ Core.object+ (Core.catMaybes [("transforms" Core..=) Core.<$> transforms])++-- | Type of information detected by the API.+--+-- /See:/ 'newGooglePrivacyDlpV2InfoType' smart constructor.+data GooglePrivacyDlpV2InfoType = GooglePrivacyDlpV2InfoType+ { -- | Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern @[A-Za-z0-9$_-]{1,64}@.+ name :: (Core.Maybe Core.Text),+ -- | Optional custom sensitivity for this InfoType. This only applies to data profiling.+ sensitivityScore :: (Core.Maybe GooglePrivacyDlpV2SensitivityScore),+ -- | Optional version name for this InfoType.+ version :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InfoType' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InfoType ::+ GooglePrivacyDlpV2InfoType+newGooglePrivacyDlpV2InfoType =+ GooglePrivacyDlpV2InfoType+ { name = Core.Nothing,+ sensitivityScore = Core.Nothing,+ version = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InfoType where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InfoType"+ ( \o ->+ GooglePrivacyDlpV2InfoType+ Core.<$> (o Core..:? "name")+ Core.<*> (o Core..:? "sensitivityScore")+ Core.<*> (o Core..:? "version")+ )++instance Core.ToJSON GooglePrivacyDlpV2InfoType where+ toJSON GooglePrivacyDlpV2InfoType {..} =+ Core.object+ ( Core.catMaybes+ [ ("name" Core..=) Core.<$> name,+ ("sensitivityScore" Core..=) Core.<$> sensitivityScore,+ ("version" Core..=) Core.<$> version+ ]+ )++-- | Classification of infoTypes to organize them according to geographic location, industry, and data type.+--+-- /See:/ 'newGooglePrivacyDlpV2InfoTypeCategory' smart constructor.+data GooglePrivacyDlpV2InfoTypeCategory = GooglePrivacyDlpV2InfoTypeCategory+ { -- | The group of relevant businesses where this infoType is commonly used+ industryCategory :: (Core.Maybe GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory),+ -- | The region or country that issued the ID or document represented by the infoType.+ locationCategory :: (Core.Maybe GooglePrivacyDlpV2InfoTypeCategory_LocationCategory),+ -- | The class of identifiers where this infoType belongs+ typeCategory :: (Core.Maybe GooglePrivacyDlpV2InfoTypeCategory_TypeCategory)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InfoTypeCategory' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InfoTypeCategory ::+ GooglePrivacyDlpV2InfoTypeCategory+newGooglePrivacyDlpV2InfoTypeCategory =+ GooglePrivacyDlpV2InfoTypeCategory+ { industryCategory =+ Core.Nothing,+ locationCategory = Core.Nothing,+ typeCategory = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InfoTypeCategory where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InfoTypeCategory"+ ( \o ->+ GooglePrivacyDlpV2InfoTypeCategory+ Core.<$> (o Core..:? "industryCategory")+ Core.<*> (o Core..:? "locationCategory")+ Core.<*> (o Core..:? "typeCategory")+ )++instance Core.ToJSON GooglePrivacyDlpV2InfoTypeCategory where+ toJSON GooglePrivacyDlpV2InfoTypeCategory {..} =+ Core.object+ ( Core.catMaybes+ [ ("industryCategory" Core..=) Core.<$> industryCategory,+ ("locationCategory" Core..=) Core.<$> locationCategory,+ ("typeCategory" Core..=) Core.<$> typeCategory+ ]+ )++-- | InfoType description.+--+-- /See:/ 'newGooglePrivacyDlpV2InfoTypeDescription' smart constructor.+data GooglePrivacyDlpV2InfoTypeDescription = GooglePrivacyDlpV2InfoTypeDescription+ { -- | The category of the infoType.+ categories :: (Core.Maybe [GooglePrivacyDlpV2InfoTypeCategory]),+ -- | Description of the infotype. Translated when language is provided in the request.+ description :: (Core.Maybe Core.Text),+ -- | Human readable form of the infoType name.+ displayName :: (Core.Maybe Core.Text),+ -- | A sample that is a true positive for this infoType.+ example :: (Core.Maybe Core.Text),+ -- | Internal name of the infoType.+ name :: (Core.Maybe Core.Text),+ -- | The default sensitivity of the infoType.+ sensitivityScore :: (Core.Maybe GooglePrivacyDlpV2SensitivityScore),+ -- | Which parts of the API supports this InfoType.+ supportedBy ::+ ( Core.Maybe+ [GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem]+ ),+ -- | A list of available versions for the infotype.+ versions :: (Core.Maybe [GooglePrivacyDlpV2VersionDescription])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InfoTypeDescription' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InfoTypeDescription ::+ GooglePrivacyDlpV2InfoTypeDescription+newGooglePrivacyDlpV2InfoTypeDescription =+ GooglePrivacyDlpV2InfoTypeDescription+ { categories = Core.Nothing,+ description = Core.Nothing,+ displayName = Core.Nothing,+ example = Core.Nothing,+ name = Core.Nothing,+ sensitivityScore = Core.Nothing,+ supportedBy = Core.Nothing,+ versions = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InfoTypeDescription where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InfoTypeDescription"+ ( \o ->+ GooglePrivacyDlpV2InfoTypeDescription+ Core.<$> (o Core..:? "categories")+ Core.<*> (o Core..:? "description")+ Core.<*> (o Core..:? "displayName")+ Core.<*> (o Core..:? "example")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "sensitivityScore")+ Core.<*> (o Core..:? "supportedBy")+ Core.<*> (o Core..:? "versions")+ )++instance Core.ToJSON GooglePrivacyDlpV2InfoTypeDescription where+ toJSON GooglePrivacyDlpV2InfoTypeDescription {..} =+ Core.object+ ( Core.catMaybes+ [ ("categories" Core..=) Core.<$> categories,+ ("description" Core..=) Core.<$> description,+ ("displayName" Core..=) Core.<$> displayName,+ ("example" Core..=) Core.<$> example,+ ("name" Core..=) Core.<$> name,+ ("sensitivityScore" Core..=) Core.<$> sensitivityScore,+ ("supportedBy" Core..=) Core.<$> supportedBy,+ ("versions" Core..=) Core.<$> versions+ ]+ )++-- | Configuration for setting a minimum likelihood per infotype. Used to customize the minimum likelihood level for specific infotypes in the request. For example, use this if you want to lower the precision for PERSON_NAME without lowering the precision for the other infotypes in the request.+--+-- /See:/ 'newGooglePrivacyDlpV2InfoTypeLikelihood' smart constructor.+data GooglePrivacyDlpV2InfoTypeLikelihood = GooglePrivacyDlpV2InfoTypeLikelihood+ { -- | Type of information the likelihood threshold applies to. Only one likelihood per info/type should be provided. If InfoTypeLikelihood does not have an info/type, the configuration fails.+ infoType :: (Core.Maybe GooglePrivacyDlpV2InfoType),+ -- | Only returns findings equal to or above this threshold. This field is required or else the configuration fails.+ minLikelihood :: (Core.Maybe GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InfoTypeLikelihood' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InfoTypeLikelihood ::+ GooglePrivacyDlpV2InfoTypeLikelihood+newGooglePrivacyDlpV2InfoTypeLikelihood =+ GooglePrivacyDlpV2InfoTypeLikelihood+ { infoType = Core.Nothing,+ minLikelihood = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InfoTypeLikelihood where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InfoTypeLikelihood"+ ( \o ->+ GooglePrivacyDlpV2InfoTypeLikelihood+ Core.<$> (o Core..:? "infoType")+ Core.<*> (o Core..:? "minLikelihood")+ )++instance Core.ToJSON GooglePrivacyDlpV2InfoTypeLikelihood where+ toJSON GooglePrivacyDlpV2InfoTypeLikelihood {..} =+ Core.object+ ( Core.catMaybes+ [ ("infoType" Core..=) Core.<$> infoType,+ ("minLikelihood" Core..=) Core.<$> minLikelihood+ ]+ )++-- | Max findings configuration per infoType, per content item or long running DlpJob.+--+-- /See:/ 'newGooglePrivacyDlpV2InfoTypeLimit' smart constructor.+data GooglePrivacyDlpV2InfoTypeLimit = GooglePrivacyDlpV2InfoTypeLimit+ { -- | Type of information the findings limit applies to. Only one limit per info/type should be provided. If InfoTypeLimit does not have an info/type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.+ infoType :: (Core.Maybe GooglePrivacyDlpV2InfoType),+ -- | Max findings limit for the given infoType.+ maxFindings :: (Core.Maybe Core.Int32)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InfoTypeLimit' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InfoTypeLimit ::+ GooglePrivacyDlpV2InfoTypeLimit+newGooglePrivacyDlpV2InfoTypeLimit =+ GooglePrivacyDlpV2InfoTypeLimit+ { infoType = Core.Nothing,+ maxFindings = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InfoTypeLimit where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InfoTypeLimit"+ ( \o ->+ GooglePrivacyDlpV2InfoTypeLimit+ Core.<$> (o Core..:? "infoType")+ Core.<*> (o Core..:? "maxFindings")+ )++instance Core.ToJSON GooglePrivacyDlpV2InfoTypeLimit where+ toJSON GooglePrivacyDlpV2InfoTypeLimit {..} =+ Core.object+ ( Core.catMaybes+ [ ("infoType" Core..=) Core.<$> infoType,+ ("maxFindings" Core..=) Core.<$> maxFindings+ ]+ )++-- | Statistics regarding a specific InfoType.+--+-- /See:/ 'newGooglePrivacyDlpV2InfoTypeStats' smart constructor.+data GooglePrivacyDlpV2InfoTypeStats = GooglePrivacyDlpV2InfoTypeStats+ { -- | Number of findings for this infoType.+ count :: (Core.Maybe Core.Int64),+ -- | The type of finding this stat is for.+ infoType :: (Core.Maybe GooglePrivacyDlpV2InfoType)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InfoTypeStats' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InfoTypeStats ::+ GooglePrivacyDlpV2InfoTypeStats+newGooglePrivacyDlpV2InfoTypeStats =+ GooglePrivacyDlpV2InfoTypeStats+ { count = Core.Nothing,+ infoType = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InfoTypeStats where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InfoTypeStats"+ ( \o ->+ GooglePrivacyDlpV2InfoTypeStats+ Core.<$> (o Core..:? "count" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "infoType")+ )++instance Core.ToJSON GooglePrivacyDlpV2InfoTypeStats where+ toJSON GooglePrivacyDlpV2InfoTypeStats {..} =+ Core.object+ ( Core.catMaybes+ [ ("count" Core..=) Core.. Core.AsText Core.<$> count,+ ("infoType" Core..=) Core.<$> infoType+ ]+ )++-- | The infoType details for this column.+--+-- /See:/ 'newGooglePrivacyDlpV2InfoTypeSummary' smart constructor.+data GooglePrivacyDlpV2InfoTypeSummary = GooglePrivacyDlpV2InfoTypeSummary+ { -- | Not populated for predicted infotypes.+ estimatedPrevalence :: (Core.Maybe Core.Int32),+ -- | The infoType.+ infoType :: (Core.Maybe GooglePrivacyDlpV2InfoType)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InfoTypeSummary' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InfoTypeSummary ::+ GooglePrivacyDlpV2InfoTypeSummary+newGooglePrivacyDlpV2InfoTypeSummary =+ GooglePrivacyDlpV2InfoTypeSummary+ { estimatedPrevalence =+ Core.Nothing,+ infoType = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InfoTypeSummary where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InfoTypeSummary"+ ( \o ->+ GooglePrivacyDlpV2InfoTypeSummary+ Core.<$> (o Core..:? "estimatedPrevalence")+ Core.<*> (o Core..:? "infoType")+ )++instance Core.ToJSON GooglePrivacyDlpV2InfoTypeSummary where+ toJSON GooglePrivacyDlpV2InfoTypeSummary {..} =+ Core.object+ ( Core.catMaybes+ [ ("estimatedPrevalence" Core..=) Core.<$> estimatedPrevalence,+ ("infoType" Core..=) Core.<$> infoType+ ]+ )++-- | A transformation to apply to text that is identified as a specific info_type.+--+-- /See:/ 'newGooglePrivacyDlpV2InfoTypeTransformation' smart constructor.+data GooglePrivacyDlpV2InfoTypeTransformation = GooglePrivacyDlpV2InfoTypeTransformation+ { -- | InfoTypes to apply the transformation to. An empty list will cause this transformation to apply to all findings that correspond to infoTypes that were requested in @InspectConfig@.+ infoTypes :: (Core.Maybe [GooglePrivacyDlpV2InfoType]),+ -- | Required. Primitive transformation to apply to the infoType.+ primitiveTransformation :: (Core.Maybe GooglePrivacyDlpV2PrimitiveTransformation)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InfoTypeTransformation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InfoTypeTransformation ::+ GooglePrivacyDlpV2InfoTypeTransformation+newGooglePrivacyDlpV2InfoTypeTransformation =+ GooglePrivacyDlpV2InfoTypeTransformation+ { infoTypes =+ Core.Nothing,+ primitiveTransformation = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InfoTypeTransformation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InfoTypeTransformation"+ ( \o ->+ GooglePrivacyDlpV2InfoTypeTransformation+ Core.<$> (o Core..:? "infoTypes")+ Core.<*> (o Core..:? "primitiveTransformation")+ )++instance Core.ToJSON GooglePrivacyDlpV2InfoTypeTransformation where+ toJSON GooglePrivacyDlpV2InfoTypeTransformation {..} =+ Core.object+ ( Core.catMaybes+ [ ("infoTypes" Core..=) Core.<$> infoTypes,+ ("primitiveTransformation" Core..=)+ Core.<$> primitiveTransformation+ ]+ )++-- | A type of transformation that will scan unstructured text and apply various @PrimitiveTransformation@s to each finding, where the transformation is applied to only values that were identified as a specific info_type.+--+-- /See:/ 'newGooglePrivacyDlpV2InfoTypeTransformations' smart constructor.+newtype GooglePrivacyDlpV2InfoTypeTransformations = GooglePrivacyDlpV2InfoTypeTransformations+ { -- | Required. Transformation for each infoType. Cannot specify more than one for a given infoType.+ transformations :: (Core.Maybe [GooglePrivacyDlpV2InfoTypeTransformation])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InfoTypeTransformations' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InfoTypeTransformations ::+ GooglePrivacyDlpV2InfoTypeTransformations+newGooglePrivacyDlpV2InfoTypeTransformations =+ GooglePrivacyDlpV2InfoTypeTransformations+ { transformations =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InfoTypeTransformations where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InfoTypeTransformations"+ ( \o ->+ GooglePrivacyDlpV2InfoTypeTransformations+ Core.<$> (o Core..:? "transformations")+ )++instance Core.ToJSON GooglePrivacyDlpV2InfoTypeTransformations where+ toJSON GooglePrivacyDlpV2InfoTypeTransformations {..} =+ Core.object+ ( Core.catMaybes+ [("transformations" Core..=) Core.<$> transformations]+ )++-- | Configuration description of the scanning process. When used with redactContent only info/types and min/likelihood are currently used.+--+-- /See:/ 'newGooglePrivacyDlpV2InspectConfig' smart constructor.+data GooglePrivacyDlpV2InspectConfig = GooglePrivacyDlpV2InspectConfig+ { -- | Deprecated and unused.+ contentOptions :: (Core.Maybe [GooglePrivacyDlpV2InspectConfig_ContentOptionsItem]),+ -- | CustomInfoTypes provided by the user. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-custom-infotypes to learn more.+ customInfoTypes :: (Core.Maybe [GooglePrivacyDlpV2CustomInfoType]),+ -- | When true, excludes type information of the findings. This is not used for data profiling.+ excludeInfoTypes :: (Core.Maybe Core.Bool),+ -- | When true, a contextual quote from the data that triggered a finding is included in the response; see Finding.quote. This is not used for data profiling.+ includeQuote :: (Core.Maybe Core.Bool),+ -- | Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or listed at https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose a default list of detectors to run, which may change over time. If you need precise control and predictability as to what detectors are run you should specify specific InfoTypes listed in the reference, otherwise a default list will be used, which may change over time.+ infoTypes :: (Core.Maybe [GooglePrivacyDlpV2InfoType]),+ -- | Configuration to control the number of findings returned. This is not used for data profiling. When redacting sensitive data from images, finding limits don\'t apply. They can cause unexpected or inconsistent results, where only some data is redacted. Don\'t include finding limits in RedactImage requests. Otherwise, Cloud DLP returns an error. When set within an InspectJobConfig, the specified maximum values aren\'t hard limits. If an inspection job reaches these limits, the job ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns can be multiple times higher than these maximum values.+ limits :: (Core.Maybe GooglePrivacyDlpV2FindingLimits),+ -- | Only returns findings equal to or above this threshold. The default is POSSIBLE. In general, the highest likelihood setting yields the fewest findings in results and the lowest chance of a false positive. For more information, see <https://cloud.google.com/sensitive-data-protection/docs/likelihood Match likelihood>.+ minLikelihood :: (Core.Maybe GooglePrivacyDlpV2InspectConfig_MinLikelihood),+ -- | Minimum likelihood per infotype. For each infotype, a user can specify a minimum likelihood. The system only returns a finding if its likelihood is above this threshold. If this field is not set, the system uses the InspectConfig min_likelihood.+ minLikelihoodPerInfoType :: (Core.Maybe [GooglePrivacyDlpV2InfoTypeLikelihood]),+ -- | Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type.+ ruleSet :: (Core.Maybe [GooglePrivacyDlpV2InspectionRuleSet])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InspectConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InspectConfig ::+ GooglePrivacyDlpV2InspectConfig+newGooglePrivacyDlpV2InspectConfig =+ GooglePrivacyDlpV2InspectConfig+ { contentOptions = Core.Nothing,+ customInfoTypes = Core.Nothing,+ excludeInfoTypes = Core.Nothing,+ includeQuote = Core.Nothing,+ infoTypes = Core.Nothing,+ limits = Core.Nothing,+ minLikelihood = Core.Nothing,+ minLikelihoodPerInfoType = Core.Nothing,+ ruleSet = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InspectConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InspectConfig"+ ( \o ->+ GooglePrivacyDlpV2InspectConfig+ Core.<$> (o Core..:? "contentOptions")+ Core.<*> (o Core..:? "customInfoTypes")+ Core.<*> (o Core..:? "excludeInfoTypes")+ Core.<*> (o Core..:? "includeQuote")+ Core.<*> (o Core..:? "infoTypes")+ Core.<*> (o Core..:? "limits")+ Core.<*> (o Core..:? "minLikelihood")+ Core.<*> (o Core..:? "minLikelihoodPerInfoType")+ Core.<*> (o Core..:? "ruleSet")+ )++instance Core.ToJSON GooglePrivacyDlpV2InspectConfig where+ toJSON GooglePrivacyDlpV2InspectConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("contentOptions" Core..=) Core.<$> contentOptions,+ ("customInfoTypes" Core..=) Core.<$> customInfoTypes,+ ("excludeInfoTypes" Core..=) Core.<$> excludeInfoTypes,+ ("includeQuote" Core..=) Core.<$> includeQuote,+ ("infoTypes" Core..=) Core.<$> infoTypes,+ ("limits" Core..=) Core.<$> limits,+ ("minLikelihood" Core..=) Core.<$> minLikelihood,+ ("minLikelihoodPerInfoType" Core..=)+ Core.<$> minLikelihoodPerInfoType,+ ("ruleSet" Core..=) Core.<$> ruleSet+ ]+ )++-- | Request to search for potentially sensitive info in a ContentItem.+--+-- /See:/ 'newGooglePrivacyDlpV2InspectContentRequest' smart constructor.+data GooglePrivacyDlpV2InspectContentRequest = GooglePrivacyDlpV2InspectContentRequest+ { -- | Configuration for the inspector. What specified here will override the template referenced by the inspect/template/name argument.+ inspectConfig :: (Core.Maybe GooglePrivacyDlpV2InspectConfig),+ -- | Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.+ inspectTemplateName :: (Core.Maybe Core.Text),+ -- | The item to inspect.+ item :: (Core.Maybe GooglePrivacyDlpV2ContentItem),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InspectContentRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InspectContentRequest ::+ GooglePrivacyDlpV2InspectContentRequest+newGooglePrivacyDlpV2InspectContentRequest =+ GooglePrivacyDlpV2InspectContentRequest+ { inspectConfig =+ Core.Nothing,+ inspectTemplateName = Core.Nothing,+ item = Core.Nothing,+ locationId = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InspectContentRequest where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InspectContentRequest"+ ( \o ->+ GooglePrivacyDlpV2InspectContentRequest+ Core.<$> (o Core..:? "inspectConfig")+ Core.<*> (o Core..:? "inspectTemplateName")+ Core.<*> (o Core..:? "item")+ Core.<*> (o Core..:? "locationId")+ )++instance Core.ToJSON GooglePrivacyDlpV2InspectContentRequest where+ toJSON GooglePrivacyDlpV2InspectContentRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("inspectConfig" Core..=) Core.<$> inspectConfig,+ ("inspectTemplateName" Core..=) Core.<$> inspectTemplateName,+ ("item" Core..=) Core.<$> item,+ ("locationId" Core..=) Core.<$> locationId+ ]+ )++-- | Results of inspecting an item.+--+-- /See:/ 'newGooglePrivacyDlpV2InspectContentResponse' smart constructor.+newtype GooglePrivacyDlpV2InspectContentResponse = GooglePrivacyDlpV2InspectContentResponse+ { -- | The findings.+ result :: (Core.Maybe GooglePrivacyDlpV2InspectResult)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InspectContentResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InspectContentResponse ::+ GooglePrivacyDlpV2InspectContentResponse+newGooglePrivacyDlpV2InspectContentResponse =+ GooglePrivacyDlpV2InspectContentResponse {result = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2InspectContentResponse where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InspectContentResponse"+ ( \o ->+ GooglePrivacyDlpV2InspectContentResponse+ Core.<$> (o Core..:? "result")+ )++instance Core.ToJSON GooglePrivacyDlpV2InspectContentResponse where+ toJSON GooglePrivacyDlpV2InspectContentResponse {..} =+ Core.object (Core.catMaybes [("result" Core..=) Core.<$> result])++-- | The results of an inspect DataSource job.+--+-- /See:/ 'newGooglePrivacyDlpV2InspectDataSourceDetails' smart constructor.+data GooglePrivacyDlpV2InspectDataSourceDetails = GooglePrivacyDlpV2InspectDataSourceDetails+ { -- | The configuration used for this job.+ requestedOptions :: (Core.Maybe GooglePrivacyDlpV2RequestedOptions),+ -- | A summary of the outcome of this inspection job.+ result :: (Core.Maybe GooglePrivacyDlpV2Result)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InspectDataSourceDetails' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InspectDataSourceDetails ::+ GooglePrivacyDlpV2InspectDataSourceDetails+newGooglePrivacyDlpV2InspectDataSourceDetails =+ GooglePrivacyDlpV2InspectDataSourceDetails+ { requestedOptions =+ Core.Nothing,+ result = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InspectDataSourceDetails where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InspectDataSourceDetails"+ ( \o ->+ GooglePrivacyDlpV2InspectDataSourceDetails+ Core.<$> (o Core..:? "requestedOptions")+ Core.<*> (o Core..:? "result")+ )++instance Core.ToJSON GooglePrivacyDlpV2InspectDataSourceDetails where+ toJSON GooglePrivacyDlpV2InspectDataSourceDetails {..} =+ Core.object+ ( Core.catMaybes+ [ ("requestedOptions" Core..=) Core.<$> requestedOptions,+ ("result" Core..=) Core.<$> result+ ]+ )++-- | Controls what and how to inspect for findings.+--+-- /See:/ 'newGooglePrivacyDlpV2InspectJobConfig' smart constructor.+data GooglePrivacyDlpV2InspectJobConfig = GooglePrivacyDlpV2InspectJobConfig+ { -- | Actions to execute at the completion of the job.+ actions :: (Core.Maybe [GooglePrivacyDlpV2Action]),+ -- | How and what to scan for.+ inspectConfig :: (Core.Maybe GooglePrivacyDlpV2InspectConfig),+ -- | If provided, will be used as the default for all values in InspectConfig. @inspect_config@ will be merged into the values persisted as part of the template.+ inspectTemplateName :: (Core.Maybe Core.Text),+ -- | The data to scan.+ storageConfig :: (Core.Maybe GooglePrivacyDlpV2StorageConfig)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InspectJobConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InspectJobConfig ::+ GooglePrivacyDlpV2InspectJobConfig+newGooglePrivacyDlpV2InspectJobConfig =+ GooglePrivacyDlpV2InspectJobConfig+ { actions = Core.Nothing,+ inspectConfig = Core.Nothing,+ inspectTemplateName = Core.Nothing,+ storageConfig = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InspectJobConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InspectJobConfig"+ ( \o ->+ GooglePrivacyDlpV2InspectJobConfig+ Core.<$> (o Core..:? "actions")+ Core.<*> (o Core..:? "inspectConfig")+ Core.<*> (o Core..:? "inspectTemplateName")+ Core.<*> (o Core..:? "storageConfig")+ )++instance Core.ToJSON GooglePrivacyDlpV2InspectJobConfig where+ toJSON GooglePrivacyDlpV2InspectJobConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("actions" Core..=) Core.<$> actions,+ ("inspectConfig" Core..=) Core.<$> inspectConfig,+ ("inspectTemplateName" Core..=) Core.<$> inspectTemplateName,+ ("storageConfig" Core..=) Core.<$> storageConfig+ ]+ )++-- | All the findings for a single scanned item.+--+-- /See:/ 'newGooglePrivacyDlpV2InspectResult' smart constructor.+data GooglePrivacyDlpV2InspectResult = GooglePrivacyDlpV2InspectResult+ { -- | List of findings for an item.+ findings :: (Core.Maybe [GooglePrivacyDlpV2Finding]),+ -- | If true, then this item might have more findings than were returned, and the findings returned are an arbitrary subset of all findings. The findings list might be truncated because the input items were too large, or because the server reached the maximum amount of resources allowed for a single API call. For best results, divide the input into smaller batches.+ findingsTruncated :: (Core.Maybe Core.Bool)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InspectResult' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InspectResult ::+ GooglePrivacyDlpV2InspectResult+newGooglePrivacyDlpV2InspectResult =+ GooglePrivacyDlpV2InspectResult+ { findings = Core.Nothing,+ findingsTruncated = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InspectResult where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InspectResult"+ ( \o ->+ GooglePrivacyDlpV2InspectResult+ Core.<$> (o Core..:? "findings")+ Core.<*> (o Core..:? "findingsTruncated")+ )++instance Core.ToJSON GooglePrivacyDlpV2InspectResult where+ toJSON GooglePrivacyDlpV2InspectResult {..} =+ Core.object+ ( Core.catMaybes+ [ ("findings" Core..=) Core.<$> findings,+ ("findingsTruncated" Core..=) Core.<$> findingsTruncated+ ]+ )++-- | The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/concepts-templates to learn more.+--+-- /See:/ 'newGooglePrivacyDlpV2InspectTemplate' smart constructor.+data GooglePrivacyDlpV2InspectTemplate = GooglePrivacyDlpV2InspectTemplate+ { -- | Output only. The creation timestamp of an inspectTemplate.+ createTime :: (Core.Maybe Core.DateTime),+ -- | Short description (max 256 chars).+ description :: (Core.Maybe Core.Text),+ -- | Display name (max 256 chars).+ displayName :: (Core.Maybe Core.Text),+ -- | The core content of the template. Configuration of the scanning process.+ inspectConfig :: (Core.Maybe GooglePrivacyDlpV2InspectConfig),+ -- | Output only. The template name. The template will have one of the following formats: @projects\/PROJECT_ID\/inspectTemplates\/TEMPLATE_ID@ OR @organizations\/ORGANIZATION_ID\/inspectTemplates\/TEMPLATE_ID@;+ name :: (Core.Maybe Core.Text),+ -- | Output only. The last update timestamp of an inspectTemplate.+ updateTime :: (Core.Maybe Core.DateTime)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InspectTemplate' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InspectTemplate ::+ GooglePrivacyDlpV2InspectTemplate+newGooglePrivacyDlpV2InspectTemplate =+ GooglePrivacyDlpV2InspectTemplate+ { createTime = Core.Nothing,+ description = Core.Nothing,+ displayName = Core.Nothing,+ inspectConfig = Core.Nothing,+ name = Core.Nothing,+ updateTime = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InspectTemplate where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InspectTemplate"+ ( \o ->+ GooglePrivacyDlpV2InspectTemplate+ Core.<$> (o Core..:? "createTime")+ Core.<*> (o Core..:? "description")+ Core.<*> (o Core..:? "displayName")+ Core.<*> (o Core..:? "inspectConfig")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "updateTime")+ )++instance Core.ToJSON GooglePrivacyDlpV2InspectTemplate where+ toJSON GooglePrivacyDlpV2InspectTemplate {..} =+ Core.object+ ( Core.catMaybes+ [ ("createTime" Core..=) Core.<$> createTime,+ ("description" Core..=) Core.<$> description,+ ("displayName" Core..=) Core.<$> displayName,+ ("inspectConfig" Core..=) Core.<$> inspectConfig,+ ("name" Core..=) Core.<$> name,+ ("updateTime" Core..=) Core.<$> updateTime+ ]+ )++-- | A single inspection rule to be applied to infoTypes, specified in @InspectionRuleSet@.+--+-- /See:/ 'newGooglePrivacyDlpV2InspectionRule' smart constructor.+data GooglePrivacyDlpV2InspectionRule = GooglePrivacyDlpV2InspectionRule+ { -- | Exclusion rule.+ exclusionRule :: (Core.Maybe GooglePrivacyDlpV2ExclusionRule),+ -- | Hotword-based detection rule.+ hotwordRule :: (Core.Maybe GooglePrivacyDlpV2HotwordRule)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InspectionRule' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InspectionRule ::+ GooglePrivacyDlpV2InspectionRule+newGooglePrivacyDlpV2InspectionRule =+ GooglePrivacyDlpV2InspectionRule+ { exclusionRule = Core.Nothing,+ hotwordRule = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InspectionRule where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InspectionRule"+ ( \o ->+ GooglePrivacyDlpV2InspectionRule+ Core.<$> (o Core..:? "exclusionRule")+ Core.<*> (o Core..:? "hotwordRule")+ )++instance Core.ToJSON GooglePrivacyDlpV2InspectionRule where+ toJSON GooglePrivacyDlpV2InspectionRule {..} =+ Core.object+ ( Core.catMaybes+ [ ("exclusionRule" Core..=) Core.<$> exclusionRule,+ ("hotwordRule" Core..=) Core.<$> hotwordRule+ ]+ )++-- | Rule set for modifying a set of infoTypes to alter behavior under certain circumstances, depending on the specific details of the rules within the set.+--+-- /See:/ 'newGooglePrivacyDlpV2InspectionRuleSet' smart constructor.+data GooglePrivacyDlpV2InspectionRuleSet = GooglePrivacyDlpV2InspectionRuleSet+ { -- | List of infoTypes this rule set is applied to.+ infoTypes :: (Core.Maybe [GooglePrivacyDlpV2InfoType]),+ -- | Set of rules to be applied to infoTypes. The rules are applied in order.+ rules :: (Core.Maybe [GooglePrivacyDlpV2InspectionRule])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2InspectionRuleSet' with the minimum fields required to make a request.+newGooglePrivacyDlpV2InspectionRuleSet ::+ GooglePrivacyDlpV2InspectionRuleSet+newGooglePrivacyDlpV2InspectionRuleSet =+ GooglePrivacyDlpV2InspectionRuleSet+ { infoTypes = Core.Nothing,+ rules = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2InspectionRuleSet where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2InspectionRuleSet"+ ( \o ->+ GooglePrivacyDlpV2InspectionRuleSet+ Core.<$> (o Core..:? "infoTypes")+ Core.<*> (o Core..:? "rules")+ )++instance Core.ToJSON GooglePrivacyDlpV2InspectionRuleSet where+ toJSON GooglePrivacyDlpV2InspectionRuleSet {..} =+ Core.object+ ( Core.catMaybes+ [ ("infoTypes" Core..=) Core.<$> infoTypes,+ ("rules" Core..=) Core.<$> rules+ ]+ )++-- | Sends an email when the job completes. The email goes to IAM project owners and technical <https://cloud.google.com/resource-manager/docs/managing-notification-contacts Essential Contacts>.+--+-- /See:/ 'newGooglePrivacyDlpV2JobNotificationEmails' smart constructor.+data GooglePrivacyDlpV2JobNotificationEmails = GooglePrivacyDlpV2JobNotificationEmails+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2JobNotificationEmails' with the minimum fields required to make a request.+newGooglePrivacyDlpV2JobNotificationEmails ::+ GooglePrivacyDlpV2JobNotificationEmails+newGooglePrivacyDlpV2JobNotificationEmails =+ GooglePrivacyDlpV2JobNotificationEmails++instance Core.FromJSON GooglePrivacyDlpV2JobNotificationEmails where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2JobNotificationEmails"+ (\o -> Core.pure GooglePrivacyDlpV2JobNotificationEmails)++instance Core.ToJSON GooglePrivacyDlpV2JobNotificationEmails where+ toJSON = Core.const Core.emptyObject++-- | Contains a configuration to make API calls on a repeating basis. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/concepts-job-triggers to learn more.+--+-- /See:/ 'newGooglePrivacyDlpV2JobTrigger' smart constructor.+data GooglePrivacyDlpV2JobTrigger = GooglePrivacyDlpV2JobTrigger+ { -- | Output only. The creation timestamp of a triggeredJob.+ createTime :: (Core.Maybe Core.DateTime),+ -- | User provided description (max 256 chars)+ description :: (Core.Maybe Core.Text),+ -- | Display name (max 100 chars)+ displayName :: (Core.Maybe Core.Text),+ -- | Output only. A stream of errors encountered when the trigger was activated. Repeated errors may result in the JobTrigger automatically being paused. Will return the last 100 errors. Whenever the JobTrigger is modified this list will be cleared.+ errors :: (Core.Maybe [GooglePrivacyDlpV2Error]),+ -- | For inspect jobs, a snapshot of the configuration.+ inspectJob :: (Core.Maybe GooglePrivacyDlpV2InspectJobConfig),+ -- | Output only. The timestamp of the last time this trigger executed.+ lastRunTime :: (Core.Maybe Core.DateTime),+ -- | Unique resource name for the triggeredJob, assigned by the service when the triggeredJob is created, for example @projects\/dlp-test-project\/jobTriggers\/53234423@.+ name :: (Core.Maybe Core.Text),+ -- | Required. A status for this trigger.+ status :: (Core.Maybe GooglePrivacyDlpV2JobTrigger_Status),+ -- | A list of triggers which will be OR\'ed together. Only one in the list needs to trigger for a job to be started. The list may contain only a single Schedule trigger and must have at least one object.+ triggers :: (Core.Maybe [GooglePrivacyDlpV2Trigger]),+ -- | Output only. The last update timestamp of a triggeredJob.+ updateTime :: (Core.Maybe Core.DateTime)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2JobTrigger' with the minimum fields required to make a request.+newGooglePrivacyDlpV2JobTrigger ::+ GooglePrivacyDlpV2JobTrigger+newGooglePrivacyDlpV2JobTrigger =+ GooglePrivacyDlpV2JobTrigger+ { createTime = Core.Nothing,+ description = Core.Nothing,+ displayName = Core.Nothing,+ errors = Core.Nothing,+ inspectJob = Core.Nothing,+ lastRunTime = Core.Nothing,+ name = Core.Nothing,+ status = Core.Nothing,+ triggers = Core.Nothing,+ updateTime = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2JobTrigger where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2JobTrigger"+ ( \o ->+ GooglePrivacyDlpV2JobTrigger+ Core.<$> (o Core..:? "createTime")+ Core.<*> (o Core..:? "description")+ Core.<*> (o Core..:? "displayName")+ Core.<*> (o Core..:? "errors")+ Core.<*> (o Core..:? "inspectJob")+ Core.<*> (o Core..:? "lastRunTime")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "status")+ Core.<*> (o Core..:? "triggers")+ Core.<*> (o Core..:? "updateTime")+ )++instance Core.ToJSON GooglePrivacyDlpV2JobTrigger where+ toJSON GooglePrivacyDlpV2JobTrigger {..} =+ Core.object+ ( Core.catMaybes+ [ ("createTime" Core..=) Core.<$> createTime,+ ("description" Core..=) Core.<$> description,+ ("displayName" Core..=) Core.<$> displayName,+ ("errors" Core..=) Core.<$> errors,+ ("inspectJob" Core..=) Core.<$> inspectJob,+ ("lastRunTime" Core..=) Core.<$> lastRunTime,+ ("name" Core..=) Core.<$> name,+ ("status" Core..=) Core.<$> status,+ ("triggers" Core..=) Core.<$> triggers,+ ("updateTime" Core..=) Core.<$> updateTime+ ]+ )++-- | k-anonymity metric, used for analysis of reidentification risk.+--+-- /See:/ 'newGooglePrivacyDlpV2KAnonymityConfig' smart constructor.+data GooglePrivacyDlpV2KAnonymityConfig = GooglePrivacyDlpV2KAnonymityConfig+ { -- | Message indicating that multiple rows might be associated to a single individual. If the same entity_id is associated to multiple quasi-identifier tuples over distinct rows, we consider the entire collection of tuples as the composite quasi-identifier. This collection is a multiset: the order in which the different tuples appear in the dataset is ignored, but their frequency is taken into account. Important note: a maximum of 1000 rows can be associated to a single entity ID. If more rows are associated with the same entity ID, some might be ignored.+ entityId :: (Core.Maybe GooglePrivacyDlpV2EntityId),+ -- | Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field.+ quasiIds :: (Core.Maybe [GooglePrivacyDlpV2FieldId])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2KAnonymityConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2KAnonymityConfig ::+ GooglePrivacyDlpV2KAnonymityConfig+newGooglePrivacyDlpV2KAnonymityConfig =+ GooglePrivacyDlpV2KAnonymityConfig+ { entityId = Core.Nothing,+ quasiIds = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2KAnonymityConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2KAnonymityConfig"+ ( \o ->+ GooglePrivacyDlpV2KAnonymityConfig+ Core.<$> (o Core..:? "entityId")+ Core.<*> (o Core..:? "quasiIds")+ )++instance Core.ToJSON GooglePrivacyDlpV2KAnonymityConfig where+ toJSON GooglePrivacyDlpV2KAnonymityConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("entityId" Core..=) Core.<$> entityId,+ ("quasiIds" Core..=) Core.<$> quasiIds+ ]+ )++-- | The set of columns\' values that share the same ldiversity value+--+-- /See:/ 'newGooglePrivacyDlpV2KAnonymityEquivalenceClass' smart constructor.+data GooglePrivacyDlpV2KAnonymityEquivalenceClass = GooglePrivacyDlpV2KAnonymityEquivalenceClass+ { -- | Size of the equivalence class, for example number of rows with the above set of values.+ equivalenceClassSize :: (Core.Maybe Core.Int64),+ -- | Set of values defining the equivalence class. One value per quasi-identifier column in the original KAnonymity metric message. The order is always the same as the original request.+ quasiIdsValues :: (Core.Maybe [GooglePrivacyDlpV2Value])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2KAnonymityEquivalenceClass' with the minimum fields required to make a request.+newGooglePrivacyDlpV2KAnonymityEquivalenceClass ::+ GooglePrivacyDlpV2KAnonymityEquivalenceClass+newGooglePrivacyDlpV2KAnonymityEquivalenceClass =+ GooglePrivacyDlpV2KAnonymityEquivalenceClass+ { equivalenceClassSize =+ Core.Nothing,+ quasiIdsValues = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2KAnonymityEquivalenceClass where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2KAnonymityEquivalenceClass"+ ( \o ->+ GooglePrivacyDlpV2KAnonymityEquivalenceClass+ Core.<$> ( o+ Core..:? "equivalenceClassSize"+ Core.<&> Core.fmap Core.fromAsText+ )+ Core.<*> (o Core..:? "quasiIdsValues")+ )++instance Core.ToJSON GooglePrivacyDlpV2KAnonymityEquivalenceClass where+ toJSON GooglePrivacyDlpV2KAnonymityEquivalenceClass {..} =+ Core.object+ ( Core.catMaybes+ [ ("equivalenceClassSize" Core..=)+ Core.. Core.AsText+ Core.<$> equivalenceClassSize,+ ("quasiIdsValues" Core..=) Core.<$> quasiIdsValues+ ]+ )++-- | Histogram of k-anonymity equivalence classes.+--+-- /See:/ 'newGooglePrivacyDlpV2KAnonymityHistogramBucket' smart constructor.+data GooglePrivacyDlpV2KAnonymityHistogramBucket = GooglePrivacyDlpV2KAnonymityHistogramBucket+ { -- | Total number of equivalence classes in this bucket.+ bucketSize :: (Core.Maybe Core.Int64),+ -- | Total number of distinct equivalence classes in this bucket.+ bucketValueCount :: (Core.Maybe Core.Int64),+ -- | Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.+ bucketValues :: (Core.Maybe [GooglePrivacyDlpV2KAnonymityEquivalenceClass]),+ -- | Lower bound on the size of the equivalence classes in this bucket.+ equivalenceClassSizeLowerBound :: (Core.Maybe Core.Int64),+ -- | Upper bound on the size of the equivalence classes in this bucket.+ equivalenceClassSizeUpperBound :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2KAnonymityHistogramBucket' with the minimum fields required to make a request.+newGooglePrivacyDlpV2KAnonymityHistogramBucket ::+ GooglePrivacyDlpV2KAnonymityHistogramBucket+newGooglePrivacyDlpV2KAnonymityHistogramBucket =+ GooglePrivacyDlpV2KAnonymityHistogramBucket+ { bucketSize =+ Core.Nothing,+ bucketValueCount = Core.Nothing,+ bucketValues = Core.Nothing,+ equivalenceClassSizeLowerBound = Core.Nothing,+ equivalenceClassSizeUpperBound = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2KAnonymityHistogramBucket where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2KAnonymityHistogramBucket"+ ( \o ->+ GooglePrivacyDlpV2KAnonymityHistogramBucket+ Core.<$> (o Core..:? "bucketSize" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "bucketValueCount" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "bucketValues")+ Core.<*> ( o+ Core..:? "equivalenceClassSizeLowerBound"+ Core.<&> Core.fmap Core.fromAsText+ )+ Core.<*> ( o+ Core..:? "equivalenceClassSizeUpperBound"+ Core.<&> Core.fmap Core.fromAsText+ )+ )++instance Core.ToJSON GooglePrivacyDlpV2KAnonymityHistogramBucket where+ toJSON GooglePrivacyDlpV2KAnonymityHistogramBucket {..} =+ Core.object+ ( Core.catMaybes+ [ ("bucketSize" Core..=) Core.. Core.AsText Core.<$> bucketSize,+ ("bucketValueCount" Core..=)+ Core.. Core.AsText+ Core.<$> bucketValueCount,+ ("bucketValues" Core..=) Core.<$> bucketValues,+ ("equivalenceClassSizeLowerBound" Core..=)+ Core.. Core.AsText+ Core.<$> equivalenceClassSizeLowerBound,+ ("equivalenceClassSizeUpperBound" Core..=)+ Core.. Core.AsText+ Core.<$> equivalenceClassSizeUpperBound+ ]+ )++-- | Result of the k-anonymity computation.+--+-- /See:/ 'newGooglePrivacyDlpV2KAnonymityResult' smart constructor.+newtype GooglePrivacyDlpV2KAnonymityResult = GooglePrivacyDlpV2KAnonymityResult+ { -- | Histogram of k-anonymity equivalence classes.+ equivalenceClassHistogramBuckets :: (Core.Maybe [GooglePrivacyDlpV2KAnonymityHistogramBucket])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2KAnonymityResult' with the minimum fields required to make a request.+newGooglePrivacyDlpV2KAnonymityResult ::+ GooglePrivacyDlpV2KAnonymityResult+newGooglePrivacyDlpV2KAnonymityResult =+ GooglePrivacyDlpV2KAnonymityResult+ { equivalenceClassHistogramBuckets =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2KAnonymityResult where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2KAnonymityResult"+ ( \o ->+ GooglePrivacyDlpV2KAnonymityResult+ Core.<$> (o Core..:? "equivalenceClassHistogramBuckets")+ )++instance Core.ToJSON GooglePrivacyDlpV2KAnonymityResult where+ toJSON GooglePrivacyDlpV2KAnonymityResult {..} =+ Core.object+ ( Core.catMaybes+ [ ("equivalenceClassHistogramBuckets" Core..=)+ Core.<$> equivalenceClassHistogramBuckets+ ]+ )++-- | Reidentifiability metric. This corresponds to a risk model similar to what is called \"journalist risk\" in the literature, except the attack dataset is statistically modeled instead of being perfectly known. This can be done using publicly available data (like the US Census), or using a custom statistical model (indicated as one or several BigQuery tables), or by extrapolating from the distribution of values in the input dataset.+--+-- /See:/ 'newGooglePrivacyDlpV2KMapEstimationConfig' smart constructor.+data GooglePrivacyDlpV2KMapEstimationConfig = GooglePrivacyDlpV2KMapEstimationConfig+ { -- | Several auxiliary tables can be used in the analysis. Each custom_tag used to tag a quasi-identifiers column must appear in exactly one column of one auxiliary table.+ auxiliaryTables :: (Core.Maybe [GooglePrivacyDlpV2AuxiliaryTable]),+ -- | Required. Fields considered to be quasi-identifiers. No two columns can have the same tag.+ quasiIds :: (Core.Maybe [GooglePrivacyDlpV2TaggedField]),+ -- | ISO 3166-1 alpha-2 region code to use in the statistical modeling. Set if no column is tagged with a region-specific InfoType (like US/ZIP/5) or a region code.+ regionCode :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2KMapEstimationConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2KMapEstimationConfig ::+ GooglePrivacyDlpV2KMapEstimationConfig+newGooglePrivacyDlpV2KMapEstimationConfig =+ GooglePrivacyDlpV2KMapEstimationConfig+ { auxiliaryTables =+ Core.Nothing,+ quasiIds = Core.Nothing,+ regionCode = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2KMapEstimationConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2KMapEstimationConfig"+ ( \o ->+ GooglePrivacyDlpV2KMapEstimationConfig+ Core.<$> (o Core..:? "auxiliaryTables")+ Core.<*> (o Core..:? "quasiIds")+ Core.<*> (o Core..:? "regionCode")+ )++instance Core.ToJSON GooglePrivacyDlpV2KMapEstimationConfig where+ toJSON GooglePrivacyDlpV2KMapEstimationConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("auxiliaryTables" Core..=) Core.<$> auxiliaryTables,+ ("quasiIds" Core..=) Core.<$> quasiIds,+ ("regionCode" Core..=) Core.<$> regionCode+ ]+ )++-- | A KMapEstimationHistogramBucket message with the following values: min/anonymity: 3 max/anonymity: 5 frequency: 42 means that there are 42 records whose quasi-identifier values correspond to 3, 4 or 5 people in the overlying population. An important particular case is when min/anonymity = max/anonymity = 1: the frequency field then corresponds to the number of uniquely identifiable records.+--+-- /See:/ 'newGooglePrivacyDlpV2KMapEstimationHistogramBucket' smart constructor.+data GooglePrivacyDlpV2KMapEstimationHistogramBucket = GooglePrivacyDlpV2KMapEstimationHistogramBucket+ { -- | Number of records within these anonymity bounds.+ bucketSize :: (Core.Maybe Core.Int64),+ -- | Total number of distinct quasi-identifier tuple values in this bucket.+ bucketValueCount :: (Core.Maybe Core.Int64),+ -- | Sample of quasi-identifier tuple values in this bucket. The total number of classes returned per bucket is capped at 20.+ bucketValues :: (Core.Maybe [GooglePrivacyDlpV2KMapEstimationQuasiIdValues]),+ -- | Always greater than or equal to min_anonymity.+ maxAnonymity :: (Core.Maybe Core.Int64),+ -- | Always positive.+ minAnonymity :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2KMapEstimationHistogramBucket' with the minimum fields required to make a request.+newGooglePrivacyDlpV2KMapEstimationHistogramBucket ::+ GooglePrivacyDlpV2KMapEstimationHistogramBucket+newGooglePrivacyDlpV2KMapEstimationHistogramBucket =+ GooglePrivacyDlpV2KMapEstimationHistogramBucket+ { bucketSize =+ Core.Nothing,+ bucketValueCount = Core.Nothing,+ bucketValues = Core.Nothing,+ maxAnonymity = Core.Nothing,+ minAnonymity = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2KMapEstimationHistogramBucket+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2KMapEstimationHistogramBucket"+ ( \o ->+ GooglePrivacyDlpV2KMapEstimationHistogramBucket+ Core.<$> (o Core..:? "bucketSize" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "bucketValueCount" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "bucketValues")+ Core.<*> (o Core..:? "maxAnonymity" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "minAnonymity" Core.<&> Core.fmap Core.fromAsText)+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2KMapEstimationHistogramBucket+ where+ toJSON GooglePrivacyDlpV2KMapEstimationHistogramBucket {..} =+ Core.object+ ( Core.catMaybes+ [ ("bucketSize" Core..=) Core.. Core.AsText Core.<$> bucketSize,+ ("bucketValueCount" Core..=)+ Core.. Core.AsText+ Core.<$> bucketValueCount,+ ("bucketValues" Core..=) Core.<$> bucketValues,+ ("maxAnonymity" Core..=) Core.. Core.AsText Core.<$> maxAnonymity,+ ("minAnonymity" Core..=) Core.. Core.AsText Core.<$> minAnonymity+ ]+ )++-- | A tuple of values for the quasi-identifier columns.+--+-- /See:/ 'newGooglePrivacyDlpV2KMapEstimationQuasiIdValues' smart constructor.+data GooglePrivacyDlpV2KMapEstimationQuasiIdValues = GooglePrivacyDlpV2KMapEstimationQuasiIdValues+ { -- | The estimated anonymity for these quasi-identifier values.+ estimatedAnonymity :: (Core.Maybe Core.Int64),+ -- | The quasi-identifier values.+ quasiIdsValues :: (Core.Maybe [GooglePrivacyDlpV2Value])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2KMapEstimationQuasiIdValues' with the minimum fields required to make a request.+newGooglePrivacyDlpV2KMapEstimationQuasiIdValues ::+ GooglePrivacyDlpV2KMapEstimationQuasiIdValues+newGooglePrivacyDlpV2KMapEstimationQuasiIdValues =+ GooglePrivacyDlpV2KMapEstimationQuasiIdValues+ { estimatedAnonymity =+ Core.Nothing,+ quasiIdsValues = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2KMapEstimationQuasiIdValues+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2KMapEstimationQuasiIdValues"+ ( \o ->+ GooglePrivacyDlpV2KMapEstimationQuasiIdValues+ Core.<$> ( o+ Core..:? "estimatedAnonymity"+ Core.<&> Core.fmap Core.fromAsText+ )+ Core.<*> (o Core..:? "quasiIdsValues")+ )++instance Core.ToJSON GooglePrivacyDlpV2KMapEstimationQuasiIdValues where+ toJSON GooglePrivacyDlpV2KMapEstimationQuasiIdValues {..} =+ Core.object+ ( Core.catMaybes+ [ ("estimatedAnonymity" Core..=)+ Core.. Core.AsText+ Core.<$> estimatedAnonymity,+ ("quasiIdsValues" Core..=) Core.<$> quasiIdsValues+ ]+ )++-- | Result of the reidentifiability analysis. Note that these results are an estimation, not exact values.+--+-- /See:/ 'newGooglePrivacyDlpV2KMapEstimationResult' smart constructor.+newtype GooglePrivacyDlpV2KMapEstimationResult = GooglePrivacyDlpV2KMapEstimationResult+ { -- | The intervals [min/anonymity, max/anonymity] do not overlap. If a value doesn\'t correspond to any such interval, the associated frequency is zero. For example, the following records: {min/anonymity: 1, max/anonymity: 1, frequency: 17} {min/anonymity: 2, max/anonymity: 3, frequency: 42} {min/anonymity: 5, max/anonymity: 10, frequency: 99} mean that there are no record with an estimated anonymity of 4, 5, or larger than 10.+ kMapEstimationHistogram :: (Core.Maybe [GooglePrivacyDlpV2KMapEstimationHistogramBucket])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2KMapEstimationResult' with the minimum fields required to make a request.+newGooglePrivacyDlpV2KMapEstimationResult ::+ GooglePrivacyDlpV2KMapEstimationResult+newGooglePrivacyDlpV2KMapEstimationResult =+ GooglePrivacyDlpV2KMapEstimationResult+ { kMapEstimationHistogram =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2KMapEstimationResult where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2KMapEstimationResult"+ ( \o ->+ GooglePrivacyDlpV2KMapEstimationResult+ Core.<$> (o Core..:? "kMapEstimationHistogram")+ )++instance Core.ToJSON GooglePrivacyDlpV2KMapEstimationResult where+ toJSON GooglePrivacyDlpV2KMapEstimationResult {..} =+ Core.object+ ( Core.catMaybes+ [ ("kMapEstimationHistogram" Core..=)+ Core.<$> kMapEstimationHistogram+ ]+ )++-- | A unique identifier for a Datastore entity. If a key\'s partition ID or any of its path kinds or names are reserved\/read-only, the key is reserved\/read-only. A reserved\/read-only key is forbidden in certain documented contexts.+--+-- /See:/ 'newGooglePrivacyDlpV2Key' smart constructor.+data GooglePrivacyDlpV2Key = GooglePrivacyDlpV2Key+ { -- | Entities are partitioned into subsets, currently identified by a project ID and namespace ID. Queries are scoped to a single partition.+ partitionId :: (Core.Maybe GooglePrivacyDlpV2PartitionId),+ -- | The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a /root entity/, the second element identifies a /child/ of the root entity, the third element identifies a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element\'s /ancestors/. A path can never be empty, and a path can have at most 100 elements.+ path :: (Core.Maybe [GooglePrivacyDlpV2PathElement])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Key' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Key ::+ GooglePrivacyDlpV2Key+newGooglePrivacyDlpV2Key =+ GooglePrivacyDlpV2Key+ { partitionId = Core.Nothing,+ path = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Key where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Key"+ ( \o ->+ GooglePrivacyDlpV2Key+ Core.<$> (o Core..:? "partitionId")+ Core.<*> (o Core..:? "path")+ )++instance Core.ToJSON GooglePrivacyDlpV2Key where+ toJSON GooglePrivacyDlpV2Key {..} =+ Core.object+ ( Core.catMaybes+ [ ("partitionId" Core..=) Core.<$> partitionId,+ ("path" Core..=) Core.<$> path+ ]+ )++-- | A representation of a Datastore kind.+--+-- /See:/ 'newGooglePrivacyDlpV2KindExpression' smart constructor.+newtype GooglePrivacyDlpV2KindExpression = GooglePrivacyDlpV2KindExpression+ { -- | The name of the kind.+ name :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2KindExpression' with the minimum fields required to make a request.+newGooglePrivacyDlpV2KindExpression ::+ GooglePrivacyDlpV2KindExpression+newGooglePrivacyDlpV2KindExpression =+ GooglePrivacyDlpV2KindExpression {name = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2KindExpression where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2KindExpression"+ ( \o ->+ GooglePrivacyDlpV2KindExpression Core.<$> (o Core..:? "name")+ )++instance Core.ToJSON GooglePrivacyDlpV2KindExpression where+ toJSON GooglePrivacyDlpV2KindExpression {..} =+ Core.object (Core.catMaybes [("name" Core..=) Core.<$> name])++-- | Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. Authorization requires the following IAM permissions when sending a request to perform a crypto transformation using a KMS-wrapped crypto key: dlp.kms.encrypt For more information, see [Creating a wrapped key] (https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/create-wrapped-key). Note: When you use Cloud KMS for cryptographic operations, <https://cloud.google.com/kms/pricing charges apply>.+--+-- /See:/ 'newGooglePrivacyDlpV2KmsWrappedCryptoKey' smart constructor.+data GooglePrivacyDlpV2KmsWrappedCryptoKey = GooglePrivacyDlpV2KmsWrappedCryptoKey+ { -- | Required. The resource name of the KMS CryptoKey to use for unwrapping.+ cryptoKeyName :: (Core.Maybe Core.Text),+ -- | Required. The wrapped data crypto key.+ wrappedKey :: (Core.Maybe Core.Base64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2KmsWrappedCryptoKey' with the minimum fields required to make a request.+newGooglePrivacyDlpV2KmsWrappedCryptoKey ::+ GooglePrivacyDlpV2KmsWrappedCryptoKey+newGooglePrivacyDlpV2KmsWrappedCryptoKey =+ GooglePrivacyDlpV2KmsWrappedCryptoKey+ { cryptoKeyName =+ Core.Nothing,+ wrappedKey = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2KmsWrappedCryptoKey where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2KmsWrappedCryptoKey"+ ( \o ->+ GooglePrivacyDlpV2KmsWrappedCryptoKey+ Core.<$> (o Core..:? "cryptoKeyName")+ Core.<*> (o Core..:? "wrappedKey")+ )++instance Core.ToJSON GooglePrivacyDlpV2KmsWrappedCryptoKey where+ toJSON GooglePrivacyDlpV2KmsWrappedCryptoKey {..} =+ Core.object+ ( Core.catMaybes+ [ ("cryptoKeyName" Core..=) Core.<$> cryptoKeyName,+ ("wrappedKey" Core..=) Core.<$> wrappedKey+ ]+ )++-- | l-diversity metric, used for analysis of reidentification risk.+--+-- /See:/ 'newGooglePrivacyDlpV2LDiversityConfig' smart constructor.+data GooglePrivacyDlpV2LDiversityConfig = GooglePrivacyDlpV2LDiversityConfig+ { -- | Set of quasi-identifiers indicating how equivalence classes are defined for the l-diversity computation. When multiple fields are specified, they are considered a single composite key.+ quasiIds :: (Core.Maybe [GooglePrivacyDlpV2FieldId]),+ -- | Sensitive field for computing the l-value.+ sensitiveAttribute :: (Core.Maybe GooglePrivacyDlpV2FieldId)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2LDiversityConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2LDiversityConfig ::+ GooglePrivacyDlpV2LDiversityConfig+newGooglePrivacyDlpV2LDiversityConfig =+ GooglePrivacyDlpV2LDiversityConfig+ { quasiIds = Core.Nothing,+ sensitiveAttribute = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2LDiversityConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2LDiversityConfig"+ ( \o ->+ GooglePrivacyDlpV2LDiversityConfig+ Core.<$> (o Core..:? "quasiIds")+ Core.<*> (o Core..:? "sensitiveAttribute")+ )++instance Core.ToJSON GooglePrivacyDlpV2LDiversityConfig where+ toJSON GooglePrivacyDlpV2LDiversityConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("quasiIds" Core..=) Core.<$> quasiIds,+ ("sensitiveAttribute" Core..=) Core.<$> sensitiveAttribute+ ]+ )++-- | The set of columns\' values that share the same ldiversity value.+--+-- /See:/ 'newGooglePrivacyDlpV2LDiversityEquivalenceClass' smart constructor.+data GooglePrivacyDlpV2LDiversityEquivalenceClass = GooglePrivacyDlpV2LDiversityEquivalenceClass+ { -- | Size of the k-anonymity equivalence class.+ equivalenceClassSize :: (Core.Maybe Core.Int64),+ -- | Number of distinct sensitive values in this equivalence class.+ numDistinctSensitiveValues :: (Core.Maybe Core.Int64),+ -- | Quasi-identifier values defining the k-anonymity equivalence class. The order is always the same as the original request.+ quasiIdsValues :: (Core.Maybe [GooglePrivacyDlpV2Value]),+ -- | Estimated frequencies of top sensitive values.+ topSensitiveValues :: (Core.Maybe [GooglePrivacyDlpV2ValueFrequency])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2LDiversityEquivalenceClass' with the minimum fields required to make a request.+newGooglePrivacyDlpV2LDiversityEquivalenceClass ::+ GooglePrivacyDlpV2LDiversityEquivalenceClass+newGooglePrivacyDlpV2LDiversityEquivalenceClass =+ GooglePrivacyDlpV2LDiversityEquivalenceClass+ { equivalenceClassSize =+ Core.Nothing,+ numDistinctSensitiveValues = Core.Nothing,+ quasiIdsValues = Core.Nothing,+ topSensitiveValues = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2LDiversityEquivalenceClass where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2LDiversityEquivalenceClass"+ ( \o ->+ GooglePrivacyDlpV2LDiversityEquivalenceClass+ Core.<$> ( o+ Core..:? "equivalenceClassSize"+ Core.<&> Core.fmap Core.fromAsText+ )+ Core.<*> ( o+ Core..:? "numDistinctSensitiveValues"+ Core.<&> Core.fmap Core.fromAsText+ )+ Core.<*> (o Core..:? "quasiIdsValues")+ Core.<*> (o Core..:? "topSensitiveValues")+ )++instance Core.ToJSON GooglePrivacyDlpV2LDiversityEquivalenceClass where+ toJSON GooglePrivacyDlpV2LDiversityEquivalenceClass {..} =+ Core.object+ ( Core.catMaybes+ [ ("equivalenceClassSize" Core..=)+ Core.. Core.AsText+ Core.<$> equivalenceClassSize,+ ("numDistinctSensitiveValues" Core..=)+ Core.. Core.AsText+ Core.<$> numDistinctSensitiveValues,+ ("quasiIdsValues" Core..=) Core.<$> quasiIdsValues,+ ("topSensitiveValues" Core..=) Core.<$> topSensitiveValues+ ]+ )++-- | Histogram of l-diversity equivalence class sensitive value frequencies.+--+-- /See:/ 'newGooglePrivacyDlpV2LDiversityHistogramBucket' smart constructor.+data GooglePrivacyDlpV2LDiversityHistogramBucket = GooglePrivacyDlpV2LDiversityHistogramBucket+ { -- | Total number of equivalence classes in this bucket.+ bucketSize :: (Core.Maybe Core.Int64),+ -- | Total number of distinct equivalence classes in this bucket.+ bucketValueCount :: (Core.Maybe Core.Int64),+ -- | Sample of equivalence classes in this bucket. The total number of classes returned per bucket is capped at 20.+ bucketValues :: (Core.Maybe [GooglePrivacyDlpV2LDiversityEquivalenceClass]),+ -- | Lower bound on the sensitive value frequencies of the equivalence classes in this bucket.+ sensitiveValueFrequencyLowerBound :: (Core.Maybe Core.Int64),+ -- | Upper bound on the sensitive value frequencies of the equivalence classes in this bucket.+ sensitiveValueFrequencyUpperBound :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2LDiversityHistogramBucket' with the minimum fields required to make a request.+newGooglePrivacyDlpV2LDiversityHistogramBucket ::+ GooglePrivacyDlpV2LDiversityHistogramBucket+newGooglePrivacyDlpV2LDiversityHistogramBucket =+ GooglePrivacyDlpV2LDiversityHistogramBucket+ { bucketSize =+ Core.Nothing,+ bucketValueCount = Core.Nothing,+ bucketValues = Core.Nothing,+ sensitiveValueFrequencyLowerBound = Core.Nothing,+ sensitiveValueFrequencyUpperBound = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2LDiversityHistogramBucket where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2LDiversityHistogramBucket"+ ( \o ->+ GooglePrivacyDlpV2LDiversityHistogramBucket+ Core.<$> (o Core..:? "bucketSize" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "bucketValueCount" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "bucketValues")+ Core.<*> ( o+ Core..:? "sensitiveValueFrequencyLowerBound"+ Core.<&> Core.fmap Core.fromAsText+ )+ Core.<*> ( o+ Core..:? "sensitiveValueFrequencyUpperBound"+ Core.<&> Core.fmap Core.fromAsText+ )+ )++instance Core.ToJSON GooglePrivacyDlpV2LDiversityHistogramBucket where+ toJSON GooglePrivacyDlpV2LDiversityHistogramBucket {..} =+ Core.object+ ( Core.catMaybes+ [ ("bucketSize" Core..=) Core.. Core.AsText Core.<$> bucketSize,+ ("bucketValueCount" Core..=)+ Core.. Core.AsText+ Core.<$> bucketValueCount,+ ("bucketValues" Core..=) Core.<$> bucketValues,+ ("sensitiveValueFrequencyLowerBound" Core..=)+ Core.. Core.AsText+ Core.<$> sensitiveValueFrequencyLowerBound,+ ("sensitiveValueFrequencyUpperBound" Core..=)+ Core.. Core.AsText+ Core.<$> sensitiveValueFrequencyUpperBound+ ]+ )++-- | Result of the l-diversity computation.+--+-- /See:/ 'newGooglePrivacyDlpV2LDiversityResult' smart constructor.+newtype GooglePrivacyDlpV2LDiversityResult = GooglePrivacyDlpV2LDiversityResult+ { -- | Histogram of l-diversity equivalence class sensitive value frequencies.+ sensitiveValueFrequencyHistogramBuckets :: (Core.Maybe [GooglePrivacyDlpV2LDiversityHistogramBucket])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2LDiversityResult' with the minimum fields required to make a request.+newGooglePrivacyDlpV2LDiversityResult ::+ GooglePrivacyDlpV2LDiversityResult+newGooglePrivacyDlpV2LDiversityResult =+ GooglePrivacyDlpV2LDiversityResult+ { sensitiveValueFrequencyHistogramBuckets =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2LDiversityResult where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2LDiversityResult"+ ( \o ->+ GooglePrivacyDlpV2LDiversityResult+ Core.<$> (o Core..:? "sensitiveValueFrequencyHistogramBuckets")+ )++instance Core.ToJSON GooglePrivacyDlpV2LDiversityResult where+ toJSON GooglePrivacyDlpV2LDiversityResult {..} =+ Core.object+ ( Core.catMaybes+ [ ("sensitiveValueFrequencyHistogramBuckets" Core..=)+ Core.<$> sensitiveValueFrequencyHistogramBuckets+ ]+ )++-- | Configuration for a custom dictionary created from a data source of any size up to the maximum size defined in the <https://cloud.google.com/sensitive-data-protection/limits limits> page. The artifacts of dictionary creation are stored in the specified Cloud Storage location. Consider using @CustomInfoType.Dictionary@ for smaller dictionaries that satisfy the size requirements.+--+-- /See:/ 'newGooglePrivacyDlpV2LargeCustomDictionaryConfig' smart constructor.+data GooglePrivacyDlpV2LargeCustomDictionaryConfig = GooglePrivacyDlpV2LargeCustomDictionaryConfig+ { -- | Field in a BigQuery table where each cell represents a dictionary phrase.+ bigQueryField :: (Core.Maybe GooglePrivacyDlpV2BigQueryField),+ -- | Set of files containing newline-delimited lists of dictionary phrases.+ cloudStorageFileSet :: (Core.Maybe GooglePrivacyDlpV2CloudStorageFileSet),+ -- | Location to store dictionary artifacts in Cloud Storage. These files will only be accessible by project owners and the DLP API. If any of these artifacts are modified, the dictionary is considered invalid and can no longer be used.+ outputPath :: (Core.Maybe GooglePrivacyDlpV2CloudStoragePath)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2LargeCustomDictionaryConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2LargeCustomDictionaryConfig ::+ GooglePrivacyDlpV2LargeCustomDictionaryConfig+newGooglePrivacyDlpV2LargeCustomDictionaryConfig =+ GooglePrivacyDlpV2LargeCustomDictionaryConfig+ { bigQueryField =+ Core.Nothing,+ cloudStorageFileSet = Core.Nothing,+ outputPath = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2LargeCustomDictionaryConfig+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2LargeCustomDictionaryConfig"+ ( \o ->+ GooglePrivacyDlpV2LargeCustomDictionaryConfig+ Core.<$> (o Core..:? "bigQueryField")+ Core.<*> (o Core..:? "cloudStorageFileSet")+ Core.<*> (o Core..:? "outputPath")+ )++instance Core.ToJSON GooglePrivacyDlpV2LargeCustomDictionaryConfig where+ toJSON GooglePrivacyDlpV2LargeCustomDictionaryConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("bigQueryField" Core..=) Core.<$> bigQueryField,+ ("cloudStorageFileSet" Core..=) Core.<$> cloudStorageFileSet,+ ("outputPath" Core..=) Core.<$> outputPath+ ]+ )++-- | Summary statistics of a custom dictionary.+--+-- /See:/ 'newGooglePrivacyDlpV2LargeCustomDictionaryStats' smart constructor.+newtype GooglePrivacyDlpV2LargeCustomDictionaryStats = GooglePrivacyDlpV2LargeCustomDictionaryStats+ { -- | Approximate number of distinct phrases in the dictionary.+ approxNumPhrases :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2LargeCustomDictionaryStats' with the minimum fields required to make a request.+newGooglePrivacyDlpV2LargeCustomDictionaryStats ::+ GooglePrivacyDlpV2LargeCustomDictionaryStats+newGooglePrivacyDlpV2LargeCustomDictionaryStats =+ GooglePrivacyDlpV2LargeCustomDictionaryStats+ { approxNumPhrases =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2LargeCustomDictionaryStats where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2LargeCustomDictionaryStats"+ ( \o ->+ GooglePrivacyDlpV2LargeCustomDictionaryStats+ Core.<$> (o Core..:? "approxNumPhrases" Core.<&> Core.fmap Core.fromAsText)+ )++instance Core.ToJSON GooglePrivacyDlpV2LargeCustomDictionaryStats where+ toJSON GooglePrivacyDlpV2LargeCustomDictionaryStats {..} =+ Core.object+ ( Core.catMaybes+ [ ("approxNumPhrases" Core..=)+ Core.. Core.AsText+ Core.<$> approxNumPhrases+ ]+ )++-- | Skips the data without modifying it if the requested transformation would cause an error. For example, if a @DateShift@ transformation were applied an an IP address, this mode would leave the IP address unchanged in the response.+--+-- /See:/ 'newGooglePrivacyDlpV2LeaveUntransformed' smart constructor.+data GooglePrivacyDlpV2LeaveUntransformed = GooglePrivacyDlpV2LeaveUntransformed+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2LeaveUntransformed' with the minimum fields required to make a request.+newGooglePrivacyDlpV2LeaveUntransformed ::+ GooglePrivacyDlpV2LeaveUntransformed+newGooglePrivacyDlpV2LeaveUntransformed =+ GooglePrivacyDlpV2LeaveUntransformed++instance Core.FromJSON GooglePrivacyDlpV2LeaveUntransformed where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2LeaveUntransformed"+ (\o -> Core.pure GooglePrivacyDlpV2LeaveUntransformed)++instance Core.ToJSON GooglePrivacyDlpV2LeaveUntransformed where+ toJSON = Core.const Core.emptyObject++-- | Message for specifying an adjustment to the likelihood of a finding as part of a detection rule.+--+-- /See:/ 'newGooglePrivacyDlpV2LikelihoodAdjustment' smart constructor.+data GooglePrivacyDlpV2LikelihoodAdjustment = GooglePrivacyDlpV2LikelihoodAdjustment+ { -- | Set the likelihood of a finding to a fixed value.+ fixedLikelihood :: (Core.Maybe GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood),+ -- | Increase or decrease the likelihood by the specified number of levels. For example, if a finding would be @POSSIBLE@ without the detection rule and @relative_likelihood@ is 1, then it is upgraded to @LIKELY@, while a value of -1 would downgrade it to @UNLIKELY@. Likelihood may never drop below @VERY_UNLIKELY@ or exceed @VERY_LIKELY@, so applying an adjustment of 1 followed by an adjustment of -1 when base likelihood is @VERY_LIKELY@ will result in a final likelihood of @LIKELY@.+ relativeLikelihood :: (Core.Maybe Core.Int32)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2LikelihoodAdjustment' with the minimum fields required to make a request.+newGooglePrivacyDlpV2LikelihoodAdjustment ::+ GooglePrivacyDlpV2LikelihoodAdjustment+newGooglePrivacyDlpV2LikelihoodAdjustment =+ GooglePrivacyDlpV2LikelihoodAdjustment+ { fixedLikelihood =+ Core.Nothing,+ relativeLikelihood = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2LikelihoodAdjustment where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2LikelihoodAdjustment"+ ( \o ->+ GooglePrivacyDlpV2LikelihoodAdjustment+ Core.<$> (o Core..:? "fixedLikelihood")+ Core.<*> (o Core..:? "relativeLikelihood")+ )++instance Core.ToJSON GooglePrivacyDlpV2LikelihoodAdjustment where+ toJSON GooglePrivacyDlpV2LikelihoodAdjustment {..} =+ Core.object+ ( Core.catMaybes+ [ ("fixedLikelihood" Core..=) Core.<$> fixedLikelihood,+ ("relativeLikelihood" Core..=) Core.<$> relativeLikelihood+ ]+ )++-- | List of profiles generated for a given organization or project.+--+-- /See:/ 'newGooglePrivacyDlpV2ListColumnDataProfilesResponse' smart constructor.+data GooglePrivacyDlpV2ListColumnDataProfilesResponse = GooglePrivacyDlpV2ListColumnDataProfilesResponse+ { -- | List of data profiles.+ columnDataProfiles :: (Core.Maybe [GooglePrivacyDlpV2ColumnDataProfile]),+ -- | The next page token.+ nextPageToken :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ListColumnDataProfilesResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ListColumnDataProfilesResponse ::+ GooglePrivacyDlpV2ListColumnDataProfilesResponse+newGooglePrivacyDlpV2ListColumnDataProfilesResponse =+ GooglePrivacyDlpV2ListColumnDataProfilesResponse+ { columnDataProfiles =+ Core.Nothing,+ nextPageToken = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2ListColumnDataProfilesResponse+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ListColumnDataProfilesResponse"+ ( \o ->+ GooglePrivacyDlpV2ListColumnDataProfilesResponse+ Core.<$> (o Core..:? "columnDataProfiles")+ Core.<*> (o Core..:? "nextPageToken")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2ListColumnDataProfilesResponse+ where+ toJSON GooglePrivacyDlpV2ListColumnDataProfilesResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("columnDataProfiles" Core..=) Core.<$> columnDataProfiles,+ ("nextPageToken" Core..=) Core.<$> nextPageToken+ ]+ )++-- | Response message for ListConnections.+--+-- /See:/ 'newGooglePrivacyDlpV2ListConnectionsResponse' smart constructor.+data GooglePrivacyDlpV2ListConnectionsResponse = GooglePrivacyDlpV2ListConnectionsResponse+ { -- | List of connections.+ connections :: (Core.Maybe [GooglePrivacyDlpV2Connection]),+ -- | Token to retrieve the next page of results. An empty value means there are no more results.+ nextPageToken :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ListConnectionsResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ListConnectionsResponse ::+ GooglePrivacyDlpV2ListConnectionsResponse+newGooglePrivacyDlpV2ListConnectionsResponse =+ GooglePrivacyDlpV2ListConnectionsResponse+ { connections =+ Core.Nothing,+ nextPageToken = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ListConnectionsResponse where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ListConnectionsResponse"+ ( \o ->+ GooglePrivacyDlpV2ListConnectionsResponse+ Core.<$> (o Core..:? "connections")+ Core.<*> (o Core..:? "nextPageToken")+ )++instance Core.ToJSON GooglePrivacyDlpV2ListConnectionsResponse where+ toJSON GooglePrivacyDlpV2ListConnectionsResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("connections" Core..=) Core.<$> connections,+ ("nextPageToken" Core..=) Core.<$> nextPageToken+ ]+ )++-- | Response message for ListDeidentifyTemplates.+--+-- /See:/ 'newGooglePrivacyDlpV2ListDeidentifyTemplatesResponse' smart constructor.+data GooglePrivacyDlpV2ListDeidentifyTemplatesResponse = GooglePrivacyDlpV2ListDeidentifyTemplatesResponse+ { -- | List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.+ deidentifyTemplates :: (Core.Maybe [GooglePrivacyDlpV2DeidentifyTemplate]),+ -- | If the next page is available then the next page token to be used in the following ListDeidentifyTemplates request.+ nextPageToken :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ListDeidentifyTemplatesResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ListDeidentifyTemplatesResponse ::+ GooglePrivacyDlpV2ListDeidentifyTemplatesResponse+newGooglePrivacyDlpV2ListDeidentifyTemplatesResponse =+ GooglePrivacyDlpV2ListDeidentifyTemplatesResponse+ { deidentifyTemplates =+ Core.Nothing,+ nextPageToken = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2ListDeidentifyTemplatesResponse+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ListDeidentifyTemplatesResponse"+ ( \o ->+ GooglePrivacyDlpV2ListDeidentifyTemplatesResponse+ Core.<$> (o Core..:? "deidentifyTemplates")+ Core.<*> (o Core..:? "nextPageToken")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2ListDeidentifyTemplatesResponse+ where+ toJSON GooglePrivacyDlpV2ListDeidentifyTemplatesResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("deidentifyTemplates" Core..=) Core.<$> deidentifyTemplates,+ ("nextPageToken" Core..=) Core.<$> nextPageToken+ ]+ )++-- | Response message for ListDiscoveryConfigs.+--+-- /See:/ 'newGooglePrivacyDlpV2ListDiscoveryConfigsResponse' smart constructor.+data GooglePrivacyDlpV2ListDiscoveryConfigsResponse = GooglePrivacyDlpV2ListDiscoveryConfigsResponse+ { -- | List of configs, up to page_size in ListDiscoveryConfigsRequest.+ discoveryConfigs :: (Core.Maybe [GooglePrivacyDlpV2DiscoveryConfig]),+ -- | If the next page is available then this value is the next page token to be used in the following ListDiscoveryConfigs request.+ nextPageToken :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ListDiscoveryConfigsResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ListDiscoveryConfigsResponse ::+ GooglePrivacyDlpV2ListDiscoveryConfigsResponse+newGooglePrivacyDlpV2ListDiscoveryConfigsResponse =+ GooglePrivacyDlpV2ListDiscoveryConfigsResponse+ { discoveryConfigs =+ Core.Nothing,+ nextPageToken = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2ListDiscoveryConfigsResponse+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ListDiscoveryConfigsResponse"+ ( \o ->+ GooglePrivacyDlpV2ListDiscoveryConfigsResponse+ Core.<$> (o Core..:? "discoveryConfigs")+ Core.<*> (o Core..:? "nextPageToken")+ )++instance Core.ToJSON GooglePrivacyDlpV2ListDiscoveryConfigsResponse where+ toJSON GooglePrivacyDlpV2ListDiscoveryConfigsResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("discoveryConfigs" Core..=) Core.<$> discoveryConfigs,+ ("nextPageToken" Core..=) Core.<$> nextPageToken+ ]+ )++-- | The response message for listing DLP jobs.+--+-- /See:/ 'newGooglePrivacyDlpV2ListDlpJobsResponse' smart constructor.+data GooglePrivacyDlpV2ListDlpJobsResponse = GooglePrivacyDlpV2ListDlpJobsResponse+ { -- | A list of DlpJobs that matches the specified filter in the request.+ jobs :: (Core.Maybe [GooglePrivacyDlpV2DlpJob]),+ -- | The standard List next-page token.+ nextPageToken :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ListDlpJobsResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ListDlpJobsResponse ::+ GooglePrivacyDlpV2ListDlpJobsResponse+newGooglePrivacyDlpV2ListDlpJobsResponse =+ GooglePrivacyDlpV2ListDlpJobsResponse+ { jobs = Core.Nothing,+ nextPageToken = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ListDlpJobsResponse where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ListDlpJobsResponse"+ ( \o ->+ GooglePrivacyDlpV2ListDlpJobsResponse+ Core.<$> (o Core..:? "jobs")+ Core.<*> (o Core..:? "nextPageToken")+ )++instance Core.ToJSON GooglePrivacyDlpV2ListDlpJobsResponse where+ toJSON GooglePrivacyDlpV2ListDlpJobsResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("jobs" Core..=) Core.<$> jobs,+ ("nextPageToken" Core..=) Core.<$> nextPageToken+ ]+ )++-- | List of file store data profiles generated for a given organization or project.+--+-- /See:/ 'newGooglePrivacyDlpV2ListFileStoreDataProfilesResponse' smart constructor.+data GooglePrivacyDlpV2ListFileStoreDataProfilesResponse = GooglePrivacyDlpV2ListFileStoreDataProfilesResponse+ { -- | List of data profiles.+ fileStoreDataProfiles :: (Core.Maybe [GooglePrivacyDlpV2FileStoreDataProfile]),+ -- | The next page token.+ nextPageToken :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ListFileStoreDataProfilesResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ListFileStoreDataProfilesResponse ::+ GooglePrivacyDlpV2ListFileStoreDataProfilesResponse+newGooglePrivacyDlpV2ListFileStoreDataProfilesResponse =+ GooglePrivacyDlpV2ListFileStoreDataProfilesResponse+ { fileStoreDataProfiles =+ Core.Nothing,+ nextPageToken = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2ListFileStoreDataProfilesResponse+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ListFileStoreDataProfilesResponse"+ ( \o ->+ GooglePrivacyDlpV2ListFileStoreDataProfilesResponse+ Core.<$> (o Core..:? "fileStoreDataProfiles")+ Core.<*> (o Core..:? "nextPageToken")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2ListFileStoreDataProfilesResponse+ where+ toJSON GooglePrivacyDlpV2ListFileStoreDataProfilesResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("fileStoreDataProfiles" Core..=) Core.<$> fileStoreDataProfiles,+ ("nextPageToken" Core..=) Core.<$> nextPageToken+ ]+ )++-- | Response to the ListInfoTypes request.+--+-- /See:/ 'newGooglePrivacyDlpV2ListInfoTypesResponse' smart constructor.+newtype GooglePrivacyDlpV2ListInfoTypesResponse = GooglePrivacyDlpV2ListInfoTypesResponse+ { -- | Set of sensitive infoTypes.+ infoTypes :: (Core.Maybe [GooglePrivacyDlpV2InfoTypeDescription])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ListInfoTypesResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ListInfoTypesResponse ::+ GooglePrivacyDlpV2ListInfoTypesResponse+newGooglePrivacyDlpV2ListInfoTypesResponse =+ GooglePrivacyDlpV2ListInfoTypesResponse {infoTypes = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2ListInfoTypesResponse where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ListInfoTypesResponse"+ ( \o ->+ GooglePrivacyDlpV2ListInfoTypesResponse+ Core.<$> (o Core..:? "infoTypes")+ )++instance Core.ToJSON GooglePrivacyDlpV2ListInfoTypesResponse where+ toJSON GooglePrivacyDlpV2ListInfoTypesResponse {..} =+ Core.object+ (Core.catMaybes [("infoTypes" Core..=) Core.<$> infoTypes])++-- | Response message for ListInspectTemplates.+--+-- /See:/ 'newGooglePrivacyDlpV2ListInspectTemplatesResponse' smart constructor.+data GooglePrivacyDlpV2ListInspectTemplatesResponse = GooglePrivacyDlpV2ListInspectTemplatesResponse+ { -- | List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.+ inspectTemplates :: (Core.Maybe [GooglePrivacyDlpV2InspectTemplate]),+ -- | If the next page is available then the next page token to be used in the following ListInspectTemplates request.+ nextPageToken :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ListInspectTemplatesResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ListInspectTemplatesResponse ::+ GooglePrivacyDlpV2ListInspectTemplatesResponse+newGooglePrivacyDlpV2ListInspectTemplatesResponse =+ GooglePrivacyDlpV2ListInspectTemplatesResponse+ { inspectTemplates =+ Core.Nothing,+ nextPageToken = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2ListInspectTemplatesResponse+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ListInspectTemplatesResponse"+ ( \o ->+ GooglePrivacyDlpV2ListInspectTemplatesResponse+ Core.<$> (o Core..:? "inspectTemplates")+ Core.<*> (o Core..:? "nextPageToken")+ )++instance Core.ToJSON GooglePrivacyDlpV2ListInspectTemplatesResponse where+ toJSON GooglePrivacyDlpV2ListInspectTemplatesResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("inspectTemplates" Core..=) Core.<$> inspectTemplates,+ ("nextPageToken" Core..=) Core.<$> nextPageToken+ ]+ )++-- | Response message for ListJobTriggers.+--+-- /See:/ 'newGooglePrivacyDlpV2ListJobTriggersResponse' smart constructor.+data GooglePrivacyDlpV2ListJobTriggersResponse = GooglePrivacyDlpV2ListJobTriggersResponse+ { -- | List of triggeredJobs, up to page_size in ListJobTriggersRequest.+ jobTriggers :: (Core.Maybe [GooglePrivacyDlpV2JobTrigger]),+ -- | If the next page is available then this value is the next page token to be used in the following ListJobTriggers request.+ nextPageToken :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ListJobTriggersResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ListJobTriggersResponse ::+ GooglePrivacyDlpV2ListJobTriggersResponse+newGooglePrivacyDlpV2ListJobTriggersResponse =+ GooglePrivacyDlpV2ListJobTriggersResponse+ { jobTriggers =+ Core.Nothing,+ nextPageToken = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ListJobTriggersResponse where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ListJobTriggersResponse"+ ( \o ->+ GooglePrivacyDlpV2ListJobTriggersResponse+ Core.<$> (o Core..:? "jobTriggers")+ Core.<*> (o Core..:? "nextPageToken")+ )++instance Core.ToJSON GooglePrivacyDlpV2ListJobTriggersResponse where+ toJSON GooglePrivacyDlpV2ListJobTriggersResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("jobTriggers" Core..=) Core.<$> jobTriggers,+ ("nextPageToken" Core..=) Core.<$> nextPageToken+ ]+ )++-- | List of profiles generated for a given organization or project.+--+-- /See:/ 'newGooglePrivacyDlpV2ListProjectDataProfilesResponse' smart constructor.+data GooglePrivacyDlpV2ListProjectDataProfilesResponse = GooglePrivacyDlpV2ListProjectDataProfilesResponse+ { -- | The next page token.+ nextPageToken :: (Core.Maybe Core.Text),+ -- | List of data profiles.+ projectDataProfiles :: (Core.Maybe [GooglePrivacyDlpV2ProjectDataProfile])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ListProjectDataProfilesResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ListProjectDataProfilesResponse ::+ GooglePrivacyDlpV2ListProjectDataProfilesResponse+newGooglePrivacyDlpV2ListProjectDataProfilesResponse =+ GooglePrivacyDlpV2ListProjectDataProfilesResponse+ { nextPageToken =+ Core.Nothing,+ projectDataProfiles = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2ListProjectDataProfilesResponse+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ListProjectDataProfilesResponse"+ ( \o ->+ GooglePrivacyDlpV2ListProjectDataProfilesResponse+ Core.<$> (o Core..:? "nextPageToken")+ Core.<*> (o Core..:? "projectDataProfiles")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2ListProjectDataProfilesResponse+ where+ toJSON GooglePrivacyDlpV2ListProjectDataProfilesResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+ ("projectDataProfiles" Core..=) Core.<$> projectDataProfiles+ ]+ )++-- | Response message for ListStoredInfoTypes.+--+-- /See:/ 'newGooglePrivacyDlpV2ListStoredInfoTypesResponse' smart constructor.+data GooglePrivacyDlpV2ListStoredInfoTypesResponse = GooglePrivacyDlpV2ListStoredInfoTypesResponse+ { -- | If the next page is available then the next page token to be used in the following ListStoredInfoTypes request.+ nextPageToken :: (Core.Maybe Core.Text),+ -- | List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.+ storedInfoTypes :: (Core.Maybe [GooglePrivacyDlpV2StoredInfoType])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ListStoredInfoTypesResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ListStoredInfoTypesResponse ::+ GooglePrivacyDlpV2ListStoredInfoTypesResponse+newGooglePrivacyDlpV2ListStoredInfoTypesResponse =+ GooglePrivacyDlpV2ListStoredInfoTypesResponse+ { nextPageToken =+ Core.Nothing,+ storedInfoTypes = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2ListStoredInfoTypesResponse+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ListStoredInfoTypesResponse"+ ( \o ->+ GooglePrivacyDlpV2ListStoredInfoTypesResponse+ Core.<$> (o Core..:? "nextPageToken")+ Core.<*> (o Core..:? "storedInfoTypes")+ )++instance Core.ToJSON GooglePrivacyDlpV2ListStoredInfoTypesResponse where+ toJSON GooglePrivacyDlpV2ListStoredInfoTypesResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+ ("storedInfoTypes" Core..=) Core.<$> storedInfoTypes+ ]+ )++-- | List of profiles generated for a given organization or project.+--+-- /See:/ 'newGooglePrivacyDlpV2ListTableDataProfilesResponse' smart constructor.+data GooglePrivacyDlpV2ListTableDataProfilesResponse = GooglePrivacyDlpV2ListTableDataProfilesResponse+ { -- | The next page token.+ nextPageToken :: (Core.Maybe Core.Text),+ -- | List of data profiles.+ tableDataProfiles :: (Core.Maybe [GooglePrivacyDlpV2TableDataProfile])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ListTableDataProfilesResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ListTableDataProfilesResponse ::+ GooglePrivacyDlpV2ListTableDataProfilesResponse+newGooglePrivacyDlpV2ListTableDataProfilesResponse =+ GooglePrivacyDlpV2ListTableDataProfilesResponse+ { nextPageToken =+ Core.Nothing,+ tableDataProfiles = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2ListTableDataProfilesResponse+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ListTableDataProfilesResponse"+ ( \o ->+ GooglePrivacyDlpV2ListTableDataProfilesResponse+ Core.<$> (o Core..:? "nextPageToken")+ Core.<*> (o Core..:? "tableDataProfiles")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2ListTableDataProfilesResponse+ where+ toJSON GooglePrivacyDlpV2ListTableDataProfilesResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("nextPageToken" Core..=) Core.<$> nextPageToken,+ ("tableDataProfiles" Core..=) Core.<$> tableDataProfiles+ ]+ )++-- | Specifies the location of the finding.+--+-- /See:/ 'newGooglePrivacyDlpV2Location' smart constructor.+data GooglePrivacyDlpV2Location = GooglePrivacyDlpV2Location+ { -- | Zero-based byte offsets delimiting the finding. These are relative to the finding\'s containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. Omitted if content is an image.+ byteRange :: (Core.Maybe GooglePrivacyDlpV2Range),+ -- | Unicode character offsets delimiting the finding. These are relative to the finding\'s containing element. Provided when the content is text.+ codepointRange :: (Core.Maybe GooglePrivacyDlpV2Range),+ -- | Information about the container where this finding occurred, if available.+ container :: (Core.Maybe GooglePrivacyDlpV2Container),+ -- | List of nested objects pointing to the precise location of the finding within the file or record.+ contentLocations :: (Core.Maybe [GooglePrivacyDlpV2ContentLocation])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Location' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Location ::+ GooglePrivacyDlpV2Location+newGooglePrivacyDlpV2Location =+ GooglePrivacyDlpV2Location+ { byteRange = Core.Nothing,+ codepointRange = Core.Nothing,+ container = Core.Nothing,+ contentLocations = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Location where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Location"+ ( \o ->+ GooglePrivacyDlpV2Location+ Core.<$> (o Core..:? "byteRange")+ Core.<*> (o Core..:? "codepointRange")+ Core.<*> (o Core..:? "container")+ Core.<*> (o Core..:? "contentLocations")+ )++instance Core.ToJSON GooglePrivacyDlpV2Location where+ toJSON GooglePrivacyDlpV2Location {..} =+ Core.object+ ( Core.catMaybes+ [ ("byteRange" Core..=) Core.<$> byteRange,+ ("codepointRange" Core..=) Core.<$> codepointRange,+ ("container" Core..=) Core.<$> container,+ ("contentLocations" Core..=) Core.<$> contentLocations+ ]+ )++-- | Job trigger option for hybrid jobs. Jobs must be manually created and finished.+--+-- /See:/ 'newGooglePrivacyDlpV2Manual' smart constructor.+data GooglePrivacyDlpV2Manual = GooglePrivacyDlpV2Manual+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Manual' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Manual ::+ GooglePrivacyDlpV2Manual+newGooglePrivacyDlpV2Manual = GooglePrivacyDlpV2Manual++instance Core.FromJSON GooglePrivacyDlpV2Manual where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Manual"+ (\o -> Core.pure GooglePrivacyDlpV2Manual)++instance Core.ToJSON GooglePrivacyDlpV2Manual where+ toJSON = Core.const Core.emptyObject++-- | Metadata Location+--+-- /See:/ 'newGooglePrivacyDlpV2MetadataLocation' smart constructor.+data GooglePrivacyDlpV2MetadataLocation = GooglePrivacyDlpV2MetadataLocation+ { -- | Storage metadata.+ storageLabel :: (Core.Maybe GooglePrivacyDlpV2StorageMetadataLabel),+ -- | Type of metadata containing the finding.+ type' :: (Core.Maybe GooglePrivacyDlpV2MetadataLocation_Type)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2MetadataLocation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2MetadataLocation ::+ GooglePrivacyDlpV2MetadataLocation+newGooglePrivacyDlpV2MetadataLocation =+ GooglePrivacyDlpV2MetadataLocation+ { storageLabel = Core.Nothing,+ type' = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2MetadataLocation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2MetadataLocation"+ ( \o ->+ GooglePrivacyDlpV2MetadataLocation+ Core.<$> (o Core..:? "storageLabel")+ Core.<*> (o Core..:? "type")+ )++instance Core.ToJSON GooglePrivacyDlpV2MetadataLocation where+ toJSON GooglePrivacyDlpV2MetadataLocation {..} =+ Core.object+ ( Core.catMaybes+ [ ("storageLabel" Core..=) Core.<$> storageLabel,+ ("type" Core..=) Core.<$> type'+ ]+ )++-- | Processing will happen in a multi-region that contains the current region if available.+--+-- /See:/ 'newGooglePrivacyDlpV2MultiRegionProcessing' smart constructor.+data GooglePrivacyDlpV2MultiRegionProcessing = GooglePrivacyDlpV2MultiRegionProcessing+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2MultiRegionProcessing' with the minimum fields required to make a request.+newGooglePrivacyDlpV2MultiRegionProcessing ::+ GooglePrivacyDlpV2MultiRegionProcessing+newGooglePrivacyDlpV2MultiRegionProcessing =+ GooglePrivacyDlpV2MultiRegionProcessing++instance Core.FromJSON GooglePrivacyDlpV2MultiRegionProcessing where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2MultiRegionProcessing"+ (\o -> Core.pure GooglePrivacyDlpV2MultiRegionProcessing)++instance Core.ToJSON GooglePrivacyDlpV2MultiRegionProcessing where+ toJSON = Core.const Core.emptyObject++-- | Compute numerical stats over an individual column, including min, max, and quantiles.+--+-- /See:/ 'newGooglePrivacyDlpV2NumericalStatsConfig' smart constructor.+newtype GooglePrivacyDlpV2NumericalStatsConfig = GooglePrivacyDlpV2NumericalStatsConfig+ { -- | Field to compute numerical stats on. Supported types are integer, float, date, datetime, timestamp, time.+ field :: (Core.Maybe GooglePrivacyDlpV2FieldId)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2NumericalStatsConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2NumericalStatsConfig ::+ GooglePrivacyDlpV2NumericalStatsConfig+newGooglePrivacyDlpV2NumericalStatsConfig =+ GooglePrivacyDlpV2NumericalStatsConfig {field = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2NumericalStatsConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2NumericalStatsConfig"+ ( \o ->+ GooglePrivacyDlpV2NumericalStatsConfig+ Core.<$> (o Core..:? "field")+ )++instance Core.ToJSON GooglePrivacyDlpV2NumericalStatsConfig where+ toJSON GooglePrivacyDlpV2NumericalStatsConfig {..} =+ Core.object (Core.catMaybes [("field" Core..=) Core.<$> field])++-- | Result of the numerical stats computation.+--+-- /See:/ 'newGooglePrivacyDlpV2NumericalStatsResult' smart constructor.+data GooglePrivacyDlpV2NumericalStatsResult = GooglePrivacyDlpV2NumericalStatsResult+ { -- | Maximum value appearing in the column.+ maxValue :: (Core.Maybe GooglePrivacyDlpV2Value),+ -- | Minimum value appearing in the column.+ minValue :: (Core.Maybe GooglePrivacyDlpV2Value),+ -- | List of 99 values that partition the set of field values into 100 equal sized buckets.+ quantileValues :: (Core.Maybe [GooglePrivacyDlpV2Value])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2NumericalStatsResult' with the minimum fields required to make a request.+newGooglePrivacyDlpV2NumericalStatsResult ::+ GooglePrivacyDlpV2NumericalStatsResult+newGooglePrivacyDlpV2NumericalStatsResult =+ GooglePrivacyDlpV2NumericalStatsResult+ { maxValue = Core.Nothing,+ minValue = Core.Nothing,+ quantileValues = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2NumericalStatsResult where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2NumericalStatsResult"+ ( \o ->+ GooglePrivacyDlpV2NumericalStatsResult+ Core.<$> (o Core..:? "maxValue")+ Core.<*> (o Core..:? "minValue")+ Core.<*> (o Core..:? "quantileValues")+ )++instance Core.ToJSON GooglePrivacyDlpV2NumericalStatsResult where+ toJSON GooglePrivacyDlpV2NumericalStatsResult {..} =+ Core.object+ ( Core.catMaybes+ [ ("maxValue" Core..=) Core.<$> maxValue,+ ("minValue" Core..=) Core.<$> minValue,+ ("quantileValues" Core..=) Core.<$> quantileValues+ ]+ )++-- | There is an OR relationship between these attributes. They are used to determine if a table should be scanned or not in Discovery.+--+-- /See:/ 'newGooglePrivacyDlpV2OrConditions' smart constructor.+data GooglePrivacyDlpV2OrConditions = GooglePrivacyDlpV2OrConditions+ { -- | Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.+ minAge :: (Core.Maybe Core.Duration),+ -- | Minimum number of rows that should be present before Cloud DLP profiles a table+ minRowCount :: (Core.Maybe Core.Int32)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2OrConditions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2OrConditions ::+ GooglePrivacyDlpV2OrConditions+newGooglePrivacyDlpV2OrConditions =+ GooglePrivacyDlpV2OrConditions+ { minAge = Core.Nothing,+ minRowCount = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2OrConditions where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2OrConditions"+ ( \o ->+ GooglePrivacyDlpV2OrConditions+ Core.<$> (o Core..:? "minAge")+ Core.<*> (o Core..:? "minRowCount")+ )++instance Core.ToJSON GooglePrivacyDlpV2OrConditions where+ toJSON GooglePrivacyDlpV2OrConditions {..} =+ Core.object+ ( Core.catMaybes+ [ ("minAge" Core..=) Core.<$> minAge,+ ("minRowCount" Core..=) Core.<$> minRowCount+ ]+ )++-- | Project and scan location information. Only set when the parent is an org.+--+-- /See:/ 'newGooglePrivacyDlpV2OrgConfig' smart constructor.+data GooglePrivacyDlpV2OrgConfig = GooglePrivacyDlpV2OrgConfig+ { -- | The data to scan: folder, org, or project+ location :: (Core.Maybe GooglePrivacyDlpV2DiscoveryStartingLocation),+ -- | The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the DLP API must be enabled.+ projectId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2OrgConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2OrgConfig ::+ GooglePrivacyDlpV2OrgConfig+newGooglePrivacyDlpV2OrgConfig =+ GooglePrivacyDlpV2OrgConfig+ { location = Core.Nothing,+ projectId = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2OrgConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2OrgConfig"+ ( \o ->+ GooglePrivacyDlpV2OrgConfig+ Core.<$> (o Core..:? "location")+ Core.<*> (o Core..:? "projectId")+ )++instance Core.ToJSON GooglePrivacyDlpV2OrgConfig where+ toJSON GooglePrivacyDlpV2OrgConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("location" Core..=) Core.<$> location,+ ("projectId" Core..=) Core.<$> projectId+ ]+ )++-- | The other cloud starting location for discovery.+--+-- /See:/ 'newGooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation' smart constructor.+newtype GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation = GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation+ { -- | The AWS starting location for discovery.+ awsLocation :: (Core.Maybe GooglePrivacyDlpV2AwsDiscoveryStartingLocation)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation ::+ GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation+newGooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation =+ GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation+ { awsLocation =+ Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation"+ ( \o ->+ GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation+ Core.<$> (o Core..:? "awsLocation")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation+ where+ toJSON GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation {..} =+ Core.object+ (Core.catMaybes [("awsLocation" Core..=) Core.<$> awsLocation])++-- | Target used to match against for discovery of resources from other clouds. An <https://cloud.google.com/security-command-center/docs/connect-scc-to-aws AWS connector in Security Command Center (Enterprise> is required to use this feature.+--+-- /See:/ 'newGooglePrivacyDlpV2OtherCloudDiscoveryTarget' smart constructor.+data GooglePrivacyDlpV2OtherCloudDiscoveryTarget = GooglePrivacyDlpV2OtherCloudDiscoveryTarget+ { -- | Optional. In addition to matching the filter, these conditions must be true before a profile is generated.+ conditions :: (Core.Maybe GooglePrivacyDlpV2DiscoveryOtherCloudConditions),+ -- | Required. The type of data profiles generated by this discovery target. Supported values are: * aws\/s3\/bucket+ dataSourceType :: (Core.Maybe GooglePrivacyDlpV2DataSourceType),+ -- | Disable profiling for resources that match this filter.+ disabled :: (Core.Maybe GooglePrivacyDlpV2Disabled),+ -- | Required. The resources that the discovery cadence applies to. The first target with a matching filter will be the one to apply to a resource.+ filter :: (Core.Maybe GooglePrivacyDlpV2DiscoveryOtherCloudFilter),+ -- | How often and when to update data profiles. New resources that match both the filter and conditions are scanned as quickly as possible depending on system capacity.+ generationCadence :: (Core.Maybe GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2OtherCloudDiscoveryTarget' with the minimum fields required to make a request.+newGooglePrivacyDlpV2OtherCloudDiscoveryTarget ::+ GooglePrivacyDlpV2OtherCloudDiscoveryTarget+newGooglePrivacyDlpV2OtherCloudDiscoveryTarget =+ GooglePrivacyDlpV2OtherCloudDiscoveryTarget+ { conditions =+ Core.Nothing,+ dataSourceType = Core.Nothing,+ disabled = Core.Nothing,+ filter = Core.Nothing,+ generationCadence = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2OtherCloudDiscoveryTarget where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2OtherCloudDiscoveryTarget"+ ( \o ->+ GooglePrivacyDlpV2OtherCloudDiscoveryTarget+ Core.<$> (o Core..:? "conditions")+ Core.<*> (o Core..:? "dataSourceType")+ Core.<*> (o Core..:? "disabled")+ Core.<*> (o Core..:? "filter")+ Core.<*> (o Core..:? "generationCadence")+ )++instance Core.ToJSON GooglePrivacyDlpV2OtherCloudDiscoveryTarget where+ toJSON GooglePrivacyDlpV2OtherCloudDiscoveryTarget {..} =+ Core.object+ ( Core.catMaybes+ [ ("conditions" Core..=) Core.<$> conditions,+ ("dataSourceType" Core..=) Core.<$> dataSourceType,+ ("disabled" Core..=) Core.<$> disabled,+ ("filter" Core..=) Core.<$> filter,+ ("generationCadence" Core..=) Core.<$> generationCadence+ ]+ )++-- | Match resources using regex filters.+--+-- /See:/ 'newGooglePrivacyDlpV2OtherCloudResourceCollection' smart constructor.+newtype GooglePrivacyDlpV2OtherCloudResourceCollection = GooglePrivacyDlpV2OtherCloudResourceCollection+ { -- | A collection of regular expressions to match a resource against.+ includeRegexes :: (Core.Maybe GooglePrivacyDlpV2OtherCloudResourceRegexes)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2OtherCloudResourceCollection' with the minimum fields required to make a request.+newGooglePrivacyDlpV2OtherCloudResourceCollection ::+ GooglePrivacyDlpV2OtherCloudResourceCollection+newGooglePrivacyDlpV2OtherCloudResourceCollection =+ GooglePrivacyDlpV2OtherCloudResourceCollection+ { includeRegexes =+ Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2OtherCloudResourceCollection+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2OtherCloudResourceCollection"+ ( \o ->+ GooglePrivacyDlpV2OtherCloudResourceCollection+ Core.<$> (o Core..:? "includeRegexes")+ )++instance Core.ToJSON GooglePrivacyDlpV2OtherCloudResourceCollection where+ toJSON GooglePrivacyDlpV2OtherCloudResourceCollection {..} =+ Core.object+ ( Core.catMaybes+ [("includeRegexes" Core..=) Core.<$> includeRegexes]+ )++-- | A pattern to match against one or more resources. At least one pattern must be specified. Regular expressions use RE2 <https://github.com/google/re2/wiki/Syntax syntax>; a guide can be found under the google\/re2 repository on GitHub.+--+-- /See:/ 'newGooglePrivacyDlpV2OtherCloudResourceRegex' smart constructor.+newtype GooglePrivacyDlpV2OtherCloudResourceRegex = GooglePrivacyDlpV2OtherCloudResourceRegex+ { -- | Regex for Amazon S3 buckets.+ amazonS3BucketRegex :: (Core.Maybe GooglePrivacyDlpV2AmazonS3BucketRegex)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2OtherCloudResourceRegex' with the minimum fields required to make a request.+newGooglePrivacyDlpV2OtherCloudResourceRegex ::+ GooglePrivacyDlpV2OtherCloudResourceRegex+newGooglePrivacyDlpV2OtherCloudResourceRegex =+ GooglePrivacyDlpV2OtherCloudResourceRegex+ { amazonS3BucketRegex =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2OtherCloudResourceRegex where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2OtherCloudResourceRegex"+ ( \o ->+ GooglePrivacyDlpV2OtherCloudResourceRegex+ Core.<$> (o Core..:? "amazonS3BucketRegex")+ )++instance Core.ToJSON GooglePrivacyDlpV2OtherCloudResourceRegex where+ toJSON GooglePrivacyDlpV2OtherCloudResourceRegex {..} =+ Core.object+ ( Core.catMaybes+ [("amazonS3BucketRegex" Core..=) Core.<$> amazonS3BucketRegex]+ )++-- | A collection of regular expressions to determine what resources to match against.+--+-- /See:/ 'newGooglePrivacyDlpV2OtherCloudResourceRegexes' smart constructor.+newtype GooglePrivacyDlpV2OtherCloudResourceRegexes = GooglePrivacyDlpV2OtherCloudResourceRegexes+ { -- | A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression\'s length can\'t exceed 10 KiB.+ patterns :: (Core.Maybe [GooglePrivacyDlpV2OtherCloudResourceRegex])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2OtherCloudResourceRegexes' with the minimum fields required to make a request.+newGooglePrivacyDlpV2OtherCloudResourceRegexes ::+ GooglePrivacyDlpV2OtherCloudResourceRegexes+newGooglePrivacyDlpV2OtherCloudResourceRegexes =+ GooglePrivacyDlpV2OtherCloudResourceRegexes+ { patterns =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2OtherCloudResourceRegexes where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2OtherCloudResourceRegexes"+ ( \o ->+ GooglePrivacyDlpV2OtherCloudResourceRegexes+ Core.<$> (o Core..:? "patterns")+ )++instance Core.ToJSON GooglePrivacyDlpV2OtherCloudResourceRegexes where+ toJSON GooglePrivacyDlpV2OtherCloudResourceRegexes {..} =+ Core.object+ (Core.catMaybes [("patterns" Core..=) Core.<$> patterns])++-- | Identifies a single resource, like a single Amazon S3 bucket.+--+-- /See:/ 'newGooglePrivacyDlpV2OtherCloudSingleResourceReference' smart constructor.+newtype GooglePrivacyDlpV2OtherCloudSingleResourceReference = GooglePrivacyDlpV2OtherCloudSingleResourceReference+ { -- | Amazon S3 bucket.+ amazonS3Bucket :: (Core.Maybe GooglePrivacyDlpV2AmazonS3Bucket)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2OtherCloudSingleResourceReference' with the minimum fields required to make a request.+newGooglePrivacyDlpV2OtherCloudSingleResourceReference ::+ GooglePrivacyDlpV2OtherCloudSingleResourceReference+newGooglePrivacyDlpV2OtherCloudSingleResourceReference =+ GooglePrivacyDlpV2OtherCloudSingleResourceReference+ { amazonS3Bucket =+ Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2OtherCloudSingleResourceReference+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2OtherCloudSingleResourceReference"+ ( \o ->+ GooglePrivacyDlpV2OtherCloudSingleResourceReference+ Core.<$> (o Core..:? "amazonS3Bucket")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2OtherCloudSingleResourceReference+ where+ toJSON GooglePrivacyDlpV2OtherCloudSingleResourceReference {..} =+ Core.object+ ( Core.catMaybes+ [("amazonS3Bucket" Core..=) Core.<$> amazonS3Bucket]+ )++-- | Infotype details for other infoTypes found within a column.+--+-- /See:/ 'newGooglePrivacyDlpV2OtherInfoTypeSummary' smart constructor.+data GooglePrivacyDlpV2OtherInfoTypeSummary = GooglePrivacyDlpV2OtherInfoTypeSummary+ { -- | Approximate percentage of non-null rows that contained data detected by this infotype.+ estimatedPrevalence :: (Core.Maybe Core.Int32),+ -- | Whether this infoType was excluded from sensitivity and risk analysis due to factors such as low prevalence (subject to change).+ excludedFromAnalysis :: (Core.Maybe Core.Bool),+ -- | The other infoType.+ infoType :: (Core.Maybe GooglePrivacyDlpV2InfoType)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2OtherInfoTypeSummary' with the minimum fields required to make a request.+newGooglePrivacyDlpV2OtherInfoTypeSummary ::+ GooglePrivacyDlpV2OtherInfoTypeSummary+newGooglePrivacyDlpV2OtherInfoTypeSummary =+ GooglePrivacyDlpV2OtherInfoTypeSummary+ { estimatedPrevalence =+ Core.Nothing,+ excludedFromAnalysis = Core.Nothing,+ infoType = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2OtherInfoTypeSummary where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2OtherInfoTypeSummary"+ ( \o ->+ GooglePrivacyDlpV2OtherInfoTypeSummary+ Core.<$> (o Core..:? "estimatedPrevalence")+ Core.<*> (o Core..:? "excludedFromAnalysis")+ Core.<*> (o Core..:? "infoType")+ )++instance Core.ToJSON GooglePrivacyDlpV2OtherInfoTypeSummary where+ toJSON GooglePrivacyDlpV2OtherInfoTypeSummary {..} =+ Core.object+ ( Core.catMaybes+ [ ("estimatedPrevalence" Core..=) Core.<$> estimatedPrevalence,+ ("excludedFromAnalysis" Core..=) Core.<$> excludedFromAnalysis,+ ("infoType" Core..=) Core.<$> infoType+ ]+ )++-- | Cloud repository for storing output.+--+-- /See:/ 'newGooglePrivacyDlpV2OutputStorageConfig' smart constructor.+data GooglePrivacyDlpV2OutputStorageConfig = GooglePrivacyDlpV2OutputStorageConfig+ { -- | Schema used for writing the findings for Inspect jobs. This field is only used for Inspect and must be unspecified for Risk jobs. Columns are derived from the @Finding@ object. If appending to an existing table, any columns from the predefined schema that are missing will be added. No columns in the existing table will be deleted. If unspecified, then all available columns will be used for a new table or an (existing) table with no schema, and no changes will be made to an existing table that has a schema. Only for use with external storage.+ outputSchema :: (Core.Maybe GooglePrivacyDlpV2OutputStorageConfig_OutputSchema),+ -- | Store findings in an existing table or a new table in an existing dataset. If table/id is not set a new one will be generated for you with the following format: dlp/googleapis/yyyy/mm/dd/[dlp/job/id]. Pacific time zone will be used for generating the date details. For Inspect, each column in an existing output table must have the same name, type, and mode of a field in the @Finding@ object. For Risk, an existing output table should be the output of a previous Risk analysis job run on the same source table, with the same privacy metric and quasi-identifiers. Risk jobs that analyze the same table but compute a different privacy metric, or use different sets of quasi-identifiers, cannot store their results in the same table.+ table :: (Core.Maybe GooglePrivacyDlpV2BigQueryTable)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2OutputStorageConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2OutputStorageConfig ::+ GooglePrivacyDlpV2OutputStorageConfig+newGooglePrivacyDlpV2OutputStorageConfig =+ GooglePrivacyDlpV2OutputStorageConfig+ { outputSchema =+ Core.Nothing,+ table = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2OutputStorageConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2OutputStorageConfig"+ ( \o ->+ GooglePrivacyDlpV2OutputStorageConfig+ Core.<$> (o Core..:? "outputSchema")+ Core.<*> (o Core..:? "table")+ )++instance Core.ToJSON GooglePrivacyDlpV2OutputStorageConfig where+ toJSON GooglePrivacyDlpV2OutputStorageConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("outputSchema" Core..=) Core.<$> outputSchema,+ ("table" Core..=) Core.<$> table+ ]+ )++-- | Datastore partition ID. A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. A partition ID contains several dimensions: project ID and namespace ID.+--+-- /See:/ 'newGooglePrivacyDlpV2PartitionId' smart constructor.+data GooglePrivacyDlpV2PartitionId = GooglePrivacyDlpV2PartitionId+ { -- | If not empty, the ID of the namespace to which the entities belong.+ namespaceId :: (Core.Maybe Core.Text),+ -- | The ID of the project to which the entities belong.+ projectId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2PartitionId' with the minimum fields required to make a request.+newGooglePrivacyDlpV2PartitionId ::+ GooglePrivacyDlpV2PartitionId+newGooglePrivacyDlpV2PartitionId =+ GooglePrivacyDlpV2PartitionId+ { namespaceId = Core.Nothing,+ projectId = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2PartitionId where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2PartitionId"+ ( \o ->+ GooglePrivacyDlpV2PartitionId+ Core.<$> (o Core..:? "namespaceId")+ Core.<*> (o Core..:? "projectId")+ )++instance Core.ToJSON GooglePrivacyDlpV2PartitionId where+ toJSON GooglePrivacyDlpV2PartitionId {..} =+ Core.object+ ( Core.catMaybes+ [ ("namespaceId" Core..=) Core.<$> namespaceId,+ ("projectId" Core..=) Core.<$> projectId+ ]+ )++-- | A (kind, ID\/name) pair used to construct a key path. If either name or ID is set, the element is complete. If neither is set, the element is incomplete.+--+-- /See:/ 'newGooglePrivacyDlpV2PathElement' smart constructor.+data GooglePrivacyDlpV2PathElement = GooglePrivacyDlpV2PathElement+ { -- | The auto-allocated ID of the entity. Never equal to zero. Values less than zero are discouraged and may not be supported in the future.+ id :: (Core.Maybe Core.Int64),+ -- | The kind of the entity. A kind matching regex @__.*__@ is reserved\/read-only. A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be @\"\"@.+ kind :: (Core.Maybe Core.Text),+ -- | The name of the entity. A name matching regex @__.*__@ is reserved\/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be @\"\"@.+ name :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2PathElement' with the minimum fields required to make a request.+newGooglePrivacyDlpV2PathElement ::+ GooglePrivacyDlpV2PathElement+newGooglePrivacyDlpV2PathElement =+ GooglePrivacyDlpV2PathElement+ { id = Core.Nothing,+ kind = Core.Nothing,+ name = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2PathElement where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2PathElement"+ ( \o ->+ GooglePrivacyDlpV2PathElement+ Core.<$> (o Core..:? "id" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "kind")+ Core.<*> (o Core..:? "name")+ )++instance Core.ToJSON GooglePrivacyDlpV2PathElement where+ toJSON GooglePrivacyDlpV2PathElement {..} =+ Core.object+ ( Core.catMaybes+ [ ("id" Core..=) Core.. Core.AsText Core.<$> id,+ ("kind" Core..=) Core.<$> kind,+ ("name" Core..=) Core.<$> name+ ]+ )++-- | A rule for transforming a value.+--+-- /See:/ 'newGooglePrivacyDlpV2PrimitiveTransformation' smart constructor.+data GooglePrivacyDlpV2PrimitiveTransformation = GooglePrivacyDlpV2PrimitiveTransformation+ { -- | Bucketing+ bucketingConfig :: (Core.Maybe GooglePrivacyDlpV2BucketingConfig),+ -- | Mask+ characterMaskConfig :: (Core.Maybe GooglePrivacyDlpV2CharacterMaskConfig),+ -- | Deterministic Crypto+ cryptoDeterministicConfig :: (Core.Maybe GooglePrivacyDlpV2CryptoDeterministicConfig),+ -- | Crypto+ cryptoHashConfig :: (Core.Maybe GooglePrivacyDlpV2CryptoHashConfig),+ -- | Ffx-Fpe. Strongly discouraged, consider using CryptoDeterministicConfig instead. Fpe is computationally expensive incurring latency costs.+ cryptoReplaceFfxFpeConfig :: (Core.Maybe GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig),+ -- | Date Shift+ dateShiftConfig :: (Core.Maybe GooglePrivacyDlpV2DateShiftConfig),+ -- | Fixed size bucketing+ fixedSizeBucketingConfig :: (Core.Maybe GooglePrivacyDlpV2FixedSizeBucketingConfig),+ -- | Redact+ redactConfig :: (Core.Maybe GooglePrivacyDlpV2RedactConfig),+ -- | Replace with a specified value.+ replaceConfig :: (Core.Maybe GooglePrivacyDlpV2ReplaceValueConfig),+ -- | Replace with a value randomly drawn (with replacement) from a dictionary.+ replaceDictionaryConfig :: (Core.Maybe GooglePrivacyDlpV2ReplaceDictionaryConfig),+ -- | Replace with infotype+ replaceWithInfoTypeConfig :: (Core.Maybe GooglePrivacyDlpV2ReplaceWithInfoTypeConfig),+ -- | Time extraction+ timePartConfig :: (Core.Maybe GooglePrivacyDlpV2TimePartConfig)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2PrimitiveTransformation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2PrimitiveTransformation ::+ GooglePrivacyDlpV2PrimitiveTransformation+newGooglePrivacyDlpV2PrimitiveTransformation =+ GooglePrivacyDlpV2PrimitiveTransformation+ { bucketingConfig =+ Core.Nothing,+ characterMaskConfig = Core.Nothing,+ cryptoDeterministicConfig = Core.Nothing,+ cryptoHashConfig = Core.Nothing,+ cryptoReplaceFfxFpeConfig = Core.Nothing,+ dateShiftConfig = Core.Nothing,+ fixedSizeBucketingConfig = Core.Nothing,+ redactConfig = Core.Nothing,+ replaceConfig = Core.Nothing,+ replaceDictionaryConfig = Core.Nothing,+ replaceWithInfoTypeConfig = Core.Nothing,+ timePartConfig = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2PrimitiveTransformation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2PrimitiveTransformation"+ ( \o ->+ GooglePrivacyDlpV2PrimitiveTransformation+ Core.<$> (o Core..:? "bucketingConfig")+ Core.<*> (o Core..:? "characterMaskConfig")+ Core.<*> (o Core..:? "cryptoDeterministicConfig")+ Core.<*> (o Core..:? "cryptoHashConfig")+ Core.<*> (o Core..:? "cryptoReplaceFfxFpeConfig")+ Core.<*> (o Core..:? "dateShiftConfig")+ Core.<*> (o Core..:? "fixedSizeBucketingConfig")+ Core.<*> (o Core..:? "redactConfig")+ Core.<*> (o Core..:? "replaceConfig")+ Core.<*> (o Core..:? "replaceDictionaryConfig")+ Core.<*> (o Core..:? "replaceWithInfoTypeConfig")+ Core.<*> (o Core..:? "timePartConfig")+ )++instance Core.ToJSON GooglePrivacyDlpV2PrimitiveTransformation where+ toJSON GooglePrivacyDlpV2PrimitiveTransformation {..} =+ Core.object+ ( Core.catMaybes+ [ ("bucketingConfig" Core..=) Core.<$> bucketingConfig,+ ("characterMaskConfig" Core..=) Core.<$> characterMaskConfig,+ ("cryptoDeterministicConfig" Core..=)+ Core.<$> cryptoDeterministicConfig,+ ("cryptoHashConfig" Core..=) Core.<$> cryptoHashConfig,+ ("cryptoReplaceFfxFpeConfig" Core..=)+ Core.<$> cryptoReplaceFfxFpeConfig,+ ("dateShiftConfig" Core..=) Core.<$> dateShiftConfig,+ ("fixedSizeBucketingConfig" Core..=)+ Core.<$> fixedSizeBucketingConfig,+ ("redactConfig" Core..=) Core.<$> redactConfig,+ ("replaceConfig" Core..=) Core.<$> replaceConfig,+ ("replaceDictionaryConfig" Core..=)+ Core.<$> replaceDictionaryConfig,+ ("replaceWithInfoTypeConfig" Core..=)+ Core.<$> replaceWithInfoTypeConfig,+ ("timePartConfig" Core..=) Core.<$> timePartConfig+ ]+ )++-- | Privacy metric to compute for reidentification risk analysis.+--+-- /See:/ 'newGooglePrivacyDlpV2PrivacyMetric' smart constructor.+data GooglePrivacyDlpV2PrivacyMetric = GooglePrivacyDlpV2PrivacyMetric+ { -- | Categorical stats+ categoricalStatsConfig :: (Core.Maybe GooglePrivacyDlpV2CategoricalStatsConfig),+ -- | delta-presence+ deltaPresenceEstimationConfig :: (Core.Maybe GooglePrivacyDlpV2DeltaPresenceEstimationConfig),+ -- | K-anonymity+ kAnonymityConfig :: (Core.Maybe GooglePrivacyDlpV2KAnonymityConfig),+ -- | k-map+ kMapEstimationConfig :: (Core.Maybe GooglePrivacyDlpV2KMapEstimationConfig),+ -- | l-diversity+ lDiversityConfig :: (Core.Maybe GooglePrivacyDlpV2LDiversityConfig),+ -- | Numerical stats+ numericalStatsConfig :: (Core.Maybe GooglePrivacyDlpV2NumericalStatsConfig)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2PrivacyMetric' with the minimum fields required to make a request.+newGooglePrivacyDlpV2PrivacyMetric ::+ GooglePrivacyDlpV2PrivacyMetric+newGooglePrivacyDlpV2PrivacyMetric =+ GooglePrivacyDlpV2PrivacyMetric+ { categoricalStatsConfig =+ Core.Nothing,+ deltaPresenceEstimationConfig = Core.Nothing,+ kAnonymityConfig = Core.Nothing,+ kMapEstimationConfig = Core.Nothing,+ lDiversityConfig = Core.Nothing,+ numericalStatsConfig = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2PrivacyMetric where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2PrivacyMetric"+ ( \o ->+ GooglePrivacyDlpV2PrivacyMetric+ Core.<$> (o Core..:? "categoricalStatsConfig")+ Core.<*> (o Core..:? "deltaPresenceEstimationConfig")+ Core.<*> (o Core..:? "kAnonymityConfig")+ Core.<*> (o Core..:? "kMapEstimationConfig")+ Core.<*> (o Core..:? "lDiversityConfig")+ Core.<*> (o Core..:? "numericalStatsConfig")+ )++instance Core.ToJSON GooglePrivacyDlpV2PrivacyMetric where+ toJSON GooglePrivacyDlpV2PrivacyMetric {..} =+ Core.object+ ( Core.catMaybes+ [ ("categoricalStatsConfig" Core..=)+ Core.<$> categoricalStatsConfig,+ ("deltaPresenceEstimationConfig" Core..=)+ Core.<$> deltaPresenceEstimationConfig,+ ("kAnonymityConfig" Core..=) Core.<$> kAnonymityConfig,+ ("kMapEstimationConfig" Core..=) Core.<$> kMapEstimationConfig,+ ("lDiversityConfig" Core..=) Core.<$> lDiversityConfig,+ ("numericalStatsConfig" Core..=) Core.<$> numericalStatsConfig+ ]+ )++-- | Configure processing location for discovery and inspection. For example, image OCR is only provided in limited regions but configuring ProcessingLocation will redirect OCR to a location where OCR is provided.+--+-- /See:/ 'newGooglePrivacyDlpV2ProcessingLocation' smart constructor.+newtype GooglePrivacyDlpV2ProcessingLocation = GooglePrivacyDlpV2ProcessingLocation+ { -- | Image processing will fall back using this configuration.+ imageFallbackLocation :: (Core.Maybe GooglePrivacyDlpV2ImageFallbackLocation)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ProcessingLocation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ProcessingLocation ::+ GooglePrivacyDlpV2ProcessingLocation+newGooglePrivacyDlpV2ProcessingLocation =+ GooglePrivacyDlpV2ProcessingLocation+ { imageFallbackLocation =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ProcessingLocation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ProcessingLocation"+ ( \o ->+ GooglePrivacyDlpV2ProcessingLocation+ Core.<$> (o Core..:? "imageFallbackLocation")+ )++instance Core.ToJSON GooglePrivacyDlpV2ProcessingLocation where+ toJSON GooglePrivacyDlpV2ProcessingLocation {..} =+ Core.object+ ( Core.catMaybes+ [("imageFallbackLocation" Core..=) Core.<$> imageFallbackLocation]+ )++-- | Success or errors for the profile generation.+--+-- /See:/ 'newGooglePrivacyDlpV2ProfileStatus' smart constructor.+data GooglePrivacyDlpV2ProfileStatus = GooglePrivacyDlpV2ProfileStatus+ { -- | Profiling status code and optional message. The @status.code@ value is 0 (default value) for OK.+ status :: (Core.Maybe GoogleRpcStatus),+ -- | Time when the profile generation status was updated+ timestamp :: (Core.Maybe Core.DateTime)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ProfileStatus' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ProfileStatus ::+ GooglePrivacyDlpV2ProfileStatus+newGooglePrivacyDlpV2ProfileStatus =+ GooglePrivacyDlpV2ProfileStatus+ { status = Core.Nothing,+ timestamp = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ProfileStatus where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ProfileStatus"+ ( \o ->+ GooglePrivacyDlpV2ProfileStatus+ Core.<$> (o Core..:? "status")+ Core.<*> (o Core..:? "timestamp")+ )++instance Core.ToJSON GooglePrivacyDlpV2ProfileStatus where+ toJSON GooglePrivacyDlpV2ProfileStatus {..} =+ Core.object+ ( Core.catMaybes+ [ ("status" Core..=) Core.<$> status,+ ("timestamp" Core..=) Core.<$> timestamp+ ]+ )++-- | An aggregated profile for this project, based on the resources profiled within it.+--+-- /See:/ 'newGooglePrivacyDlpV2ProjectDataProfile' smart constructor.+data GooglePrivacyDlpV2ProjectDataProfile = GooglePrivacyDlpV2ProjectDataProfile+ { -- | The data risk level of this project.+ dataRiskLevel :: (Core.Maybe GooglePrivacyDlpV2DataRiskLevel),+ -- | The number of file store data profiles generated for this project.+ fileStoreDataProfileCount :: (Core.Maybe Core.Int64),+ -- | The resource name of the profile.+ name :: (Core.Maybe Core.Text),+ -- | The last time the profile was generated.+ profileLastGenerated :: (Core.Maybe Core.DateTime),+ -- | Success or error status of the last attempt to profile the project.+ profileStatus :: (Core.Maybe GooglePrivacyDlpV2ProfileStatus),+ -- | Project ID or account that was profiled.+ projectId :: (Core.Maybe Core.Text),+ -- | The sensitivity score of this project.+ sensitivityScore :: (Core.Maybe GooglePrivacyDlpV2SensitivityScore),+ -- | The number of table data profiles generated for this project.+ tableDataProfileCount :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ProjectDataProfile' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ProjectDataProfile ::+ GooglePrivacyDlpV2ProjectDataProfile+newGooglePrivacyDlpV2ProjectDataProfile =+ GooglePrivacyDlpV2ProjectDataProfile+ { dataRiskLevel =+ Core.Nothing,+ fileStoreDataProfileCount = Core.Nothing,+ name = Core.Nothing,+ profileLastGenerated = Core.Nothing,+ profileStatus = Core.Nothing,+ projectId = Core.Nothing,+ sensitivityScore = Core.Nothing,+ tableDataProfileCount = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ProjectDataProfile where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ProjectDataProfile"+ ( \o ->+ GooglePrivacyDlpV2ProjectDataProfile+ Core.<$> (o Core..:? "dataRiskLevel")+ Core.<*> ( o+ Core..:? "fileStoreDataProfileCount"+ Core.<&> Core.fmap Core.fromAsText+ )+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "profileLastGenerated")+ Core.<*> (o Core..:? "profileStatus")+ Core.<*> (o Core..:? "projectId")+ Core.<*> (o Core..:? "sensitivityScore")+ Core.<*> ( o+ Core..:? "tableDataProfileCount"+ Core.<&> Core.fmap Core.fromAsText+ )+ )++instance Core.ToJSON GooglePrivacyDlpV2ProjectDataProfile where+ toJSON GooglePrivacyDlpV2ProjectDataProfile {..} =+ Core.object+ ( Core.catMaybes+ [ ("dataRiskLevel" Core..=) Core.<$> dataRiskLevel,+ ("fileStoreDataProfileCount" Core..=)+ Core.. Core.AsText+ Core.<$> fileStoreDataProfileCount,+ ("name" Core..=) Core.<$> name,+ ("profileLastGenerated" Core..=) Core.<$> profileLastGenerated,+ ("profileStatus" Core..=) Core.<$> profileStatus,+ ("projectId" Core..=) Core.<$> projectId,+ ("sensitivityScore" Core..=) Core.<$> sensitivityScore,+ ("tableDataProfileCount" Core..=)+ Core.. Core.AsText+ Core.<$> tableDataProfileCount+ ]+ )++-- | Message for specifying a window around a finding to apply a detection rule.+--+-- /See:/ 'newGooglePrivacyDlpV2Proximity' smart constructor.+data GooglePrivacyDlpV2Proximity = GooglePrivacyDlpV2Proximity+ { -- | Number of characters after the finding to consider.+ windowAfter :: (Core.Maybe Core.Int32),+ -- | Number of characters before the finding to consider. For tabular data, if you want to modify the likelihood of an entire column of findngs, set this to 1. For more information, see [Hotword example: Set the match likelihood of a table column] (https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-custom-infotypes-likelihood#match-column-values).+ windowBefore :: (Core.Maybe Core.Int32)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Proximity' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Proximity ::+ GooglePrivacyDlpV2Proximity+newGooglePrivacyDlpV2Proximity =+ GooglePrivacyDlpV2Proximity+ { windowAfter = Core.Nothing,+ windowBefore = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Proximity where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Proximity"+ ( \o ->+ GooglePrivacyDlpV2Proximity+ Core.<$> (o Core..:? "windowAfter")+ Core.<*> (o Core..:? "windowBefore")+ )++instance Core.ToJSON GooglePrivacyDlpV2Proximity where+ toJSON GooglePrivacyDlpV2Proximity {..} =+ Core.object+ ( Core.catMaybes+ [ ("windowAfter" Core..=) Core.<$> windowAfter,+ ("windowBefore" Core..=) Core.<$> windowBefore+ ]+ )++-- | A condition consisting of a value.+--+-- /See:/ 'newGooglePrivacyDlpV2PubSubCondition' smart constructor.+data GooglePrivacyDlpV2PubSubCondition = GooglePrivacyDlpV2PubSubCondition+ { -- | The minimum data risk score that triggers the condition.+ minimumRiskScore :: (Core.Maybe GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore),+ -- | The minimum sensitivity level that triggers the condition.+ minimumSensitivityScore ::+ ( Core.Maybe+ GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2PubSubCondition' with the minimum fields required to make a request.+newGooglePrivacyDlpV2PubSubCondition ::+ GooglePrivacyDlpV2PubSubCondition+newGooglePrivacyDlpV2PubSubCondition =+ GooglePrivacyDlpV2PubSubCondition+ { minimumRiskScore =+ Core.Nothing,+ minimumSensitivityScore = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2PubSubCondition where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2PubSubCondition"+ ( \o ->+ GooglePrivacyDlpV2PubSubCondition+ Core.<$> (o Core..:? "minimumRiskScore")+ Core.<*> (o Core..:? "minimumSensitivityScore")+ )++instance Core.ToJSON GooglePrivacyDlpV2PubSubCondition where+ toJSON GooglePrivacyDlpV2PubSubCondition {..} =+ Core.object+ ( Core.catMaybes+ [ ("minimumRiskScore" Core..=) Core.<$> minimumRiskScore,+ ("minimumSensitivityScore" Core..=)+ Core.<$> minimumSensitivityScore+ ]+ )++-- | An expression, consisting of an operator and conditions.+--+-- /See:/ 'newGooglePrivacyDlpV2PubSubExpressions' smart constructor.+data GooglePrivacyDlpV2PubSubExpressions = GooglePrivacyDlpV2PubSubExpressions+ { -- | Conditions to apply to the expression.+ conditions :: (Core.Maybe [GooglePrivacyDlpV2PubSubCondition]),+ -- | The operator to apply to the collection of conditions.+ logicalOperator :: (Core.Maybe GooglePrivacyDlpV2PubSubExpressions_LogicalOperator)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2PubSubExpressions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2PubSubExpressions ::+ GooglePrivacyDlpV2PubSubExpressions+newGooglePrivacyDlpV2PubSubExpressions =+ GooglePrivacyDlpV2PubSubExpressions+ { conditions = Core.Nothing,+ logicalOperator = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2PubSubExpressions where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2PubSubExpressions"+ ( \o ->+ GooglePrivacyDlpV2PubSubExpressions+ Core.<$> (o Core..:? "conditions")+ Core.<*> (o Core..:? "logicalOperator")+ )++instance Core.ToJSON GooglePrivacyDlpV2PubSubExpressions where+ toJSON GooglePrivacyDlpV2PubSubExpressions {..} =+ Core.object+ ( Core.catMaybes+ [ ("conditions" Core..=) Core.<$> conditions,+ ("logicalOperator" Core..=) Core.<$> logicalOperator+ ]+ )++-- | Send a Pub\/Sub message into the given Pub\/Sub topic to connect other systems to data profile generation. The message payload data will be the byte serialization of @DataProfilePubSubMessage@.+--+-- /See:/ 'newGooglePrivacyDlpV2PubSubNotification' smart constructor.+data GooglePrivacyDlpV2PubSubNotification = GooglePrivacyDlpV2PubSubNotification+ { -- | How much data to include in the Pub\/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).+ detailOfMessage :: (Core.Maybe GooglePrivacyDlpV2PubSubNotification_DetailOfMessage),+ -- | The type of event that triggers a Pub\/Sub. At most one @PubSubNotification@ per EventType is permitted.+ event :: (Core.Maybe GooglePrivacyDlpV2PubSubNotification_Event),+ -- | Conditions (e.g., data risk or sensitivity level) for triggering a Pub\/Sub.+ pubsubCondition :: (Core.Maybe GooglePrivacyDlpV2DataProfilePubSubCondition),+ -- | Cloud Pub\/Sub topic to send notifications to. Format is projects\/{project}\/topics\/{topic}.+ topic :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2PubSubNotification' with the minimum fields required to make a request.+newGooglePrivacyDlpV2PubSubNotification ::+ GooglePrivacyDlpV2PubSubNotification+newGooglePrivacyDlpV2PubSubNotification =+ GooglePrivacyDlpV2PubSubNotification+ { detailOfMessage =+ Core.Nothing,+ event = Core.Nothing,+ pubsubCondition = Core.Nothing,+ topic = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2PubSubNotification where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2PubSubNotification"+ ( \o ->+ GooglePrivacyDlpV2PubSubNotification+ Core.<$> (o Core..:? "detailOfMessage")+ Core.<*> (o Core..:? "event")+ Core.<*> (o Core..:? "pubsubCondition")+ Core.<*> (o Core..:? "topic")+ )++instance Core.ToJSON GooglePrivacyDlpV2PubSubNotification where+ toJSON GooglePrivacyDlpV2PubSubNotification {..} =+ Core.object+ ( Core.catMaybes+ [ ("detailOfMessage" Core..=) Core.<$> detailOfMessage,+ ("event" Core..=) Core.<$> event,+ ("pubsubCondition" Core..=) Core.<$> pubsubCondition,+ ("topic" Core..=) Core.<$> topic+ ]+ )++-- | Publish findings of a DlpJob to Data Catalog. In Data Catalog, tag templates are applied to the resource that Cloud DLP scanned. Data Catalog tag templates are stored in the same project and region where the BigQuery table exists. For Cloud DLP to create and apply the tag template, the Cloud DLP service agent must have the @roles\/datacatalog.tagTemplateOwner@ permission on the project. The tag template contains fields summarizing the results of the DlpJob. Any field values previously written by another DlpJob are deleted. InfoType naming patterns are strictly enforced when using this feature. Findings are persisted in Data Catalog storage and are governed by service-specific policies for Data Catalog. For more information, see <https://cloud.google.com/terms/service-terms Service Specific Terms>. Only a single instance of this action can be specified. This action is allowed only if all resources being scanned are BigQuery tables. Compatible with: Inspect+--+-- /See:/ 'newGooglePrivacyDlpV2PublishFindingsToCloudDataCatalog' smart constructor.+data GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog = GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog' with the minimum fields required to make a request.+newGooglePrivacyDlpV2PublishFindingsToCloudDataCatalog ::+ GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog+newGooglePrivacyDlpV2PublishFindingsToCloudDataCatalog =+ GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog++instance+ Core.FromJSON+ GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog"+ ( \o ->+ Core.pure GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog+ where+ toJSON = Core.const Core.emptyObject++-- | Publish the result summary of a DlpJob to <https://cloud.google.com/security-command-center Security Command Center>. This action is available for only projects that belong to an organization. This action publishes the count of finding instances and their infoTypes. The summary of findings are persisted in Security Command Center and are governed by <https://cloud.google.com/terms/service-terms service-specific policies for Security Command Center>. Only a single instance of this action can be specified. Compatible with: Inspect+--+-- /See:/ 'newGooglePrivacyDlpV2PublishSummaryToCscc' smart constructor.+data GooglePrivacyDlpV2PublishSummaryToCscc = GooglePrivacyDlpV2PublishSummaryToCscc+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2PublishSummaryToCscc' with the minimum fields required to make a request.+newGooglePrivacyDlpV2PublishSummaryToCscc ::+ GooglePrivacyDlpV2PublishSummaryToCscc+newGooglePrivacyDlpV2PublishSummaryToCscc =+ GooglePrivacyDlpV2PublishSummaryToCscc++instance Core.FromJSON GooglePrivacyDlpV2PublishSummaryToCscc where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2PublishSummaryToCscc"+ (\o -> Core.pure GooglePrivacyDlpV2PublishSummaryToCscc)++instance Core.ToJSON GooglePrivacyDlpV2PublishSummaryToCscc where+ toJSON = Core.const Core.emptyObject++-- | Message expressing intention to publish to Google Security Operations.+--+-- /See:/ 'newGooglePrivacyDlpV2PublishToChronicle' smart constructor.+data GooglePrivacyDlpV2PublishToChronicle = GooglePrivacyDlpV2PublishToChronicle+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2PublishToChronicle' with the minimum fields required to make a request.+newGooglePrivacyDlpV2PublishToChronicle ::+ GooglePrivacyDlpV2PublishToChronicle+newGooglePrivacyDlpV2PublishToChronicle =+ GooglePrivacyDlpV2PublishToChronicle++instance Core.FromJSON GooglePrivacyDlpV2PublishToChronicle where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2PublishToChronicle"+ (\o -> Core.pure GooglePrivacyDlpV2PublishToChronicle)++instance Core.ToJSON GooglePrivacyDlpV2PublishToChronicle where+ toJSON = Core.const Core.emptyObject++-- | Publish a message into a given Pub\/Sub topic when DlpJob has completed. The message contains a single field, @DlpJobName@, which is equal to the finished job\'s <https://cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.dlpJobs#DlpJob DlpJob.name>. Compatible with: Inspect, Risk+--+-- /See:/ 'newGooglePrivacyDlpV2PublishToPubSub' smart constructor.+newtype GooglePrivacyDlpV2PublishToPubSub = GooglePrivacyDlpV2PublishToPubSub+ { -- | Cloud Pub\/Sub topic to send notifications to. The topic must have given publishing access rights to the DLP API service account executing the long running DlpJob sending the notifications. Format is projects\/{project}\/topics\/{topic}.+ topic :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2PublishToPubSub' with the minimum fields required to make a request.+newGooglePrivacyDlpV2PublishToPubSub ::+ GooglePrivacyDlpV2PublishToPubSub+newGooglePrivacyDlpV2PublishToPubSub =+ GooglePrivacyDlpV2PublishToPubSub {topic = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2PublishToPubSub where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2PublishToPubSub"+ ( \o ->+ GooglePrivacyDlpV2PublishToPubSub Core.<$> (o Core..:? "topic")+ )++instance Core.ToJSON GooglePrivacyDlpV2PublishToPubSub where+ toJSON GooglePrivacyDlpV2PublishToPubSub {..} =+ Core.object (Core.catMaybes [("topic" Core..=) Core.<$> topic])++-- | If set, a summary finding will be created or updated in Security Command Center for each profile.+--+-- /See:/ 'newGooglePrivacyDlpV2PublishToSecurityCommandCenter' smart constructor.+data GooglePrivacyDlpV2PublishToSecurityCommandCenter = GooglePrivacyDlpV2PublishToSecurityCommandCenter+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2PublishToSecurityCommandCenter' with the minimum fields required to make a request.+newGooglePrivacyDlpV2PublishToSecurityCommandCenter ::+ GooglePrivacyDlpV2PublishToSecurityCommandCenter+newGooglePrivacyDlpV2PublishToSecurityCommandCenter =+ GooglePrivacyDlpV2PublishToSecurityCommandCenter++instance+ Core.FromJSON+ GooglePrivacyDlpV2PublishToSecurityCommandCenter+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2PublishToSecurityCommandCenter"+ (\o -> Core.pure GooglePrivacyDlpV2PublishToSecurityCommandCenter)++instance+ Core.ToJSON+ GooglePrivacyDlpV2PublishToSecurityCommandCenter+ where+ toJSON = Core.const Core.emptyObject++-- | Enable Stackdriver metric dlp.googleapis.com\/finding/count. This will publish a metric to stack driver on each infotype requested and how many findings were found for it. CustomDetectors will be bucketed as \'Custom\' under the Stackdriver label \'info/type\'.+--+-- /See:/ 'newGooglePrivacyDlpV2PublishToStackdriver' smart constructor.+data GooglePrivacyDlpV2PublishToStackdriver = GooglePrivacyDlpV2PublishToStackdriver+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2PublishToStackdriver' with the minimum fields required to make a request.+newGooglePrivacyDlpV2PublishToStackdriver ::+ GooglePrivacyDlpV2PublishToStackdriver+newGooglePrivacyDlpV2PublishToStackdriver =+ GooglePrivacyDlpV2PublishToStackdriver++instance Core.FromJSON GooglePrivacyDlpV2PublishToStackdriver where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2PublishToStackdriver"+ (\o -> Core.pure GooglePrivacyDlpV2PublishToStackdriver)++instance Core.ToJSON GooglePrivacyDlpV2PublishToStackdriver where+ toJSON = Core.const Core.emptyObject++-- | A column with a semantic tag attached.+--+-- /See:/ 'newGooglePrivacyDlpV2QuasiId' smart constructor.+data GooglePrivacyDlpV2QuasiId = GooglePrivacyDlpV2QuasiId+ { -- | A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column (below).+ customTag :: (Core.Maybe Core.Text),+ -- | Required. Identifies the column.+ field :: (Core.Maybe GooglePrivacyDlpV2FieldId),+ -- | If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data+ inferred :: (Core.Maybe GoogleProtobufEmpty),+ -- | A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available. We currently support US ZIP codes, region codes, ages and genders. To programmatically obtain the list of supported InfoTypes, use ListInfoTypes with the supported/by=RISK/ANALYSIS filter.+ infoType :: (Core.Maybe GooglePrivacyDlpV2InfoType)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2QuasiId' with the minimum fields required to make a request.+newGooglePrivacyDlpV2QuasiId ::+ GooglePrivacyDlpV2QuasiId+newGooglePrivacyDlpV2QuasiId =+ GooglePrivacyDlpV2QuasiId+ { customTag = Core.Nothing,+ field = Core.Nothing,+ inferred = Core.Nothing,+ infoType = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2QuasiId where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2QuasiId"+ ( \o ->+ GooglePrivacyDlpV2QuasiId+ Core.<$> (o Core..:? "customTag")+ Core.<*> (o Core..:? "field")+ Core.<*> (o Core..:? "inferred")+ Core.<*> (o Core..:? "infoType")+ )++instance Core.ToJSON GooglePrivacyDlpV2QuasiId where+ toJSON GooglePrivacyDlpV2QuasiId {..} =+ Core.object+ ( Core.catMaybes+ [ ("customTag" Core..=) Core.<$> customTag,+ ("field" Core..=) Core.<$> field,+ ("inferred" Core..=) Core.<$> inferred,+ ("infoType" Core..=) Core.<$> infoType+ ]+ )++-- | A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.+--+-- /See:/ 'newGooglePrivacyDlpV2QuasiIdField' smart constructor.+data GooglePrivacyDlpV2QuasiIdField = GooglePrivacyDlpV2QuasiIdField+ { -- | A auxiliary field.+ customTag :: (Core.Maybe Core.Text),+ -- | Identifies the column.+ field :: (Core.Maybe GooglePrivacyDlpV2FieldId)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2QuasiIdField' with the minimum fields required to make a request.+newGooglePrivacyDlpV2QuasiIdField ::+ GooglePrivacyDlpV2QuasiIdField+newGooglePrivacyDlpV2QuasiIdField =+ GooglePrivacyDlpV2QuasiIdField+ { customTag = Core.Nothing,+ field = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2QuasiIdField where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2QuasiIdField"+ ( \o ->+ GooglePrivacyDlpV2QuasiIdField+ Core.<$> (o Core..:? "customTag")+ Core.<*> (o Core..:? "field")+ )++instance Core.ToJSON GooglePrivacyDlpV2QuasiIdField where+ toJSON GooglePrivacyDlpV2QuasiIdField {..} =+ Core.object+ ( Core.catMaybes+ [ ("customTag" Core..=) Core.<$> customTag,+ ("field" Core..=) Core.<$> field+ ]+ )++-- | A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.+--+-- /See:/ 'newGooglePrivacyDlpV2QuasiIdentifierField' smart constructor.+data GooglePrivacyDlpV2QuasiIdentifierField = GooglePrivacyDlpV2QuasiIdentifierField+ { -- | A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column (below).+ customTag :: (Core.Maybe Core.Text),+ -- | Identifies the column.+ field :: (Core.Maybe GooglePrivacyDlpV2FieldId)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2QuasiIdentifierField' with the minimum fields required to make a request.+newGooglePrivacyDlpV2QuasiIdentifierField ::+ GooglePrivacyDlpV2QuasiIdentifierField+newGooglePrivacyDlpV2QuasiIdentifierField =+ GooglePrivacyDlpV2QuasiIdentifierField+ { customTag = Core.Nothing,+ field = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2QuasiIdentifierField where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2QuasiIdentifierField"+ ( \o ->+ GooglePrivacyDlpV2QuasiIdentifierField+ Core.<$> (o Core..:? "customTag")+ Core.<*> (o Core..:? "field")+ )++instance Core.ToJSON GooglePrivacyDlpV2QuasiIdentifierField where+ toJSON GooglePrivacyDlpV2QuasiIdentifierField {..} =+ Core.object+ ( Core.catMaybes+ [ ("customTag" Core..=) Core.<$> customTag,+ ("field" Core..=) Core.<$> field+ ]+ )++-- | Message for infoType-dependent details parsed from quote.+--+-- /See:/ 'newGooglePrivacyDlpV2QuoteInfo' smart constructor.+newtype GooglePrivacyDlpV2QuoteInfo = GooglePrivacyDlpV2QuoteInfo+ { -- | The date time indicated by the quote.+ dateTime :: (Core.Maybe GooglePrivacyDlpV2DateTime)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2QuoteInfo' with the minimum fields required to make a request.+newGooglePrivacyDlpV2QuoteInfo ::+ GooglePrivacyDlpV2QuoteInfo+newGooglePrivacyDlpV2QuoteInfo =+ GooglePrivacyDlpV2QuoteInfo {dateTime = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2QuoteInfo where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2QuoteInfo"+ ( \o ->+ GooglePrivacyDlpV2QuoteInfo Core.<$> (o Core..:? "dateTime")+ )++instance Core.ToJSON GooglePrivacyDlpV2QuoteInfo where+ toJSON GooglePrivacyDlpV2QuoteInfo {..} =+ Core.object+ (Core.catMaybes [("dateTime" Core..=) Core.<$> dateTime])++-- | Generic half-open interval [start, end)+--+-- /See:/ 'newGooglePrivacyDlpV2Range' smart constructor.+data GooglePrivacyDlpV2Range = GooglePrivacyDlpV2Range+ { -- | Index of the last character of the range (exclusive).+ end :: (Core.Maybe Core.Int64),+ -- | Index of the first character of the range (inclusive).+ start :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Range' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Range ::+ GooglePrivacyDlpV2Range+newGooglePrivacyDlpV2Range =+ GooglePrivacyDlpV2Range {end = Core.Nothing, start = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2Range where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Range"+ ( \o ->+ GooglePrivacyDlpV2Range+ Core.<$> (o Core..:? "end" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "start" Core.<&> Core.fmap Core.fromAsText)+ )++instance Core.ToJSON GooglePrivacyDlpV2Range where+ toJSON GooglePrivacyDlpV2Range {..} =+ Core.object+ ( Core.catMaybes+ [ ("end" Core..=) Core.. Core.AsText Core.<$> end,+ ("start" Core..=) Core.. Core.AsText Core.<$> start+ ]+ )++-- | A condition for determining whether a transformation should be applied to a field.+--+-- /See:/ 'newGooglePrivacyDlpV2RecordCondition' smart constructor.+newtype GooglePrivacyDlpV2RecordCondition = GooglePrivacyDlpV2RecordCondition+ { -- | An expression.+ expressions :: (Core.Maybe GooglePrivacyDlpV2Expressions)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2RecordCondition' with the minimum fields required to make a request.+newGooglePrivacyDlpV2RecordCondition ::+ GooglePrivacyDlpV2RecordCondition+newGooglePrivacyDlpV2RecordCondition =+ GooglePrivacyDlpV2RecordCondition {expressions = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2RecordCondition where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2RecordCondition"+ ( \o ->+ GooglePrivacyDlpV2RecordCondition+ Core.<$> (o Core..:? "expressions")+ )++instance Core.ToJSON GooglePrivacyDlpV2RecordCondition where+ toJSON GooglePrivacyDlpV2RecordCondition {..} =+ Core.object+ (Core.catMaybes [("expressions" Core..=) Core.<$> expressions])++-- | Message for a unique key indicating a record that contains a finding.+--+-- /See:/ 'newGooglePrivacyDlpV2RecordKey' smart constructor.+data GooglePrivacyDlpV2RecordKey = GooglePrivacyDlpV2RecordKey+ { -- | Datastore key+ bigQueryKey :: (Core.Maybe GooglePrivacyDlpV2BigQueryKey),+ -- | BigQuery key+ datastoreKey :: (Core.Maybe GooglePrivacyDlpV2DatastoreKey),+ -- | Values of identifying columns in the given row. Order of values matches the order of @identifying_fields@ specified in the scanning request.+ idValues :: (Core.Maybe [Core.Text])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2RecordKey' with the minimum fields required to make a request.+newGooglePrivacyDlpV2RecordKey ::+ GooglePrivacyDlpV2RecordKey+newGooglePrivacyDlpV2RecordKey =+ GooglePrivacyDlpV2RecordKey+ { bigQueryKey = Core.Nothing,+ datastoreKey = Core.Nothing,+ idValues = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2RecordKey where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2RecordKey"+ ( \o ->+ GooglePrivacyDlpV2RecordKey+ Core.<$> (o Core..:? "bigQueryKey")+ Core.<*> (o Core..:? "datastoreKey")+ Core.<*> (o Core..:? "idValues")+ )++instance Core.ToJSON GooglePrivacyDlpV2RecordKey where+ toJSON GooglePrivacyDlpV2RecordKey {..} =+ Core.object+ ( Core.catMaybes+ [ ("bigQueryKey" Core..=) Core.<$> bigQueryKey,+ ("datastoreKey" Core..=) Core.<$> datastoreKey,+ ("idValues" Core..=) Core.<$> idValues+ ]+ )++-- | Location of a finding within a row or record.+--+-- /See:/ 'newGooglePrivacyDlpV2RecordLocation' smart constructor.+data GooglePrivacyDlpV2RecordLocation = GooglePrivacyDlpV2RecordLocation+ { -- | Field id of the field containing the finding.+ fieldId :: (Core.Maybe GooglePrivacyDlpV2FieldId),+ -- | Key of the finding.+ recordKey :: (Core.Maybe GooglePrivacyDlpV2RecordKey),+ -- | Location within a @ContentItem.Table@.+ tableLocation :: (Core.Maybe GooglePrivacyDlpV2TableLocation)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2RecordLocation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2RecordLocation ::+ GooglePrivacyDlpV2RecordLocation+newGooglePrivacyDlpV2RecordLocation =+ GooglePrivacyDlpV2RecordLocation+ { fieldId = Core.Nothing,+ recordKey = Core.Nothing,+ tableLocation = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2RecordLocation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2RecordLocation"+ ( \o ->+ GooglePrivacyDlpV2RecordLocation+ Core.<$> (o Core..:? "fieldId")+ Core.<*> (o Core..:? "recordKey")+ Core.<*> (o Core..:? "tableLocation")+ )++instance Core.ToJSON GooglePrivacyDlpV2RecordLocation where+ toJSON GooglePrivacyDlpV2RecordLocation {..} =+ Core.object+ ( Core.catMaybes+ [ ("fieldId" Core..=) Core.<$> fieldId,+ ("recordKey" Core..=) Core.<$> recordKey,+ ("tableLocation" Core..=) Core.<$> tableLocation+ ]+ )++-- | Configuration to suppress records whose suppression conditions evaluate to true.+--+-- /See:/ 'newGooglePrivacyDlpV2RecordSuppression' smart constructor.+newtype GooglePrivacyDlpV2RecordSuppression = GooglePrivacyDlpV2RecordSuppression+ { -- | A condition that when it evaluates to true will result in the record being evaluated to be suppressed from the transformed content.+ condition :: (Core.Maybe GooglePrivacyDlpV2RecordCondition)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2RecordSuppression' with the minimum fields required to make a request.+newGooglePrivacyDlpV2RecordSuppression ::+ GooglePrivacyDlpV2RecordSuppression+newGooglePrivacyDlpV2RecordSuppression =+ GooglePrivacyDlpV2RecordSuppression {condition = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2RecordSuppression where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2RecordSuppression"+ ( \o ->+ GooglePrivacyDlpV2RecordSuppression+ Core.<$> (o Core..:? "condition")+ )++instance Core.ToJSON GooglePrivacyDlpV2RecordSuppression where+ toJSON GooglePrivacyDlpV2RecordSuppression {..} =+ Core.object+ (Core.catMaybes [("condition" Core..=) Core.<$> condition])++-- | The field in a record to transform.+--+-- /See:/ 'newGooglePrivacyDlpV2RecordTransformation' smart constructor.+data GooglePrivacyDlpV2RecordTransformation = GooglePrivacyDlpV2RecordTransformation+ { -- | Findings container modification timestamp, if applicable.+ containerTimestamp :: (Core.Maybe Core.DateTime),+ -- | Container version, if available (\"generation\" for Cloud Storage).+ containerVersion :: (Core.Maybe Core.Text),+ -- | For record transformations, provide a field.+ fieldId :: (Core.Maybe GooglePrivacyDlpV2FieldId)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2RecordTransformation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2RecordTransformation ::+ GooglePrivacyDlpV2RecordTransformation+newGooglePrivacyDlpV2RecordTransformation =+ GooglePrivacyDlpV2RecordTransformation+ { containerTimestamp =+ Core.Nothing,+ containerVersion = Core.Nothing,+ fieldId = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2RecordTransformation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2RecordTransformation"+ ( \o ->+ GooglePrivacyDlpV2RecordTransformation+ Core.<$> (o Core..:? "containerTimestamp")+ Core.<*> (o Core..:? "containerVersion")+ Core.<*> (o Core..:? "fieldId")+ )++instance Core.ToJSON GooglePrivacyDlpV2RecordTransformation where+ toJSON GooglePrivacyDlpV2RecordTransformation {..} =+ Core.object+ ( Core.catMaybes+ [ ("containerTimestamp" Core..=) Core.<$> containerTimestamp,+ ("containerVersion" Core..=) Core.<$> containerVersion,+ ("fieldId" Core..=) Core.<$> fieldId+ ]+ )++-- | A type of transformation that is applied over structured data such as a table.+--+-- /See:/ 'newGooglePrivacyDlpV2RecordTransformations' smart constructor.+data GooglePrivacyDlpV2RecordTransformations = GooglePrivacyDlpV2RecordTransformations+ { -- | Transform the record by applying various field transformations.+ fieldTransformations :: (Core.Maybe [GooglePrivacyDlpV2FieldTransformation]),+ -- | Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output.+ recordSuppressions :: (Core.Maybe [GooglePrivacyDlpV2RecordSuppression])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2RecordTransformations' with the minimum fields required to make a request.+newGooglePrivacyDlpV2RecordTransformations ::+ GooglePrivacyDlpV2RecordTransformations+newGooglePrivacyDlpV2RecordTransformations =+ GooglePrivacyDlpV2RecordTransformations+ { fieldTransformations =+ Core.Nothing,+ recordSuppressions = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2RecordTransformations where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2RecordTransformations"+ ( \o ->+ GooglePrivacyDlpV2RecordTransformations+ Core.<$> (o Core..:? "fieldTransformations")+ Core.<*> (o Core..:? "recordSuppressions")+ )++instance Core.ToJSON GooglePrivacyDlpV2RecordTransformations where+ toJSON GooglePrivacyDlpV2RecordTransformations {..} =+ Core.object+ ( Core.catMaybes+ [ ("fieldTransformations" Core..=) Core.<$> fieldTransformations,+ ("recordSuppressions" Core..=) Core.<$> recordSuppressions+ ]+ )++-- | Redact a given value. For example, if used with an @InfoTypeTransformation@ transforming PHONE_NUMBER, and input \'My phone number is 206-555-0123\', the output would be \'My phone number is \'.+--+-- /See:/ 'newGooglePrivacyDlpV2RedactConfig' smart constructor.+data GooglePrivacyDlpV2RedactConfig = GooglePrivacyDlpV2RedactConfig+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2RedactConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2RedactConfig ::+ GooglePrivacyDlpV2RedactConfig+newGooglePrivacyDlpV2RedactConfig = GooglePrivacyDlpV2RedactConfig++instance Core.FromJSON GooglePrivacyDlpV2RedactConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2RedactConfig"+ (\o -> Core.pure GooglePrivacyDlpV2RedactConfig)++instance Core.ToJSON GooglePrivacyDlpV2RedactConfig where+ toJSON = Core.const Core.emptyObject++-- | Request to search for potentially sensitive info in an image and redact it by covering it with a colored rectangle.+--+-- /See:/ 'newGooglePrivacyDlpV2RedactImageRequest' smart constructor.+data GooglePrivacyDlpV2RedactImageRequest = GooglePrivacyDlpV2RedactImageRequest+ { -- | The content must be PNG, JPEG, SVG or BMP.+ byteItem :: (Core.Maybe GooglePrivacyDlpV2ByteContentItem),+ -- | The configuration for specifying what content to redact from images.+ imageRedactionConfigs :: (Core.Maybe [GooglePrivacyDlpV2ImageRedactionConfig]),+ -- | Whether the response should include findings along with the redacted image.+ includeFindings :: (Core.Maybe Core.Bool),+ -- | Configuration for the inspector.+ inspectConfig :: (Core.Maybe GooglePrivacyDlpV2InspectConfig),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2RedactImageRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2RedactImageRequest ::+ GooglePrivacyDlpV2RedactImageRequest+newGooglePrivacyDlpV2RedactImageRequest =+ GooglePrivacyDlpV2RedactImageRequest+ { byteItem = Core.Nothing,+ imageRedactionConfigs = Core.Nothing,+ includeFindings = Core.Nothing,+ inspectConfig = Core.Nothing,+ locationId = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2RedactImageRequest where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2RedactImageRequest"+ ( \o ->+ GooglePrivacyDlpV2RedactImageRequest+ Core.<$> (o Core..:? "byteItem")+ Core.<*> (o Core..:? "imageRedactionConfigs")+ Core.<*> (o Core..:? "includeFindings")+ Core.<*> (o Core..:? "inspectConfig")+ Core.<*> (o Core..:? "locationId")+ )++instance Core.ToJSON GooglePrivacyDlpV2RedactImageRequest where+ toJSON GooglePrivacyDlpV2RedactImageRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("byteItem" Core..=) Core.<$> byteItem,+ ("imageRedactionConfigs" Core..=) Core.<$> imageRedactionConfigs,+ ("includeFindings" Core..=) Core.<$> includeFindings,+ ("inspectConfig" Core..=) Core.<$> inspectConfig,+ ("locationId" Core..=) Core.<$> locationId+ ]+ )++-- | Results of redacting an image.+--+-- /See:/ 'newGooglePrivacyDlpV2RedactImageResponse' smart constructor.+data GooglePrivacyDlpV2RedactImageResponse = GooglePrivacyDlpV2RedactImageResponse+ { -- | If an image was being inspected and the InspectConfig\'s include_quote was set to true, then this field will include all text, if any, that was found in the image.+ extractedText :: (Core.Maybe Core.Text),+ -- | The findings. Populated when include_findings in the request is true.+ inspectResult :: (Core.Maybe GooglePrivacyDlpV2InspectResult),+ -- | The redacted image. The type will be the same as the original image.+ redactedImage :: (Core.Maybe Core.Base64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2RedactImageResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2RedactImageResponse ::+ GooglePrivacyDlpV2RedactImageResponse+newGooglePrivacyDlpV2RedactImageResponse =+ GooglePrivacyDlpV2RedactImageResponse+ { extractedText =+ Core.Nothing,+ inspectResult = Core.Nothing,+ redactedImage = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2RedactImageResponse where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2RedactImageResponse"+ ( \o ->+ GooglePrivacyDlpV2RedactImageResponse+ Core.<$> (o Core..:? "extractedText")+ Core.<*> (o Core..:? "inspectResult")+ Core.<*> (o Core..:? "redactedImage")+ )++instance Core.ToJSON GooglePrivacyDlpV2RedactImageResponse where+ toJSON GooglePrivacyDlpV2RedactImageResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("extractedText" Core..=) Core.<$> extractedText,+ ("inspectResult" Core..=) Core.<$> inspectResult,+ ("redactedImage" Core..=) Core.<$> redactedImage+ ]+ )++-- | Message defining a custom regular expression.+--+-- /See:/ 'newGooglePrivacyDlpV2Regex' smart constructor.+data GooglePrivacyDlpV2Regex = GooglePrivacyDlpV2Regex+ { -- | The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.+ groupIndexes :: (Core.Maybe [Core.Int32]),+ -- | Pattern defining the regular expression. Its syntax (https:\/\/github.com\/google\/re2\/wiki\/Syntax) can be found under the google\/re2 repository on GitHub.+ pattern' :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Regex' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Regex ::+ GooglePrivacyDlpV2Regex+newGooglePrivacyDlpV2Regex =+ GooglePrivacyDlpV2Regex+ { groupIndexes = Core.Nothing,+ pattern' = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Regex where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Regex"+ ( \o ->+ GooglePrivacyDlpV2Regex+ Core.<$> (o Core..:? "groupIndexes")+ Core.<*> (o Core..:? "pattern")+ )++instance Core.ToJSON GooglePrivacyDlpV2Regex where+ toJSON GooglePrivacyDlpV2Regex {..} =+ Core.object+ ( Core.catMaybes+ [ ("groupIndexes" Core..=) Core.<$> groupIndexes,+ ("pattern" Core..=) Core.<$> pattern'+ ]+ )++-- | Request to re-identify an item.+--+-- /See:/ 'newGooglePrivacyDlpV2ReidentifyContentRequest' smart constructor.+data GooglePrivacyDlpV2ReidentifyContentRequest = GooglePrivacyDlpV2ReidentifyContentRequest+ { -- | Configuration for the inspector.+ inspectConfig :: (Core.Maybe GooglePrivacyDlpV2InspectConfig),+ -- | Template to use. Any configuration directly specified in @inspect_config@ will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.+ inspectTemplateName :: (Core.Maybe Core.Text),+ -- | The item to re-identify. Will be treated as text.+ item :: (Core.Maybe GooglePrivacyDlpV2ContentItem),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Configuration for the re-identification of the content item. This field shares the same proto message type that is used for de-identification, however its usage here is for the reversal of the previous de-identification. Re-identification is performed by examining the transformations used to de-identify the items and executing the reverse. This requires that only reversible transformations be provided here. The reversible transformations are: - @CryptoDeterministicConfig@ - @CryptoReplaceFfxFpeConfig@+ reidentifyConfig :: (Core.Maybe GooglePrivacyDlpV2DeidentifyConfig),+ -- | Template to use. References an instance of @DeidentifyTemplate@. Any configuration directly specified in @reidentify_config@ or @inspect_config@ will override those set in the template. The @DeidentifyTemplate@ used must include only reversible transformations. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.+ reidentifyTemplateName :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ReidentifyContentRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ReidentifyContentRequest ::+ GooglePrivacyDlpV2ReidentifyContentRequest+newGooglePrivacyDlpV2ReidentifyContentRequest =+ GooglePrivacyDlpV2ReidentifyContentRequest+ { inspectConfig =+ Core.Nothing,+ inspectTemplateName = Core.Nothing,+ item = Core.Nothing,+ locationId = Core.Nothing,+ reidentifyConfig = Core.Nothing,+ reidentifyTemplateName = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ReidentifyContentRequest where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ReidentifyContentRequest"+ ( \o ->+ GooglePrivacyDlpV2ReidentifyContentRequest+ Core.<$> (o Core..:? "inspectConfig")+ Core.<*> (o Core..:? "inspectTemplateName")+ Core.<*> (o Core..:? "item")+ Core.<*> (o Core..:? "locationId")+ Core.<*> (o Core..:? "reidentifyConfig")+ Core.<*> (o Core..:? "reidentifyTemplateName")+ )++instance Core.ToJSON GooglePrivacyDlpV2ReidentifyContentRequest where+ toJSON GooglePrivacyDlpV2ReidentifyContentRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("inspectConfig" Core..=) Core.<$> inspectConfig,+ ("inspectTemplateName" Core..=) Core.<$> inspectTemplateName,+ ("item" Core..=) Core.<$> item,+ ("locationId" Core..=) Core.<$> locationId,+ ("reidentifyConfig" Core..=) Core.<$> reidentifyConfig,+ ("reidentifyTemplateName" Core..=)+ Core.<$> reidentifyTemplateName+ ]+ )++-- | Results of re-identifying an item.+--+-- /See:/ 'newGooglePrivacyDlpV2ReidentifyContentResponse' smart constructor.+data GooglePrivacyDlpV2ReidentifyContentResponse = GooglePrivacyDlpV2ReidentifyContentResponse+ { -- | The re-identified item.+ item :: (Core.Maybe GooglePrivacyDlpV2ContentItem),+ -- | An overview of the changes that were made to the @item@.+ overview :: (Core.Maybe GooglePrivacyDlpV2TransformationOverview)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ReidentifyContentResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ReidentifyContentResponse ::+ GooglePrivacyDlpV2ReidentifyContentResponse+newGooglePrivacyDlpV2ReidentifyContentResponse =+ GooglePrivacyDlpV2ReidentifyContentResponse+ { item = Core.Nothing,+ overview = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ReidentifyContentResponse where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ReidentifyContentResponse"+ ( \o ->+ GooglePrivacyDlpV2ReidentifyContentResponse+ Core.<$> (o Core..:? "item")+ Core.<*> (o Core..:? "overview")+ )++instance Core.ToJSON GooglePrivacyDlpV2ReidentifyContentResponse where+ toJSON GooglePrivacyDlpV2ReidentifyContentResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("item" Core..=) Core.<$> item,+ ("overview" Core..=) Core.<$> overview+ ]+ )++-- | A related resource. Examples: * The source BigQuery table for a Vertex AI dataset. * The source Cloud Storage bucket for a Vertex AI dataset.+--+-- /See:/ 'newGooglePrivacyDlpV2RelatedResource' smart constructor.+newtype GooglePrivacyDlpV2RelatedResource = GooglePrivacyDlpV2RelatedResource+ { -- | The full resource name of the related resource.+ fullResource :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2RelatedResource' with the minimum fields required to make a request.+newGooglePrivacyDlpV2RelatedResource ::+ GooglePrivacyDlpV2RelatedResource+newGooglePrivacyDlpV2RelatedResource =+ GooglePrivacyDlpV2RelatedResource {fullResource = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2RelatedResource where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2RelatedResource"+ ( \o ->+ GooglePrivacyDlpV2RelatedResource+ Core.<$> (o Core..:? "fullResource")+ )++instance Core.ToJSON GooglePrivacyDlpV2RelatedResource where+ toJSON GooglePrivacyDlpV2RelatedResource {..} =+ Core.object+ (Core.catMaybes [("fullResource" Core..=) Core.<$> fullResource])++-- | Replace each input value with a value randomly selected from the dictionary.+--+-- /See:/ 'newGooglePrivacyDlpV2ReplaceDictionaryConfig' smart constructor.+newtype GooglePrivacyDlpV2ReplaceDictionaryConfig = GooglePrivacyDlpV2ReplaceDictionaryConfig+ { -- | A list of words to select from for random replacement. The <https://cloud.google.com/sensitive-data-protection/limits limits> page contains details about the size limits of dictionaries.+ wordList :: (Core.Maybe GooglePrivacyDlpV2WordList)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ReplaceDictionaryConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ReplaceDictionaryConfig ::+ GooglePrivacyDlpV2ReplaceDictionaryConfig+newGooglePrivacyDlpV2ReplaceDictionaryConfig =+ GooglePrivacyDlpV2ReplaceDictionaryConfig+ { wordList =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ReplaceDictionaryConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ReplaceDictionaryConfig"+ ( \o ->+ GooglePrivacyDlpV2ReplaceDictionaryConfig+ Core.<$> (o Core..:? "wordList")+ )++instance Core.ToJSON GooglePrivacyDlpV2ReplaceDictionaryConfig where+ toJSON GooglePrivacyDlpV2ReplaceDictionaryConfig {..} =+ Core.object+ (Core.catMaybes [("wordList" Core..=) Core.<$> wordList])++-- | Replace each input value with a given @Value@.+--+-- /See:/ 'newGooglePrivacyDlpV2ReplaceValueConfig' smart constructor.+newtype GooglePrivacyDlpV2ReplaceValueConfig = GooglePrivacyDlpV2ReplaceValueConfig+ { -- | Value to replace it with.+ newValue' :: (Core.Maybe GooglePrivacyDlpV2Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ReplaceValueConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ReplaceValueConfig ::+ GooglePrivacyDlpV2ReplaceValueConfig+newGooglePrivacyDlpV2ReplaceValueConfig =+ GooglePrivacyDlpV2ReplaceValueConfig {newValue' = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2ReplaceValueConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ReplaceValueConfig"+ ( \o ->+ GooglePrivacyDlpV2ReplaceValueConfig+ Core.<$> (o Core..:? "newValue")+ )++instance Core.ToJSON GooglePrivacyDlpV2ReplaceValueConfig where+ toJSON GooglePrivacyDlpV2ReplaceValueConfig {..} =+ Core.object+ (Core.catMaybes [("newValue" Core..=) Core.<$> newValue'])++-- | Replace each matching finding with the name of the info_type.+--+-- /See:/ 'newGooglePrivacyDlpV2ReplaceWithInfoTypeConfig' smart constructor.+data GooglePrivacyDlpV2ReplaceWithInfoTypeConfig = GooglePrivacyDlpV2ReplaceWithInfoTypeConfig+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ReplaceWithInfoTypeConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ReplaceWithInfoTypeConfig ::+ GooglePrivacyDlpV2ReplaceWithInfoTypeConfig+newGooglePrivacyDlpV2ReplaceWithInfoTypeConfig =+ GooglePrivacyDlpV2ReplaceWithInfoTypeConfig++instance Core.FromJSON GooglePrivacyDlpV2ReplaceWithInfoTypeConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ReplaceWithInfoTypeConfig"+ (\o -> Core.pure GooglePrivacyDlpV2ReplaceWithInfoTypeConfig)++instance Core.ToJSON GooglePrivacyDlpV2ReplaceWithInfoTypeConfig where+ toJSON = Core.const Core.emptyObject++-- | De-identification options.+--+-- /See:/ 'newGooglePrivacyDlpV2RequestedDeidentifyOptions' smart constructor.+data GooglePrivacyDlpV2RequestedDeidentifyOptions = GooglePrivacyDlpV2RequestedDeidentifyOptions+ { -- | Snapshot of the state of the @DeidentifyTemplate@ from the Deidentify action at the time this job was run.+ snapshotDeidentifyTemplate :: (Core.Maybe GooglePrivacyDlpV2DeidentifyTemplate),+ -- | Snapshot of the state of the image transformation @DeidentifyTemplate@ from the @Deidentify@ action at the time this job was run.+ snapshotImageRedactTemplate :: (Core.Maybe GooglePrivacyDlpV2DeidentifyTemplate),+ -- | Snapshot of the state of the structured @DeidentifyTemplate@ from the @Deidentify@ action at the time this job was run.+ snapshotStructuredDeidentifyTemplate :: (Core.Maybe GooglePrivacyDlpV2DeidentifyTemplate)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2RequestedDeidentifyOptions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2RequestedDeidentifyOptions ::+ GooglePrivacyDlpV2RequestedDeidentifyOptions+newGooglePrivacyDlpV2RequestedDeidentifyOptions =+ GooglePrivacyDlpV2RequestedDeidentifyOptions+ { snapshotDeidentifyTemplate =+ Core.Nothing,+ snapshotImageRedactTemplate = Core.Nothing,+ snapshotStructuredDeidentifyTemplate =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2RequestedDeidentifyOptions where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2RequestedDeidentifyOptions"+ ( \o ->+ GooglePrivacyDlpV2RequestedDeidentifyOptions+ Core.<$> (o Core..:? "snapshotDeidentifyTemplate")+ Core.<*> (o Core..:? "snapshotImageRedactTemplate")+ Core.<*> (o Core..:? "snapshotStructuredDeidentifyTemplate")+ )++instance Core.ToJSON GooglePrivacyDlpV2RequestedDeidentifyOptions where+ toJSON GooglePrivacyDlpV2RequestedDeidentifyOptions {..} =+ Core.object+ ( Core.catMaybes+ [ ("snapshotDeidentifyTemplate" Core..=)+ Core.<$> snapshotDeidentifyTemplate,+ ("snapshotImageRedactTemplate" Core..=)+ Core.<$> snapshotImageRedactTemplate,+ ("snapshotStructuredDeidentifyTemplate" Core..=)+ Core.<$> snapshotStructuredDeidentifyTemplate+ ]+ )++-- | Snapshot of the inspection configuration.+--+-- /See:/ 'newGooglePrivacyDlpV2RequestedOptions' smart constructor.+data GooglePrivacyDlpV2RequestedOptions = GooglePrivacyDlpV2RequestedOptions+ { -- | Inspect config.+ jobConfig :: (Core.Maybe GooglePrivacyDlpV2InspectJobConfig),+ -- | If run with an InspectTemplate, a snapshot of its state at the time of this run.+ snapshotInspectTemplate :: (Core.Maybe GooglePrivacyDlpV2InspectTemplate)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2RequestedOptions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2RequestedOptions ::+ GooglePrivacyDlpV2RequestedOptions+newGooglePrivacyDlpV2RequestedOptions =+ GooglePrivacyDlpV2RequestedOptions+ { jobConfig = Core.Nothing,+ snapshotInspectTemplate = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2RequestedOptions where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2RequestedOptions"+ ( \o ->+ GooglePrivacyDlpV2RequestedOptions+ Core.<$> (o Core..:? "jobConfig")+ Core.<*> (o Core..:? "snapshotInspectTemplate")+ )++instance Core.ToJSON GooglePrivacyDlpV2RequestedOptions where+ toJSON GooglePrivacyDlpV2RequestedOptions {..} =+ Core.object+ ( Core.catMaybes+ [ ("jobConfig" Core..=) Core.<$> jobConfig,+ ("snapshotInspectTemplate" Core..=)+ Core.<$> snapshotInspectTemplate+ ]+ )++-- | Risk analysis options.+--+-- /See:/ 'newGooglePrivacyDlpV2RequestedRiskAnalysisOptions' smart constructor.+newtype GooglePrivacyDlpV2RequestedRiskAnalysisOptions = GooglePrivacyDlpV2RequestedRiskAnalysisOptions+ { -- | The job config for the risk job.+ jobConfig :: (Core.Maybe GooglePrivacyDlpV2RiskAnalysisJobConfig)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2RequestedRiskAnalysisOptions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2RequestedRiskAnalysisOptions ::+ GooglePrivacyDlpV2RequestedRiskAnalysisOptions+newGooglePrivacyDlpV2RequestedRiskAnalysisOptions =+ GooglePrivacyDlpV2RequestedRiskAnalysisOptions+ { jobConfig =+ Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2RequestedRiskAnalysisOptions+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2RequestedRiskAnalysisOptions"+ ( \o ->+ GooglePrivacyDlpV2RequestedRiskAnalysisOptions+ Core.<$> (o Core..:? "jobConfig")+ )++instance Core.ToJSON GooglePrivacyDlpV2RequestedRiskAnalysisOptions where+ toJSON GooglePrivacyDlpV2RequestedRiskAnalysisOptions {..} =+ Core.object+ (Core.catMaybes [("jobConfig" Core..=) Core.<$> jobConfig])++-- | All result fields mentioned below are updated while the job is processing.+--+-- /See:/ 'newGooglePrivacyDlpV2Result' smart constructor.+data GooglePrivacyDlpV2Result = GooglePrivacyDlpV2Result+ { -- | Statistics related to the processing of hybrid inspect.+ hybridStats :: (Core.Maybe GooglePrivacyDlpV2HybridInspectStatistics),+ -- | Statistics of how many instances of each info type were found during inspect job.+ infoTypeStats :: (Core.Maybe [GooglePrivacyDlpV2InfoTypeStats]),+ -- | Number of rows scanned after sampling and time filtering (applicable for row based stores such as BigQuery).+ numRowsProcessed :: (Core.Maybe Core.Int64),+ -- | Total size in bytes that were processed.+ processedBytes :: (Core.Maybe Core.Int64),+ -- | Estimate of the number of bytes to process.+ totalEstimatedBytes :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Result' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Result ::+ GooglePrivacyDlpV2Result+newGooglePrivacyDlpV2Result =+ GooglePrivacyDlpV2Result+ { hybridStats = Core.Nothing,+ infoTypeStats = Core.Nothing,+ numRowsProcessed = Core.Nothing,+ processedBytes = Core.Nothing,+ totalEstimatedBytes = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Result where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Result"+ ( \o ->+ GooglePrivacyDlpV2Result+ Core.<$> (o Core..:? "hybridStats")+ Core.<*> (o Core..:? "infoTypeStats")+ Core.<*> (o Core..:? "numRowsProcessed" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "processedBytes" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> ( o+ Core..:? "totalEstimatedBytes"+ Core.<&> Core.fmap Core.fromAsText+ )+ )++instance Core.ToJSON GooglePrivacyDlpV2Result where+ toJSON GooglePrivacyDlpV2Result {..} =+ Core.object+ ( Core.catMaybes+ [ ("hybridStats" Core..=) Core.<$> hybridStats,+ ("infoTypeStats" Core..=) Core.<$> infoTypeStats,+ ("numRowsProcessed" Core..=)+ Core.. Core.AsText+ Core.<$> numRowsProcessed,+ ("processedBytes" Core..=)+ Core.. Core.AsText+ Core.<$> processedBytes,+ ("totalEstimatedBytes" Core..=)+ Core.. Core.AsText+ Core.<$> totalEstimatedBytes+ ]+ )++-- | Configuration for a risk analysis job. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/concepts-risk-analysis to learn more.+--+-- /See:/ 'newGooglePrivacyDlpV2RiskAnalysisJobConfig' smart constructor.+data GooglePrivacyDlpV2RiskAnalysisJobConfig = GooglePrivacyDlpV2RiskAnalysisJobConfig+ { -- | Actions to execute at the completion of the job. Are executed in the order provided.+ actions :: (Core.Maybe [GooglePrivacyDlpV2Action]),+ -- | Privacy metric to compute.+ privacyMetric :: (Core.Maybe GooglePrivacyDlpV2PrivacyMetric),+ -- | Input dataset to compute metrics over.+ sourceTable :: (Core.Maybe GooglePrivacyDlpV2BigQueryTable)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2RiskAnalysisJobConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2RiskAnalysisJobConfig ::+ GooglePrivacyDlpV2RiskAnalysisJobConfig+newGooglePrivacyDlpV2RiskAnalysisJobConfig =+ GooglePrivacyDlpV2RiskAnalysisJobConfig+ { actions = Core.Nothing,+ privacyMetric = Core.Nothing,+ sourceTable = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2RiskAnalysisJobConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2RiskAnalysisJobConfig"+ ( \o ->+ GooglePrivacyDlpV2RiskAnalysisJobConfig+ Core.<$> (o Core..:? "actions")+ Core.<*> (o Core..:? "privacyMetric")+ Core.<*> (o Core..:? "sourceTable")+ )++instance Core.ToJSON GooglePrivacyDlpV2RiskAnalysisJobConfig where+ toJSON GooglePrivacyDlpV2RiskAnalysisJobConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("actions" Core..=) Core.<$> actions,+ ("privacyMetric" Core..=) Core.<$> privacyMetric,+ ("sourceTable" Core..=) Core.<$> sourceTable+ ]+ )++-- | Values of the row.+--+-- /See:/ 'newGooglePrivacyDlpV2Row' smart constructor.+newtype GooglePrivacyDlpV2Row = GooglePrivacyDlpV2Row+ { -- | Individual cells.+ values :: (Core.Maybe [GooglePrivacyDlpV2Value])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Row' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Row ::+ GooglePrivacyDlpV2Row+newGooglePrivacyDlpV2Row =+ GooglePrivacyDlpV2Row {values = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2Row where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Row"+ (\o -> GooglePrivacyDlpV2Row Core.<$> (o Core..:? "values"))++instance Core.ToJSON GooglePrivacyDlpV2Row where+ toJSON GooglePrivacyDlpV2Row {..} =+ Core.object (Core.catMaybes [("values" Core..=) Core.<$> values])++-- | If set, the detailed findings will be persisted to the specified OutputStorageConfig. Only a single instance of this action can be specified. Compatible with: Inspect, Risk+--+-- /See:/ 'newGooglePrivacyDlpV2SaveFindings' smart constructor.+newtype GooglePrivacyDlpV2SaveFindings = GooglePrivacyDlpV2SaveFindings+ { -- | Location to store findings outside of DLP.+ outputConfig :: (Core.Maybe GooglePrivacyDlpV2OutputStorageConfig)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2SaveFindings' with the minimum fields required to make a request.+newGooglePrivacyDlpV2SaveFindings ::+ GooglePrivacyDlpV2SaveFindings+newGooglePrivacyDlpV2SaveFindings =+ GooglePrivacyDlpV2SaveFindings {outputConfig = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2SaveFindings where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2SaveFindings"+ ( \o ->+ GooglePrivacyDlpV2SaveFindings+ Core.<$> (o Core..:? "outputConfig")+ )++instance Core.ToJSON GooglePrivacyDlpV2SaveFindings where+ toJSON GooglePrivacyDlpV2SaveFindings {..} =+ Core.object+ (Core.catMaybes [("outputConfig" Core..=) Core.<$> outputConfig])++-- | Schedule for inspect job triggers.+--+-- /See:/ 'newGooglePrivacyDlpV2Schedule' smart constructor.+newtype GooglePrivacyDlpV2Schedule = GooglePrivacyDlpV2Schedule+ { -- | With this option a job is started on a regular periodic basis. For example: every day (86400 seconds). A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs. This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.+ recurrencePeriodDuration :: (Core.Maybe Core.Duration)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Schedule' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Schedule ::+ GooglePrivacyDlpV2Schedule+newGooglePrivacyDlpV2Schedule =+ GooglePrivacyDlpV2Schedule+ { recurrencePeriodDuration =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Schedule where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Schedule"+ ( \o ->+ GooglePrivacyDlpV2Schedule+ Core.<$> (o Core..:? "recurrencePeriodDuration")+ )++instance Core.ToJSON GooglePrivacyDlpV2Schedule where+ toJSON GooglePrivacyDlpV2Schedule {..} =+ Core.object+ ( Core.catMaybes+ [ ("recurrencePeriodDuration" Core..=)+ Core.<$> recurrencePeriodDuration+ ]+ )++-- | How frequently to modify the profile when the table\'s schema is modified.+--+-- /See:/ 'newGooglePrivacyDlpV2SchemaModifiedCadence' smart constructor.+data GooglePrivacyDlpV2SchemaModifiedCadence = GooglePrivacyDlpV2SchemaModifiedCadence+ { -- | Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.+ frequency :: (Core.Maybe GooglePrivacyDlpV2SchemaModifiedCadence_Frequency),+ -- | The types of schema modifications to consider. Defaults to NEW_COLUMNS.+ types :: (Core.Maybe [GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2SchemaModifiedCadence' with the minimum fields required to make a request.+newGooglePrivacyDlpV2SchemaModifiedCadence ::+ GooglePrivacyDlpV2SchemaModifiedCadence+newGooglePrivacyDlpV2SchemaModifiedCadence =+ GooglePrivacyDlpV2SchemaModifiedCadence+ { frequency = Core.Nothing,+ types = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2SchemaModifiedCadence where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2SchemaModifiedCadence"+ ( \o ->+ GooglePrivacyDlpV2SchemaModifiedCadence+ Core.<$> (o Core..:? "frequency")+ Core.<*> (o Core..:? "types")+ )++instance Core.ToJSON GooglePrivacyDlpV2SchemaModifiedCadence where+ toJSON GooglePrivacyDlpV2SchemaModifiedCadence {..} =+ Core.object+ ( Core.catMaybes+ [ ("frequency" Core..=) Core.<$> frequency,+ ("types" Core..=) Core.<$> types+ ]+ )++-- | Response message for SearchConnections.+--+-- /See:/ 'newGooglePrivacyDlpV2SearchConnectionsResponse' smart constructor.+data GooglePrivacyDlpV2SearchConnectionsResponse = GooglePrivacyDlpV2SearchConnectionsResponse+ { -- | List of connections that match the search query. Note that only a subset of the fields will be populated, and only \"name\" is guaranteed to be set. For full details of a Connection, call GetConnection with the name.+ connections :: (Core.Maybe [GooglePrivacyDlpV2Connection]),+ -- | Token to retrieve the next page of results. An empty value means there are no more results.+ nextPageToken :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2SearchConnectionsResponse' with the minimum fields required to make a request.+newGooglePrivacyDlpV2SearchConnectionsResponse ::+ GooglePrivacyDlpV2SearchConnectionsResponse+newGooglePrivacyDlpV2SearchConnectionsResponse =+ GooglePrivacyDlpV2SearchConnectionsResponse+ { connections =+ Core.Nothing,+ nextPageToken = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2SearchConnectionsResponse where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2SearchConnectionsResponse"+ ( \o ->+ GooglePrivacyDlpV2SearchConnectionsResponse+ Core.<$> (o Core..:? "connections")+ Core.<*> (o Core..:? "nextPageToken")+ )++instance Core.ToJSON GooglePrivacyDlpV2SearchConnectionsResponse where+ toJSON GooglePrivacyDlpV2SearchConnectionsResponse {..} =+ Core.object+ ( Core.catMaybes+ [ ("connections" Core..=) Core.<$> connections,+ ("nextPageToken" Core..=) Core.<$> nextPageToken+ ]+ )++-- | A credential consisting of a username and password, where the password is stored in a Secret Manager resource. Note: Secret Manager <https://cloud.google.com/secret-manager/pricing charges apply>.+--+-- /See:/ 'newGooglePrivacyDlpV2SecretManagerCredential' smart constructor.+data GooglePrivacyDlpV2SecretManagerCredential = GooglePrivacyDlpV2SecretManagerCredential+ { -- | Required. The name of the Secret Manager resource that stores the password, in the form @projects\/project-id\/secrets\/secret-name\/versions\/version@.+ passwordSecretVersionName :: (Core.Maybe Core.Text),+ -- | Required. The username.+ username :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2SecretManagerCredential' with the minimum fields required to make a request.+newGooglePrivacyDlpV2SecretManagerCredential ::+ GooglePrivacyDlpV2SecretManagerCredential+newGooglePrivacyDlpV2SecretManagerCredential =+ GooglePrivacyDlpV2SecretManagerCredential+ { passwordSecretVersionName =+ Core.Nothing,+ username = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2SecretManagerCredential where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2SecretManagerCredential"+ ( \o ->+ GooglePrivacyDlpV2SecretManagerCredential+ Core.<$> (o Core..:? "passwordSecretVersionName")+ Core.<*> (o Core..:? "username")+ )++instance Core.ToJSON GooglePrivacyDlpV2SecretManagerCredential where+ toJSON GooglePrivacyDlpV2SecretManagerCredential {..} =+ Core.object+ ( Core.catMaybes+ [ ("passwordSecretVersionName" Core..=)+ Core.<$> passwordSecretVersionName,+ ("username" Core..=) Core.<$> username+ ]+ )++-- | Discovery target for credentials and secrets in cloud resource metadata. This target does not include any filtering or frequency controls. Cloud DLP will scan cloud resource metadata for secrets daily. No inspect template should be included in the discovery config for a security benchmarks scan. Instead, the built-in list of secrets and credentials infoTypes will be used (see https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/infotypes-reference#credentials/and/secrets). Credentials and secrets discovered will be reported as vulnerabilities to Security Command Center.+--+-- /See:/ 'newGooglePrivacyDlpV2SecretsDiscoveryTarget' smart constructor.+data GooglePrivacyDlpV2SecretsDiscoveryTarget = GooglePrivacyDlpV2SecretsDiscoveryTarget+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2SecretsDiscoveryTarget' with the minimum fields required to make a request.+newGooglePrivacyDlpV2SecretsDiscoveryTarget ::+ GooglePrivacyDlpV2SecretsDiscoveryTarget+newGooglePrivacyDlpV2SecretsDiscoveryTarget =+ GooglePrivacyDlpV2SecretsDiscoveryTarget++instance Core.FromJSON GooglePrivacyDlpV2SecretsDiscoveryTarget where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2SecretsDiscoveryTarget"+ (\o -> Core.pure GooglePrivacyDlpV2SecretsDiscoveryTarget)++instance Core.ToJSON GooglePrivacyDlpV2SecretsDiscoveryTarget where+ toJSON = Core.const Core.emptyObject++-- | Apply transformation to the selected info_types.+--+-- /See:/ 'newGooglePrivacyDlpV2SelectedInfoTypes' smart constructor.+newtype GooglePrivacyDlpV2SelectedInfoTypes = GooglePrivacyDlpV2SelectedInfoTypes+ { -- | Required. InfoTypes to apply the transformation to. Required. Provided InfoType must be unique within the ImageTransformations message.+ infoTypes :: (Core.Maybe [GooglePrivacyDlpV2InfoType])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2SelectedInfoTypes' with the minimum fields required to make a request.+newGooglePrivacyDlpV2SelectedInfoTypes ::+ GooglePrivacyDlpV2SelectedInfoTypes+newGooglePrivacyDlpV2SelectedInfoTypes =+ GooglePrivacyDlpV2SelectedInfoTypes {infoTypes = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2SelectedInfoTypes where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2SelectedInfoTypes"+ ( \o ->+ GooglePrivacyDlpV2SelectedInfoTypes+ Core.<$> (o Core..:? "infoTypes")+ )++instance Core.ToJSON GooglePrivacyDlpV2SelectedInfoTypes where+ toJSON GooglePrivacyDlpV2SelectedInfoTypes {..} =+ Core.object+ (Core.catMaybes [("infoTypes" Core..=) Core.<$> infoTypes])++-- | Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive.+--+-- /See:/ 'newGooglePrivacyDlpV2SensitivityScore' smart constructor.+newtype GooglePrivacyDlpV2SensitivityScore = GooglePrivacyDlpV2SensitivityScore+ { -- | The sensitivity score applied to the resource.+ score :: (Core.Maybe GooglePrivacyDlpV2SensitivityScore_Score)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2SensitivityScore' with the minimum fields required to make a request.+newGooglePrivacyDlpV2SensitivityScore ::+ GooglePrivacyDlpV2SensitivityScore+newGooglePrivacyDlpV2SensitivityScore =+ GooglePrivacyDlpV2SensitivityScore {score = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2SensitivityScore where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2SensitivityScore"+ ( \o ->+ GooglePrivacyDlpV2SensitivityScore Core.<$> (o Core..:? "score")+ )++instance Core.ToJSON GooglePrivacyDlpV2SensitivityScore where+ toJSON GooglePrivacyDlpV2SensitivityScore {..} =+ Core.object (Core.catMaybes [("score" Core..=) Core.<$> score])++-- | An auxiliary table containing statistical information on the relative frequency of different quasi-identifiers values. It has one or several quasi-identifiers columns, and one column that indicates the relative frequency of each quasi-identifier tuple. If a tuple is present in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable).+--+-- /See:/ 'newGooglePrivacyDlpV2StatisticalTable' smart constructor.+data GooglePrivacyDlpV2StatisticalTable = GooglePrivacyDlpV2StatisticalTable+ { -- | Required. Quasi-identifier columns.+ quasiIds :: (Core.Maybe [GooglePrivacyDlpV2QuasiIdentifierField]),+ -- | Required. The relative frequency column must contain a floating-point number between 0 and 1 (inclusive). Null values are assumed to be zero.+ relativeFrequency :: (Core.Maybe GooglePrivacyDlpV2FieldId),+ -- | Required. Auxiliary table location.+ table :: (Core.Maybe GooglePrivacyDlpV2BigQueryTable)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2StatisticalTable' with the minimum fields required to make a request.+newGooglePrivacyDlpV2StatisticalTable ::+ GooglePrivacyDlpV2StatisticalTable+newGooglePrivacyDlpV2StatisticalTable =+ GooglePrivacyDlpV2StatisticalTable+ { quasiIds = Core.Nothing,+ relativeFrequency = Core.Nothing,+ table = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2StatisticalTable where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2StatisticalTable"+ ( \o ->+ GooglePrivacyDlpV2StatisticalTable+ Core.<$> (o Core..:? "quasiIds")+ Core.<*> (o Core..:? "relativeFrequency")+ Core.<*> (o Core..:? "table")+ )++instance Core.ToJSON GooglePrivacyDlpV2StatisticalTable where+ toJSON GooglePrivacyDlpV2StatisticalTable {..} =+ Core.object+ ( Core.catMaybes+ [ ("quasiIds" Core..=) Core.<$> quasiIds,+ ("relativeFrequency" Core..=) Core.<$> relativeFrequency,+ ("table" Core..=) Core.<$> table+ ]+ )++-- | Shared message indicating Cloud storage type.+--+-- /See:/ 'newGooglePrivacyDlpV2StorageConfig' smart constructor.+data GooglePrivacyDlpV2StorageConfig = GooglePrivacyDlpV2StorageConfig+ { -- | BigQuery options.+ bigQueryOptions :: (Core.Maybe GooglePrivacyDlpV2BigQueryOptions),+ -- | Cloud Storage options.+ cloudStorageOptions :: (Core.Maybe GooglePrivacyDlpV2CloudStorageOptions),+ -- | Google Cloud Datastore options.+ datastoreOptions :: (Core.Maybe GooglePrivacyDlpV2DatastoreOptions),+ -- | Hybrid inspection options.+ hybridOptions :: (Core.Maybe GooglePrivacyDlpV2HybridOptions),+ -- | Configuration of the timespan of the items to include in scanning.+ timespanConfig :: (Core.Maybe GooglePrivacyDlpV2TimespanConfig)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2StorageConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2StorageConfig ::+ GooglePrivacyDlpV2StorageConfig+newGooglePrivacyDlpV2StorageConfig =+ GooglePrivacyDlpV2StorageConfig+ { bigQueryOptions = Core.Nothing,+ cloudStorageOptions = Core.Nothing,+ datastoreOptions = Core.Nothing,+ hybridOptions = Core.Nothing,+ timespanConfig = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2StorageConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2StorageConfig"+ ( \o ->+ GooglePrivacyDlpV2StorageConfig+ Core.<$> (o Core..:? "bigQueryOptions")+ Core.<*> (o Core..:? "cloudStorageOptions")+ Core.<*> (o Core..:? "datastoreOptions")+ Core.<*> (o Core..:? "hybridOptions")+ Core.<*> (o Core..:? "timespanConfig")+ )++instance Core.ToJSON GooglePrivacyDlpV2StorageConfig where+ toJSON GooglePrivacyDlpV2StorageConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("bigQueryOptions" Core..=) Core.<$> bigQueryOptions,+ ("cloudStorageOptions" Core..=) Core.<$> cloudStorageOptions,+ ("datastoreOptions" Core..=) Core.<$> datastoreOptions,+ ("hybridOptions" Core..=) Core.<$> hybridOptions,+ ("timespanConfig" Core..=) Core.<$> timespanConfig+ ]+ )++-- | Storage metadata label to indicate which metadata entry contains findings.+--+-- /See:/ 'newGooglePrivacyDlpV2StorageMetadataLabel' smart constructor.+newtype GooglePrivacyDlpV2StorageMetadataLabel = GooglePrivacyDlpV2StorageMetadataLabel+ { -- | Label name.+ key :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2StorageMetadataLabel' with the minimum fields required to make a request.+newGooglePrivacyDlpV2StorageMetadataLabel ::+ GooglePrivacyDlpV2StorageMetadataLabel+newGooglePrivacyDlpV2StorageMetadataLabel =+ GooglePrivacyDlpV2StorageMetadataLabel {key = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2StorageMetadataLabel where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2StorageMetadataLabel"+ ( \o ->+ GooglePrivacyDlpV2StorageMetadataLabel Core.<$> (o Core..:? "key")+ )++instance Core.ToJSON GooglePrivacyDlpV2StorageMetadataLabel where+ toJSON GooglePrivacyDlpV2StorageMetadataLabel {..} =+ Core.object (Core.catMaybes [("key" Core..=) Core.<$> key])++-- | StoredInfoType resource message that contains information about the current version and any pending updates.+--+-- /See:/ 'newGooglePrivacyDlpV2StoredInfoType' smart constructor.+data GooglePrivacyDlpV2StoredInfoType = GooglePrivacyDlpV2StoredInfoType+ { -- | Current version of the stored info type.+ currentVersion :: (Core.Maybe GooglePrivacyDlpV2StoredInfoTypeVersion),+ -- | Resource name.+ name :: (Core.Maybe Core.Text),+ -- | Pending versions of the stored info type. Empty if no versions are pending.+ pendingVersions :: (Core.Maybe [GooglePrivacyDlpV2StoredInfoTypeVersion])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2StoredInfoType' with the minimum fields required to make a request.+newGooglePrivacyDlpV2StoredInfoType ::+ GooglePrivacyDlpV2StoredInfoType+newGooglePrivacyDlpV2StoredInfoType =+ GooglePrivacyDlpV2StoredInfoType+ { currentVersion = Core.Nothing,+ name = Core.Nothing,+ pendingVersions = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2StoredInfoType where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2StoredInfoType"+ ( \o ->+ GooglePrivacyDlpV2StoredInfoType+ Core.<$> (o Core..:? "currentVersion")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "pendingVersions")+ )++instance Core.ToJSON GooglePrivacyDlpV2StoredInfoType where+ toJSON GooglePrivacyDlpV2StoredInfoType {..} =+ Core.object+ ( Core.catMaybes+ [ ("currentVersion" Core..=) Core.<$> currentVersion,+ ("name" Core..=) Core.<$> name,+ ("pendingVersions" Core..=) Core.<$> pendingVersions+ ]+ )++-- | Configuration for stored infoTypes. All fields and subfield are provided by the user. For more information, see https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-custom-infotypes.+--+-- /See:/ 'newGooglePrivacyDlpV2StoredInfoTypeConfig' smart constructor.+data GooglePrivacyDlpV2StoredInfoTypeConfig = GooglePrivacyDlpV2StoredInfoTypeConfig+ { -- | Description of the StoredInfoType (max 256 characters).+ description :: (Core.Maybe Core.Text),+ -- | Store dictionary-based CustomInfoType.+ dictionary :: (Core.Maybe GooglePrivacyDlpV2Dictionary),+ -- | Display name of the StoredInfoType (max 256 characters).+ displayName :: (Core.Maybe Core.Text),+ -- | StoredInfoType where findings are defined by a dictionary of phrases.+ largeCustomDictionary :: (Core.Maybe GooglePrivacyDlpV2LargeCustomDictionaryConfig),+ -- | Store regular expression-based StoredInfoType.+ regex :: (Core.Maybe GooglePrivacyDlpV2Regex)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2StoredInfoTypeConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2StoredInfoTypeConfig ::+ GooglePrivacyDlpV2StoredInfoTypeConfig+newGooglePrivacyDlpV2StoredInfoTypeConfig =+ GooglePrivacyDlpV2StoredInfoTypeConfig+ { description =+ Core.Nothing,+ dictionary = Core.Nothing,+ displayName = Core.Nothing,+ largeCustomDictionary = Core.Nothing,+ regex = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2StoredInfoTypeConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2StoredInfoTypeConfig"+ ( \o ->+ GooglePrivacyDlpV2StoredInfoTypeConfig+ Core.<$> (o Core..:? "description")+ Core.<*> (o Core..:? "dictionary")+ Core.<*> (o Core..:? "displayName")+ Core.<*> (o Core..:? "largeCustomDictionary")+ Core.<*> (o Core..:? "regex")+ )++instance Core.ToJSON GooglePrivacyDlpV2StoredInfoTypeConfig where+ toJSON GooglePrivacyDlpV2StoredInfoTypeConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("description" Core..=) Core.<$> description,+ ("dictionary" Core..=) Core.<$> dictionary,+ ("displayName" Core..=) Core.<$> displayName,+ ("largeCustomDictionary" Core..=) Core.<$> largeCustomDictionary,+ ("regex" Core..=) Core.<$> regex+ ]+ )++-- | Statistics for a StoredInfoType.+--+-- /See:/ 'newGooglePrivacyDlpV2StoredInfoTypeStats' smart constructor.+newtype GooglePrivacyDlpV2StoredInfoTypeStats = GooglePrivacyDlpV2StoredInfoTypeStats+ { -- | StoredInfoType where findings are defined by a dictionary of phrases.+ largeCustomDictionary :: (Core.Maybe GooglePrivacyDlpV2LargeCustomDictionaryStats)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2StoredInfoTypeStats' with the minimum fields required to make a request.+newGooglePrivacyDlpV2StoredInfoTypeStats ::+ GooglePrivacyDlpV2StoredInfoTypeStats+newGooglePrivacyDlpV2StoredInfoTypeStats =+ GooglePrivacyDlpV2StoredInfoTypeStats+ { largeCustomDictionary =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2StoredInfoTypeStats where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2StoredInfoTypeStats"+ ( \o ->+ GooglePrivacyDlpV2StoredInfoTypeStats+ Core.<$> (o Core..:? "largeCustomDictionary")+ )++instance Core.ToJSON GooglePrivacyDlpV2StoredInfoTypeStats where+ toJSON GooglePrivacyDlpV2StoredInfoTypeStats {..} =+ Core.object+ ( Core.catMaybes+ [("largeCustomDictionary" Core..=) Core.<$> largeCustomDictionary]+ )++-- | Version of a StoredInfoType, including the configuration used to build it, create timestamp, and current state.+--+-- /See:/ 'newGooglePrivacyDlpV2StoredInfoTypeVersion' smart constructor.+data GooglePrivacyDlpV2StoredInfoTypeVersion = GooglePrivacyDlpV2StoredInfoTypeVersion+ { -- | StoredInfoType configuration.+ config :: (Core.Maybe GooglePrivacyDlpV2StoredInfoTypeConfig),+ -- | Create timestamp of the version. Read-only, determined by the system when the version is created.+ createTime :: (Core.Maybe Core.DateTime),+ -- | Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user\'s Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same @config@ if it was not the source of the error.+ errors :: (Core.Maybe [GooglePrivacyDlpV2Error]),+ -- | Stored info type version state. Read-only, updated by the system during dictionary creation.+ state :: (Core.Maybe GooglePrivacyDlpV2StoredInfoTypeVersion_State),+ -- | Statistics about this storedInfoType version.+ stats :: (Core.Maybe GooglePrivacyDlpV2StoredInfoTypeStats)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2StoredInfoTypeVersion' with the minimum fields required to make a request.+newGooglePrivacyDlpV2StoredInfoTypeVersion ::+ GooglePrivacyDlpV2StoredInfoTypeVersion+newGooglePrivacyDlpV2StoredInfoTypeVersion =+ GooglePrivacyDlpV2StoredInfoTypeVersion+ { config = Core.Nothing,+ createTime = Core.Nothing,+ errors = Core.Nothing,+ state = Core.Nothing,+ stats = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2StoredInfoTypeVersion where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2StoredInfoTypeVersion"+ ( \o ->+ GooglePrivacyDlpV2StoredInfoTypeVersion+ Core.<$> (o Core..:? "config")+ Core.<*> (o Core..:? "createTime")+ Core.<*> (o Core..:? "errors")+ Core.<*> (o Core..:? "state")+ Core.<*> (o Core..:? "stats")+ )++instance Core.ToJSON GooglePrivacyDlpV2StoredInfoTypeVersion where+ toJSON GooglePrivacyDlpV2StoredInfoTypeVersion {..} =+ Core.object+ ( Core.catMaybes+ [ ("config" Core..=) Core.<$> config,+ ("createTime" Core..=) Core.<$> createTime,+ ("errors" Core..=) Core.<$> errors,+ ("state" Core..=) Core.<$> state,+ ("stats" Core..=) Core.<$> stats+ ]+ )++-- | A reference to a StoredInfoType to use with scanning.+--+-- /See:/ 'newGooglePrivacyDlpV2StoredType' smart constructor.+data GooglePrivacyDlpV2StoredType = GooglePrivacyDlpV2StoredType+ { -- | Timestamp indicating when the version of the @StoredInfoType@ used for inspection was created. Output-only field, populated by the system.+ createTime :: (Core.Maybe Core.DateTime),+ -- | Resource name of the requested @StoredInfoType@, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or @projects\/project-id\/storedInfoTypes\/432452342@.+ name :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2StoredType' with the minimum fields required to make a request.+newGooglePrivacyDlpV2StoredType ::+ GooglePrivacyDlpV2StoredType+newGooglePrivacyDlpV2StoredType =+ GooglePrivacyDlpV2StoredType+ { createTime = Core.Nothing,+ name = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2StoredType where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2StoredType"+ ( \o ->+ GooglePrivacyDlpV2StoredType+ Core.<$> (o Core..:? "createTime")+ Core.<*> (o Core..:? "name")+ )++instance Core.ToJSON GooglePrivacyDlpV2StoredType where+ toJSON GooglePrivacyDlpV2StoredType {..} =+ Core.object+ ( Core.catMaybes+ [ ("createTime" Core..=) Core.<$> createTime,+ ("name" Core..=) Core.<$> name+ ]+ )++-- | A collection that informs the user the number of times a particular @TransformationResultCode@ and error details occurred.+--+-- /See:/ 'newGooglePrivacyDlpV2SummaryResult' smart constructor.+data GooglePrivacyDlpV2SummaryResult = GooglePrivacyDlpV2SummaryResult+ { -- | Outcome of the transformation.+ code :: (Core.Maybe GooglePrivacyDlpV2SummaryResult_Code),+ -- | Number of transformations counted by this result.+ count :: (Core.Maybe Core.Int64),+ -- | A place for warnings or errors to show up if a transformation didn\'t work as expected.+ details :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2SummaryResult' with the minimum fields required to make a request.+newGooglePrivacyDlpV2SummaryResult ::+ GooglePrivacyDlpV2SummaryResult+newGooglePrivacyDlpV2SummaryResult =+ GooglePrivacyDlpV2SummaryResult+ { code = Core.Nothing,+ count = Core.Nothing,+ details = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2SummaryResult where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2SummaryResult"+ ( \o ->+ GooglePrivacyDlpV2SummaryResult+ Core.<$> (o Core..:? "code")+ Core.<*> (o Core..:? "count" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "details")+ )++instance Core.ToJSON GooglePrivacyDlpV2SummaryResult where+ toJSON GooglePrivacyDlpV2SummaryResult {..} =+ Core.object+ ( Core.catMaybes+ [ ("code" Core..=) Core.<$> code,+ ("count" Core..=) Core.. Core.AsText Core.<$> count,+ ("details" Core..=) Core.<$> details+ ]+ )++-- | Message for detecting output from deidentification transformations such as <https://cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig CryptoReplaceFfxFpeConfig>. These types of transformations are those that perform pseudonymization, thereby producing a \"surrogate\" as output. This should be used in conjunction with a field on the transformation such as @surrogate_info_type@. This CustomInfoType does not support the use of @detection_rules@.+--+-- /See:/ 'newGooglePrivacyDlpV2SurrogateType' smart constructor.+data GooglePrivacyDlpV2SurrogateType = GooglePrivacyDlpV2SurrogateType+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2SurrogateType' with the minimum fields required to make a request.+newGooglePrivacyDlpV2SurrogateType ::+ GooglePrivacyDlpV2SurrogateType+newGooglePrivacyDlpV2SurrogateType =+ GooglePrivacyDlpV2SurrogateType++instance Core.FromJSON GooglePrivacyDlpV2SurrogateType where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2SurrogateType"+ (\o -> Core.pure GooglePrivacyDlpV2SurrogateType)++instance Core.ToJSON GooglePrivacyDlpV2SurrogateType where+ toJSON = Core.const Core.emptyObject++-- | Structured content to inspect. Up to 50,000 @Value@s per request allowed. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-structured-text#inspecting/a/table to learn more.+--+-- /See:/ 'newGooglePrivacyDlpV2Table' smart constructor.+data GooglePrivacyDlpV2Table = GooglePrivacyDlpV2Table+ { -- | Headers of the table.+ headers :: (Core.Maybe [GooglePrivacyDlpV2FieldId]),+ -- | Rows of the table.+ rows :: (Core.Maybe [GooglePrivacyDlpV2Row])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Table' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Table ::+ GooglePrivacyDlpV2Table+newGooglePrivacyDlpV2Table =+ GooglePrivacyDlpV2Table+ { headers = Core.Nothing,+ rows = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Table where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Table"+ ( \o ->+ GooglePrivacyDlpV2Table+ Core.<$> (o Core..:? "headers")+ Core.<*> (o Core..:? "rows")+ )++instance Core.ToJSON GooglePrivacyDlpV2Table where+ toJSON GooglePrivacyDlpV2Table {..} =+ Core.object+ ( Core.catMaybes+ [ ("headers" Core..=) Core.<$> headers,+ ("rows" Core..=) Core.<$> rows+ ]+ )++-- | The profile for a scanned table.+--+-- /See:/ 'newGooglePrivacyDlpV2TableDataProfile' smart constructor.+data GooglePrivacyDlpV2TableDataProfile = GooglePrivacyDlpV2TableDataProfile+ { -- | The snapshot of the configurations used to generate the profile.+ configSnapshot :: (Core.Maybe GooglePrivacyDlpV2DataProfileConfigSnapshot),+ -- | The time at which the table was created.+ createTime :: (Core.Maybe Core.DateTime),+ -- | The data risk level of this table.+ dataRiskLevel :: (Core.Maybe GooglePrivacyDlpV2DataRiskLevel),+ -- | The resource type that was profiled.+ dataSourceType :: (Core.Maybe GooglePrivacyDlpV2DataSourceType),+ -- | If the resource is BigQuery, the dataset ID.+ datasetId :: (Core.Maybe Core.Text),+ -- | If supported, the location where the dataset\'s data is stored. See https:\/\/cloud.google.com\/bigquery\/docs\/locations for supported locations.+ datasetLocation :: (Core.Maybe Core.Text),+ -- | The Google Cloud project ID that owns the resource.+ datasetProjectId :: (Core.Maybe Core.Text),+ -- | How the table is encrypted.+ encryptionStatus :: (Core.Maybe GooglePrivacyDlpV2TableDataProfile_EncryptionStatus),+ -- | Optional. The time when this table expires.+ expirationTime :: (Core.Maybe Core.DateTime),+ -- | The number of columns skipped in the table because of an error.+ failedColumnCount :: (Core.Maybe Core.Int64),+ -- | The Cloud Asset Inventory resource that was profiled in order to generate this TableDataProfile. https:\/\/cloud.google.com\/apis\/design\/resource/names#full/resource_name+ fullResource :: (Core.Maybe Core.Text),+ -- | The time when this table was last modified+ lastModifiedTime :: (Core.Maybe Core.DateTime),+ -- | The name of the profile.+ name :: (Core.Maybe Core.Text),+ -- | Other infoTypes found in this table\'s data.+ otherInfoTypes :: (Core.Maybe [GooglePrivacyDlpV2OtherInfoTypeSummary]),+ -- | The infoTypes predicted from this table\'s data.+ predictedInfoTypes :: (Core.Maybe [GooglePrivacyDlpV2InfoTypeSummary]),+ -- | The last time the profile was generated.+ profileLastGenerated :: (Core.Maybe Core.DateTime),+ -- | Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.+ profileStatus :: (Core.Maybe GooglePrivacyDlpV2ProfileStatus),+ -- | The resource name of the project data profile for this table.+ projectDataProfile :: (Core.Maybe Core.Text),+ -- | Resources related to this profile.+ relatedResources :: (Core.Maybe [GooglePrivacyDlpV2RelatedResource]),+ -- | The labels applied to the resource at the time the profile was generated.+ resourceLabels :: (Core.Maybe GooglePrivacyDlpV2TableDataProfile_ResourceLabels),+ -- | How broadly a resource has been shared.+ resourceVisibility :: (Core.Maybe GooglePrivacyDlpV2TableDataProfile_ResourceVisibility),+ -- | Number of rows in the table when the profile was generated. This will not be populated for BigLake tables.+ rowCount :: (Core.Maybe Core.Int64),+ -- | The BigQuery table to which the sample findings are written.+ sampleFindingsTable :: (Core.Maybe GooglePrivacyDlpV2BigQueryTable),+ -- | The number of columns profiled in the table.+ scannedColumnCount :: (Core.Maybe Core.Int64),+ -- | The sensitivity score of this table.+ sensitivityScore :: (Core.Maybe GooglePrivacyDlpV2SensitivityScore),+ -- | State of a profile.+ state :: (Core.Maybe GooglePrivacyDlpV2TableDataProfile_State),+ -- | The table ID.+ tableId :: (Core.Maybe Core.Text),+ -- | The size of the table when the profile was generated.+ tableSizeBytes :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TableDataProfile' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TableDataProfile ::+ GooglePrivacyDlpV2TableDataProfile+newGooglePrivacyDlpV2TableDataProfile =+ GooglePrivacyDlpV2TableDataProfile+ { configSnapshot = Core.Nothing,+ createTime = Core.Nothing,+ dataRiskLevel = Core.Nothing,+ dataSourceType = Core.Nothing,+ datasetId = Core.Nothing,+ datasetLocation = Core.Nothing,+ datasetProjectId = Core.Nothing,+ encryptionStatus = Core.Nothing,+ expirationTime = Core.Nothing,+ failedColumnCount = Core.Nothing,+ fullResource = Core.Nothing,+ lastModifiedTime = Core.Nothing,+ name = Core.Nothing,+ otherInfoTypes = Core.Nothing,+ predictedInfoTypes = Core.Nothing,+ profileLastGenerated = Core.Nothing,+ profileStatus = Core.Nothing,+ projectDataProfile = Core.Nothing,+ relatedResources = Core.Nothing,+ resourceLabels = Core.Nothing,+ resourceVisibility = Core.Nothing,+ rowCount = Core.Nothing,+ sampleFindingsTable = Core.Nothing,+ scannedColumnCount = Core.Nothing,+ sensitivityScore = Core.Nothing,+ state = Core.Nothing,+ tableId = Core.Nothing,+ tableSizeBytes = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2TableDataProfile where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TableDataProfile"+ ( \o ->+ GooglePrivacyDlpV2TableDataProfile+ Core.<$> (o Core..:? "configSnapshot")+ Core.<*> (o Core..:? "createTime")+ Core.<*> (o Core..:? "dataRiskLevel")+ Core.<*> (o Core..:? "dataSourceType")+ Core.<*> (o Core..:? "datasetId")+ Core.<*> (o Core..:? "datasetLocation")+ Core.<*> (o Core..:? "datasetProjectId")+ Core.<*> (o Core..:? "encryptionStatus")+ Core.<*> (o Core..:? "expirationTime")+ Core.<*> (o Core..:? "failedColumnCount" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "fullResource")+ Core.<*> (o Core..:? "lastModifiedTime")+ Core.<*> (o Core..:? "name")+ Core.<*> (o Core..:? "otherInfoTypes")+ Core.<*> (o Core..:? "predictedInfoTypes")+ Core.<*> (o Core..:? "profileLastGenerated")+ Core.<*> (o Core..:? "profileStatus")+ Core.<*> (o Core..:? "projectDataProfile")+ Core.<*> (o Core..:? "relatedResources")+ Core.<*> (o Core..:? "resourceLabels")+ Core.<*> (o Core..:? "resourceVisibility")+ Core.<*> (o Core..:? "rowCount" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "sampleFindingsTable")+ Core.<*> ( o+ Core..:? "scannedColumnCount"+ Core.<&> Core.fmap Core.fromAsText+ )+ Core.<*> (o Core..:? "sensitivityScore")+ Core.<*> (o Core..:? "state")+ Core.<*> (o Core..:? "tableId")+ Core.<*> (o Core..:? "tableSizeBytes" Core.<&> Core.fmap Core.fromAsText)+ )++instance Core.ToJSON GooglePrivacyDlpV2TableDataProfile where+ toJSON GooglePrivacyDlpV2TableDataProfile {..} =+ Core.object+ ( Core.catMaybes+ [ ("configSnapshot" Core..=) Core.<$> configSnapshot,+ ("createTime" Core..=) Core.<$> createTime,+ ("dataRiskLevel" Core..=) Core.<$> dataRiskLevel,+ ("dataSourceType" Core..=) Core.<$> dataSourceType,+ ("datasetId" Core..=) Core.<$> datasetId,+ ("datasetLocation" Core..=) Core.<$> datasetLocation,+ ("datasetProjectId" Core..=) Core.<$> datasetProjectId,+ ("encryptionStatus" Core..=) Core.<$> encryptionStatus,+ ("expirationTime" Core..=) Core.<$> expirationTime,+ ("failedColumnCount" Core..=)+ Core.. Core.AsText+ Core.<$> failedColumnCount,+ ("fullResource" Core..=) Core.<$> fullResource,+ ("lastModifiedTime" Core..=) Core.<$> lastModifiedTime,+ ("name" Core..=) Core.<$> name,+ ("otherInfoTypes" Core..=) Core.<$> otherInfoTypes,+ ("predictedInfoTypes" Core..=) Core.<$> predictedInfoTypes,+ ("profileLastGenerated" Core..=) Core.<$> profileLastGenerated,+ ("profileStatus" Core..=) Core.<$> profileStatus,+ ("projectDataProfile" Core..=) Core.<$> projectDataProfile,+ ("relatedResources" Core..=) Core.<$> relatedResources,+ ("resourceLabels" Core..=) Core.<$> resourceLabels,+ ("resourceVisibility" Core..=) Core.<$> resourceVisibility,+ ("rowCount" Core..=) Core.. Core.AsText Core.<$> rowCount,+ ("sampleFindingsTable" Core..=) Core.<$> sampleFindingsTable,+ ("scannedColumnCount" Core..=)+ Core.. Core.AsText+ Core.<$> scannedColumnCount,+ ("sensitivityScore" Core..=) Core.<$> sensitivityScore,+ ("state" Core..=) Core.<$> state,+ ("tableId" Core..=) Core.<$> tableId,+ ("tableSizeBytes" Core..=)+ Core.. Core.AsText+ Core.<$> tableSizeBytes+ ]+ )++-- | The labels applied to the resource at the time the profile was generated.+--+-- /See:/ 'newGooglePrivacyDlpV2TableDataProfile_ResourceLabels' smart constructor.+newtype GooglePrivacyDlpV2TableDataProfile_ResourceLabels = GooglePrivacyDlpV2TableDataProfile_ResourceLabels+ { additional :: (Core.HashMap Core.Text Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TableDataProfile_ResourceLabels' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TableDataProfile_ResourceLabels ::+ -- | See 'additional'.+ Core.HashMap Core.Text Core.Text ->+ GooglePrivacyDlpV2TableDataProfile_ResourceLabels+newGooglePrivacyDlpV2TableDataProfile_ResourceLabels additional =+ GooglePrivacyDlpV2TableDataProfile_ResourceLabels+ { additional =+ additional+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2TableDataProfile_ResourceLabels+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TableDataProfile_ResourceLabels"+ ( \o ->+ GooglePrivacyDlpV2TableDataProfile_ResourceLabels+ Core.<$> (Core.parseJSONObject o)+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2TableDataProfile_ResourceLabels+ where+ toJSON GooglePrivacyDlpV2TableDataProfile_ResourceLabels {..} =+ Core.toJSON additional++-- | Location of a finding within a table.+--+-- /See:/ 'newGooglePrivacyDlpV2TableLocation' smart constructor.+newtype GooglePrivacyDlpV2TableLocation = GooglePrivacyDlpV2TableLocation+ { -- | The zero-based index of the row where the finding is located. Only populated for resources that have a natural ordering, not BigQuery. In BigQuery, to identify the row a finding came from, populate BigQueryOptions.identifying_fields with your primary key column names and when you store the findings the value of those columns will be stored inside of Finding.+ rowIndex :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TableLocation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TableLocation ::+ GooglePrivacyDlpV2TableLocation+newGooglePrivacyDlpV2TableLocation =+ GooglePrivacyDlpV2TableLocation {rowIndex = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2TableLocation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TableLocation"+ ( \o ->+ GooglePrivacyDlpV2TableLocation+ Core.<$> (o Core..:? "rowIndex" Core.<&> Core.fmap Core.fromAsText)+ )++instance Core.ToJSON GooglePrivacyDlpV2TableLocation where+ toJSON GooglePrivacyDlpV2TableLocation {..} =+ Core.object+ ( Core.catMaybes+ [("rowIndex" Core..=) Core.. Core.AsText Core.<$> rowIndex]+ )++-- | Instructions regarding the table content being inspected.+--+-- /See:/ 'newGooglePrivacyDlpV2TableOptions' smart constructor.+newtype GooglePrivacyDlpV2TableOptions = GooglePrivacyDlpV2TableOptions+ { -- | The columns that are the primary keys for table objects included in ContentItem. A copy of this cell\'s value will stored alongside alongside each finding so that the finding can be traced to the specific row it came from. No more than 3 may be provided.+ identifyingFields :: (Core.Maybe [GooglePrivacyDlpV2FieldId])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TableOptions' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TableOptions ::+ GooglePrivacyDlpV2TableOptions+newGooglePrivacyDlpV2TableOptions =+ GooglePrivacyDlpV2TableOptions {identifyingFields = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2TableOptions where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TableOptions"+ ( \o ->+ GooglePrivacyDlpV2TableOptions+ Core.<$> (o Core..:? "identifyingFields")+ )++instance Core.ToJSON GooglePrivacyDlpV2TableOptions where+ toJSON GooglePrivacyDlpV2TableOptions {..} =+ Core.object+ ( Core.catMaybes+ [("identifyingFields" Core..=) Core.<$> identifyingFields]+ )++-- | Message defining the location of a BigQuery table with the projectId inferred from the parent project.+--+-- /See:/ 'newGooglePrivacyDlpV2TableReference' smart constructor.+data GooglePrivacyDlpV2TableReference = GooglePrivacyDlpV2TableReference+ { -- | Dataset ID of the table.+ datasetId :: (Core.Maybe Core.Text),+ -- | Name of the table.+ tableId :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TableReference' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TableReference ::+ GooglePrivacyDlpV2TableReference+newGooglePrivacyDlpV2TableReference =+ GooglePrivacyDlpV2TableReference+ { datasetId = Core.Nothing,+ tableId = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2TableReference where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TableReference"+ ( \o ->+ GooglePrivacyDlpV2TableReference+ Core.<$> (o Core..:? "datasetId")+ Core.<*> (o Core..:? "tableId")+ )++instance Core.ToJSON GooglePrivacyDlpV2TableReference where+ toJSON GooglePrivacyDlpV2TableReference {..} =+ Core.object+ ( Core.catMaybes+ [ ("datasetId" Core..=) Core.<$> datasetId,+ ("tableId" Core..=) Core.<$> tableId+ ]+ )++-- | The tag to attach to profiles matching the condition. At most one @TagCondition@ can be specified per sensitivity level.+--+-- /See:/ 'newGooglePrivacyDlpV2TagCondition' smart constructor.+data GooglePrivacyDlpV2TagCondition = GooglePrivacyDlpV2TagCondition+ { -- | Conditions attaching the tag to a resource on its profile having this sensitivity score.+ sensitivityScore :: (Core.Maybe GooglePrivacyDlpV2SensitivityScore),+ -- | The tag value to attach to resources.+ tag :: (Core.Maybe GooglePrivacyDlpV2TagValue)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TagCondition' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TagCondition ::+ GooglePrivacyDlpV2TagCondition+newGooglePrivacyDlpV2TagCondition =+ GooglePrivacyDlpV2TagCondition+ { sensitivityScore = Core.Nothing,+ tag = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2TagCondition where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TagCondition"+ ( \o ->+ GooglePrivacyDlpV2TagCondition+ Core.<$> (o Core..:? "sensitivityScore")+ Core.<*> (o Core..:? "tag")+ )++instance Core.ToJSON GooglePrivacyDlpV2TagCondition where+ toJSON GooglePrivacyDlpV2TagCondition {..} =+ Core.object+ ( Core.catMaybes+ [ ("sensitivityScore" Core..=) Core.<$> sensitivityScore,+ ("tag" Core..=) Core.<$> tag+ ]+ )++-- | If set, attaches the [tags] (https:\/\/cloud.google.com\/resource-manager\/docs\/tags\/tags-overview) provided to profiled resources. Tags support <https://cloud.google.com/iam/docs/tags-access-control access control>. You can conditionally grant or deny access to a resource based on whether the resource has a specific tag.+--+-- /See:/ 'newGooglePrivacyDlpV2TagResources' smart constructor.+data GooglePrivacyDlpV2TagResources = GooglePrivacyDlpV2TagResources+ { -- | Whether applying a tag to a resource should lower the risk of the profile for that resource. For example, in conjunction with an <https://cloud.google.com/iam/docs/deny-overview IAM deny policy>, you can deny all principals a permission if a tag value is present, mitigating the risk of the resource. This also lowers the data risk of resources at the lower levels of the resource hierarchy. For example, reducing the data risk of a table data profile also reduces the data risk of the constituent column data profiles.+ lowerDataRiskToLow :: (Core.Maybe Core.Bool),+ -- | The profile generations for which the tag should be attached to resources. If you attach a tag to only new profiles, then if the sensitivity score of a profile subsequently changes, its tag doesn\'t change. By default, this field includes only new profiles. To include both new and updated profiles for tagging, this field should explicitly include both @PROFILE_GENERATION_NEW@ and @PROFILE_GENERATION_UPDATE@.+ profileGenerationsToTag ::+ ( Core.Maybe+ [GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem]+ ),+ -- | The tags to associate with different conditions.+ tagConditions :: (Core.Maybe [GooglePrivacyDlpV2TagCondition])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TagResources' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TagResources ::+ GooglePrivacyDlpV2TagResources+newGooglePrivacyDlpV2TagResources =+ GooglePrivacyDlpV2TagResources+ { lowerDataRiskToLow = Core.Nothing,+ profileGenerationsToTag = Core.Nothing,+ tagConditions = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2TagResources where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TagResources"+ ( \o ->+ GooglePrivacyDlpV2TagResources+ Core.<$> (o Core..:? "lowerDataRiskToLow")+ Core.<*> (o Core..:? "profileGenerationsToTag")+ Core.<*> (o Core..:? "tagConditions")+ )++instance Core.ToJSON GooglePrivacyDlpV2TagResources where+ toJSON GooglePrivacyDlpV2TagResources {..} =+ Core.object+ ( Core.catMaybes+ [ ("lowerDataRiskToLow" Core..=) Core.<$> lowerDataRiskToLow,+ ("profileGenerationsToTag" Core..=)+ Core.<$> profileGenerationsToTag,+ ("tagConditions" Core..=) Core.<$> tagConditions+ ]+ )++-- | A value of a tag.+--+-- /See:/ 'newGooglePrivacyDlpV2TagValue' smart constructor.+newtype GooglePrivacyDlpV2TagValue = GooglePrivacyDlpV2TagValue+ { -- | The namespaced name for the tag value to attach to resources. Must be in the format @{parent_id}\/{tag_key_short_name}\/{short_name}@, for example, \"123456\/environment\/prod\".+ namespacedValue :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TagValue' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TagValue ::+ GooglePrivacyDlpV2TagValue+newGooglePrivacyDlpV2TagValue =+ GooglePrivacyDlpV2TagValue {namespacedValue = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2TagValue where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TagValue"+ ( \o ->+ GooglePrivacyDlpV2TagValue Core.<$> (o Core..:? "namespacedValue")+ )++instance Core.ToJSON GooglePrivacyDlpV2TagValue where+ toJSON GooglePrivacyDlpV2TagValue {..} =+ Core.object+ ( Core.catMaybes+ [("namespacedValue" Core..=) Core.<$> namespacedValue]+ )++-- | A column with a semantic tag attached.+--+-- /See:/ 'newGooglePrivacyDlpV2TaggedField' smart constructor.+data GooglePrivacyDlpV2TaggedField = GooglePrivacyDlpV2TaggedField+ { -- | A column can be tagged with a custom tag. In this case, the user must indicate an auxiliary table that contains statistical information on the possible values of this column (below).+ customTag :: (Core.Maybe Core.Text),+ -- | Required. Identifies the column.+ field :: (Core.Maybe GooglePrivacyDlpV2FieldId),+ -- | If no semantic tag is indicated, we infer the statistical model from the distribution of values in the input data+ inferred :: (Core.Maybe GoogleProtobufEmpty),+ -- | A column can be tagged with a InfoType to use the relevant public dataset as a statistical model of population, if available. We currently support US ZIP codes, region codes, ages and genders. To programmatically obtain the list of supported InfoTypes, use ListInfoTypes with the supported/by=RISK/ANALYSIS filter.+ infoType :: (Core.Maybe GooglePrivacyDlpV2InfoType)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TaggedField' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TaggedField ::+ GooglePrivacyDlpV2TaggedField+newGooglePrivacyDlpV2TaggedField =+ GooglePrivacyDlpV2TaggedField+ { customTag = Core.Nothing,+ field = Core.Nothing,+ inferred = Core.Nothing,+ infoType = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2TaggedField where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TaggedField"+ ( \o ->+ GooglePrivacyDlpV2TaggedField+ Core.<$> (o Core..:? "customTag")+ Core.<*> (o Core..:? "field")+ Core.<*> (o Core..:? "inferred")+ Core.<*> (o Core..:? "infoType")+ )++instance Core.ToJSON GooglePrivacyDlpV2TaggedField where+ toJSON GooglePrivacyDlpV2TaggedField {..} =+ Core.object+ ( Core.catMaybes+ [ ("customTag" Core..=) Core.<$> customTag,+ ("field" Core..=) Core.<$> field,+ ("inferred" Core..=) Core.<$> inferred,+ ("infoType" Core..=) Core.<$> infoType+ ]+ )++-- | Throw an error and fail the request when a transformation error occurs.+--+-- /See:/ 'newGooglePrivacyDlpV2ThrowError' smart constructor.+data GooglePrivacyDlpV2ThrowError = GooglePrivacyDlpV2ThrowError+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ThrowError' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ThrowError ::+ GooglePrivacyDlpV2ThrowError+newGooglePrivacyDlpV2ThrowError = GooglePrivacyDlpV2ThrowError++instance Core.FromJSON GooglePrivacyDlpV2ThrowError where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ThrowError"+ (\o -> Core.pure GooglePrivacyDlpV2ThrowError)++instance Core.ToJSON GooglePrivacyDlpV2ThrowError where+ toJSON = Core.const Core.emptyObject++-- | For use with @Date@, @Timestamp@, and @TimeOfDay@, extract or preserve a portion of the value.+--+-- /See:/ 'newGooglePrivacyDlpV2TimePartConfig' smart constructor.+newtype GooglePrivacyDlpV2TimePartConfig = GooglePrivacyDlpV2TimePartConfig+ { -- | The part of the time to keep.+ partToExtract :: (Core.Maybe GooglePrivacyDlpV2TimePartConfig_PartToExtract)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TimePartConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TimePartConfig ::+ GooglePrivacyDlpV2TimePartConfig+newGooglePrivacyDlpV2TimePartConfig =+ GooglePrivacyDlpV2TimePartConfig {partToExtract = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2TimePartConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TimePartConfig"+ ( \o ->+ GooglePrivacyDlpV2TimePartConfig+ Core.<$> (o Core..:? "partToExtract")+ )++instance Core.ToJSON GooglePrivacyDlpV2TimePartConfig where+ toJSON GooglePrivacyDlpV2TimePartConfig {..} =+ Core.object+ (Core.catMaybes [("partToExtract" Core..=) Core.<$> partToExtract])++-- | Time zone of the date time object.+--+-- /See:/ 'newGooglePrivacyDlpV2TimeZone' smart constructor.+newtype GooglePrivacyDlpV2TimeZone = GooglePrivacyDlpV2TimeZone+ { -- | Set only if the offset can be determined. Positive for time ahead of UTC. E.g. For \"UTC-9\", this value is -540.+ offsetMinutes :: (Core.Maybe Core.Int32)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TimeZone' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TimeZone ::+ GooglePrivacyDlpV2TimeZone+newGooglePrivacyDlpV2TimeZone =+ GooglePrivacyDlpV2TimeZone {offsetMinutes = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2TimeZone where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TimeZone"+ ( \o ->+ GooglePrivacyDlpV2TimeZone Core.<$> (o Core..:? "offsetMinutes")+ )++instance Core.ToJSON GooglePrivacyDlpV2TimeZone where+ toJSON GooglePrivacyDlpV2TimeZone {..} =+ Core.object+ (Core.catMaybes [("offsetMinutes" Core..=) Core.<$> offsetMinutes])++-- | Configuration of the timespan of the items to include in scanning. Currently only supported when inspecting Cloud Storage and BigQuery.+--+-- /See:/ 'newGooglePrivacyDlpV2TimespanConfig' smart constructor.+data GooglePrivacyDlpV2TimespanConfig = GooglePrivacyDlpV2TimespanConfig+ { -- | When the job is started by a JobTrigger we will automatically figure out a valid start/time to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan end/time used in the last run of the JobTrigger. __For BigQuery__ Inspect jobs triggered by automatic population will scan data that is at least three hours old when the job starts. This is because streaming buffer rows are not read during inspection and reading up to the current timestamp will result in skipped rows. See the <https://cloud.google.com/sensitive-data-protection/docs/known-issues#recently-streamed-data known issue> related to this operation.+ enableAutoPopulationOfTimespanConfig :: (Core.Maybe Core.Bool),+ -- | Exclude files, tables, or rows newer than this value. If not set, no upper time limit is applied.+ endTime :: (Core.Maybe Core.DateTime),+ -- | Exclude files, tables, or rows older than this value. If not set, no lower time limit is applied.+ startTime :: (Core.Maybe Core.DateTime),+ -- | Specification of the field containing the timestamp of scanned items. Used for data sources like Datastore and BigQuery. __For BigQuery__ If this value is not specified and the table was modified between the given start and end times, the entire table will be scanned. If this value is specified, then rows are filtered based on the given start and end times. Rows with a @NULL@ value in the provided BigQuery column are skipped. Valid data types of the provided BigQuery column are: @INTEGER@, @DATE@, @TIMESTAMP@, and @DATETIME@. If your BigQuery table is <https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time partitioned at ingestion time>, you can use any of the following pseudo-columns as your timestamp field. When used with Cloud DLP, these pseudo-column names are case sensitive. - @_PARTITIONTIME@ - @_PARTITIONDATE@ - @_PARTITION_LOAD_TIME@ __For Datastore__ If this value is specified, then entities are filtered based on the given start and end times. If an entity does not contain the+ -- provided timestamp property or contains empty or invalid values, then it is included. Valid data types of the provided timestamp property are: @TIMESTAMP@. See the <https://cloud.google.com/sensitive-data-protection/docs/known-issues#bq-timespan known issue> related to this operation.+ timestampField :: (Core.Maybe GooglePrivacyDlpV2FieldId)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TimespanConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TimespanConfig ::+ GooglePrivacyDlpV2TimespanConfig+newGooglePrivacyDlpV2TimespanConfig =+ GooglePrivacyDlpV2TimespanConfig+ { enableAutoPopulationOfTimespanConfig =+ Core.Nothing,+ endTime = Core.Nothing,+ startTime = Core.Nothing,+ timestampField = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2TimespanConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TimespanConfig"+ ( \o ->+ GooglePrivacyDlpV2TimespanConfig+ Core.<$> (o Core..:? "enableAutoPopulationOfTimespanConfig")+ Core.<*> (o Core..:? "endTime")+ Core.<*> (o Core..:? "startTime")+ Core.<*> (o Core..:? "timestampField")+ )++instance Core.ToJSON GooglePrivacyDlpV2TimespanConfig where+ toJSON GooglePrivacyDlpV2TimespanConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("enableAutoPopulationOfTimespanConfig" Core..=)+ Core.<$> enableAutoPopulationOfTimespanConfig,+ ("endTime" Core..=) Core.<$> endTime,+ ("startTime" Core..=) Core.<$> startTime,+ ("timestampField" Core..=) Core.<$> timestampField+ ]+ )++-- | User specified templates and configs for how to deidentify structured, unstructures, and image files. User must provide either a unstructured deidentify template or at least one redact image config.+--+-- /See:/ 'newGooglePrivacyDlpV2TransformationConfig' smart constructor.+data GooglePrivacyDlpV2TransformationConfig = GooglePrivacyDlpV2TransformationConfig+ { -- | De-identify template. If this template is specified, it will serve as the default de-identify template. This template cannot contain @record_transformations@ since it can be used for unstructured content such as free-form text files. If this template is not set, a default @ReplaceWithInfoTypeConfig@ will be used to de-identify unstructured content.+ deidentifyTemplate :: (Core.Maybe Core.Text),+ -- | Image redact template. If this template is specified, it will serve as the de-identify template for images. If this template is not set, all findings in the image will be redacted with a black box.+ imageRedactTemplate :: (Core.Maybe Core.Text),+ -- | Structured de-identify template. If this template is specified, it will serve as the de-identify template for structured content such as delimited files and tables. If this template is not set but the @deidentify_template@ is set, then @deidentify_template@ will also apply to the structured content. If neither template is set, a default @ReplaceWithInfoTypeConfig@ will be used to de-identify structured content.+ structuredDeidentifyTemplate :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TransformationConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TransformationConfig ::+ GooglePrivacyDlpV2TransformationConfig+newGooglePrivacyDlpV2TransformationConfig =+ GooglePrivacyDlpV2TransformationConfig+ { deidentifyTemplate =+ Core.Nothing,+ imageRedactTemplate = Core.Nothing,+ structuredDeidentifyTemplate = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2TransformationConfig where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TransformationConfig"+ ( \o ->+ GooglePrivacyDlpV2TransformationConfig+ Core.<$> (o Core..:? "deidentifyTemplate")+ Core.<*> (o Core..:? "imageRedactTemplate")+ Core.<*> (o Core..:? "structuredDeidentifyTemplate")+ )++instance Core.ToJSON GooglePrivacyDlpV2TransformationConfig where+ toJSON GooglePrivacyDlpV2TransformationConfig {..} =+ Core.object+ ( Core.catMaybes+ [ ("deidentifyTemplate" Core..=) Core.<$> deidentifyTemplate,+ ("imageRedactTemplate" Core..=) Core.<$> imageRedactTemplate,+ ("structuredDeidentifyTemplate" Core..=)+ Core.<$> structuredDeidentifyTemplate+ ]+ )++-- | A flattened description of a @PrimitiveTransformation@ or @RecordSuppression@.+--+-- /See:/ 'newGooglePrivacyDlpV2TransformationDescription' smart constructor.+data GooglePrivacyDlpV2TransformationDescription = GooglePrivacyDlpV2TransformationDescription+ { -- | A human-readable string representation of the @RecordCondition@ corresponding to this transformation. Set if a @RecordCondition@ was used to determine whether or not to apply this transformation. Examples: * (age/field > 85) * (age/field \<= 18) * (zip/field exists) * (zip/field == 01234) && (city/field != \"Springville\") * (zip/field == 01234) && (age/field \<= 18) && (city/field exists)+ condition :: (Core.Maybe Core.Text),+ -- | A description of the transformation. This is empty for a RECORD_SUPPRESSION, or is the output of calling toString() on the @PrimitiveTransformation@ protocol buffer message for any other type of transformation.+ description :: (Core.Maybe Core.Text),+ -- | Set if the transformation was limited to a specific @InfoType@.+ infoType :: (Core.Maybe GooglePrivacyDlpV2InfoType),+ -- | The transformation type.+ type' :: (Core.Maybe GooglePrivacyDlpV2TransformationDescription_Type)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TransformationDescription' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TransformationDescription ::+ GooglePrivacyDlpV2TransformationDescription+newGooglePrivacyDlpV2TransformationDescription =+ GooglePrivacyDlpV2TransformationDescription+ { condition =+ Core.Nothing,+ description = Core.Nothing,+ infoType = Core.Nothing,+ type' = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2TransformationDescription where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TransformationDescription"+ ( \o ->+ GooglePrivacyDlpV2TransformationDescription+ Core.<$> (o Core..:? "condition")+ Core.<*> (o Core..:? "description")+ Core.<*> (o Core..:? "infoType")+ Core.<*> (o Core..:? "type")+ )++instance Core.ToJSON GooglePrivacyDlpV2TransformationDescription where+ toJSON GooglePrivacyDlpV2TransformationDescription {..} =+ Core.object+ ( Core.catMaybes+ [ ("condition" Core..=) Core.<$> condition,+ ("description" Core..=) Core.<$> description,+ ("infoType" Core..=) Core.<$> infoType,+ ("type" Core..=) Core.<$> type'+ ]+ )++-- | Details about a single transformation. This object contains a description of the transformation, information about whether the transformation was successfully applied, and the precise location where the transformation occurred. These details are stored in a user-specified BigQuery table.+--+-- /See:/ 'newGooglePrivacyDlpV2TransformationDetails' smart constructor.+data GooglePrivacyDlpV2TransformationDetails = GooglePrivacyDlpV2TransformationDetails+ { -- | The top level name of the container where the transformation is located (this will be the source file name or table name).+ containerName :: (Core.Maybe Core.Text),+ -- | The name of the job that completed the transformation.+ resourceName :: (Core.Maybe Core.Text),+ -- | Status of the transformation, if transformation was not successful, this will specify what caused it to fail, otherwise it will show that the transformation was successful.+ statusDetails :: (Core.Maybe GooglePrivacyDlpV2TransformationResultStatus),+ -- | Description of transformation. This would only contain more than one element if there were multiple matching transformations and which one to apply was ambiguous. Not set for states that contain no transformation, currently only state that contains no transformation is TransformationResultStateType.METADATA_UNRETRIEVABLE.+ transformation :: (Core.Maybe [GooglePrivacyDlpV2TransformationDescription]),+ -- | The precise location of the transformed content in the original container.+ transformationLocation :: (Core.Maybe GooglePrivacyDlpV2TransformationLocation),+ -- | The number of bytes that were transformed. If transformation was unsuccessful or did not take place because there was no content to transform, this will be zero.+ transformedBytes :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TransformationDetails' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TransformationDetails ::+ GooglePrivacyDlpV2TransformationDetails+newGooglePrivacyDlpV2TransformationDetails =+ GooglePrivacyDlpV2TransformationDetails+ { containerName =+ Core.Nothing,+ resourceName = Core.Nothing,+ statusDetails = Core.Nothing,+ transformation = Core.Nothing,+ transformationLocation = Core.Nothing,+ transformedBytes = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2TransformationDetails where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TransformationDetails"+ ( \o ->+ GooglePrivacyDlpV2TransformationDetails+ Core.<$> (o Core..:? "containerName")+ Core.<*> (o Core..:? "resourceName")+ Core.<*> (o Core..:? "statusDetails")+ Core.<*> (o Core..:? "transformation")+ Core.<*> (o Core..:? "transformationLocation")+ Core.<*> (o Core..:? "transformedBytes" Core.<&> Core.fmap Core.fromAsText)+ )++instance Core.ToJSON GooglePrivacyDlpV2TransformationDetails where+ toJSON GooglePrivacyDlpV2TransformationDetails {..} =+ Core.object+ ( Core.catMaybes+ [ ("containerName" Core..=) Core.<$> containerName,+ ("resourceName" Core..=) Core.<$> resourceName,+ ("statusDetails" Core..=) Core.<$> statusDetails,+ ("transformation" Core..=) Core.<$> transformation,+ ("transformationLocation" Core..=) Core.<$> transformationLocation,+ ("transformedBytes" Core..=)+ Core.. Core.AsText+ Core.<$> transformedBytes+ ]+ )++-- | Config for storing transformation details.+--+-- /See:/ 'newGooglePrivacyDlpV2TransformationDetailsStorageConfig' smart constructor.+newtype GooglePrivacyDlpV2TransformationDetailsStorageConfig = GooglePrivacyDlpV2TransformationDetailsStorageConfig+ { -- | The BigQuery table in which to store the output. This may be an existing table or in a new table in an existing dataset. If table/id is not set a new one will be generated for you with the following format: dlp/googleapis/transformation/details/yyyy/mm/dd/[dlp/job/id]. Pacific time zone will be used for generating the date details.+ table :: (Core.Maybe GooglePrivacyDlpV2BigQueryTable)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TransformationDetailsStorageConfig' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TransformationDetailsStorageConfig ::+ GooglePrivacyDlpV2TransformationDetailsStorageConfig+newGooglePrivacyDlpV2TransformationDetailsStorageConfig =+ GooglePrivacyDlpV2TransformationDetailsStorageConfig+ { table =+ Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2TransformationDetailsStorageConfig+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TransformationDetailsStorageConfig"+ ( \o ->+ GooglePrivacyDlpV2TransformationDetailsStorageConfig+ Core.<$> (o Core..:? "table")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2TransformationDetailsStorageConfig+ where+ toJSON GooglePrivacyDlpV2TransformationDetailsStorageConfig {..} =+ Core.object (Core.catMaybes [("table" Core..=) Core.<$> table])++-- | How to handle transformation errors during de-identification. A transformation error occurs when the requested transformation is incompatible with the data. For example, trying to de-identify an IP address using a @DateShift@ transformation would result in a transformation error, since date info cannot be extracted from an IP address. Information about any incompatible transformations, and how they were handled, is returned in the response as part of the @TransformationOverviews@.+--+-- /See:/ 'newGooglePrivacyDlpV2TransformationErrorHandling' smart constructor.+data GooglePrivacyDlpV2TransformationErrorHandling = GooglePrivacyDlpV2TransformationErrorHandling+ { -- | Ignore errors+ leaveUntransformed :: (Core.Maybe GooglePrivacyDlpV2LeaveUntransformed),+ -- | Throw an error+ throwError :: (Core.Maybe GooglePrivacyDlpV2ThrowError)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TransformationErrorHandling' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TransformationErrorHandling ::+ GooglePrivacyDlpV2TransformationErrorHandling+newGooglePrivacyDlpV2TransformationErrorHandling =+ GooglePrivacyDlpV2TransformationErrorHandling+ { leaveUntransformed =+ Core.Nothing,+ throwError = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2TransformationErrorHandling+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TransformationErrorHandling"+ ( \o ->+ GooglePrivacyDlpV2TransformationErrorHandling+ Core.<$> (o Core..:? "leaveUntransformed")+ Core.<*> (o Core..:? "throwError")+ )++instance Core.ToJSON GooglePrivacyDlpV2TransformationErrorHandling where+ toJSON GooglePrivacyDlpV2TransformationErrorHandling {..} =+ Core.object+ ( Core.catMaybes+ [ ("leaveUntransformed" Core..=) Core.<$> leaveUntransformed,+ ("throwError" Core..=) Core.<$> throwError+ ]+ )++-- | Specifies the location of a transformation.+--+-- /See:/ 'newGooglePrivacyDlpV2TransformationLocation' smart constructor.+data GooglePrivacyDlpV2TransformationLocation = GooglePrivacyDlpV2TransformationLocation+ { -- | Information about the functionality of the container where this finding occurred, if available.+ containerType :: (Core.Maybe GooglePrivacyDlpV2TransformationLocation_ContainerType),+ -- | For infotype transformations, link to the corresponding findings ID so that location information does not need to be duplicated. Each findings ID correlates to an entry in the findings output table, this table only gets created when users specify to save findings (add the save findings action to the request).+ findingId :: (Core.Maybe Core.Text),+ -- | For record transformations, provide a field and container information.+ recordTransformation :: (Core.Maybe GooglePrivacyDlpV2RecordTransformation)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TransformationLocation' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TransformationLocation ::+ GooglePrivacyDlpV2TransformationLocation+newGooglePrivacyDlpV2TransformationLocation =+ GooglePrivacyDlpV2TransformationLocation+ { containerType =+ Core.Nothing,+ findingId = Core.Nothing,+ recordTransformation = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2TransformationLocation where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TransformationLocation"+ ( \o ->+ GooglePrivacyDlpV2TransformationLocation+ Core.<$> (o Core..:? "containerType")+ Core.<*> (o Core..:? "findingId")+ Core.<*> (o Core..:? "recordTransformation")+ )++instance Core.ToJSON GooglePrivacyDlpV2TransformationLocation where+ toJSON GooglePrivacyDlpV2TransformationLocation {..} =+ Core.object+ ( Core.catMaybes+ [ ("containerType" Core..=) Core.<$> containerType,+ ("findingId" Core..=) Core.<$> findingId,+ ("recordTransformation" Core..=) Core.<$> recordTransformation+ ]+ )++-- | Overview of the modifications that occurred.+--+-- /See:/ 'newGooglePrivacyDlpV2TransformationOverview' smart constructor.+data GooglePrivacyDlpV2TransformationOverview = GooglePrivacyDlpV2TransformationOverview+ { -- | Transformations applied to the dataset.+ transformationSummaries :: (Core.Maybe [GooglePrivacyDlpV2TransformationSummary]),+ -- | Total size in bytes that were transformed in some way.+ transformedBytes :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TransformationOverview' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TransformationOverview ::+ GooglePrivacyDlpV2TransformationOverview+newGooglePrivacyDlpV2TransformationOverview =+ GooglePrivacyDlpV2TransformationOverview+ { transformationSummaries =+ Core.Nothing,+ transformedBytes = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2TransformationOverview where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TransformationOverview"+ ( \o ->+ GooglePrivacyDlpV2TransformationOverview+ Core.<$> (o Core..:? "transformationSummaries")+ Core.<*> (o Core..:? "transformedBytes" Core.<&> Core.fmap Core.fromAsText)+ )++instance Core.ToJSON GooglePrivacyDlpV2TransformationOverview where+ toJSON GooglePrivacyDlpV2TransformationOverview {..} =+ Core.object+ ( Core.catMaybes+ [ ("transformationSummaries" Core..=)+ Core.<$> transformationSummaries,+ ("transformedBytes" Core..=)+ Core.. Core.AsText+ Core.<$> transformedBytes+ ]+ )++-- | The outcome of a transformation.+--+-- /See:/ 'newGooglePrivacyDlpV2TransformationResultStatus' smart constructor.+data GooglePrivacyDlpV2TransformationResultStatus = GooglePrivacyDlpV2TransformationResultStatus+ { -- | Detailed error codes and messages+ details :: (Core.Maybe GoogleRpcStatus),+ -- | Transformation result status type, this will be either SUCCESS, or it will be the reason for why the transformation was not completely successful.+ resultStatusType ::+ ( Core.Maybe+ GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TransformationResultStatus' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TransformationResultStatus ::+ GooglePrivacyDlpV2TransformationResultStatus+newGooglePrivacyDlpV2TransformationResultStatus =+ GooglePrivacyDlpV2TransformationResultStatus+ { details =+ Core.Nothing,+ resultStatusType = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2TransformationResultStatus where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TransformationResultStatus"+ ( \o ->+ GooglePrivacyDlpV2TransformationResultStatus+ Core.<$> (o Core..:? "details")+ Core.<*> (o Core..:? "resultStatusType")+ )++instance Core.ToJSON GooglePrivacyDlpV2TransformationResultStatus where+ toJSON GooglePrivacyDlpV2TransformationResultStatus {..} =+ Core.object+ ( Core.catMaybes+ [ ("details" Core..=) Core.<$> details,+ ("resultStatusType" Core..=) Core.<$> resultStatusType+ ]+ )++-- | Summary of a single transformation. Only one of \'transformation\', \'field/transformation\', or \'record/suppress\' will be set.+--+-- /See:/ 'newGooglePrivacyDlpV2TransformationSummary' smart constructor.+data GooglePrivacyDlpV2TransformationSummary = GooglePrivacyDlpV2TransformationSummary+ { -- | Set if the transformation was limited to a specific FieldId.+ field :: (Core.Maybe GooglePrivacyDlpV2FieldId),+ -- | The field transformation that was applied. If multiple field transformations are requested for a single field, this list will contain all of them; otherwise, only one is supplied.+ fieldTransformations :: (Core.Maybe [GooglePrivacyDlpV2FieldTransformation]),+ -- | Set if the transformation was limited to a specific InfoType.+ infoType :: (Core.Maybe GooglePrivacyDlpV2InfoType),+ -- | The specific suppression option these stats apply to.+ recordSuppress :: (Core.Maybe GooglePrivacyDlpV2RecordSuppression),+ -- | Collection of all transformations that took place or had an error.+ results :: (Core.Maybe [GooglePrivacyDlpV2SummaryResult]),+ -- | The specific transformation these stats apply to.+ transformation :: (Core.Maybe GooglePrivacyDlpV2PrimitiveTransformation),+ -- | Total size in bytes that were transformed in some way.+ transformedBytes :: (Core.Maybe Core.Int64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TransformationSummary' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TransformationSummary ::+ GooglePrivacyDlpV2TransformationSummary+newGooglePrivacyDlpV2TransformationSummary =+ GooglePrivacyDlpV2TransformationSummary+ { field = Core.Nothing,+ fieldTransformations = Core.Nothing,+ infoType = Core.Nothing,+ recordSuppress = Core.Nothing,+ results = Core.Nothing,+ transformation = Core.Nothing,+ transformedBytes = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2TransformationSummary where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TransformationSummary"+ ( \o ->+ GooglePrivacyDlpV2TransformationSummary+ Core.<$> (o Core..:? "field")+ Core.<*> (o Core..:? "fieldTransformations")+ Core.<*> (o Core..:? "infoType")+ Core.<*> (o Core..:? "recordSuppress")+ Core.<*> (o Core..:? "results")+ Core.<*> (o Core..:? "transformation")+ Core.<*> (o Core..:? "transformedBytes" Core.<&> Core.fmap Core.fromAsText)+ )++instance Core.ToJSON GooglePrivacyDlpV2TransformationSummary where+ toJSON GooglePrivacyDlpV2TransformationSummary {..} =+ Core.object+ ( Core.catMaybes+ [ ("field" Core..=) Core.<$> field,+ ("fieldTransformations" Core..=) Core.<$> fieldTransformations,+ ("infoType" Core..=) Core.<$> infoType,+ ("recordSuppress" Core..=) Core.<$> recordSuppress,+ ("results" Core..=) Core.<$> results,+ ("transformation" Core..=) Core.<$> transformation,+ ("transformedBytes" Core..=)+ Core.. Core.AsText+ Core.<$> transformedBytes+ ]+ )++-- | Use this to have a random data crypto key generated. It will be discarded after the request finishes.+--+-- /See:/ 'newGooglePrivacyDlpV2TransientCryptoKey' smart constructor.+newtype GooglePrivacyDlpV2TransientCryptoKey = GooglePrivacyDlpV2TransientCryptoKey+ { -- | Required. Name of the key. This is an arbitrary string used to differentiate different keys. A unique key is generated per name: two separate @TransientCryptoKey@ protos share the same generated key if their names are the same. When the data crypto key is generated, this name is not used in any way (repeating the api call will result in a different key being generated).+ name :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2TransientCryptoKey' with the minimum fields required to make a request.+newGooglePrivacyDlpV2TransientCryptoKey ::+ GooglePrivacyDlpV2TransientCryptoKey+newGooglePrivacyDlpV2TransientCryptoKey =+ GooglePrivacyDlpV2TransientCryptoKey {name = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2TransientCryptoKey where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2TransientCryptoKey"+ ( \o ->+ GooglePrivacyDlpV2TransientCryptoKey Core.<$> (o Core..:? "name")+ )++instance Core.ToJSON GooglePrivacyDlpV2TransientCryptoKey where+ toJSON GooglePrivacyDlpV2TransientCryptoKey {..} =+ Core.object (Core.catMaybes [("name" Core..=) Core.<$> name])++-- | What event needs to occur for a new job to be started.+--+-- /See:/ 'newGooglePrivacyDlpV2Trigger' smart constructor.+data GooglePrivacyDlpV2Trigger = GooglePrivacyDlpV2Trigger+ { -- | For use with hybrid jobs. Jobs must be manually created and finished.+ manual :: (Core.Maybe GooglePrivacyDlpV2Manual),+ -- | Create a job on a repeating basis based on the elapse of time.+ schedule :: (Core.Maybe GooglePrivacyDlpV2Schedule)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Trigger' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Trigger ::+ GooglePrivacyDlpV2Trigger+newGooglePrivacyDlpV2Trigger =+ GooglePrivacyDlpV2Trigger+ { manual = Core.Nothing,+ schedule = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Trigger where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Trigger"+ ( \o ->+ GooglePrivacyDlpV2Trigger+ Core.<$> (o Core..:? "manual")+ Core.<*> (o Core..:? "schedule")+ )++instance Core.ToJSON GooglePrivacyDlpV2Trigger where+ toJSON GooglePrivacyDlpV2Trigger {..} =+ Core.object+ ( Core.catMaybes+ [ ("manual" Core..=) Core.<$> manual,+ ("schedule" Core..=) Core.<$> schedule+ ]+ )++-- | Using raw keys is prone to security risks due to accidentally leaking the key. Choose another type of key if possible.+--+-- /See:/ 'newGooglePrivacyDlpV2UnwrappedCryptoKey' smart constructor.+newtype GooglePrivacyDlpV2UnwrappedCryptoKey = GooglePrivacyDlpV2UnwrappedCryptoKey+ { -- | Required. A 128\/192\/256 bit key.+ key :: (Core.Maybe Core.Base64)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2UnwrappedCryptoKey' with the minimum fields required to make a request.+newGooglePrivacyDlpV2UnwrappedCryptoKey ::+ GooglePrivacyDlpV2UnwrappedCryptoKey+newGooglePrivacyDlpV2UnwrappedCryptoKey =+ GooglePrivacyDlpV2UnwrappedCryptoKey {key = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2UnwrappedCryptoKey where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2UnwrappedCryptoKey"+ ( \o ->+ GooglePrivacyDlpV2UnwrappedCryptoKey Core.<$> (o Core..:? "key")+ )++instance Core.ToJSON GooglePrivacyDlpV2UnwrappedCryptoKey where+ toJSON GooglePrivacyDlpV2UnwrappedCryptoKey {..} =+ Core.object (Core.catMaybes [("key" Core..=) Core.<$> key])++-- | Request message for UpdateConnection.+--+-- /See:/ 'newGooglePrivacyDlpV2UpdateConnectionRequest' smart constructor.+data GooglePrivacyDlpV2UpdateConnectionRequest = GooglePrivacyDlpV2UpdateConnectionRequest+ { -- | Required. The connection with new values for the relevant fields.+ connection :: (Core.Maybe GooglePrivacyDlpV2Connection),+ -- | Optional. Mask to control which fields get updated.+ updateMask :: (Core.Maybe Core.FieldMask)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2UpdateConnectionRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2UpdateConnectionRequest ::+ GooglePrivacyDlpV2UpdateConnectionRequest+newGooglePrivacyDlpV2UpdateConnectionRequest =+ GooglePrivacyDlpV2UpdateConnectionRequest+ { connection =+ Core.Nothing,+ updateMask = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2UpdateConnectionRequest where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2UpdateConnectionRequest"+ ( \o ->+ GooglePrivacyDlpV2UpdateConnectionRequest+ Core.<$> (o Core..:? "connection")+ Core.<*> (o Core..:? "updateMask")+ )++instance Core.ToJSON GooglePrivacyDlpV2UpdateConnectionRequest where+ toJSON GooglePrivacyDlpV2UpdateConnectionRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("connection" Core..=) Core.<$> connection,+ ("updateMask" Core..=) Core.<$> updateMask+ ]+ )++-- | Request message for UpdateDeidentifyTemplate.+--+-- /See:/ 'newGooglePrivacyDlpV2UpdateDeidentifyTemplateRequest' smart constructor.+data GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest = GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest+ { -- | New DeidentifyTemplate value.+ deidentifyTemplate :: (Core.Maybe GooglePrivacyDlpV2DeidentifyTemplate),+ -- | Mask to control which fields get updated.+ updateMask :: (Core.Maybe Core.FieldMask)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2UpdateDeidentifyTemplateRequest ::+ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest+newGooglePrivacyDlpV2UpdateDeidentifyTemplateRequest =+ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest+ { deidentifyTemplate =+ Core.Nothing,+ updateMask = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest"+ ( \o ->+ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest+ Core.<$> (o Core..:? "deidentifyTemplate")+ Core.<*> (o Core..:? "updateMask")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest+ where+ toJSON GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("deidentifyTemplate" Core..=) Core.<$> deidentifyTemplate,+ ("updateMask" Core..=) Core.<$> updateMask+ ]+ )++-- | Request message for UpdateDiscoveryConfig.+--+-- /See:/ 'newGooglePrivacyDlpV2UpdateDiscoveryConfigRequest' smart constructor.+data GooglePrivacyDlpV2UpdateDiscoveryConfigRequest = GooglePrivacyDlpV2UpdateDiscoveryConfigRequest+ { -- | Required. New DiscoveryConfig value.+ discoveryConfig :: (Core.Maybe GooglePrivacyDlpV2DiscoveryConfig),+ -- | Mask to control which fields get updated.+ updateMask :: (Core.Maybe Core.FieldMask)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2UpdateDiscoveryConfigRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2UpdateDiscoveryConfigRequest ::+ GooglePrivacyDlpV2UpdateDiscoveryConfigRequest+newGooglePrivacyDlpV2UpdateDiscoveryConfigRequest =+ GooglePrivacyDlpV2UpdateDiscoveryConfigRequest+ { discoveryConfig =+ Core.Nothing,+ updateMask = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2UpdateDiscoveryConfigRequest+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2UpdateDiscoveryConfigRequest"+ ( \o ->+ GooglePrivacyDlpV2UpdateDiscoveryConfigRequest+ Core.<$> (o Core..:? "discoveryConfig")+ Core.<*> (o Core..:? "updateMask")+ )++instance Core.ToJSON GooglePrivacyDlpV2UpdateDiscoveryConfigRequest where+ toJSON GooglePrivacyDlpV2UpdateDiscoveryConfigRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("discoveryConfig" Core..=) Core.<$> discoveryConfig,+ ("updateMask" Core..=) Core.<$> updateMask+ ]+ )++-- | Request message for UpdateInspectTemplate.+--+-- /See:/ 'newGooglePrivacyDlpV2UpdateInspectTemplateRequest' smart constructor.+data GooglePrivacyDlpV2UpdateInspectTemplateRequest = GooglePrivacyDlpV2UpdateInspectTemplateRequest+ { -- | New InspectTemplate value.+ inspectTemplate :: (Core.Maybe GooglePrivacyDlpV2InspectTemplate),+ -- | Mask to control which fields get updated.+ updateMask :: (Core.Maybe Core.FieldMask)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2UpdateInspectTemplateRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2UpdateInspectTemplateRequest ::+ GooglePrivacyDlpV2UpdateInspectTemplateRequest+newGooglePrivacyDlpV2UpdateInspectTemplateRequest =+ GooglePrivacyDlpV2UpdateInspectTemplateRequest+ { inspectTemplate =+ Core.Nothing,+ updateMask = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2UpdateInspectTemplateRequest+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2UpdateInspectTemplateRequest"+ ( \o ->+ GooglePrivacyDlpV2UpdateInspectTemplateRequest+ Core.<$> (o Core..:? "inspectTemplate")+ Core.<*> (o Core..:? "updateMask")+ )++instance Core.ToJSON GooglePrivacyDlpV2UpdateInspectTemplateRequest where+ toJSON GooglePrivacyDlpV2UpdateInspectTemplateRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("inspectTemplate" Core..=) Core.<$> inspectTemplate,+ ("updateMask" Core..=) Core.<$> updateMask+ ]+ )++-- | Request message for UpdateJobTrigger.+--+-- /See:/ 'newGooglePrivacyDlpV2UpdateJobTriggerRequest' smart constructor.+data GooglePrivacyDlpV2UpdateJobTriggerRequest = GooglePrivacyDlpV2UpdateJobTriggerRequest+ { -- | New JobTrigger value.+ jobTrigger :: (Core.Maybe GooglePrivacyDlpV2JobTrigger),+ -- | Mask to control which fields get updated.+ updateMask :: (Core.Maybe Core.FieldMask)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2UpdateJobTriggerRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2UpdateJobTriggerRequest ::+ GooglePrivacyDlpV2UpdateJobTriggerRequest+newGooglePrivacyDlpV2UpdateJobTriggerRequest =+ GooglePrivacyDlpV2UpdateJobTriggerRequest+ { jobTrigger =+ Core.Nothing,+ updateMask = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2UpdateJobTriggerRequest where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2UpdateJobTriggerRequest"+ ( \o ->+ GooglePrivacyDlpV2UpdateJobTriggerRequest+ Core.<$> (o Core..:? "jobTrigger")+ Core.<*> (o Core..:? "updateMask")+ )++instance Core.ToJSON GooglePrivacyDlpV2UpdateJobTriggerRequest where+ toJSON GooglePrivacyDlpV2UpdateJobTriggerRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("jobTrigger" Core..=) Core.<$> jobTrigger,+ ("updateMask" Core..=) Core.<$> updateMask+ ]+ )++-- | Request message for UpdateStoredInfoType.+--+-- /See:/ 'newGooglePrivacyDlpV2UpdateStoredInfoTypeRequest' smart constructor.+data GooglePrivacyDlpV2UpdateStoredInfoTypeRequest = GooglePrivacyDlpV2UpdateStoredInfoTypeRequest+ { -- | Updated configuration for the storedInfoType. If not provided, a new version of the storedInfoType will be created with the existing configuration.+ config :: (Core.Maybe GooglePrivacyDlpV2StoredInfoTypeConfig),+ -- | Mask to control which fields get updated.+ updateMask :: (Core.Maybe Core.FieldMask)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2UpdateStoredInfoTypeRequest' with the minimum fields required to make a request.+newGooglePrivacyDlpV2UpdateStoredInfoTypeRequest ::+ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest+newGooglePrivacyDlpV2UpdateStoredInfoTypeRequest =+ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest+ { config =+ Core.Nothing,+ updateMask = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2UpdateStoredInfoTypeRequest"+ ( \o ->+ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest+ Core.<$> (o Core..:? "config")+ Core.<*> (o Core..:? "updateMask")+ )++instance Core.ToJSON GooglePrivacyDlpV2UpdateStoredInfoTypeRequest where+ toJSON GooglePrivacyDlpV2UpdateStoredInfoTypeRequest {..} =+ Core.object+ ( Core.catMaybes+ [ ("config" Core..=) Core.<$> config,+ ("updateMask" Core..=) Core.<$> updateMask+ ]+ )++-- | Set of primitive values supported by the system. Note that for the purposes of inspection or transformation, the number of bytes considered to comprise a \'Value\' is based on its representation as a UTF-8 encoded string. For example, if \'integer_value\' is set to 123456789, the number of bytes would be counted as 9, even though an int64 only holds up to 8 bytes of data.+--+-- /See:/ 'newGooglePrivacyDlpV2Value' smart constructor.+data GooglePrivacyDlpV2Value = GooglePrivacyDlpV2Value+ { -- | boolean+ booleanValue :: (Core.Maybe Core.Bool),+ -- | date+ dateValue :: (Core.Maybe GoogleTypeDate),+ -- | day of week+ dayOfWeekValue :: (Core.Maybe GooglePrivacyDlpV2Value_DayOfWeekValue),+ -- | float+ floatValue :: (Core.Maybe Core.Double),+ -- | integer+ integerValue :: (Core.Maybe Core.Int64),+ -- | string+ stringValue :: (Core.Maybe Core.Text),+ -- | time of day+ timeValue :: (Core.Maybe GoogleTypeTimeOfDay),+ -- | timestamp+ timestampValue :: (Core.Maybe Core.DateTime)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2Value' with the minimum fields required to make a request.+newGooglePrivacyDlpV2Value ::+ GooglePrivacyDlpV2Value+newGooglePrivacyDlpV2Value =+ GooglePrivacyDlpV2Value+ { booleanValue = Core.Nothing,+ dateValue = Core.Nothing,+ dayOfWeekValue = Core.Nothing,+ floatValue = Core.Nothing,+ integerValue = Core.Nothing,+ stringValue = Core.Nothing,+ timeValue = Core.Nothing,+ timestampValue = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2Value where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2Value"+ ( \o ->+ GooglePrivacyDlpV2Value+ Core.<$> (o Core..:? "booleanValue")+ Core.<*> (o Core..:? "dateValue")+ Core.<*> (o Core..:? "dayOfWeekValue")+ Core.<*> (o Core..:? "floatValue")+ Core.<*> (o Core..:? "integerValue" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "stringValue")+ Core.<*> (o Core..:? "timeValue")+ Core.<*> (o Core..:? "timestampValue")+ )++instance Core.ToJSON GooglePrivacyDlpV2Value where+ toJSON GooglePrivacyDlpV2Value {..} =+ Core.object+ ( Core.catMaybes+ [ ("booleanValue" Core..=) Core.<$> booleanValue,+ ("dateValue" Core..=) Core.<$> dateValue,+ ("dayOfWeekValue" Core..=) Core.<$> dayOfWeekValue,+ ("floatValue" Core..=) Core.<$> floatValue,+ ("integerValue" Core..=) Core.. Core.AsText Core.<$> integerValue,+ ("stringValue" Core..=) Core.<$> stringValue,+ ("timeValue" Core..=) Core.<$> timeValue,+ ("timestampValue" Core..=) Core.<$> timestampValue+ ]+ )++-- | A value of a field, including its frequency.+--+-- /See:/ 'newGooglePrivacyDlpV2ValueFrequency' smart constructor.+data GooglePrivacyDlpV2ValueFrequency = GooglePrivacyDlpV2ValueFrequency+ { -- | How many times the value is contained in the field.+ count :: (Core.Maybe Core.Int64),+ -- | A value contained in the field in question.+ value :: (Core.Maybe GooglePrivacyDlpV2Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2ValueFrequency' with the minimum fields required to make a request.+newGooglePrivacyDlpV2ValueFrequency ::+ GooglePrivacyDlpV2ValueFrequency+newGooglePrivacyDlpV2ValueFrequency =+ GooglePrivacyDlpV2ValueFrequency+ { count = Core.Nothing,+ value = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2ValueFrequency where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2ValueFrequency"+ ( \o ->+ GooglePrivacyDlpV2ValueFrequency+ Core.<$> (o Core..:? "count" Core.<&> Core.fmap Core.fromAsText)+ Core.<*> (o Core..:? "value")+ )++instance Core.ToJSON GooglePrivacyDlpV2ValueFrequency where+ toJSON GooglePrivacyDlpV2ValueFrequency {..} =+ Core.object+ ( Core.catMaybes+ [ ("count" Core..=) Core.. Core.AsText Core.<$> count,+ ("value" Core..=) Core.<$> value+ ]+ )++-- | Details about each available version for an infotype.+--+-- /See:/ 'newGooglePrivacyDlpV2VersionDescription' smart constructor.+data GooglePrivacyDlpV2VersionDescription = GooglePrivacyDlpV2VersionDescription+ { -- | Description of the version.+ description :: (Core.Maybe Core.Text),+ -- | Name of the version+ version :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2VersionDescription' with the minimum fields required to make a request.+newGooglePrivacyDlpV2VersionDescription ::+ GooglePrivacyDlpV2VersionDescription+newGooglePrivacyDlpV2VersionDescription =+ GooglePrivacyDlpV2VersionDescription+ { description = Core.Nothing,+ version = Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2VersionDescription where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2VersionDescription"+ ( \o ->+ GooglePrivacyDlpV2VersionDescription+ Core.<$> (o Core..:? "description")+ Core.<*> (o Core..:? "version")+ )++instance Core.ToJSON GooglePrivacyDlpV2VersionDescription where+ toJSON GooglePrivacyDlpV2VersionDescription {..} =+ Core.object+ ( Core.catMaybes+ [ ("description" Core..=) Core.<$> description,+ ("version" Core..=) Core.<$> version+ ]+ )++-- | Match dataset resources using regex filters.+--+-- /See:/ 'newGooglePrivacyDlpV2VertexDatasetCollection' smart constructor.+newtype GooglePrivacyDlpV2VertexDatasetCollection = GooglePrivacyDlpV2VertexDatasetCollection+ { -- | The regex used to filter dataset resources.+ vertexDatasetRegexes :: (Core.Maybe GooglePrivacyDlpV2VertexDatasetRegexes)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2VertexDatasetCollection' with the minimum fields required to make a request.+newGooglePrivacyDlpV2VertexDatasetCollection ::+ GooglePrivacyDlpV2VertexDatasetCollection+newGooglePrivacyDlpV2VertexDatasetCollection =+ GooglePrivacyDlpV2VertexDatasetCollection+ { vertexDatasetRegexes =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2VertexDatasetCollection where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2VertexDatasetCollection"+ ( \o ->+ GooglePrivacyDlpV2VertexDatasetCollection+ Core.<$> (o Core..:? "vertexDatasetRegexes")+ )++instance Core.ToJSON GooglePrivacyDlpV2VertexDatasetCollection where+ toJSON GooglePrivacyDlpV2VertexDatasetCollection {..} =+ Core.object+ ( Core.catMaybes+ [("vertexDatasetRegexes" Core..=) Core.<$> vertexDatasetRegexes]+ )++-- | Target used to match against for discovery with Vertex AI datasets.+--+-- /See:/ 'newGooglePrivacyDlpV2VertexDatasetDiscoveryTarget' smart constructor.+data GooglePrivacyDlpV2VertexDatasetDiscoveryTarget = GooglePrivacyDlpV2VertexDatasetDiscoveryTarget+ { -- | In addition to matching the filter, these conditions must be true before a profile is generated.+ conditions :: (Core.Maybe GooglePrivacyDlpV2DiscoveryVertexDatasetConditions),+ -- | Disable profiling for datasets that match this filter.+ disabled :: (Core.Maybe GooglePrivacyDlpV2Disabled),+ -- | Required. The datasets the discovery cadence applies to. The first target with a matching filter will be the one to apply to a dataset.+ filter :: (Core.Maybe GooglePrivacyDlpV2DiscoveryVertexDatasetFilter),+ -- | How often and when to update profiles. New datasets that match both the filter and conditions are scanned as quickly as possible depending on system capacity.+ generationCadence ::+ ( Core.Maybe+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence+ )+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2VertexDatasetDiscoveryTarget' with the minimum fields required to make a request.+newGooglePrivacyDlpV2VertexDatasetDiscoveryTarget ::+ GooglePrivacyDlpV2VertexDatasetDiscoveryTarget+newGooglePrivacyDlpV2VertexDatasetDiscoveryTarget =+ GooglePrivacyDlpV2VertexDatasetDiscoveryTarget+ { conditions =+ Core.Nothing,+ disabled = Core.Nothing,+ filter = Core.Nothing,+ generationCadence = Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2VertexDatasetDiscoveryTarget+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2VertexDatasetDiscoveryTarget"+ ( \o ->+ GooglePrivacyDlpV2VertexDatasetDiscoveryTarget+ Core.<$> (o Core..:? "conditions")+ Core.<*> (o Core..:? "disabled")+ Core.<*> (o Core..:? "filter")+ Core.<*> (o Core..:? "generationCadence")+ )++instance Core.ToJSON GooglePrivacyDlpV2VertexDatasetDiscoveryTarget where+ toJSON GooglePrivacyDlpV2VertexDatasetDiscoveryTarget {..} =+ Core.object+ ( Core.catMaybes+ [ ("conditions" Core..=) Core.<$> conditions,+ ("disabled" Core..=) Core.<$> disabled,+ ("filter" Core..=) Core.<$> filter,+ ("generationCadence" Core..=) Core.<$> generationCadence+ ]+ )++-- | A pattern to match against one or more dataset resources.+--+-- /See:/ 'newGooglePrivacyDlpV2VertexDatasetRegex' smart constructor.+newtype GooglePrivacyDlpV2VertexDatasetRegex = GooglePrivacyDlpV2VertexDatasetRegex+ { -- | For organizations, if unset, will match all projects. Has no effect for configurations created within a project.+ projectIdRegex :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2VertexDatasetRegex' with the minimum fields required to make a request.+newGooglePrivacyDlpV2VertexDatasetRegex ::+ GooglePrivacyDlpV2VertexDatasetRegex+newGooglePrivacyDlpV2VertexDatasetRegex =+ GooglePrivacyDlpV2VertexDatasetRegex+ { projectIdRegex =+ Core.Nothing+ }++instance Core.FromJSON GooglePrivacyDlpV2VertexDatasetRegex where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2VertexDatasetRegex"+ ( \o ->+ GooglePrivacyDlpV2VertexDatasetRegex+ Core.<$> (o Core..:? "projectIdRegex")+ )++instance Core.ToJSON GooglePrivacyDlpV2VertexDatasetRegex where+ toJSON GooglePrivacyDlpV2VertexDatasetRegex {..} =+ Core.object+ ( Core.catMaybes+ [("projectIdRegex" Core..=) Core.<$> projectIdRegex]+ )++-- | A collection of regular expressions to determine what datasets to match against.+--+-- /See:/ 'newGooglePrivacyDlpV2VertexDatasetRegexes' smart constructor.+newtype GooglePrivacyDlpV2VertexDatasetRegexes = GooglePrivacyDlpV2VertexDatasetRegexes+ { -- | Required. The group of regular expression patterns to match against one or more datasets. Maximum of 100 entries. The sum of the lengths of all regular expressions can\'t exceed 10 KiB.+ patterns :: (Core.Maybe [GooglePrivacyDlpV2VertexDatasetRegex])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2VertexDatasetRegexes' with the minimum fields required to make a request.+newGooglePrivacyDlpV2VertexDatasetRegexes ::+ GooglePrivacyDlpV2VertexDatasetRegexes+newGooglePrivacyDlpV2VertexDatasetRegexes =+ GooglePrivacyDlpV2VertexDatasetRegexes {patterns = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2VertexDatasetRegexes where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2VertexDatasetRegexes"+ ( \o ->+ GooglePrivacyDlpV2VertexDatasetRegexes+ Core.<$> (o Core..:? "patterns")+ )++instance Core.ToJSON GooglePrivacyDlpV2VertexDatasetRegexes where+ toJSON GooglePrivacyDlpV2VertexDatasetRegexes {..} =+ Core.object+ (Core.catMaybes [("patterns" Core..=) Core.<$> patterns])++-- | Identifies a single Vertex AI dataset.+--+-- /See:/ 'newGooglePrivacyDlpV2VertexDatasetResourceReference' smart constructor.+newtype GooglePrivacyDlpV2VertexDatasetResourceReference = GooglePrivacyDlpV2VertexDatasetResourceReference+ { -- | Required. The name of the dataset resource. If set within a project-level configuration, the specified resource must be within the project.+ datasetResourceName :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2VertexDatasetResourceReference' with the minimum fields required to make a request.+newGooglePrivacyDlpV2VertexDatasetResourceReference ::+ GooglePrivacyDlpV2VertexDatasetResourceReference+newGooglePrivacyDlpV2VertexDatasetResourceReference =+ GooglePrivacyDlpV2VertexDatasetResourceReference+ { datasetResourceName =+ Core.Nothing+ }++instance+ Core.FromJSON+ GooglePrivacyDlpV2VertexDatasetResourceReference+ where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2VertexDatasetResourceReference"+ ( \o ->+ GooglePrivacyDlpV2VertexDatasetResourceReference+ Core.<$> (o Core..:? "datasetResourceName")+ )++instance+ Core.ToJSON+ GooglePrivacyDlpV2VertexDatasetResourceReference+ where+ toJSON GooglePrivacyDlpV2VertexDatasetResourceReference {..} =+ Core.object+ ( Core.catMaybes+ [("datasetResourceName" Core..=) Core.<$> datasetResourceName]+ )++-- | Message defining a list of words or phrases to search for in the data.+--+-- /See:/ 'newGooglePrivacyDlpV2WordList' smart constructor.+newtype GooglePrivacyDlpV2WordList = GooglePrivacyDlpV2WordList+ { -- | Words or phrases defining the dictionary. The dictionary must contain at least one phrase and every phrase must contain at least 2 characters that are letters or digits. [required]+ words :: (Core.Maybe [Core.Text])+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GooglePrivacyDlpV2WordList' with the minimum fields required to make a request.+newGooglePrivacyDlpV2WordList ::+ GooglePrivacyDlpV2WordList+newGooglePrivacyDlpV2WordList =+ GooglePrivacyDlpV2WordList {words = Core.Nothing}++instance Core.FromJSON GooglePrivacyDlpV2WordList where+ parseJSON =+ Core.withObject+ "GooglePrivacyDlpV2WordList"+ (\o -> GooglePrivacyDlpV2WordList Core.<$> (o Core..:? "words"))++instance Core.ToJSON GooglePrivacyDlpV2WordList where+ toJSON GooglePrivacyDlpV2WordList {..} =+ Core.object (Core.catMaybes [("words" Core..=) Core.<$> words])++-- | A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }+--+-- /See:/ 'newGoogleProtobufEmpty' smart constructor.+data GoogleProtobufEmpty = GoogleProtobufEmpty+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GoogleProtobufEmpty' with the minimum fields required to make a request.+newGoogleProtobufEmpty ::+ GoogleProtobufEmpty+newGoogleProtobufEmpty = GoogleProtobufEmpty++instance Core.FromJSON GoogleProtobufEmpty where+ parseJSON =+ Core.withObject+ "GoogleProtobufEmpty"+ (\o -> Core.pure GoogleProtobufEmpty)++instance Core.ToJSON GoogleProtobufEmpty where+ toJSON = Core.const Core.emptyObject++-- | The @Status@ type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by <https://github.com/grpc gRPC>. Each @Status@ message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the <https://cloud.google.com/apis/design/errors API Design Guide>.+--+-- /See:/ 'newGoogleRpcStatus' smart constructor.+data GoogleRpcStatus = GoogleRpcStatus+ { -- | The status code, which should be an enum value of google.rpc.Code.+ code :: (Core.Maybe Core.Int32),+ -- | A list of messages that carry the error details. There is a common set of message types for APIs to use.+ details :: (Core.Maybe [GoogleRpcStatus_DetailsItem]),+ -- | A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.+ message :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GoogleRpcStatus' with the minimum fields required to make a request.+newGoogleRpcStatus ::+ GoogleRpcStatus+newGoogleRpcStatus =+ GoogleRpcStatus+ { code = Core.Nothing,+ details = Core.Nothing,+ message = Core.Nothing+ }++instance Core.FromJSON GoogleRpcStatus where+ parseJSON =+ Core.withObject+ "GoogleRpcStatus"+ ( \o ->+ GoogleRpcStatus+ Core.<$> (o Core..:? "code")+ Core.<*> (o Core..:? "details")+ Core.<*> (o Core..:? "message")+ )++instance Core.ToJSON GoogleRpcStatus where+ toJSON GoogleRpcStatus {..} =+ Core.object+ ( Core.catMaybes+ [ ("code" Core..=) Core.<$> code,+ ("details" Core..=) Core.<$> details,+ ("message" Core..=) Core.<$> message+ ]+ )++--+-- /See:/ 'newGoogleRpcStatus_DetailsItem' smart constructor.+newtype GoogleRpcStatus_DetailsItem = GoogleRpcStatus_DetailsItem+ { -- | Properties of the object. Contains field \@type with type URL.+ additional :: (Core.HashMap Core.Text Core.Value)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GoogleRpcStatus_DetailsItem' with the minimum fields required to make a request.+newGoogleRpcStatus_DetailsItem ::+ -- | Properties of the object. Contains field \@type with type URL. See 'additional'.+ Core.HashMap Core.Text Core.Value ->+ GoogleRpcStatus_DetailsItem+newGoogleRpcStatus_DetailsItem additional =+ GoogleRpcStatus_DetailsItem {additional = additional}++instance Core.FromJSON GoogleRpcStatus_DetailsItem where+ parseJSON =+ Core.withObject+ "GoogleRpcStatus_DetailsItem"+ ( \o ->+ GoogleRpcStatus_DetailsItem Core.<$> (Core.parseJSONObject o)+ )++instance Core.ToJSON GoogleRpcStatus_DetailsItem where+ toJSON GoogleRpcStatus_DetailsItem {..} = Core.toJSON additional++-- | Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp+--+-- /See:/ 'newGoogleTypeDate' smart constructor.+data GoogleTypeDate = GoogleTypeDate+ { -- | Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn\'t significant.+ day :: (Core.Maybe Core.Int32),+ -- | Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.+ month :: (Core.Maybe Core.Int32),+ -- | Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.+ year :: (Core.Maybe Core.Int32)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GoogleTypeDate' with the minimum fields required to make a request.+newGoogleTypeDate ::+ GoogleTypeDate+newGoogleTypeDate =+ GoogleTypeDate+ { day = Core.Nothing,+ month = Core.Nothing,+ year = Core.Nothing+ }++instance Core.FromJSON GoogleTypeDate where+ parseJSON =+ Core.withObject+ "GoogleTypeDate"+ ( \o ->+ GoogleTypeDate+ Core.<$> (o Core..:? "day")+ Core.<*> (o Core..:? "month")+ Core.<*> (o Core..:? "year")+ )++instance Core.ToJSON GoogleTypeDate where+ toJSON GoogleTypeDate {..} =+ Core.object+ ( Core.catMaybes+ [ ("day" Core..=) Core.<$> day,+ ("month" Core..=) Core.<$> month,+ ("year" Core..=) Core.<$> year+ ]+ )++-- | Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and @google.protobuf.Timestamp@.+--+-- /See:/ 'newGoogleTypeTimeOfDay' smart constructor.+data GoogleTypeTimeOfDay = GoogleTypeTimeOfDay+ { -- | Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.+ hours :: (Core.Maybe Core.Int32),+ -- | Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.+ minutes :: (Core.Maybe Core.Int32),+ -- | Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.+ nanos :: (Core.Maybe Core.Int32),+ -- | Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.+ seconds :: (Core.Maybe Core.Int32)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'GoogleTypeTimeOfDay' with the minimum fields required to make a request.+newGoogleTypeTimeOfDay ::+ GoogleTypeTimeOfDay+newGoogleTypeTimeOfDay =+ GoogleTypeTimeOfDay+ { hours = Core.Nothing,+ minutes = Core.Nothing,+ nanos = Core.Nothing,+ seconds = Core.Nothing+ }++instance Core.FromJSON GoogleTypeTimeOfDay where+ parseJSON =+ Core.withObject+ "GoogleTypeTimeOfDay"+ ( \o ->+ GoogleTypeTimeOfDay+ Core.<$> (o Core..:? "hours")+ Core.<*> (o Core..:? "minutes")+ Core.<*> (o Core..:? "nanos")+ Core.<*> (o Core..:? "seconds")+ )++instance Core.ToJSON GoogleTypeTimeOfDay where+ toJSON GoogleTypeTimeOfDay {..} =+ Core.object+ ( Core.catMaybes+ [ ("hours" Core..=) Core.<$> hours,+ ("minutes" Core..=) Core.<$> minutes,+ ("nanos" Core..=) Core.<$> nanos,+ ("seconds" Core..=) Core.<$> seconds+ ]+ )
+ gen/Gogol/DLP/Internal/Sum.hs view
@@ -0,0 +1,4696 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Internal.Sum+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Gogol.DLP.Internal.Sum+ ( -- * Xgafv+ Xgafv+ ( Xgafv_1,+ Xgafv_2,+ ..+ ),++ -- * GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem+ GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem+ ( GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem_TYPEUNSPECIFIED,+ GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem_TYPEALLSUPPORTED,+ GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem_TYPEGENERALPURPOSE,+ ..+ ),++ -- * GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem+ GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem+ ( GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_Unspecified,+ GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_ALLSUPPORTEDCLASSES,+ GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_Standard,+ GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_STANDARDINFREQUENTACCESS,+ GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_GLACIERINSTANTRETRIEVAL,+ GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_INTELLIGENTTIERING,+ ..+ ),++ -- * GooglePrivacyDlpV2BigQueryOptions_SampleMethod+ GooglePrivacyDlpV2BigQueryOptions_SampleMethod+ ( GooglePrivacyDlpV2BigQueryOptions_SampleMethod_SAMPLEMETHODUNSPECIFIED,+ GooglePrivacyDlpV2BigQueryOptions_SampleMethod_Top,+ GooglePrivacyDlpV2BigQueryOptions_SampleMethod_RANDOMSTART,+ ..+ ),++ -- * GooglePrivacyDlpV2BigQueryTableTypes_TypesItem+ GooglePrivacyDlpV2BigQueryTableTypes_TypesItem+ ( GooglePrivacyDlpV2BigQueryTableTypes_TypesItem_BIGQUERYTABLETYPEUNSPECIFIED,+ GooglePrivacyDlpV2BigQueryTableTypes_TypesItem_BIGQUERYTABLETYPETABLE,+ GooglePrivacyDlpV2BigQueryTableTypes_TypesItem_BIGQUERYTABLETYPEEXTERNALBIGLAKE,+ GooglePrivacyDlpV2BigQueryTableTypes_TypesItem_BIGQUERYTABLETYPESNAPSHOT,+ ..+ ),++ -- * GooglePrivacyDlpV2ByteContentItem_Type+ GooglePrivacyDlpV2ByteContentItem_Type+ ( GooglePrivacyDlpV2ByteContentItem_Type_BYTESTYPEUNSPECIFIED,+ GooglePrivacyDlpV2ByteContentItem_Type_Image,+ GooglePrivacyDlpV2ByteContentItem_Type_IMAGEJPEG,+ GooglePrivacyDlpV2ByteContentItem_Type_IMAGEBMP,+ GooglePrivacyDlpV2ByteContentItem_Type_IMAGEPNG,+ GooglePrivacyDlpV2ByteContentItem_Type_IMAGESVG,+ GooglePrivacyDlpV2ByteContentItem_Type_TEXT_UTF8,+ GooglePrivacyDlpV2ByteContentItem_Type_WORDDOCUMENT,+ GooglePrivacyDlpV2ByteContentItem_Type_Pdf,+ GooglePrivacyDlpV2ByteContentItem_Type_POWERPOINTDOCUMENT,+ GooglePrivacyDlpV2ByteContentItem_Type_EXCELDOCUMENT,+ GooglePrivacyDlpV2ByteContentItem_Type_Avro,+ GooglePrivacyDlpV2ByteContentItem_Type_Csv,+ GooglePrivacyDlpV2ByteContentItem_Type_Tsv,+ GooglePrivacyDlpV2ByteContentItem_Type_Audio,+ GooglePrivacyDlpV2ByteContentItem_Type_Video,+ GooglePrivacyDlpV2ByteContentItem_Type_Executable,+ GooglePrivacyDlpV2ByteContentItem_Type_AIMODEL,+ ..+ ),++ -- * GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore+ GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore+ ( GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_COMMONCHARSTOIGNOREUNSPECIFIED,+ GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_Numeric,+ GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_ALPHAUPPERCASE,+ GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_ALPHALOWERCASE,+ GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_Punctuation,+ GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_Whitespace,+ ..+ ),++ -- * GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine+ GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine+ ( GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DATABASEENGINEUNKNOWN,+ GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DATABASEENGINEMYSQL,+ GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DATABASEENGINEPOSTGRES,+ ..+ ),++ -- * GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem+ ( GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_FILETYPEUNSPECIFIED,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_BINARYFILE,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_TEXTFILE,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Image,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Word,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Pdf,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Avro,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Csv,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Tsv,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Powerpoint,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Excel,+ ..+ ),++ -- * GooglePrivacyDlpV2CloudStorageOptions_SampleMethod+ GooglePrivacyDlpV2CloudStorageOptions_SampleMethod+ ( GooglePrivacyDlpV2CloudStorageOptions_SampleMethod_SAMPLEMETHODUNSPECIFIED,+ GooglePrivacyDlpV2CloudStorageOptions_SampleMethod_Top,+ GooglePrivacyDlpV2CloudStorageOptions_SampleMethod_RANDOMSTART,+ ..+ ),++ -- * GooglePrivacyDlpV2ColumnDataProfile_ColumnType+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType+ ( GooglePrivacyDlpV2ColumnDataProfile_ColumnType_COLUMNDATATYPEUNSPECIFIED,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPE_INT64,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEBOOL,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPE_FLOAT64,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPESTRING,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEBYTES,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPETIMESTAMP,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEDATE,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPETIME,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEDATETIME,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEGEOGRAPHY,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPENUMERIC,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPERECORD,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEBIGNUMERIC,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEJSON,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEINTERVAL,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPERANGEDATE,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPERANGEDATETIME,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPERANGETIMESTAMP,+ ..+ ),++ -- * GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage+ ( GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGELEVELUNSPECIFIED,+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGEVERYLOW,+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGELOW,+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGEMEDIUM,+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGEHIGH,+ ..+ ),++ -- * GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore+ ( GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore_UNIQUENESSSCORELEVELUNSPECIFIED,+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore_UNIQUENESSSCORELOW,+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore_UNIQUENESSSCOREMEDIUM,+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore_UNIQUENESSSCOREHIGH,+ ..+ ),++ -- * GooglePrivacyDlpV2ColumnDataProfile_PolicyState+ GooglePrivacyDlpV2ColumnDataProfile_PolicyState+ ( GooglePrivacyDlpV2ColumnDataProfile_PolicyState_COLUMNPOLICYSTATEUNSPECIFIED,+ GooglePrivacyDlpV2ColumnDataProfile_PolicyState_COLUMNPOLICYTAGGED,+ ..+ ),++ -- * GooglePrivacyDlpV2ColumnDataProfile_State+ GooglePrivacyDlpV2ColumnDataProfile_State+ ( GooglePrivacyDlpV2ColumnDataProfile_State_STATEUNSPECIFIED,+ GooglePrivacyDlpV2ColumnDataProfile_State_Running,+ GooglePrivacyDlpV2ColumnDataProfile_State_Done,+ ..+ ),++ -- * GooglePrivacyDlpV2Condition_Operator+ GooglePrivacyDlpV2Condition_Operator+ ( GooglePrivacyDlpV2Condition_Operator_RELATIONALOPERATORUNSPECIFIED,+ GooglePrivacyDlpV2Condition_Operator_EQUALTO,+ GooglePrivacyDlpV2Condition_Operator_NOTEQUALTO,+ GooglePrivacyDlpV2Condition_Operator_GREATERTHAN,+ GooglePrivacyDlpV2Condition_Operator_LESSTHAN,+ GooglePrivacyDlpV2Condition_Operator_GREATERTHANOREQUALS,+ GooglePrivacyDlpV2Condition_Operator_LESSTHANOREQUALS,+ GooglePrivacyDlpV2Condition_Operator_Exists,+ ..+ ),++ -- * GooglePrivacyDlpV2Connection_State+ GooglePrivacyDlpV2Connection_State+ ( GooglePrivacyDlpV2Connection_State_CONNECTIONSTATEUNSPECIFIED,+ GooglePrivacyDlpV2Connection_State_MISSINGCREDENTIALS,+ GooglePrivacyDlpV2Connection_State_Available,+ GooglePrivacyDlpV2Connection_State_Error',+ ..+ ),++ -- * GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet+ ( GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_FFXCOMMONNATIVEALPHABETUNSPECIFIED,+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_Numeric,+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_Hexadecimal,+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_UPPERCASEALPHANUMERIC,+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_ALPHANUMERIC,+ ..+ ),++ -- * GooglePrivacyDlpV2CustomInfoType_ExclusionType+ GooglePrivacyDlpV2CustomInfoType_ExclusionType+ ( GooglePrivacyDlpV2CustomInfoType_ExclusionType_EXCLUSIONTYPEUNSPECIFIED,+ GooglePrivacyDlpV2CustomInfoType_ExclusionType_EXCLUSIONTYPEEXCLUDE,+ ..+ ),++ -- * GooglePrivacyDlpV2CustomInfoType_Likelihood+ GooglePrivacyDlpV2CustomInfoType_Likelihood+ ( GooglePrivacyDlpV2CustomInfoType_Likelihood_LIKELIHOODUNSPECIFIED,+ GooglePrivacyDlpV2CustomInfoType_Likelihood_VERYUNLIKELY,+ GooglePrivacyDlpV2CustomInfoType_Likelihood_Unlikely,+ GooglePrivacyDlpV2CustomInfoType_Likelihood_Possible,+ GooglePrivacyDlpV2CustomInfoType_Likelihood_Likely,+ GooglePrivacyDlpV2CustomInfoType_Likelihood_VERYLIKELY,+ ..+ ),++ -- * GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility+ GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility+ ( GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility_RESOURCEVISIBILITYUNSPECIFIED,+ GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility_RESOURCEVISIBILITYPUBLIC,+ GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility_RESOURCEVISIBILITYINCONCLUSIVE,+ GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility_RESOURCEVISIBILITYRESTRICTED,+ ..+ ),++ -- * GooglePrivacyDlpV2DataProfilePubSubMessage_Event+ GooglePrivacyDlpV2DataProfilePubSubMessage_Event+ ( GooglePrivacyDlpV2DataProfilePubSubMessage_Event_EVENTTYPEUNSPECIFIED,+ GooglePrivacyDlpV2DataProfilePubSubMessage_Event_NEWPROFILE,+ GooglePrivacyDlpV2DataProfilePubSubMessage_Event_CHANGEDPROFILE,+ GooglePrivacyDlpV2DataProfilePubSubMessage_Event_SCOREINCREASED,+ GooglePrivacyDlpV2DataProfilePubSubMessage_Event_ERRORCHANGED,+ ..+ ),++ -- * GooglePrivacyDlpV2DataRiskLevel_Score+ GooglePrivacyDlpV2DataRiskLevel_Score+ ( GooglePrivacyDlpV2DataRiskLevel_Score_RISKSCOREUNSPECIFIED,+ GooglePrivacyDlpV2DataRiskLevel_Score_RISKLOW,+ GooglePrivacyDlpV2DataRiskLevel_Score_RISKUNKNOWN,+ GooglePrivacyDlpV2DataRiskLevel_Score_RISKMODERATE,+ GooglePrivacyDlpV2DataRiskLevel_Score_RISKHIGH,+ ..+ ),++ -- * GooglePrivacyDlpV2DateTime_DayOfWeek+ GooglePrivacyDlpV2DateTime_DayOfWeek+ ( GooglePrivacyDlpV2DateTime_DayOfWeek_DAYOFWEEKUNSPECIFIED,+ GooglePrivacyDlpV2DateTime_DayOfWeek_Monday,+ GooglePrivacyDlpV2DateTime_DayOfWeek_Tuesday,+ GooglePrivacyDlpV2DateTime_DayOfWeek_Wednesday,+ GooglePrivacyDlpV2DateTime_DayOfWeek_Thursday,+ GooglePrivacyDlpV2DateTime_DayOfWeek_Friday,+ GooglePrivacyDlpV2DateTime_DayOfWeek_Saturday,+ GooglePrivacyDlpV2DateTime_DayOfWeek_Sunday,+ ..+ ),++ -- * GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem+ ( GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_FILETYPEUNSPECIFIED,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_BINARYFILE,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_TEXTFILE,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Image,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Word,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Pdf,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Avro,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Csv,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Tsv,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Powerpoint,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Excel,+ ..+ ),++ -- * GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection+ GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection+ ( GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection_BIGQUERYCOLLECTIONUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection_BIGQUERYCOLLECTIONALLTYPES,+ GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection_BIGQUERYCOLLECTIONONLYSUPPORTEDTYPES,+ ..+ ),++ -- * GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem+ ( GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem_DATABASEENGINEUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem_ALLSUPPORTEDDATABASEENGINES,+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem_Mysql,+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem_Postgres,+ ..+ ),++ -- * GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem+ ( GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem_DATABASERESOURCETYPEUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem_DATABASERESOURCETYPEALLSUPPORTEDTYPES,+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem_DATABASERESOURCETYPETABLE,+ ..+ ),++ -- * GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency+ ( GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY,+ ..+ ),++ -- * GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem+ ( GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem_CLOUDSTORAGEBUCKETATTRIBUTEUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem_ALLSUPPORTEDBUCKETS,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem_AUTOCLASSDISABLED,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem_AUTOCLASSENABLED,+ ..+ ),++ -- * GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem+ ( GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_CLOUDSTORAGEOBJECTATTRIBUTEUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_ALLSUPPORTEDOBJECTS,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Standard,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Nearline,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Coldline,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Archive,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Regional,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_MULTIREGIONAL,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_DURABLEREDUCEDAVAILABILITY,+ ..+ ),++ -- * GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency+ ( GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY,+ ..+ ),++ -- * GooglePrivacyDlpV2DiscoveryConfig_Status+ GooglePrivacyDlpV2DiscoveryConfig_Status+ ( GooglePrivacyDlpV2DiscoveryConfig_Status_STATUSUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryConfig_Status_Running,+ GooglePrivacyDlpV2DiscoveryConfig_Status_Paused,+ ..+ ),++ -- * GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency+ GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency+ ( GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY,+ ..+ ),++ -- * GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency+ ( GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UPDATEFREQUENCYMONTHLY,+ ..+ ),++ -- * GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency+ ( GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY,+ ..+ ),++ -- * GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency+ ( GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UPDATEFREQUENCYMONTHLY,+ ..+ ),++ -- * GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem+ ( GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem_SCHEMAMODIFICATIONUNSPECIFIED,+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem_SCHEMANEWCOLUMNS,+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem_SCHEMAREMOVEDCOLUMNS,+ ..+ ),++ -- * GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency+ ( GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency_UPDATEFREQUENCYMONTHLY,+ ..+ ),++ -- * GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem+ ( GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem_TABLEMODIFICATIONUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem_TABLEMODIFIEDTIMESTAMP,+ ..+ ),++ -- * GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency+ ( GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY,+ ..+ ),++ -- * GooglePrivacyDlpV2DlpJob_State+ GooglePrivacyDlpV2DlpJob_State+ ( GooglePrivacyDlpV2DlpJob_State_JOBSTATEUNSPECIFIED,+ GooglePrivacyDlpV2DlpJob_State_Pending,+ GooglePrivacyDlpV2DlpJob_State_Running,+ GooglePrivacyDlpV2DlpJob_State_Done,+ GooglePrivacyDlpV2DlpJob_State_Canceled,+ GooglePrivacyDlpV2DlpJob_State_Failed,+ GooglePrivacyDlpV2DlpJob_State_Active,+ ..+ ),++ -- * GooglePrivacyDlpV2DlpJob_Type+ GooglePrivacyDlpV2DlpJob_Type+ ( GooglePrivacyDlpV2DlpJob_Type_DLPJOBTYPEUNSPECIFIED,+ GooglePrivacyDlpV2DlpJob_Type_INSPECTJOB,+ GooglePrivacyDlpV2DlpJob_Type_RISKANALYSISJOB,+ ..+ ),++ -- * GooglePrivacyDlpV2Error_ExtraInfo+ GooglePrivacyDlpV2Error_ExtraInfo+ ( GooglePrivacyDlpV2Error_ExtraInfo_ERRORINFOUNSPECIFIED,+ GooglePrivacyDlpV2Error_ExtraInfo_IMAGESCANUNAVAILABLEINREGION,+ GooglePrivacyDlpV2Error_ExtraInfo_FILESTORECLUSTERUNSUPPORTED,+ ..+ ),++ -- * GooglePrivacyDlpV2ExclusionRule_MatchingType+ GooglePrivacyDlpV2ExclusionRule_MatchingType+ ( GooglePrivacyDlpV2ExclusionRule_MatchingType_MATCHINGTYPEUNSPECIFIED,+ GooglePrivacyDlpV2ExclusionRule_MatchingType_MATCHINGTYPEFULLMATCH,+ GooglePrivacyDlpV2ExclusionRule_MatchingType_MATCHINGTYPEPARTIALMATCH,+ GooglePrivacyDlpV2ExclusionRule_MatchingType_MATCHINGTYPEINVERSEMATCH,+ ..+ ),++ -- * GooglePrivacyDlpV2Expressions_LogicalOperator+ GooglePrivacyDlpV2Expressions_LogicalOperator+ ( GooglePrivacyDlpV2Expressions_LogicalOperator_LOGICALOPERATORUNSPECIFIED,+ GooglePrivacyDlpV2Expressions_LogicalOperator_And,+ ..+ ),++ -- * GooglePrivacyDlpV2FileClusterType_Cluster+ GooglePrivacyDlpV2FileClusterType_Cluster+ ( GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERUNSPECIFIED,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERUNKNOWN,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERTEXT,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERSTRUCTUREDDATA,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERSOURCECODE,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERRICHDOCUMENT,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERIMAGE,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERARCHIVE,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERMULTIMEDIA,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTEREXECUTABLE,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERAIMODEL,+ ..+ ),++ -- * GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility+ ( GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility_RESOURCEVISIBILITYUNSPECIFIED,+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility_RESOURCEVISIBILITYPUBLIC,+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility_RESOURCEVISIBILITYINCONCLUSIVE,+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility_RESOURCEVISIBILITYRESTRICTED,+ ..+ ),++ -- * GooglePrivacyDlpV2FileStoreDataProfile_State+ GooglePrivacyDlpV2FileStoreDataProfile_State+ ( GooglePrivacyDlpV2FileStoreDataProfile_State_STATEUNSPECIFIED,+ GooglePrivacyDlpV2FileStoreDataProfile_State_Running,+ GooglePrivacyDlpV2FileStoreDataProfile_State_Done,+ ..+ ),++ -- * GooglePrivacyDlpV2Finding_Likelihood+ GooglePrivacyDlpV2Finding_Likelihood+ ( GooglePrivacyDlpV2Finding_Likelihood_LIKELIHOODUNSPECIFIED,+ GooglePrivacyDlpV2Finding_Likelihood_VERYUNLIKELY,+ GooglePrivacyDlpV2Finding_Likelihood_Unlikely,+ GooglePrivacyDlpV2Finding_Likelihood_Possible,+ GooglePrivacyDlpV2Finding_Likelihood_Likely,+ GooglePrivacyDlpV2Finding_Likelihood_VERYLIKELY,+ ..+ ),++ -- * GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory+ GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory+ ( GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory_INDUSTRYUNSPECIFIED,+ GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory_Finance,+ GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory_Health,+ GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory_Telecommunications,+ ..+ ),++ -- * GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+ ( GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_LOCATIONUNSPECIFIED,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Global,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Argentina,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Armenia,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Australia,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Azerbaijan,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Belarus,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Belgium,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Brazil,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Canada,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Chile,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_China,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Colombia,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Croatia,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Czechia,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Denmark,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_France,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Finland,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Germany,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_HONGKONG,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_India,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Indonesia,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Ireland,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Israel,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Italy,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Japan,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Kazakhstan,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Korea,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Mexico,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_THENETHERLANDS,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_NEWZEALAND,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Norway,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Paraguay,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Peru,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Poland,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Portugal,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Russia,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Singapore,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_SOUTHAFRICA,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Spain,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Sweden,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Switzerland,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Taiwan,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Thailand,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Turkey,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Ukraine,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_UNITEDKINGDOM,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_UNITEDSTATES,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Uruguay,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Uzbekistan,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Venezuela,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Internal,+ ..+ ),++ -- * GooglePrivacyDlpV2InfoTypeCategory_TypeCategory+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory+ ( GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_TYPEUNSPECIFIED,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Pii,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Spii,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Demographic,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Credential,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_GOVERNMENTID,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Document,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_CONTEXTUALINFORMATION,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Custom,+ ..+ ),++ -- * GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem+ GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem+ ( GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem_ENUMTYPEUNSPECIFIED,+ GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem_Inspect,+ GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem_RISKANALYSIS,+ ..+ ),++ -- * GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood+ GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood+ ( GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_LIKELIHOODUNSPECIFIED,+ GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_VERYUNLIKELY,+ GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_Unlikely,+ GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_Possible,+ GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_Likely,+ GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_VERYLIKELY,+ ..+ ),++ -- * GooglePrivacyDlpV2InspectConfig_ContentOptionsItem+ GooglePrivacyDlpV2InspectConfig_ContentOptionsItem+ ( GooglePrivacyDlpV2InspectConfig_ContentOptionsItem_CONTENTUNSPECIFIED,+ GooglePrivacyDlpV2InspectConfig_ContentOptionsItem_CONTENTTEXT,+ GooglePrivacyDlpV2InspectConfig_ContentOptionsItem_CONTENTIMAGE,+ ..+ ),++ -- * GooglePrivacyDlpV2InspectConfig_MinLikelihood+ GooglePrivacyDlpV2InspectConfig_MinLikelihood+ ( GooglePrivacyDlpV2InspectConfig_MinLikelihood_LIKELIHOODUNSPECIFIED,+ GooglePrivacyDlpV2InspectConfig_MinLikelihood_VERYUNLIKELY,+ GooglePrivacyDlpV2InspectConfig_MinLikelihood_Unlikely,+ GooglePrivacyDlpV2InspectConfig_MinLikelihood_Possible,+ GooglePrivacyDlpV2InspectConfig_MinLikelihood_Likely,+ GooglePrivacyDlpV2InspectConfig_MinLikelihood_VERYLIKELY,+ ..+ ),++ -- * GooglePrivacyDlpV2JobTrigger_Status+ GooglePrivacyDlpV2JobTrigger_Status+ ( GooglePrivacyDlpV2JobTrigger_Status_STATUSUNSPECIFIED,+ GooglePrivacyDlpV2JobTrigger_Status_Healthy,+ GooglePrivacyDlpV2JobTrigger_Status_Paused,+ GooglePrivacyDlpV2JobTrigger_Status_Cancelled,+ ..+ ),++ -- * GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood+ GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood+ ( GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_LIKELIHOODUNSPECIFIED,+ GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_VERYUNLIKELY,+ GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_Unlikely,+ GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_Possible,+ GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_Likely,+ GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_VERYLIKELY,+ ..+ ),++ -- * GooglePrivacyDlpV2MetadataLocation_Type+ GooglePrivacyDlpV2MetadataLocation_Type+ ( GooglePrivacyDlpV2MetadataLocation_Type_METADATATYPEUNSPECIFIED,+ GooglePrivacyDlpV2MetadataLocation_Type_STORAGEMETADATA,+ ..+ ),++ -- * GooglePrivacyDlpV2OutputStorageConfig_OutputSchema+ GooglePrivacyDlpV2OutputStorageConfig_OutputSchema+ ( GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_OUTPUTSCHEMAUNSPECIFIED,+ GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_BASICCOLUMNS,+ GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_GCSCOLUMNS,+ GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_DATASTORECOLUMNS,+ GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_BIGQUERYCOLUMNS,+ GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_ALLCOLUMNS,+ ..+ ),++ -- * GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore+ GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore+ ( GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore_PROFILESCOREBUCKETUNSPECIFIED,+ GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore_High,+ GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore_MEDIUMORHIGH,+ ..+ ),++ -- * GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore+ GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore+ ( GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore_PROFILESCOREBUCKETUNSPECIFIED,+ GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore_High,+ GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore_MEDIUMORHIGH,+ ..+ ),++ -- * GooglePrivacyDlpV2PubSubExpressions_LogicalOperator+ GooglePrivacyDlpV2PubSubExpressions_LogicalOperator+ ( GooglePrivacyDlpV2PubSubExpressions_LogicalOperator_LOGICALOPERATORUNSPECIFIED,+ GooglePrivacyDlpV2PubSubExpressions_LogicalOperator_OR,+ GooglePrivacyDlpV2PubSubExpressions_LogicalOperator_And,+ ..+ ),++ -- * GooglePrivacyDlpV2PubSubNotification_DetailOfMessage+ GooglePrivacyDlpV2PubSubNotification_DetailOfMessage+ ( GooglePrivacyDlpV2PubSubNotification_DetailOfMessage_DETAILLEVELUNSPECIFIED,+ GooglePrivacyDlpV2PubSubNotification_DetailOfMessage_TABLEPROFILE,+ GooglePrivacyDlpV2PubSubNotification_DetailOfMessage_RESOURCENAME,+ GooglePrivacyDlpV2PubSubNotification_DetailOfMessage_FILESTOREPROFILE,+ ..+ ),++ -- * GooglePrivacyDlpV2PubSubNotification_Event+ GooglePrivacyDlpV2PubSubNotification_Event+ ( GooglePrivacyDlpV2PubSubNotification_Event_EVENTTYPEUNSPECIFIED,+ GooglePrivacyDlpV2PubSubNotification_Event_NEWPROFILE,+ GooglePrivacyDlpV2PubSubNotification_Event_CHANGEDPROFILE,+ GooglePrivacyDlpV2PubSubNotification_Event_SCOREINCREASED,+ GooglePrivacyDlpV2PubSubNotification_Event_ERRORCHANGED,+ ..+ ),++ -- * GooglePrivacyDlpV2SchemaModifiedCadence_Frequency+ GooglePrivacyDlpV2SchemaModifiedCadence_Frequency+ ( GooglePrivacyDlpV2SchemaModifiedCadence_Frequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2SchemaModifiedCadence_Frequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2SchemaModifiedCadence_Frequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2SchemaModifiedCadence_Frequency_UPDATEFREQUENCYMONTHLY,+ ..+ ),++ -- * GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem+ GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem+ ( GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem_SQLSCHEMAMODIFICATIONUNSPECIFIED,+ GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem_NEWCOLUMNS,+ GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem_REMOVEDCOLUMNS,+ ..+ ),++ -- * GooglePrivacyDlpV2SensitivityScore_Score+ GooglePrivacyDlpV2SensitivityScore_Score+ ( GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYSCOREUNSPECIFIED,+ GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYLOW,+ GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYUNKNOWN,+ GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYMODERATE,+ GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYHIGH,+ ..+ ),++ -- * GooglePrivacyDlpV2StoredInfoTypeVersion_State+ GooglePrivacyDlpV2StoredInfoTypeVersion_State+ ( GooglePrivacyDlpV2StoredInfoTypeVersion_State_STOREDINFOTYPESTATEUNSPECIFIED,+ GooglePrivacyDlpV2StoredInfoTypeVersion_State_Pending,+ GooglePrivacyDlpV2StoredInfoTypeVersion_State_Ready,+ GooglePrivacyDlpV2StoredInfoTypeVersion_State_Failed,+ GooglePrivacyDlpV2StoredInfoTypeVersion_State_Invalid,+ ..+ ),++ -- * GooglePrivacyDlpV2SummaryResult_Code+ GooglePrivacyDlpV2SummaryResult_Code+ ( GooglePrivacyDlpV2SummaryResult_Code_TRANSFORMATIONRESULTCODEUNSPECIFIED,+ GooglePrivacyDlpV2SummaryResult_Code_Success,+ GooglePrivacyDlpV2SummaryResult_Code_Error',+ ..+ ),++ -- * GooglePrivacyDlpV2TableDataProfile_EncryptionStatus+ GooglePrivacyDlpV2TableDataProfile_EncryptionStatus+ ( GooglePrivacyDlpV2TableDataProfile_EncryptionStatus_ENCRYPTIONSTATUSUNSPECIFIED,+ GooglePrivacyDlpV2TableDataProfile_EncryptionStatus_ENCRYPTIONGOOGLEMANAGED,+ GooglePrivacyDlpV2TableDataProfile_EncryptionStatus_ENCRYPTIONCUSTOMERMANAGED,+ ..+ ),++ -- * GooglePrivacyDlpV2TableDataProfile_ResourceVisibility+ GooglePrivacyDlpV2TableDataProfile_ResourceVisibility+ ( GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_RESOURCEVISIBILITYUNSPECIFIED,+ GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_RESOURCEVISIBILITYPUBLIC,+ GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_RESOURCEVISIBILITYINCONCLUSIVE,+ GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_RESOURCEVISIBILITYRESTRICTED,+ ..+ ),++ -- * GooglePrivacyDlpV2TableDataProfile_State+ GooglePrivacyDlpV2TableDataProfile_State+ ( GooglePrivacyDlpV2TableDataProfile_State_STATEUNSPECIFIED,+ GooglePrivacyDlpV2TableDataProfile_State_Running,+ GooglePrivacyDlpV2TableDataProfile_State_Done,+ ..+ ),++ -- * GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem+ GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem+ ( GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem_PROFILEGENERATIONUNSPECIFIED,+ GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem_PROFILEGENERATIONNEW,+ GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem_PROFILEGENERATIONUPDATE,+ ..+ ),++ -- * GooglePrivacyDlpV2TimePartConfig_PartToExtract+ GooglePrivacyDlpV2TimePartConfig_PartToExtract+ ( GooglePrivacyDlpV2TimePartConfig_PartToExtract_TIMEPARTUNSPECIFIED,+ GooglePrivacyDlpV2TimePartConfig_PartToExtract_Year,+ GooglePrivacyDlpV2TimePartConfig_PartToExtract_Month,+ GooglePrivacyDlpV2TimePartConfig_PartToExtract_DAYOFMONTH,+ GooglePrivacyDlpV2TimePartConfig_PartToExtract_DAYOFWEEK,+ GooglePrivacyDlpV2TimePartConfig_PartToExtract_WEEKOFYEAR,+ GooglePrivacyDlpV2TimePartConfig_PartToExtract_HOUROFDAY,+ ..+ ),++ -- * GooglePrivacyDlpV2TransformationDescription_Type+ GooglePrivacyDlpV2TransformationDescription_Type+ ( GooglePrivacyDlpV2TransformationDescription_Type_TRANSFORMATIONTYPEUNSPECIFIED,+ GooglePrivacyDlpV2TransformationDescription_Type_RECORDSUPPRESSION,+ GooglePrivacyDlpV2TransformationDescription_Type_REPLACEVALUE,+ GooglePrivacyDlpV2TransformationDescription_Type_REPLACEDICTIONARY,+ GooglePrivacyDlpV2TransformationDescription_Type_Redact,+ GooglePrivacyDlpV2TransformationDescription_Type_CHARACTERMASK,+ GooglePrivacyDlpV2TransformationDescription_Type_CRYPTOREPLACEFFXFPE,+ GooglePrivacyDlpV2TransformationDescription_Type_FIXEDSIZEBUCKETING,+ GooglePrivacyDlpV2TransformationDescription_Type_Bucketing,+ GooglePrivacyDlpV2TransformationDescription_Type_REPLACEWITHINFOTYPE,+ GooglePrivacyDlpV2TransformationDescription_Type_TIMEPART,+ GooglePrivacyDlpV2TransformationDescription_Type_CRYPTOHASH,+ GooglePrivacyDlpV2TransformationDescription_Type_DATESHIFT,+ GooglePrivacyDlpV2TransformationDescription_Type_CRYPTODETERMINISTICCONFIG,+ GooglePrivacyDlpV2TransformationDescription_Type_REDACTIMAGE,+ ..+ ),++ -- * GooglePrivacyDlpV2TransformationLocation_ContainerType+ GooglePrivacyDlpV2TransformationLocation_ContainerType+ ( GooglePrivacyDlpV2TransformationLocation_ContainerType_TRANSFORMUNKNOWNCONTAINER,+ GooglePrivacyDlpV2TransformationLocation_ContainerType_TRANSFORMBODY,+ GooglePrivacyDlpV2TransformationLocation_ContainerType_TRANSFORMMETADATA,+ GooglePrivacyDlpV2TransformationLocation_ContainerType_TRANSFORMTABLE,+ ..+ ),++ -- * GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType+ GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType+ ( GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_STATETYPEUNSPECIFIED,+ GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_INVALIDTRANSFORM,+ GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_BIGQUERYMAXROWSIZEEXCEEDED,+ GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_METADATAUNRETRIEVABLE,+ GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_Success,+ ..+ ),++ -- * GooglePrivacyDlpV2Value_DayOfWeekValue+ GooglePrivacyDlpV2Value_DayOfWeekValue+ ( GooglePrivacyDlpV2Value_DayOfWeekValue_DAYOFWEEKUNSPECIFIED,+ GooglePrivacyDlpV2Value_DayOfWeekValue_Monday,+ GooglePrivacyDlpV2Value_DayOfWeekValue_Tuesday,+ GooglePrivacyDlpV2Value_DayOfWeekValue_Wednesday,+ GooglePrivacyDlpV2Value_DayOfWeekValue_Thursday,+ GooglePrivacyDlpV2Value_DayOfWeekValue_Friday,+ GooglePrivacyDlpV2Value_DayOfWeekValue_Saturday,+ GooglePrivacyDlpV2Value_DayOfWeekValue_Sunday,+ ..+ ),++ -- * OrganizationsLocationsDlpJobsListType+ OrganizationsLocationsDlpJobsListType+ ( OrganizationsLocationsDlpJobsListType_DLPJOBTYPEUNSPECIFIED,+ OrganizationsLocationsDlpJobsListType_INSPECTJOB,+ OrganizationsLocationsDlpJobsListType_RISKANALYSISJOB,+ ..+ ),++ -- * OrganizationsLocationsJobTriggersListType+ OrganizationsLocationsJobTriggersListType+ ( OrganizationsLocationsJobTriggersListType_DLPJOBTYPEUNSPECIFIED,+ OrganizationsLocationsJobTriggersListType_INSPECTJOB,+ OrganizationsLocationsJobTriggersListType_RISKANALYSISJOB,+ ..+ ),++ -- * ProjectsDlpJobsListType+ ProjectsDlpJobsListType+ ( ProjectsDlpJobsListType_DLPJOBTYPEUNSPECIFIED,+ ProjectsDlpJobsListType_INSPECTJOB,+ ProjectsDlpJobsListType_RISKANALYSISJOB,+ ..+ ),++ -- * ProjectsJobTriggersListType+ ProjectsJobTriggersListType+ ( ProjectsJobTriggersListType_DLPJOBTYPEUNSPECIFIED,+ ProjectsJobTriggersListType_INSPECTJOB,+ ProjectsJobTriggersListType_RISKANALYSISJOB,+ ..+ ),++ -- * ProjectsLocationsDlpJobsListType+ ProjectsLocationsDlpJobsListType+ ( ProjectsLocationsDlpJobsListType_DLPJOBTYPEUNSPECIFIED,+ ProjectsLocationsDlpJobsListType_INSPECTJOB,+ ProjectsLocationsDlpJobsListType_RISKANALYSISJOB,+ ..+ ),++ -- * ProjectsLocationsJobTriggersListType+ ProjectsLocationsJobTriggersListType+ ( ProjectsLocationsJobTriggersListType_DLPJOBTYPEUNSPECIFIED,+ ProjectsLocationsJobTriggersListType_INSPECTJOB,+ ProjectsLocationsJobTriggersListType_RISKANALYSISJOB,+ ..+ ),+ )+where++import Gogol.Prelude qualified as Core++-- | V1 error format.+newtype Xgafv = Xgafv {fromXgafv :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | v1 error format+pattern Xgafv_1 :: Xgafv+pattern Xgafv_1 = Xgafv "1"++-- | v2 error format+pattern Xgafv_2 :: Xgafv+pattern Xgafv_2 = Xgafv "2"++{-# COMPLETE+ Xgafv_1,+ Xgafv_2,+ Xgafv+ #-}++newtype GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem = GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem {fromGooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem_TYPEUNSPECIFIED :: GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem_TYPEUNSPECIFIED = GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem "TYPE_UNSPECIFIED"++-- | All supported classes.+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem_TYPEALLSUPPORTED :: GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem_TYPEALLSUPPORTED = GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem "TYPE_ALL_SUPPORTED"++-- | A general purpose Amazon S3 bucket.+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem_TYPEGENERALPURPOSE :: GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem_TYPEGENERALPURPOSE = GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem "TYPE_GENERAL_PURPOSE"++{-# COMPLETE+ GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem_TYPEUNSPECIFIED,+ GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem_TYPEALLSUPPORTED,+ GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem_TYPEGENERALPURPOSE,+ GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem+ #-}++newtype GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem = GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem {fromGooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_Unspecified :: GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_Unspecified = GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem "UNSPECIFIED"++-- | All supported classes.+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_ALLSUPPORTEDCLASSES :: GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_ALLSUPPORTEDCLASSES = GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem "ALL_SUPPORTED_CLASSES"++-- | Standard object class.+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_Standard :: GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_Standard = GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem "STANDARD"++-- | Standard - infrequent access object class.+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_STANDARDINFREQUENTACCESS :: GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_STANDARDINFREQUENTACCESS = GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem "STANDARD_INFREQUENT_ACCESS"++-- | Glacier - instant retrieval object class.+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_GLACIERINSTANTRETRIEVAL :: GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_GLACIERINSTANTRETRIEVAL = GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem "GLACIER_INSTANT_RETRIEVAL"++-- | Objects in the S3 Intelligent-Tiering access tiers.+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_INTELLIGENTTIERING :: GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem+pattern GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_INTELLIGENTTIERING = GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem "INTELLIGENT_TIERING"++{-# COMPLETE+ GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_Unspecified,+ GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_ALLSUPPORTEDCLASSES,+ GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_Standard,+ GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_STANDARDINFREQUENTACCESS,+ GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_GLACIERINSTANTRETRIEVAL,+ GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem_INTELLIGENTTIERING,+ GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem+ #-}++-- | How to sample the data.+newtype GooglePrivacyDlpV2BigQueryOptions_SampleMethod = GooglePrivacyDlpV2BigQueryOptions_SampleMethod {fromGooglePrivacyDlpV2BigQueryOptions_SampleMethod :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | No sampling.+pattern GooglePrivacyDlpV2BigQueryOptions_SampleMethod_SAMPLEMETHODUNSPECIFIED :: GooglePrivacyDlpV2BigQueryOptions_SampleMethod+pattern GooglePrivacyDlpV2BigQueryOptions_SampleMethod_SAMPLEMETHODUNSPECIFIED = GooglePrivacyDlpV2BigQueryOptions_SampleMethod "SAMPLE_METHOD_UNSPECIFIED"++-- | Scan groups of rows in the order BigQuery provides (default). Multiple groups of rows may be scanned in parallel, so results may not appear in the same order the rows are read.+pattern GooglePrivacyDlpV2BigQueryOptions_SampleMethod_Top :: GooglePrivacyDlpV2BigQueryOptions_SampleMethod+pattern GooglePrivacyDlpV2BigQueryOptions_SampleMethod_Top = GooglePrivacyDlpV2BigQueryOptions_SampleMethod "TOP"++-- | Randomly pick groups of rows to scan.+pattern GooglePrivacyDlpV2BigQueryOptions_SampleMethod_RANDOMSTART :: GooglePrivacyDlpV2BigQueryOptions_SampleMethod+pattern GooglePrivacyDlpV2BigQueryOptions_SampleMethod_RANDOMSTART = GooglePrivacyDlpV2BigQueryOptions_SampleMethod "RANDOM_START"++{-# COMPLETE+ GooglePrivacyDlpV2BigQueryOptions_SampleMethod_SAMPLEMETHODUNSPECIFIED,+ GooglePrivacyDlpV2BigQueryOptions_SampleMethod_Top,+ GooglePrivacyDlpV2BigQueryOptions_SampleMethod_RANDOMSTART,+ GooglePrivacyDlpV2BigQueryOptions_SampleMethod+ #-}++newtype GooglePrivacyDlpV2BigQueryTableTypes_TypesItem = GooglePrivacyDlpV2BigQueryTableTypes_TypesItem {fromGooglePrivacyDlpV2BigQueryTableTypes_TypesItem :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2BigQueryTableTypes_TypesItem_BIGQUERYTABLETYPEUNSPECIFIED :: GooglePrivacyDlpV2BigQueryTableTypes_TypesItem+pattern GooglePrivacyDlpV2BigQueryTableTypes_TypesItem_BIGQUERYTABLETYPEUNSPECIFIED = GooglePrivacyDlpV2BigQueryTableTypes_TypesItem "BIG_QUERY_TABLE_TYPE_UNSPECIFIED"++-- | A normal BigQuery table.+pattern GooglePrivacyDlpV2BigQueryTableTypes_TypesItem_BIGQUERYTABLETYPETABLE :: GooglePrivacyDlpV2BigQueryTableTypes_TypesItem+pattern GooglePrivacyDlpV2BigQueryTableTypes_TypesItem_BIGQUERYTABLETYPETABLE = GooglePrivacyDlpV2BigQueryTableTypes_TypesItem "BIG_QUERY_TABLE_TYPE_TABLE"++-- | A table that references data stored in Cloud Storage.+pattern GooglePrivacyDlpV2BigQueryTableTypes_TypesItem_BIGQUERYTABLETYPEEXTERNALBIGLAKE :: GooglePrivacyDlpV2BigQueryTableTypes_TypesItem+pattern GooglePrivacyDlpV2BigQueryTableTypes_TypesItem_BIGQUERYTABLETYPEEXTERNALBIGLAKE = GooglePrivacyDlpV2BigQueryTableTypes_TypesItem "BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE"++-- | A snapshot of a BigQuery table.+pattern GooglePrivacyDlpV2BigQueryTableTypes_TypesItem_BIGQUERYTABLETYPESNAPSHOT :: GooglePrivacyDlpV2BigQueryTableTypes_TypesItem+pattern GooglePrivacyDlpV2BigQueryTableTypes_TypesItem_BIGQUERYTABLETYPESNAPSHOT = GooglePrivacyDlpV2BigQueryTableTypes_TypesItem "BIG_QUERY_TABLE_TYPE_SNAPSHOT"++{-# COMPLETE+ GooglePrivacyDlpV2BigQueryTableTypes_TypesItem_BIGQUERYTABLETYPEUNSPECIFIED,+ GooglePrivacyDlpV2BigQueryTableTypes_TypesItem_BIGQUERYTABLETYPETABLE,+ GooglePrivacyDlpV2BigQueryTableTypes_TypesItem_BIGQUERYTABLETYPEEXTERNALBIGLAKE,+ GooglePrivacyDlpV2BigQueryTableTypes_TypesItem_BIGQUERYTABLETYPESNAPSHOT,+ GooglePrivacyDlpV2BigQueryTableTypes_TypesItem+ #-}++-- | The type of data stored in the bytes string. Default will be TEXT_UTF8.+newtype GooglePrivacyDlpV2ByteContentItem_Type = GooglePrivacyDlpV2ByteContentItem_Type {fromGooglePrivacyDlpV2ByteContentItem_Type :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused+pattern GooglePrivacyDlpV2ByteContentItem_Type_BYTESTYPEUNSPECIFIED :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_BYTESTYPEUNSPECIFIED = GooglePrivacyDlpV2ByteContentItem_Type "BYTES_TYPE_UNSPECIFIED"++-- | Any image type.+pattern GooglePrivacyDlpV2ByteContentItem_Type_Image :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_Image = GooglePrivacyDlpV2ByteContentItem_Type "IMAGE"++-- | jpeg+pattern GooglePrivacyDlpV2ByteContentItem_Type_IMAGEJPEG :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_IMAGEJPEG = GooglePrivacyDlpV2ByteContentItem_Type "IMAGE_JPEG"++-- | bmp+pattern GooglePrivacyDlpV2ByteContentItem_Type_IMAGEBMP :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_IMAGEBMP = GooglePrivacyDlpV2ByteContentItem_Type "IMAGE_BMP"++-- | png+pattern GooglePrivacyDlpV2ByteContentItem_Type_IMAGEPNG :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_IMAGEPNG = GooglePrivacyDlpV2ByteContentItem_Type "IMAGE_PNG"++-- | svg+pattern GooglePrivacyDlpV2ByteContentItem_Type_IMAGESVG :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_IMAGESVG = GooglePrivacyDlpV2ByteContentItem_Type "IMAGE_SVG"++-- | plain text+pattern GooglePrivacyDlpV2ByteContentItem_Type_TEXT_UTF8 :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_TEXT_UTF8 = GooglePrivacyDlpV2ByteContentItem_Type "TEXT_UTF8"++-- | docx, docm, dotx, dotm+pattern GooglePrivacyDlpV2ByteContentItem_Type_WORDDOCUMENT :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_WORDDOCUMENT = GooglePrivacyDlpV2ByteContentItem_Type "WORD_DOCUMENT"++-- | pdf+pattern GooglePrivacyDlpV2ByteContentItem_Type_Pdf :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_Pdf = GooglePrivacyDlpV2ByteContentItem_Type "PDF"++-- | pptx, pptm, potx, potm, pot+pattern GooglePrivacyDlpV2ByteContentItem_Type_POWERPOINTDOCUMENT :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_POWERPOINTDOCUMENT = GooglePrivacyDlpV2ByteContentItem_Type "POWERPOINT_DOCUMENT"++-- | xlsx, xlsm, xltx, xltm+pattern GooglePrivacyDlpV2ByteContentItem_Type_EXCELDOCUMENT :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_EXCELDOCUMENT = GooglePrivacyDlpV2ByteContentItem_Type "EXCEL_DOCUMENT"++-- | avro+pattern GooglePrivacyDlpV2ByteContentItem_Type_Avro :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_Avro = GooglePrivacyDlpV2ByteContentItem_Type "AVRO"++-- | csv+pattern GooglePrivacyDlpV2ByteContentItem_Type_Csv :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_Csv = GooglePrivacyDlpV2ByteContentItem_Type "CSV"++-- | tsv+pattern GooglePrivacyDlpV2ByteContentItem_Type_Tsv :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_Tsv = GooglePrivacyDlpV2ByteContentItem_Type "TSV"++-- | Audio file types. Only used for profiling.+pattern GooglePrivacyDlpV2ByteContentItem_Type_Audio :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_Audio = GooglePrivacyDlpV2ByteContentItem_Type "AUDIO"++-- | Video file types. Only used for profiling.+pattern GooglePrivacyDlpV2ByteContentItem_Type_Video :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_Video = GooglePrivacyDlpV2ByteContentItem_Type "VIDEO"++-- | Executable file types. Only used for profiling.+pattern GooglePrivacyDlpV2ByteContentItem_Type_Executable :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_Executable = GooglePrivacyDlpV2ByteContentItem_Type "EXECUTABLE"++-- | AI model file types. Only used for profiling.+pattern GooglePrivacyDlpV2ByteContentItem_Type_AIMODEL :: GooglePrivacyDlpV2ByteContentItem_Type+pattern GooglePrivacyDlpV2ByteContentItem_Type_AIMODEL = GooglePrivacyDlpV2ByteContentItem_Type "AI_MODEL"++{-# COMPLETE+ GooglePrivacyDlpV2ByteContentItem_Type_BYTESTYPEUNSPECIFIED,+ GooglePrivacyDlpV2ByteContentItem_Type_Image,+ GooglePrivacyDlpV2ByteContentItem_Type_IMAGEJPEG,+ GooglePrivacyDlpV2ByteContentItem_Type_IMAGEBMP,+ GooglePrivacyDlpV2ByteContentItem_Type_IMAGEPNG,+ GooglePrivacyDlpV2ByteContentItem_Type_IMAGESVG,+ GooglePrivacyDlpV2ByteContentItem_Type_TEXT_UTF8,+ GooglePrivacyDlpV2ByteContentItem_Type_WORDDOCUMENT,+ GooglePrivacyDlpV2ByteContentItem_Type_Pdf,+ GooglePrivacyDlpV2ByteContentItem_Type_POWERPOINTDOCUMENT,+ GooglePrivacyDlpV2ByteContentItem_Type_EXCELDOCUMENT,+ GooglePrivacyDlpV2ByteContentItem_Type_Avro,+ GooglePrivacyDlpV2ByteContentItem_Type_Csv,+ GooglePrivacyDlpV2ByteContentItem_Type_Tsv,+ GooglePrivacyDlpV2ByteContentItem_Type_Audio,+ GooglePrivacyDlpV2ByteContentItem_Type_Video,+ GooglePrivacyDlpV2ByteContentItem_Type_Executable,+ GooglePrivacyDlpV2ByteContentItem_Type_AIMODEL,+ GooglePrivacyDlpV2ByteContentItem_Type+ #-}++-- | Common characters to not transform when masking. Useful to avoid removing punctuation.+newtype GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore = GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore {fromGooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_COMMONCHARSTOIGNOREUNSPECIFIED :: GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore+pattern GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_COMMONCHARSTOIGNOREUNSPECIFIED = GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore "COMMON_CHARS_TO_IGNORE_UNSPECIFIED"++-- | 0-9+pattern GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_Numeric :: GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore+pattern GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_Numeric = GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore "NUMERIC"++-- | A-Z+pattern GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_ALPHAUPPERCASE :: GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore+pattern GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_ALPHAUPPERCASE = GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore "ALPHA_UPPER_CASE"++-- | a-z+pattern GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_ALPHALOWERCASE :: GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore+pattern GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_ALPHALOWERCASE = GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore "ALPHA_LOWER_CASE"++-- | US Punctuation, one of !\"#$%&\'()*+,-.\/:;\<=>?\@[]^_\`{|}~+pattern GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_Punctuation :: GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore+pattern GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_Punctuation = GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore "PUNCTUATION"++-- | Whitespace character, one of [ \\t\\n\\x0B\\f\\r]+pattern GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_Whitespace :: GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore+pattern GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_Whitespace = GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore "WHITESPACE"++{-# COMPLETE+ GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_COMMONCHARSTOIGNOREUNSPECIFIED,+ GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_Numeric,+ GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_ALPHAUPPERCASE,+ GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_ALPHALOWERCASE,+ GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_Punctuation,+ GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore_Whitespace,+ GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore+ #-}++-- | Required. The database engine used by the Cloud SQL instance that this connection configures.+newtype GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine = GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine {fromGooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | An engine that is not currently supported by Sensitive Data Protection.+pattern GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DATABASEENGINEUNKNOWN :: GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine+pattern GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DATABASEENGINEUNKNOWN = GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine "DATABASE_ENGINE_UNKNOWN"++-- | Cloud SQL for MySQL instance.+pattern GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DATABASEENGINEMYSQL :: GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine+pattern GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DATABASEENGINEMYSQL = GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine "DATABASE_ENGINE_MYSQL"++-- | Cloud SQL for PostgreSQL instance.+pattern GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DATABASEENGINEPOSTGRES :: GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine+pattern GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DATABASEENGINEPOSTGRES = GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine "DATABASE_ENGINE_POSTGRES"++{-# COMPLETE+ GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DATABASEENGINEUNKNOWN,+ GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DATABASEENGINEMYSQL,+ GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine_DATABASEENGINEPOSTGRES,+ GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine+ #-}++newtype GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem = GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem {fromGooglePrivacyDlpV2CloudStorageOptions_FileTypesItem :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Includes all files.+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_FILETYPEUNSPECIFIED :: GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_FILETYPEUNSPECIFIED = GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem "FILE_TYPE_UNSPECIFIED"++-- | Includes all file extensions not covered by another entry. Binary scanning attempts to convert the content of the file to utf_8 to scan the file. If you wish to avoid this fall back, specify one or more of the other file types in your storage scan.+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_BINARYFILE :: GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_BINARYFILE = GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem "BINARY_FILE"++-- | Included file extensions: asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart, dat, dot, eml,, epbub, ged, go, h, hh, hpp, hxx, h++, hs, html, htm, mkd, markdown, m, ml, mli, perl, pl, plist, pm, php, phtml, pht, properties, py, pyw, rb, rbw, rs, rss, rc, scala, sh, sql, swift, tex, shtml, shtm, xhtml, lhs, ics, ini, java, js, json, jsonl, kix, kml, ocaml, md, txt, text, tsv, vb, vcard, vcs, wml, xcodeproj, xml, xsl, xsd, yml, yaml.+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_TEXTFILE :: GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_TEXTFILE = GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem "TEXT_FILE"++-- | Included file extensions: bmp, gif, jpg, jpeg, jpe, png. Setting bytes/limit/per/file or bytes/limit/per/file_percent has no effect on image files. Image inspection is restricted to the @global@, @us@, @asia@, and @europe@ regions.+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Image :: GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Image = GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem "IMAGE"++-- | Microsoft Word files larger than 30 MB will be scanned as binary files. Included file extensions: docx, dotx, docm, dotm. Setting @bytes_limit_per_file@ or @bytes_limit_per_file_percent@ has no effect on Word files.+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Word :: GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Word = GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem "WORD"++-- | PDF files larger than 30 MB will be scanned as binary files. Included file extensions: pdf. Setting @bytes_limit_per_file@ or @bytes_limit_per_file_percent@ has no effect on PDF files.+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Pdf :: GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Pdf = GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem "PDF"++-- | Included file extensions: avro+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Avro :: GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Avro = GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem "AVRO"++-- | Included file extensions: csv+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Csv :: GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Csv = GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem "CSV"++-- | Included file extensions: tsv+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Tsv :: GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Tsv = GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem "TSV"++-- | Microsoft PowerPoint files larger than 30 MB will be scanned as binary files. Included file extensions: pptx, pptm, potx, potm, pot. Setting @bytes_limit_per_file@ or @bytes_limit_per_file_percent@ has no effect on PowerPoint files.+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Powerpoint :: GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Powerpoint = GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem "POWERPOINT"++-- | Microsoft Excel files larger than 30 MB will be scanned as binary files. Included file extensions: xlsx, xlsm, xltx, xltm. Setting @bytes_limit_per_file@ or @bytes_limit_per_file_percent@ has no effect on Excel files.+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Excel :: GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem+pattern GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Excel = GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem "EXCEL"++{-# COMPLETE+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_FILETYPEUNSPECIFIED,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_BINARYFILE,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_TEXTFILE,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Image,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Word,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Pdf,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Avro,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Csv,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Tsv,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Powerpoint,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem_Excel,+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem+ #-}++-- | How to sample the data.+newtype GooglePrivacyDlpV2CloudStorageOptions_SampleMethod = GooglePrivacyDlpV2CloudStorageOptions_SampleMethod {fromGooglePrivacyDlpV2CloudStorageOptions_SampleMethod :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | No sampling.+pattern GooglePrivacyDlpV2CloudStorageOptions_SampleMethod_SAMPLEMETHODUNSPECIFIED :: GooglePrivacyDlpV2CloudStorageOptions_SampleMethod+pattern GooglePrivacyDlpV2CloudStorageOptions_SampleMethod_SAMPLEMETHODUNSPECIFIED = GooglePrivacyDlpV2CloudStorageOptions_SampleMethod "SAMPLE_METHOD_UNSPECIFIED"++-- | Scan from the top (default).+pattern GooglePrivacyDlpV2CloudStorageOptions_SampleMethod_Top :: GooglePrivacyDlpV2CloudStorageOptions_SampleMethod+pattern GooglePrivacyDlpV2CloudStorageOptions_SampleMethod_Top = GooglePrivacyDlpV2CloudStorageOptions_SampleMethod "TOP"++-- | For each file larger than bytes/limit/per_file, randomly pick the offset to start scanning. The scanned bytes are contiguous.+pattern GooglePrivacyDlpV2CloudStorageOptions_SampleMethod_RANDOMSTART :: GooglePrivacyDlpV2CloudStorageOptions_SampleMethod+pattern GooglePrivacyDlpV2CloudStorageOptions_SampleMethod_RANDOMSTART = GooglePrivacyDlpV2CloudStorageOptions_SampleMethod "RANDOM_START"++{-# COMPLETE+ GooglePrivacyDlpV2CloudStorageOptions_SampleMethod_SAMPLEMETHODUNSPECIFIED,+ GooglePrivacyDlpV2CloudStorageOptions_SampleMethod_Top,+ GooglePrivacyDlpV2CloudStorageOptions_SampleMethod_RANDOMSTART,+ GooglePrivacyDlpV2CloudStorageOptions_SampleMethod+ #-}++-- | The data type of a given column.+newtype GooglePrivacyDlpV2ColumnDataProfile_ColumnType = GooglePrivacyDlpV2ColumnDataProfile_ColumnType {fromGooglePrivacyDlpV2ColumnDataProfile_ColumnType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Invalid type.+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_COLUMNDATATYPEUNSPECIFIED :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_COLUMNDATATYPEUNSPECIFIED = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "COLUMN_DATA_TYPE_UNSPECIFIED"++-- | Encoded as a string in decimal format.+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPE_INT64 :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPE_INT64 = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_INT64"++-- | Encoded as a boolean \"false\" or \"true\".+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEBOOL :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEBOOL = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_BOOL"++-- | Encoded as a number, or string \"NaN\", \"Infinity\" or \"-Infinity\".+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPE_FLOAT64 :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPE_FLOAT64 = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_FLOAT64"++-- | Encoded as a string value.+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPESTRING :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPESTRING = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_STRING"++-- | Encoded as a base64 string per RFC 4648, section 4.+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEBYTES :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEBYTES = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_BYTES"++-- | Encoded as an RFC 3339 timestamp with mandatory \"Z\" time zone string: 1985-04-12T23:20:50.52Z+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPETIMESTAMP :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPETIMESTAMP = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_TIMESTAMP"++-- | Encoded as RFC 3339 full-date format string: 1985-04-12+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEDATE :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEDATE = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_DATE"++-- | Encoded as RFC 3339 partial-time format string: 23:20:50.52+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPETIME :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPETIME = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_TIME"++-- | Encoded as RFC 3339 full-date \"T\" partial-time: 1985-04-12T23:20:50.52+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEDATETIME :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEDATETIME = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_DATETIME"++-- | Encoded as WKT+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEGEOGRAPHY :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEGEOGRAPHY = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_GEOGRAPHY"++-- | Encoded as a decimal string.+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPENUMERIC :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPENUMERIC = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_NUMERIC"++-- | Container of ordered fields, each with a type and field name.+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPERECORD :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPERECORD = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_RECORD"++-- | Decimal type.+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEBIGNUMERIC :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEBIGNUMERIC = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_BIGNUMERIC"++-- | Json type.+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEJSON :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEJSON = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_JSON"++-- | Interval type.+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEINTERVAL :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEINTERVAL = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_INTERVAL"++-- | @Range@ type.+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPERANGEDATE :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPERANGEDATE = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_RANGE_DATE"++-- | @Range@ type.+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPERANGEDATETIME :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPERANGEDATETIME = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_RANGE_DATETIME"++-- | @Range@ type.+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPERANGETIMESTAMP :: GooglePrivacyDlpV2ColumnDataProfile_ColumnType+pattern GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPERANGETIMESTAMP = GooglePrivacyDlpV2ColumnDataProfile_ColumnType "TYPE_RANGE_TIMESTAMP"++{-# COMPLETE+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_COLUMNDATATYPEUNSPECIFIED,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPE_INT64,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEBOOL,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPE_FLOAT64,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPESTRING,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEBYTES,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPETIMESTAMP,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEDATE,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPETIME,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEDATETIME,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEGEOGRAPHY,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPENUMERIC,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPERECORD,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEBIGNUMERIC,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEJSON,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPEINTERVAL,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPERANGEDATE,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPERANGEDATETIME,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType_TYPERANGETIMESTAMP,+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType+ #-}++-- | Approximate percentage of entries being null in the column.+newtype GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage = GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage {fromGooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGELEVELUNSPECIFIED :: GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGELEVELUNSPECIFIED = GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage "NULL_PERCENTAGE_LEVEL_UNSPECIFIED"++-- | Very few null entries.+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGEVERYLOW :: GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGEVERYLOW = GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage "NULL_PERCENTAGE_VERY_LOW"++-- | Some null entries.+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGELOW :: GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGELOW = GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage "NULL_PERCENTAGE_LOW"++-- | A few null entries.+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGEMEDIUM :: GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGEMEDIUM = GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage "NULL_PERCENTAGE_MEDIUM"++-- | A lot of null entries.+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGEHIGH :: GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGEHIGH = GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage "NULL_PERCENTAGE_HIGH"++{-# COMPLETE+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGELEVELUNSPECIFIED,+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGEVERYLOW,+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGELOW,+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGEMEDIUM,+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage_NULLPERCENTAGEHIGH,+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage+ #-}++-- | Approximate uniqueness of the column.+newtype GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore = GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore {fromGooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Some columns do not have estimated uniqueness. Possible reasons include having too few values.+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore_UNIQUENESSSCORELEVELUNSPECIFIED :: GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore_UNIQUENESSSCORELEVELUNSPECIFIED = GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore "UNIQUENESS_SCORE_LEVEL_UNSPECIFIED"++-- | Low uniqueness, possibly a boolean, enum or similiarly typed column.+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore_UNIQUENESSSCORELOW :: GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore_UNIQUENESSSCORELOW = GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore "UNIQUENESS_SCORE_LOW"++-- | Medium uniqueness.+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore_UNIQUENESSSCOREMEDIUM :: GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore_UNIQUENESSSCOREMEDIUM = GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore "UNIQUENESS_SCORE_MEDIUM"++-- | High uniqueness, possibly a column of free text or unique identifiers.+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore_UNIQUENESSSCOREHIGH :: GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore+pattern GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore_UNIQUENESSSCOREHIGH = GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore "UNIQUENESS_SCORE_HIGH"++{-# COMPLETE+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore_UNIQUENESSSCORELEVELUNSPECIFIED,+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore_UNIQUENESSSCORELOW,+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore_UNIQUENESSSCOREMEDIUM,+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore_UNIQUENESSSCOREHIGH,+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore+ #-}++-- | Indicates if a policy tag has been applied to the column.+newtype GooglePrivacyDlpV2ColumnDataProfile_PolicyState = GooglePrivacyDlpV2ColumnDataProfile_PolicyState {fromGooglePrivacyDlpV2ColumnDataProfile_PolicyState :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | No policy tags.+pattern GooglePrivacyDlpV2ColumnDataProfile_PolicyState_COLUMNPOLICYSTATEUNSPECIFIED :: GooglePrivacyDlpV2ColumnDataProfile_PolicyState+pattern GooglePrivacyDlpV2ColumnDataProfile_PolicyState_COLUMNPOLICYSTATEUNSPECIFIED = GooglePrivacyDlpV2ColumnDataProfile_PolicyState "COLUMN_POLICY_STATE_UNSPECIFIED"++-- | Column has policy tag applied.+pattern GooglePrivacyDlpV2ColumnDataProfile_PolicyState_COLUMNPOLICYTAGGED :: GooglePrivacyDlpV2ColumnDataProfile_PolicyState+pattern GooglePrivacyDlpV2ColumnDataProfile_PolicyState_COLUMNPOLICYTAGGED = GooglePrivacyDlpV2ColumnDataProfile_PolicyState "COLUMN_POLICY_TAGGED"++{-# COMPLETE+ GooglePrivacyDlpV2ColumnDataProfile_PolicyState_COLUMNPOLICYSTATEUNSPECIFIED,+ GooglePrivacyDlpV2ColumnDataProfile_PolicyState_COLUMNPOLICYTAGGED,+ GooglePrivacyDlpV2ColumnDataProfile_PolicyState+ #-}++-- | State of a profile.+newtype GooglePrivacyDlpV2ColumnDataProfile_State = GooglePrivacyDlpV2ColumnDataProfile_State {fromGooglePrivacyDlpV2ColumnDataProfile_State :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2ColumnDataProfile_State_STATEUNSPECIFIED :: GooglePrivacyDlpV2ColumnDataProfile_State+pattern GooglePrivacyDlpV2ColumnDataProfile_State_STATEUNSPECIFIED = GooglePrivacyDlpV2ColumnDataProfile_State "STATE_UNSPECIFIED"++-- | The profile is currently running. Once a profile has finished it will transition to DONE.+pattern GooglePrivacyDlpV2ColumnDataProfile_State_Running :: GooglePrivacyDlpV2ColumnDataProfile_State+pattern GooglePrivacyDlpV2ColumnDataProfile_State_Running = GooglePrivacyDlpV2ColumnDataProfile_State "RUNNING"++-- | The profile is no longer generating. If profile_status.status.code is 0, the profile succeeded, otherwise, it failed.+pattern GooglePrivacyDlpV2ColumnDataProfile_State_Done :: GooglePrivacyDlpV2ColumnDataProfile_State+pattern GooglePrivacyDlpV2ColumnDataProfile_State_Done = GooglePrivacyDlpV2ColumnDataProfile_State "DONE"++{-# COMPLETE+ GooglePrivacyDlpV2ColumnDataProfile_State_STATEUNSPECIFIED,+ GooglePrivacyDlpV2ColumnDataProfile_State_Running,+ GooglePrivacyDlpV2ColumnDataProfile_State_Done,+ GooglePrivacyDlpV2ColumnDataProfile_State+ #-}++-- | Required. Operator used to compare the field or infoType to the value.+newtype GooglePrivacyDlpV2Condition_Operator = GooglePrivacyDlpV2Condition_Operator {fromGooglePrivacyDlpV2Condition_Operator :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused+pattern GooglePrivacyDlpV2Condition_Operator_RELATIONALOPERATORUNSPECIFIED :: GooglePrivacyDlpV2Condition_Operator+pattern GooglePrivacyDlpV2Condition_Operator_RELATIONALOPERATORUNSPECIFIED = GooglePrivacyDlpV2Condition_Operator "RELATIONAL_OPERATOR_UNSPECIFIED"++-- | Equal. Attempts to match even with incompatible types.+pattern GooglePrivacyDlpV2Condition_Operator_EQUALTO :: GooglePrivacyDlpV2Condition_Operator+pattern GooglePrivacyDlpV2Condition_Operator_EQUALTO = GooglePrivacyDlpV2Condition_Operator "EQUAL_TO"++-- | Not equal to. Attempts to match even with incompatible types.+pattern GooglePrivacyDlpV2Condition_Operator_NOTEQUALTO :: GooglePrivacyDlpV2Condition_Operator+pattern GooglePrivacyDlpV2Condition_Operator_NOTEQUALTO = GooglePrivacyDlpV2Condition_Operator "NOT_EQUAL_TO"++-- | Greater than.+pattern GooglePrivacyDlpV2Condition_Operator_GREATERTHAN :: GooglePrivacyDlpV2Condition_Operator+pattern GooglePrivacyDlpV2Condition_Operator_GREATERTHAN = GooglePrivacyDlpV2Condition_Operator "GREATER_THAN"++-- | Less than.+pattern GooglePrivacyDlpV2Condition_Operator_LESSTHAN :: GooglePrivacyDlpV2Condition_Operator+pattern GooglePrivacyDlpV2Condition_Operator_LESSTHAN = GooglePrivacyDlpV2Condition_Operator "LESS_THAN"++-- | Greater than or equals.+pattern GooglePrivacyDlpV2Condition_Operator_GREATERTHANOREQUALS :: GooglePrivacyDlpV2Condition_Operator+pattern GooglePrivacyDlpV2Condition_Operator_GREATERTHANOREQUALS = GooglePrivacyDlpV2Condition_Operator "GREATER_THAN_OR_EQUALS"++-- | Less than or equals.+pattern GooglePrivacyDlpV2Condition_Operator_LESSTHANOREQUALS :: GooglePrivacyDlpV2Condition_Operator+pattern GooglePrivacyDlpV2Condition_Operator_LESSTHANOREQUALS = GooglePrivacyDlpV2Condition_Operator "LESS_THAN_OR_EQUALS"++-- | Exists+pattern GooglePrivacyDlpV2Condition_Operator_Exists :: GooglePrivacyDlpV2Condition_Operator+pattern GooglePrivacyDlpV2Condition_Operator_Exists = GooglePrivacyDlpV2Condition_Operator "EXISTS"++{-# COMPLETE+ GooglePrivacyDlpV2Condition_Operator_RELATIONALOPERATORUNSPECIFIED,+ GooglePrivacyDlpV2Condition_Operator_EQUALTO,+ GooglePrivacyDlpV2Condition_Operator_NOTEQUALTO,+ GooglePrivacyDlpV2Condition_Operator_GREATERTHAN,+ GooglePrivacyDlpV2Condition_Operator_LESSTHAN,+ GooglePrivacyDlpV2Condition_Operator_GREATERTHANOREQUALS,+ GooglePrivacyDlpV2Condition_Operator_LESSTHANOREQUALS,+ GooglePrivacyDlpV2Condition_Operator_Exists,+ GooglePrivacyDlpV2Condition_Operator+ #-}++-- | Required. The connection\'s state in its lifecycle.+newtype GooglePrivacyDlpV2Connection_State = GooglePrivacyDlpV2Connection_State {fromGooglePrivacyDlpV2Connection_State :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused+pattern GooglePrivacyDlpV2Connection_State_CONNECTIONSTATEUNSPECIFIED :: GooglePrivacyDlpV2Connection_State+pattern GooglePrivacyDlpV2Connection_State_CONNECTIONSTATEUNSPECIFIED = GooglePrivacyDlpV2Connection_State "CONNECTION_STATE_UNSPECIFIED"++-- | The DLP API automatically created this connection during an initial scan, and it is awaiting full configuration by a user.+pattern GooglePrivacyDlpV2Connection_State_MISSINGCREDENTIALS :: GooglePrivacyDlpV2Connection_State+pattern GooglePrivacyDlpV2Connection_State_MISSINGCREDENTIALS = GooglePrivacyDlpV2Connection_State "MISSING_CREDENTIALS"++-- | A configured connection that has not encountered any errors.+pattern GooglePrivacyDlpV2Connection_State_Available :: GooglePrivacyDlpV2Connection_State+pattern GooglePrivacyDlpV2Connection_State_Available = GooglePrivacyDlpV2Connection_State "AVAILABLE"++-- | A configured connection that encountered errors during its last use. It will not be used again until it is set to AVAILABLE. If the resolution requires external action, then the client must send a request to set the status to AVAILABLE when the connection is ready for use. If the resolution doesn\'t require external action, then any changes to the connection properties will automatically mark it as AVAILABLE.+pattern GooglePrivacyDlpV2Connection_State_Error' :: GooglePrivacyDlpV2Connection_State+pattern GooglePrivacyDlpV2Connection_State_Error' = GooglePrivacyDlpV2Connection_State "ERROR"++{-# COMPLETE+ GooglePrivacyDlpV2Connection_State_CONNECTIONSTATEUNSPECIFIED,+ GooglePrivacyDlpV2Connection_State_MISSINGCREDENTIALS,+ GooglePrivacyDlpV2Connection_State_Available,+ GooglePrivacyDlpV2Connection_State_Error',+ GooglePrivacyDlpV2Connection_State+ #-}++-- | Common alphabets.+newtype GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet = GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet {fromGooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_FFXCOMMONNATIVEALPHABETUNSPECIFIED :: GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet+pattern GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_FFXCOMMONNATIVEALPHABETUNSPECIFIED = GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet "FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED"++-- | @[0-9]@ (radix of 10)+pattern GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_Numeric :: GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet+pattern GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_Numeric = GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet "NUMERIC"++-- | @[0-9A-F]@ (radix of 16)+pattern GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_Hexadecimal :: GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet+pattern GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_Hexadecimal = GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet "HEXADECIMAL"++-- | @[0-9A-Z]@ (radix of 36)+pattern GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_UPPERCASEALPHANUMERIC :: GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet+pattern GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_UPPERCASEALPHANUMERIC = GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet "UPPER_CASE_ALPHA_NUMERIC"++-- | @[0-9A-Za-z]@ (radix of 62)+pattern GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_ALPHANUMERIC :: GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet+pattern GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_ALPHANUMERIC = GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet "ALPHA_NUMERIC"++{-# COMPLETE+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_FFXCOMMONNATIVEALPHABETUNSPECIFIED,+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_Numeric,+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_Hexadecimal,+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_UPPERCASEALPHANUMERIC,+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet_ALPHANUMERIC,+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet+ #-}++-- | If set to EXCLUSION/TYPE/EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.+newtype GooglePrivacyDlpV2CustomInfoType_ExclusionType = GooglePrivacyDlpV2CustomInfoType_ExclusionType {fromGooglePrivacyDlpV2CustomInfoType_ExclusionType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | A finding of this custom info type will not be excluded from results.+pattern GooglePrivacyDlpV2CustomInfoType_ExclusionType_EXCLUSIONTYPEUNSPECIFIED :: GooglePrivacyDlpV2CustomInfoType_ExclusionType+pattern GooglePrivacyDlpV2CustomInfoType_ExclusionType_EXCLUSIONTYPEUNSPECIFIED = GooglePrivacyDlpV2CustomInfoType_ExclusionType "EXCLUSION_TYPE_UNSPECIFIED"++-- | A finding of this custom info type will be excluded from final results, but can still affect rule execution.+pattern GooglePrivacyDlpV2CustomInfoType_ExclusionType_EXCLUSIONTYPEEXCLUDE :: GooglePrivacyDlpV2CustomInfoType_ExclusionType+pattern GooglePrivacyDlpV2CustomInfoType_ExclusionType_EXCLUSIONTYPEEXCLUDE = GooglePrivacyDlpV2CustomInfoType_ExclusionType "EXCLUSION_TYPE_EXCLUDE"++{-# COMPLETE+ GooglePrivacyDlpV2CustomInfoType_ExclusionType_EXCLUSIONTYPEUNSPECIFIED,+ GooglePrivacyDlpV2CustomInfoType_ExclusionType_EXCLUSIONTYPEEXCLUDE,+ GooglePrivacyDlpV2CustomInfoType_ExclusionType+ #-}++-- | Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults to @VERY_LIKELY@ if not specified.+newtype GooglePrivacyDlpV2CustomInfoType_Likelihood = GooglePrivacyDlpV2CustomInfoType_Likelihood {fromGooglePrivacyDlpV2CustomInfoType_Likelihood :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Default value; same as POSSIBLE.+pattern GooglePrivacyDlpV2CustomInfoType_Likelihood_LIKELIHOODUNSPECIFIED :: GooglePrivacyDlpV2CustomInfoType_Likelihood+pattern GooglePrivacyDlpV2CustomInfoType_Likelihood_LIKELIHOODUNSPECIFIED = GooglePrivacyDlpV2CustomInfoType_Likelihood "LIKELIHOOD_UNSPECIFIED"++-- | Highest chance of a false positive.+pattern GooglePrivacyDlpV2CustomInfoType_Likelihood_VERYUNLIKELY :: GooglePrivacyDlpV2CustomInfoType_Likelihood+pattern GooglePrivacyDlpV2CustomInfoType_Likelihood_VERYUNLIKELY = GooglePrivacyDlpV2CustomInfoType_Likelihood "VERY_UNLIKELY"++-- | High chance of a false positive.+pattern GooglePrivacyDlpV2CustomInfoType_Likelihood_Unlikely :: GooglePrivacyDlpV2CustomInfoType_Likelihood+pattern GooglePrivacyDlpV2CustomInfoType_Likelihood_Unlikely = GooglePrivacyDlpV2CustomInfoType_Likelihood "UNLIKELY"++-- | Some matching signals. The default value.+pattern GooglePrivacyDlpV2CustomInfoType_Likelihood_Possible :: GooglePrivacyDlpV2CustomInfoType_Likelihood+pattern GooglePrivacyDlpV2CustomInfoType_Likelihood_Possible = GooglePrivacyDlpV2CustomInfoType_Likelihood "POSSIBLE"++-- | Low chance of a false positive.+pattern GooglePrivacyDlpV2CustomInfoType_Likelihood_Likely :: GooglePrivacyDlpV2CustomInfoType_Likelihood+pattern GooglePrivacyDlpV2CustomInfoType_Likelihood_Likely = GooglePrivacyDlpV2CustomInfoType_Likelihood "LIKELY"++-- | Confidence level is high. Lowest chance of a false positive.+pattern GooglePrivacyDlpV2CustomInfoType_Likelihood_VERYLIKELY :: GooglePrivacyDlpV2CustomInfoType_Likelihood+pattern GooglePrivacyDlpV2CustomInfoType_Likelihood_VERYLIKELY = GooglePrivacyDlpV2CustomInfoType_Likelihood "VERY_LIKELY"++{-# COMPLETE+ GooglePrivacyDlpV2CustomInfoType_Likelihood_LIKELIHOODUNSPECIFIED,+ GooglePrivacyDlpV2CustomInfoType_Likelihood_VERYUNLIKELY,+ GooglePrivacyDlpV2CustomInfoType_Likelihood_Unlikely,+ GooglePrivacyDlpV2CustomInfoType_Likelihood_Possible,+ GooglePrivacyDlpV2CustomInfoType_Likelihood_Likely,+ GooglePrivacyDlpV2CustomInfoType_Likelihood_VERYLIKELY,+ GooglePrivacyDlpV2CustomInfoType_Likelihood+ #-}++-- | How broadly a resource has been shared.+newtype GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility = GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility {fromGooglePrivacyDlpV2DataProfileFinding_ResourceVisibility :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility_RESOURCEVISIBILITYUNSPECIFIED :: GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility+pattern GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility_RESOURCEVISIBILITYUNSPECIFIED = GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility "RESOURCE_VISIBILITY_UNSPECIFIED"++-- | Visible to any user.+pattern GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility_RESOURCEVISIBILITYPUBLIC :: GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility+pattern GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility_RESOURCEVISIBILITYPUBLIC = GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility "RESOURCE_VISIBILITY_PUBLIC"++-- | May contain public items. For example, if a Cloud Storage bucket has uniform bucket level access disabled, some objects inside it may be public, but none are known yet.+pattern GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility_RESOURCEVISIBILITYINCONCLUSIVE :: GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility+pattern GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility_RESOURCEVISIBILITYINCONCLUSIVE = GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility "RESOURCE_VISIBILITY_INCONCLUSIVE"++-- | Visible only to specific users.+pattern GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility_RESOURCEVISIBILITYRESTRICTED :: GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility+pattern GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility_RESOURCEVISIBILITYRESTRICTED = GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility "RESOURCE_VISIBILITY_RESTRICTED"++{-# COMPLETE+ GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility_RESOURCEVISIBILITYUNSPECIFIED,+ GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility_RESOURCEVISIBILITYPUBLIC,+ GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility_RESOURCEVISIBILITYINCONCLUSIVE,+ GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility_RESOURCEVISIBILITYRESTRICTED,+ GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility+ #-}++-- | The event that caused the Pub\/Sub message to be sent.+newtype GooglePrivacyDlpV2DataProfilePubSubMessage_Event = GooglePrivacyDlpV2DataProfilePubSubMessage_Event {fromGooglePrivacyDlpV2DataProfilePubSubMessage_Event :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2DataProfilePubSubMessage_Event_EVENTTYPEUNSPECIFIED :: GooglePrivacyDlpV2DataProfilePubSubMessage_Event+pattern GooglePrivacyDlpV2DataProfilePubSubMessage_Event_EVENTTYPEUNSPECIFIED = GooglePrivacyDlpV2DataProfilePubSubMessage_Event "EVENT_TYPE_UNSPECIFIED"++-- | New profile (not a re-profile).+pattern GooglePrivacyDlpV2DataProfilePubSubMessage_Event_NEWPROFILE :: GooglePrivacyDlpV2DataProfilePubSubMessage_Event+pattern GooglePrivacyDlpV2DataProfilePubSubMessage_Event_NEWPROFILE = GooglePrivacyDlpV2DataProfilePubSubMessage_Event "NEW_PROFILE"++-- | One of the following profile metrics changed: Data risk score, Sensitivity score, Resource visibility, Encryption type, Predicted infoTypes, Other infoTypes+pattern GooglePrivacyDlpV2DataProfilePubSubMessage_Event_CHANGEDPROFILE :: GooglePrivacyDlpV2DataProfilePubSubMessage_Event+pattern GooglePrivacyDlpV2DataProfilePubSubMessage_Event_CHANGEDPROFILE = GooglePrivacyDlpV2DataProfilePubSubMessage_Event "CHANGED_PROFILE"++-- | Table data risk score or sensitivity score increased.+pattern GooglePrivacyDlpV2DataProfilePubSubMessage_Event_SCOREINCREASED :: GooglePrivacyDlpV2DataProfilePubSubMessage_Event+pattern GooglePrivacyDlpV2DataProfilePubSubMessage_Event_SCOREINCREASED = GooglePrivacyDlpV2DataProfilePubSubMessage_Event "SCORE_INCREASED"++-- | A user (non-internal) error occurred.+pattern GooglePrivacyDlpV2DataProfilePubSubMessage_Event_ERRORCHANGED :: GooglePrivacyDlpV2DataProfilePubSubMessage_Event+pattern GooglePrivacyDlpV2DataProfilePubSubMessage_Event_ERRORCHANGED = GooglePrivacyDlpV2DataProfilePubSubMessage_Event "ERROR_CHANGED"++{-# COMPLETE+ GooglePrivacyDlpV2DataProfilePubSubMessage_Event_EVENTTYPEUNSPECIFIED,+ GooglePrivacyDlpV2DataProfilePubSubMessage_Event_NEWPROFILE,+ GooglePrivacyDlpV2DataProfilePubSubMessage_Event_CHANGEDPROFILE,+ GooglePrivacyDlpV2DataProfilePubSubMessage_Event_SCOREINCREASED,+ GooglePrivacyDlpV2DataProfilePubSubMessage_Event_ERRORCHANGED,+ GooglePrivacyDlpV2DataProfilePubSubMessage_Event+ #-}++-- | The score applied to the resource.+newtype GooglePrivacyDlpV2DataRiskLevel_Score = GooglePrivacyDlpV2DataRiskLevel_Score {fromGooglePrivacyDlpV2DataRiskLevel_Score :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2DataRiskLevel_Score_RISKSCOREUNSPECIFIED :: GooglePrivacyDlpV2DataRiskLevel_Score+pattern GooglePrivacyDlpV2DataRiskLevel_Score_RISKSCOREUNSPECIFIED = GooglePrivacyDlpV2DataRiskLevel_Score "RISK_SCORE_UNSPECIFIED"++-- | Low risk - Lower indication of sensitive data that appears to have additional access restrictions in place or no indication of sensitive data found.+pattern GooglePrivacyDlpV2DataRiskLevel_Score_RISKLOW :: GooglePrivacyDlpV2DataRiskLevel_Score+pattern GooglePrivacyDlpV2DataRiskLevel_Score_RISKLOW = GooglePrivacyDlpV2DataRiskLevel_Score "RISK_LOW"++-- | Unable to determine risk.+pattern GooglePrivacyDlpV2DataRiskLevel_Score_RISKUNKNOWN :: GooglePrivacyDlpV2DataRiskLevel_Score+pattern GooglePrivacyDlpV2DataRiskLevel_Score_RISKUNKNOWN = GooglePrivacyDlpV2DataRiskLevel_Score "RISK_UNKNOWN"++-- | Medium risk - Sensitive data may be present but additional access or fine grain access restrictions appear to be present. Consider limiting access even further or transform data to mask.+pattern GooglePrivacyDlpV2DataRiskLevel_Score_RISKMODERATE :: GooglePrivacyDlpV2DataRiskLevel_Score+pattern GooglePrivacyDlpV2DataRiskLevel_Score_RISKMODERATE = GooglePrivacyDlpV2DataRiskLevel_Score "RISK_MODERATE"++-- | High risk – SPII may be present. Access controls may include public ACLs. Exfiltration of data may lead to user data loss. Re-identification of users may be possible. Consider limiting usage and or removing SPII.+pattern GooglePrivacyDlpV2DataRiskLevel_Score_RISKHIGH :: GooglePrivacyDlpV2DataRiskLevel_Score+pattern GooglePrivacyDlpV2DataRiskLevel_Score_RISKHIGH = GooglePrivacyDlpV2DataRiskLevel_Score "RISK_HIGH"++{-# COMPLETE+ GooglePrivacyDlpV2DataRiskLevel_Score_RISKSCOREUNSPECIFIED,+ GooglePrivacyDlpV2DataRiskLevel_Score_RISKLOW,+ GooglePrivacyDlpV2DataRiskLevel_Score_RISKUNKNOWN,+ GooglePrivacyDlpV2DataRiskLevel_Score_RISKMODERATE,+ GooglePrivacyDlpV2DataRiskLevel_Score_RISKHIGH,+ GooglePrivacyDlpV2DataRiskLevel_Score+ #-}++-- | Day of week+newtype GooglePrivacyDlpV2DateTime_DayOfWeek = GooglePrivacyDlpV2DateTime_DayOfWeek {fromGooglePrivacyDlpV2DateTime_DayOfWeek :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | The day of the week is unspecified.+pattern GooglePrivacyDlpV2DateTime_DayOfWeek_DAYOFWEEKUNSPECIFIED :: GooglePrivacyDlpV2DateTime_DayOfWeek+pattern GooglePrivacyDlpV2DateTime_DayOfWeek_DAYOFWEEKUNSPECIFIED = GooglePrivacyDlpV2DateTime_DayOfWeek "DAY_OF_WEEK_UNSPECIFIED"++-- | Monday+pattern GooglePrivacyDlpV2DateTime_DayOfWeek_Monday :: GooglePrivacyDlpV2DateTime_DayOfWeek+pattern GooglePrivacyDlpV2DateTime_DayOfWeek_Monday = GooglePrivacyDlpV2DateTime_DayOfWeek "MONDAY"++-- | Tuesday+pattern GooglePrivacyDlpV2DateTime_DayOfWeek_Tuesday :: GooglePrivacyDlpV2DateTime_DayOfWeek+pattern GooglePrivacyDlpV2DateTime_DayOfWeek_Tuesday = GooglePrivacyDlpV2DateTime_DayOfWeek "TUESDAY"++-- | Wednesday+pattern GooglePrivacyDlpV2DateTime_DayOfWeek_Wednesday :: GooglePrivacyDlpV2DateTime_DayOfWeek+pattern GooglePrivacyDlpV2DateTime_DayOfWeek_Wednesday = GooglePrivacyDlpV2DateTime_DayOfWeek "WEDNESDAY"++-- | Thursday+pattern GooglePrivacyDlpV2DateTime_DayOfWeek_Thursday :: GooglePrivacyDlpV2DateTime_DayOfWeek+pattern GooglePrivacyDlpV2DateTime_DayOfWeek_Thursday = GooglePrivacyDlpV2DateTime_DayOfWeek "THURSDAY"++-- | Friday+pattern GooglePrivacyDlpV2DateTime_DayOfWeek_Friday :: GooglePrivacyDlpV2DateTime_DayOfWeek+pattern GooglePrivacyDlpV2DateTime_DayOfWeek_Friday = GooglePrivacyDlpV2DateTime_DayOfWeek "FRIDAY"++-- | Saturday+pattern GooglePrivacyDlpV2DateTime_DayOfWeek_Saturday :: GooglePrivacyDlpV2DateTime_DayOfWeek+pattern GooglePrivacyDlpV2DateTime_DayOfWeek_Saturday = GooglePrivacyDlpV2DateTime_DayOfWeek "SATURDAY"++-- | Sunday+pattern GooglePrivacyDlpV2DateTime_DayOfWeek_Sunday :: GooglePrivacyDlpV2DateTime_DayOfWeek+pattern GooglePrivacyDlpV2DateTime_DayOfWeek_Sunday = GooglePrivacyDlpV2DateTime_DayOfWeek "SUNDAY"++{-# COMPLETE+ GooglePrivacyDlpV2DateTime_DayOfWeek_DAYOFWEEKUNSPECIFIED,+ GooglePrivacyDlpV2DateTime_DayOfWeek_Monday,+ GooglePrivacyDlpV2DateTime_DayOfWeek_Tuesday,+ GooglePrivacyDlpV2DateTime_DayOfWeek_Wednesday,+ GooglePrivacyDlpV2DateTime_DayOfWeek_Thursday,+ GooglePrivacyDlpV2DateTime_DayOfWeek_Friday,+ GooglePrivacyDlpV2DateTime_DayOfWeek_Saturday,+ GooglePrivacyDlpV2DateTime_DayOfWeek_Sunday,+ GooglePrivacyDlpV2DateTime_DayOfWeek+ #-}++newtype GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem = GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem {fromGooglePrivacyDlpV2Deidentify_FileTypesToTransformItem :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Includes all files.+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_FILETYPEUNSPECIFIED :: GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_FILETYPEUNSPECIFIED = GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem "FILE_TYPE_UNSPECIFIED"++-- | Includes all file extensions not covered by another entry. Binary scanning attempts to convert the content of the file to utf_8 to scan the file. If you wish to avoid this fall back, specify one or more of the other file types in your storage scan.+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_BINARYFILE :: GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_BINARYFILE = GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem "BINARY_FILE"++-- | Included file extensions: asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart, dat, dot, eml,, epbub, ged, go, h, hh, hpp, hxx, h++, hs, html, htm, mkd, markdown, m, ml, mli, perl, pl, plist, pm, php, phtml, pht, properties, py, pyw, rb, rbw, rs, rss, rc, scala, sh, sql, swift, tex, shtml, shtm, xhtml, lhs, ics, ini, java, js, json, jsonl, kix, kml, ocaml, md, txt, text, tsv, vb, vcard, vcs, wml, xcodeproj, xml, xsl, xsd, yml, yaml.+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_TEXTFILE :: GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_TEXTFILE = GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem "TEXT_FILE"++-- | Included file extensions: bmp, gif, jpg, jpeg, jpe, png. Setting bytes/limit/per/file or bytes/limit/per/file_percent has no effect on image files. Image inspection is restricted to the @global@, @us@, @asia@, and @europe@ regions.+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Image :: GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Image = GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem "IMAGE"++-- | Microsoft Word files larger than 30 MB will be scanned as binary files. Included file extensions: docx, dotx, docm, dotm. Setting @bytes_limit_per_file@ or @bytes_limit_per_file_percent@ has no effect on Word files.+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Word :: GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Word = GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem "WORD"++-- | PDF files larger than 30 MB will be scanned as binary files. Included file extensions: pdf. Setting @bytes_limit_per_file@ or @bytes_limit_per_file_percent@ has no effect on PDF files.+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Pdf :: GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Pdf = GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem "PDF"++-- | Included file extensions: avro+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Avro :: GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Avro = GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem "AVRO"++-- | Included file extensions: csv+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Csv :: GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Csv = GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem "CSV"++-- | Included file extensions: tsv+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Tsv :: GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Tsv = GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem "TSV"++-- | Microsoft PowerPoint files larger than 30 MB will be scanned as binary files. Included file extensions: pptx, pptm, potx, potm, pot. Setting @bytes_limit_per_file@ or @bytes_limit_per_file_percent@ has no effect on PowerPoint files.+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Powerpoint :: GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Powerpoint = GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem "POWERPOINT"++-- | Microsoft Excel files larger than 30 MB will be scanned as binary files. Included file extensions: xlsx, xlsm, xltx, xltm. Setting @bytes_limit_per_file@ or @bytes_limit_per_file_percent@ has no effect on Excel files.+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Excel :: GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem+pattern GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Excel = GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem "EXCEL"++{-# COMPLETE+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_FILETYPEUNSPECIFIED,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_BINARYFILE,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_TEXTFILE,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Image,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Word,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Pdf,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Avro,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Csv,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Tsv,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Powerpoint,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem_Excel,+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem+ #-}++-- | Restrict discovery to categories of table types.+newtype GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection = GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection {fromGooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection_BIGQUERYCOLLECTIONUNSPECIFIED :: GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection+pattern GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection_BIGQUERYCOLLECTIONUNSPECIFIED = GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection "BIG_QUERY_COLLECTION_UNSPECIFIED"++-- | Automatically generate profiles for all tables, even if the table type is not yet fully supported for analysis. Profiles for unsupported tables will be generated with errors to indicate their partial support. When full support is added, the tables will automatically be profiled during the next scheduled run.+pattern GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection_BIGQUERYCOLLECTIONALLTYPES :: GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection+pattern GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection_BIGQUERYCOLLECTIONALLTYPES = GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection "BIG_QUERY_COLLECTION_ALL_TYPES"++-- | Only those types fully supported will be profiled. Will expand automatically as Cloud DLP adds support for new table types. Unsupported table types will not have partial profiles generated.+pattern GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection_BIGQUERYCOLLECTIONONLYSUPPORTEDTYPES :: GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection+pattern GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection_BIGQUERYCOLLECTIONONLYSUPPORTEDTYPES = GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection "BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES"++{-# COMPLETE+ GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection_BIGQUERYCOLLECTIONUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection_BIGQUERYCOLLECTIONALLTYPES,+ GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection_BIGQUERYCOLLECTIONONLYSUPPORTEDTYPES,+ GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection+ #-}++newtype GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem = GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem {fromGooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem_DATABASEENGINEUNSPECIFIED :: GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem+pattern GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem_DATABASEENGINEUNSPECIFIED = GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem "DATABASE_ENGINE_UNSPECIFIED"++-- | Include all supported database engines.+pattern GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem_ALLSUPPORTEDDATABASEENGINES :: GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem+pattern GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem_ALLSUPPORTEDDATABASEENGINES = GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem "ALL_SUPPORTED_DATABASE_ENGINES"++-- | MySQL database.+pattern GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem_Mysql :: GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem+pattern GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem_Mysql = GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem "MYSQL"++-- | PostgreSQL database.+pattern GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem_Postgres :: GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem+pattern GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem_Postgres = GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem "POSTGRES"++{-# COMPLETE+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem_DATABASEENGINEUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem_ALLSUPPORTEDDATABASEENGINES,+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem_Mysql,+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem_Postgres,+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem+ #-}++newtype GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem = GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem {fromGooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem_DATABASERESOURCETYPEUNSPECIFIED :: GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem+pattern GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem_DATABASERESOURCETYPEUNSPECIFIED = GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem "DATABASE_RESOURCE_TYPE_UNSPECIFIED"++-- | Includes database resource types that become supported at a later time.+pattern GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem_DATABASERESOURCETYPEALLSUPPORTEDTYPES :: GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem+pattern GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem_DATABASERESOURCETYPEALLSUPPORTEDTYPES = GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem "DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES"++-- | Tables.+pattern GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem_DATABASERESOURCETYPETABLE :: GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem+pattern GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem_DATABASERESOURCETYPETABLE = GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem "DATABASE_RESOURCE_TYPE_TABLE"++{-# COMPLETE+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem_DATABASERESOURCETYPEUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem_DATABASERESOURCETYPEALLSUPPORTEDTYPES,+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem_DATABASERESOURCETYPETABLE,+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem+ #-}++-- | Data changes (non-schema changes) in Cloud SQL tables can\'t trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changed. Defaults to never.+newtype GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency = GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency {fromGooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unspecified.+pattern GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED :: GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED = GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_UNSPECIFIED"++-- | After the data profile is created, it will never be updated.+pattern GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER :: GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER = GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_NEVER"++-- | The data profile can be updated up to once every 24 hours.+pattern GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY :: GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY = GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_DAILY"++-- | The data profile can be updated up to once every 30 days. Default.+pattern GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY :: GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY = GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_MONTHLY"++{-# COMPLETE+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY,+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency+ #-}++newtype GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem = GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem {fromGooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem_CLOUDSTORAGEBUCKETATTRIBUTEUNSPECIFIED :: GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem_CLOUDSTORAGEBUCKETATTRIBUTEUNSPECIFIED = GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem "CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED"++-- | Scan buckets regardless of the attribute.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem_ALLSUPPORTEDBUCKETS :: GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem_ALLSUPPORTEDBUCKETS = GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem "ALL_SUPPORTED_BUCKETS"++-- | Buckets with <https://cloud.google.com/storage/docs/autoclass Autoclass> disabled. Only one of AUTOCLASS/DISABLED or AUTOCLASS/ENABLED should be set.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem_AUTOCLASSDISABLED :: GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem_AUTOCLASSDISABLED = GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem "AUTOCLASS_DISABLED"++-- | Buckets with <https://cloud.google.com/storage/docs/autoclass Autoclass> enabled. Only one of AUTOCLASS/DISABLED or AUTOCLASS/ENABLED should be set. Scanning Autoclass-enabled buckets can affect object storage classes.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem_AUTOCLASSENABLED :: GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem_AUTOCLASSENABLED = GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem "AUTOCLASS_ENABLED"++{-# COMPLETE+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem_CLOUDSTORAGEBUCKETATTRIBUTEUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem_ALLSUPPORTEDBUCKETS,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem_AUTOCLASSDISABLED,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem_AUTOCLASSENABLED,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem+ #-}++newtype GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem = GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem {fromGooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_CLOUDSTORAGEOBJECTATTRIBUTEUNSPECIFIED :: GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_CLOUDSTORAGEOBJECTATTRIBUTEUNSPECIFIED = GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem "CLOUD_STORAGE_OBJECT_ATTRIBUTE_UNSPECIFIED"++-- | Scan objects regardless of the attribute.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_ALLSUPPORTEDOBJECTS :: GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_ALLSUPPORTEDOBJECTS = GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem "ALL_SUPPORTED_OBJECTS"++-- | Scan objects with the standard storage class.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Standard :: GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Standard = GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem "STANDARD"++-- | Scan objects with the nearline storage class. This will incur retrieval fees.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Nearline :: GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Nearline = GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem "NEARLINE"++-- | Scan objects with the coldline storage class. This will incur retrieval fees.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Coldline :: GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Coldline = GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem "COLDLINE"++-- | Scan objects with the archive storage class. This will incur retrieval fees.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Archive :: GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Archive = GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem "ARCHIVE"++-- | Scan objects with the regional storage class.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Regional :: GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Regional = GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem "REGIONAL"++-- | Scan objects with the multi-regional storage class.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_MULTIREGIONAL :: GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_MULTIREGIONAL = GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem "MULTI_REGIONAL"++-- | Scan objects with the dual-regional storage class. This will incur retrieval fees.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_DURABLEREDUCEDAVAILABILITY :: GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem+pattern GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_DURABLEREDUCEDAVAILABILITY = GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem "DURABLE_REDUCED_AVAILABILITY"++{-# COMPLETE+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_CLOUDSTORAGEOBJECTATTRIBUTEUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_ALLSUPPORTEDOBJECTS,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Standard,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Nearline,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Coldline,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Archive,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_Regional,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_MULTIREGIONAL,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem_DURABLEREDUCEDAVAILABILITY,+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem+ #-}++-- | Optional. Data changes in Cloud Storage can\'t trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changed. Defaults to never.+newtype GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency = GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency {fromGooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unspecified.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED :: GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED = GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_UNSPECIFIED"++-- | After the data profile is created, it will never be updated.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER :: GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER = GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_NEVER"++-- | The data profile can be updated up to once every 24 hours.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY :: GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY = GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_DAILY"++-- | The data profile can be updated up to once every 30 days. Default.+pattern GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY :: GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY = GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_MONTHLY"++{-# COMPLETE+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY,+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency+ #-}++-- | Required. A status for this configuration.+newtype GooglePrivacyDlpV2DiscoveryConfig_Status = GooglePrivacyDlpV2DiscoveryConfig_Status {fromGooglePrivacyDlpV2DiscoveryConfig_Status :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused+pattern GooglePrivacyDlpV2DiscoveryConfig_Status_STATUSUNSPECIFIED :: GooglePrivacyDlpV2DiscoveryConfig_Status+pattern GooglePrivacyDlpV2DiscoveryConfig_Status_STATUSUNSPECIFIED = GooglePrivacyDlpV2DiscoveryConfig_Status "STATUS_UNSPECIFIED"++-- | The discovery config is currently active.+pattern GooglePrivacyDlpV2DiscoveryConfig_Status_Running :: GooglePrivacyDlpV2DiscoveryConfig_Status+pattern GooglePrivacyDlpV2DiscoveryConfig_Status_Running = GooglePrivacyDlpV2DiscoveryConfig_Status "RUNNING"++-- | The discovery config is paused temporarily.+pattern GooglePrivacyDlpV2DiscoveryConfig_Status_Paused :: GooglePrivacyDlpV2DiscoveryConfig_Status+pattern GooglePrivacyDlpV2DiscoveryConfig_Status_Paused = GooglePrivacyDlpV2DiscoveryConfig_Status "PAUSED"++{-# COMPLETE+ GooglePrivacyDlpV2DiscoveryConfig_Status_STATUSUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryConfig_Status_Running,+ GooglePrivacyDlpV2DiscoveryConfig_Status_Paused,+ GooglePrivacyDlpV2DiscoveryConfig_Status+ #-}++-- | Frequency at which profiles should be updated, regardless of whether the underlying resource has changed. Defaults to never.+newtype GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency = GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency {fromGooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unspecified.+pattern GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED :: GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED = GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_UNSPECIFIED"++-- | After the data profile is created, it will never be updated.+pattern GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER :: GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER = GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_NEVER"++-- | The data profile can be updated up to once every 24 hours.+pattern GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY :: GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY = GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_DAILY"++-- | The data profile can be updated up to once every 30 days. Default.+pattern GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY :: GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY = GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_MONTHLY"++{-# COMPLETE+ GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY,+ GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency+ #-}++-- | How frequently data profiles can be updated when the template is modified. Defaults to never.+newtype GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency = GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency {fromGooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unspecified.+pattern GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UPDATEFREQUENCYUNSPECIFIED :: GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency+pattern GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UPDATEFREQUENCYUNSPECIFIED = GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency "UPDATE_FREQUENCY_UNSPECIFIED"++-- | After the data profile is created, it will never be updated.+pattern GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UPDATEFREQUENCYNEVER :: GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency+pattern GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UPDATEFREQUENCYNEVER = GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency "UPDATE_FREQUENCY_NEVER"++-- | The data profile can be updated up to once every 24 hours.+pattern GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UPDATEFREQUENCYDAILY :: GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency+pattern GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UPDATEFREQUENCYDAILY = GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency "UPDATE_FREQUENCY_DAILY"++-- | The data profile can be updated up to once every 30 days. Default.+pattern GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UPDATEFREQUENCYMONTHLY :: GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency+pattern GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UPDATEFREQUENCYMONTHLY = GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency "UPDATE_FREQUENCY_MONTHLY"++{-# COMPLETE+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency_UPDATEFREQUENCYMONTHLY,+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency+ #-}++-- | Optional. Frequency to update profiles regardless of whether the underlying resource has changes. Defaults to never.+newtype GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency = GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency {fromGooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unspecified.+pattern GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED :: GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED = GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_UNSPECIFIED"++-- | After the data profile is created, it will never be updated.+pattern GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER :: GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER = GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_NEVER"++-- | The data profile can be updated up to once every 24 hours.+pattern GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY :: GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY = GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_DAILY"++-- | The data profile can be updated up to once every 30 days. Default.+pattern GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY :: GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY = GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_MONTHLY"++{-# COMPLETE+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY,+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency+ #-}++-- | How frequently profiles may be updated when schemas are modified. Defaults to monthly.+newtype GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency = GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency {fromGooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unspecified.+pattern GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UPDATEFREQUENCYUNSPECIFIED :: GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency+pattern GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UPDATEFREQUENCYUNSPECIFIED = GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency "UPDATE_FREQUENCY_UNSPECIFIED"++-- | After the data profile is created, it will never be updated.+pattern GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UPDATEFREQUENCYNEVER :: GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency+pattern GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UPDATEFREQUENCYNEVER = GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency "UPDATE_FREQUENCY_NEVER"++-- | The data profile can be updated up to once every 24 hours.+pattern GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UPDATEFREQUENCYDAILY :: GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency+pattern GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UPDATEFREQUENCYDAILY = GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency "UPDATE_FREQUENCY_DAILY"++-- | The data profile can be updated up to once every 30 days. Default.+pattern GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UPDATEFREQUENCYMONTHLY :: GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency+pattern GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UPDATEFREQUENCYMONTHLY = GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency "UPDATE_FREQUENCY_MONTHLY"++{-# COMPLETE+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency_UPDATEFREQUENCYMONTHLY,+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency+ #-}++newtype GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem = GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem {fromGooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused+pattern GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem_SCHEMAMODIFICATIONUNSPECIFIED :: GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem+pattern GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem_SCHEMAMODIFICATIONUNSPECIFIED = GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem "SCHEMA_MODIFICATION_UNSPECIFIED"++-- | Profiles should be regenerated when new columns are added to the table. Default.+pattern GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem_SCHEMANEWCOLUMNS :: GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem+pattern GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem_SCHEMANEWCOLUMNS = GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem "SCHEMA_NEW_COLUMNS"++-- | Profiles should be regenerated when columns are removed from the table.+pattern GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem_SCHEMAREMOVEDCOLUMNS :: GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem+pattern GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem_SCHEMAREMOVEDCOLUMNS = GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem "SCHEMA_REMOVED_COLUMNS"++{-# COMPLETE+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem_SCHEMAMODIFICATIONUNSPECIFIED,+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem_SCHEMANEWCOLUMNS,+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem_SCHEMAREMOVEDCOLUMNS,+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem+ #-}++-- | How frequently data profiles can be updated when tables are modified. Defaults to never.+newtype GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency = GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency {fromGooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unspecified.+pattern GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency_UPDATEFREQUENCYUNSPECIFIED :: GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency+pattern GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency_UPDATEFREQUENCYUNSPECIFIED = GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency "UPDATE_FREQUENCY_UNSPECIFIED"++-- | After the data profile is created, it will never be updated.+pattern GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency_UPDATEFREQUENCYNEVER :: GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency+pattern GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency_UPDATEFREQUENCYNEVER = GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency "UPDATE_FREQUENCY_NEVER"++-- | The data profile can be updated up to once every 24 hours.+pattern GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency_UPDATEFREQUENCYDAILY :: GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency+pattern GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency_UPDATEFREQUENCYDAILY = GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency "UPDATE_FREQUENCY_DAILY"++-- | The data profile can be updated up to once every 30 days. Default.+pattern GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency_UPDATEFREQUENCYMONTHLY :: GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency+pattern GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency_UPDATEFREQUENCYMONTHLY = GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency "UPDATE_FREQUENCY_MONTHLY"++{-# COMPLETE+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency_UPDATEFREQUENCYMONTHLY,+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency+ #-}++newtype GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem = GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem {fromGooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem_TABLEMODIFICATIONUNSPECIFIED :: GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem+pattern GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem_TABLEMODIFICATIONUNSPECIFIED = GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem "TABLE_MODIFICATION_UNSPECIFIED"++-- | A table will be considered modified when the last/modified/time from BigQuery has been updated.+pattern GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem_TABLEMODIFIEDTIMESTAMP :: GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem+pattern GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem_TABLEMODIFIEDTIMESTAMP = GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem "TABLE_MODIFIED_TIMESTAMP"++{-# COMPLETE+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem_TABLEMODIFICATIONUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem_TABLEMODIFIEDTIMESTAMP,+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem+ #-}++-- | If you set this field, profiles are refreshed at this frequency regardless of whether the underlying datasets have changed. Defaults to never.+newtype GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency = GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency {fromGooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unspecified.+pattern GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED :: GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED = GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_UNSPECIFIED"++-- | After the data profile is created, it will never be updated.+pattern GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER :: GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER = GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_NEVER"++-- | The data profile can be updated up to once every 24 hours.+pattern GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY :: GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY = GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_DAILY"++-- | The data profile can be updated up to once every 30 days. Default.+pattern GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY :: GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency+pattern GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY = GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency "UPDATE_FREQUENCY_MONTHLY"++{-# COMPLETE+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency_UPDATEFREQUENCYMONTHLY,+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency+ #-}++-- | State of a job.+newtype GooglePrivacyDlpV2DlpJob_State = GooglePrivacyDlpV2DlpJob_State {fromGooglePrivacyDlpV2DlpJob_State :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2DlpJob_State_JOBSTATEUNSPECIFIED :: GooglePrivacyDlpV2DlpJob_State+pattern GooglePrivacyDlpV2DlpJob_State_JOBSTATEUNSPECIFIED = GooglePrivacyDlpV2DlpJob_State "JOB_STATE_UNSPECIFIED"++-- | The job has not yet started.+pattern GooglePrivacyDlpV2DlpJob_State_Pending :: GooglePrivacyDlpV2DlpJob_State+pattern GooglePrivacyDlpV2DlpJob_State_Pending = GooglePrivacyDlpV2DlpJob_State "PENDING"++-- | The job is currently running. Once a job has finished it will transition to FAILED or DONE.+pattern GooglePrivacyDlpV2DlpJob_State_Running :: GooglePrivacyDlpV2DlpJob_State+pattern GooglePrivacyDlpV2DlpJob_State_Running = GooglePrivacyDlpV2DlpJob_State "RUNNING"++-- | The job is no longer running.+pattern GooglePrivacyDlpV2DlpJob_State_Done :: GooglePrivacyDlpV2DlpJob_State+pattern GooglePrivacyDlpV2DlpJob_State_Done = GooglePrivacyDlpV2DlpJob_State "DONE"++-- | The job was canceled before it could be completed.+pattern GooglePrivacyDlpV2DlpJob_State_Canceled :: GooglePrivacyDlpV2DlpJob_State+pattern GooglePrivacyDlpV2DlpJob_State_Canceled = GooglePrivacyDlpV2DlpJob_State "CANCELED"++-- | The job had an error and did not complete.+pattern GooglePrivacyDlpV2DlpJob_State_Failed :: GooglePrivacyDlpV2DlpJob_State+pattern GooglePrivacyDlpV2DlpJob_State_Failed = GooglePrivacyDlpV2DlpJob_State "FAILED"++-- | The job is currently accepting findings via hybridInspect. A hybrid job in ACTIVE state may continue to have findings added to it through the calling of hybridInspect. After the job has finished no more calls to hybridInspect may be made. ACTIVE jobs can transition to DONE.+pattern GooglePrivacyDlpV2DlpJob_State_Active :: GooglePrivacyDlpV2DlpJob_State+pattern GooglePrivacyDlpV2DlpJob_State_Active = GooglePrivacyDlpV2DlpJob_State "ACTIVE"++{-# COMPLETE+ GooglePrivacyDlpV2DlpJob_State_JOBSTATEUNSPECIFIED,+ GooglePrivacyDlpV2DlpJob_State_Pending,+ GooglePrivacyDlpV2DlpJob_State_Running,+ GooglePrivacyDlpV2DlpJob_State_Done,+ GooglePrivacyDlpV2DlpJob_State_Canceled,+ GooglePrivacyDlpV2DlpJob_State_Failed,+ GooglePrivacyDlpV2DlpJob_State_Active,+ GooglePrivacyDlpV2DlpJob_State+ #-}++-- | The type of job.+newtype GooglePrivacyDlpV2DlpJob_Type = GooglePrivacyDlpV2DlpJob_Type {fromGooglePrivacyDlpV2DlpJob_Type :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Defaults to INSPECT_JOB.+pattern GooglePrivacyDlpV2DlpJob_Type_DLPJOBTYPEUNSPECIFIED :: GooglePrivacyDlpV2DlpJob_Type+pattern GooglePrivacyDlpV2DlpJob_Type_DLPJOBTYPEUNSPECIFIED = GooglePrivacyDlpV2DlpJob_Type "DLP_JOB_TYPE_UNSPECIFIED"++-- | The job inspected Google Cloud for sensitive data.+pattern GooglePrivacyDlpV2DlpJob_Type_INSPECTJOB :: GooglePrivacyDlpV2DlpJob_Type+pattern GooglePrivacyDlpV2DlpJob_Type_INSPECTJOB = GooglePrivacyDlpV2DlpJob_Type "INSPECT_JOB"++-- | The job executed a Risk Analysis computation.+pattern GooglePrivacyDlpV2DlpJob_Type_RISKANALYSISJOB :: GooglePrivacyDlpV2DlpJob_Type+pattern GooglePrivacyDlpV2DlpJob_Type_RISKANALYSISJOB = GooglePrivacyDlpV2DlpJob_Type "RISK_ANALYSIS_JOB"++{-# COMPLETE+ GooglePrivacyDlpV2DlpJob_Type_DLPJOBTYPEUNSPECIFIED,+ GooglePrivacyDlpV2DlpJob_Type_INSPECTJOB,+ GooglePrivacyDlpV2DlpJob_Type_RISKANALYSISJOB,+ GooglePrivacyDlpV2DlpJob_Type+ #-}++-- | Additional information about the error.+newtype GooglePrivacyDlpV2Error_ExtraInfo = GooglePrivacyDlpV2Error_ExtraInfo {fromGooglePrivacyDlpV2Error_ExtraInfo :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2Error_ExtraInfo_ERRORINFOUNSPECIFIED :: GooglePrivacyDlpV2Error_ExtraInfo+pattern GooglePrivacyDlpV2Error_ExtraInfo_ERRORINFOUNSPECIFIED = GooglePrivacyDlpV2Error_ExtraInfo "ERROR_INFO_UNSPECIFIED"++-- | Image scan is not available in the region.+pattern GooglePrivacyDlpV2Error_ExtraInfo_IMAGESCANUNAVAILABLEINREGION :: GooglePrivacyDlpV2Error_ExtraInfo+pattern GooglePrivacyDlpV2Error_ExtraInfo_IMAGESCANUNAVAILABLEINREGION = GooglePrivacyDlpV2Error_ExtraInfo "IMAGE_SCAN_UNAVAILABLE_IN_REGION"++-- | File store cluster is not supported for profile generation.+pattern GooglePrivacyDlpV2Error_ExtraInfo_FILESTORECLUSTERUNSUPPORTED :: GooglePrivacyDlpV2Error_ExtraInfo+pattern GooglePrivacyDlpV2Error_ExtraInfo_FILESTORECLUSTERUNSUPPORTED = GooglePrivacyDlpV2Error_ExtraInfo "FILE_STORE_CLUSTER_UNSUPPORTED"++{-# COMPLETE+ GooglePrivacyDlpV2Error_ExtraInfo_ERRORINFOUNSPECIFIED,+ GooglePrivacyDlpV2Error_ExtraInfo_IMAGESCANUNAVAILABLEINREGION,+ GooglePrivacyDlpV2Error_ExtraInfo_FILESTORECLUSTERUNSUPPORTED,+ GooglePrivacyDlpV2Error_ExtraInfo+ #-}++-- | How the rule is applied, see MatchingType documentation for details.+newtype GooglePrivacyDlpV2ExclusionRule_MatchingType = GooglePrivacyDlpV2ExclusionRule_MatchingType {fromGooglePrivacyDlpV2ExclusionRule_MatchingType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Invalid.+pattern GooglePrivacyDlpV2ExclusionRule_MatchingType_MATCHINGTYPEUNSPECIFIED :: GooglePrivacyDlpV2ExclusionRule_MatchingType+pattern GooglePrivacyDlpV2ExclusionRule_MatchingType_MATCHINGTYPEUNSPECIFIED = GooglePrivacyDlpV2ExclusionRule_MatchingType "MATCHING_TYPE_UNSPECIFIED"++-- | Full match. - Dictionary: join of Dictionary results matched complete finding quote - Regex: all regex matches fill a finding quote start to end - Exclude info type: completely inside affecting info types findings+pattern GooglePrivacyDlpV2ExclusionRule_MatchingType_MATCHINGTYPEFULLMATCH :: GooglePrivacyDlpV2ExclusionRule_MatchingType+pattern GooglePrivacyDlpV2ExclusionRule_MatchingType_MATCHINGTYPEFULLMATCH = GooglePrivacyDlpV2ExclusionRule_MatchingType "MATCHING_TYPE_FULL_MATCH"++-- | Partial match. - Dictionary: at least one of the tokens in the finding matches - Regex: substring of the finding matches - Exclude info type: intersects with affecting info types findings+pattern GooglePrivacyDlpV2ExclusionRule_MatchingType_MATCHINGTYPEPARTIALMATCH :: GooglePrivacyDlpV2ExclusionRule_MatchingType+pattern GooglePrivacyDlpV2ExclusionRule_MatchingType_MATCHINGTYPEPARTIALMATCH = GooglePrivacyDlpV2ExclusionRule_MatchingType "MATCHING_TYPE_PARTIAL_MATCH"++-- | Inverse match. - Dictionary: no tokens in the finding match the dictionary - Regex: finding doesn\'t match the regex - Exclude info type: no intersection with affecting info types findings+pattern GooglePrivacyDlpV2ExclusionRule_MatchingType_MATCHINGTYPEINVERSEMATCH :: GooglePrivacyDlpV2ExclusionRule_MatchingType+pattern GooglePrivacyDlpV2ExclusionRule_MatchingType_MATCHINGTYPEINVERSEMATCH = GooglePrivacyDlpV2ExclusionRule_MatchingType "MATCHING_TYPE_INVERSE_MATCH"++{-# COMPLETE+ GooglePrivacyDlpV2ExclusionRule_MatchingType_MATCHINGTYPEUNSPECIFIED,+ GooglePrivacyDlpV2ExclusionRule_MatchingType_MATCHINGTYPEFULLMATCH,+ GooglePrivacyDlpV2ExclusionRule_MatchingType_MATCHINGTYPEPARTIALMATCH,+ GooglePrivacyDlpV2ExclusionRule_MatchingType_MATCHINGTYPEINVERSEMATCH,+ GooglePrivacyDlpV2ExclusionRule_MatchingType+ #-}++-- | The operator to apply to the result of conditions. Default and currently only supported value is @AND@.+newtype GooglePrivacyDlpV2Expressions_LogicalOperator = GooglePrivacyDlpV2Expressions_LogicalOperator {fromGooglePrivacyDlpV2Expressions_LogicalOperator :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused+pattern GooglePrivacyDlpV2Expressions_LogicalOperator_LOGICALOPERATORUNSPECIFIED :: GooglePrivacyDlpV2Expressions_LogicalOperator+pattern GooglePrivacyDlpV2Expressions_LogicalOperator_LOGICALOPERATORUNSPECIFIED = GooglePrivacyDlpV2Expressions_LogicalOperator "LOGICAL_OPERATOR_UNSPECIFIED"++-- | Conditional AND+pattern GooglePrivacyDlpV2Expressions_LogicalOperator_And :: GooglePrivacyDlpV2Expressions_LogicalOperator+pattern GooglePrivacyDlpV2Expressions_LogicalOperator_And = GooglePrivacyDlpV2Expressions_LogicalOperator "AND"++{-# COMPLETE+ GooglePrivacyDlpV2Expressions_LogicalOperator_LOGICALOPERATORUNSPECIFIED,+ GooglePrivacyDlpV2Expressions_LogicalOperator_And,+ GooglePrivacyDlpV2Expressions_LogicalOperator+ #-}++-- | Cluster type.+newtype GooglePrivacyDlpV2FileClusterType_Cluster = GooglePrivacyDlpV2FileClusterType_Cluster {fromGooglePrivacyDlpV2FileClusterType_Cluster :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERUNSPECIFIED :: GooglePrivacyDlpV2FileClusterType_Cluster+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERUNSPECIFIED = GooglePrivacyDlpV2FileClusterType_Cluster "CLUSTER_UNSPECIFIED"++-- | Unsupported files.+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERUNKNOWN :: GooglePrivacyDlpV2FileClusterType_Cluster+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERUNKNOWN = GooglePrivacyDlpV2FileClusterType_Cluster "CLUSTER_UNKNOWN"++-- | Plain text.+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERTEXT :: GooglePrivacyDlpV2FileClusterType_Cluster+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERTEXT = GooglePrivacyDlpV2FileClusterType_Cluster "CLUSTER_TEXT"++-- | Structured data like CSV, TSV etc.+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERSTRUCTUREDDATA :: GooglePrivacyDlpV2FileClusterType_Cluster+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERSTRUCTUREDDATA = GooglePrivacyDlpV2FileClusterType_Cluster "CLUSTER_STRUCTURED_DATA"++-- | Source code.+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERSOURCECODE :: GooglePrivacyDlpV2FileClusterType_Cluster+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERSOURCECODE = GooglePrivacyDlpV2FileClusterType_Cluster "CLUSTER_SOURCE_CODE"++-- | Rich document like docx, xlsx etc.+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERRICHDOCUMENT :: GooglePrivacyDlpV2FileClusterType_Cluster+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERRICHDOCUMENT = GooglePrivacyDlpV2FileClusterType_Cluster "CLUSTER_RICH_DOCUMENT"++-- | Images like jpeg, bmp.+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERIMAGE :: GooglePrivacyDlpV2FileClusterType_Cluster+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERIMAGE = GooglePrivacyDlpV2FileClusterType_Cluster "CLUSTER_IMAGE"++-- | Archives and containers like .zip, .tar etc.+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERARCHIVE :: GooglePrivacyDlpV2FileClusterType_Cluster+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERARCHIVE = GooglePrivacyDlpV2FileClusterType_Cluster "CLUSTER_ARCHIVE"++-- | Multimedia like .mp4, .avi etc.+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERMULTIMEDIA :: GooglePrivacyDlpV2FileClusterType_Cluster+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERMULTIMEDIA = GooglePrivacyDlpV2FileClusterType_Cluster "CLUSTER_MULTIMEDIA"++-- | Executable files like .exe, .class, .apk etc.+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTEREXECUTABLE :: GooglePrivacyDlpV2FileClusterType_Cluster+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTEREXECUTABLE = GooglePrivacyDlpV2FileClusterType_Cluster "CLUSTER_EXECUTABLE"++-- | AI models like .tflite etc.+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERAIMODEL :: GooglePrivacyDlpV2FileClusterType_Cluster+pattern GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERAIMODEL = GooglePrivacyDlpV2FileClusterType_Cluster "CLUSTER_AI_MODEL"++{-# COMPLETE+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERUNSPECIFIED,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERUNKNOWN,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERTEXT,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERSTRUCTUREDDATA,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERSOURCECODE,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERRICHDOCUMENT,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERIMAGE,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERARCHIVE,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERMULTIMEDIA,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTEREXECUTABLE,+ GooglePrivacyDlpV2FileClusterType_Cluster_CLUSTERAIMODEL,+ GooglePrivacyDlpV2FileClusterType_Cluster+ #-}++-- | How broadly a resource has been shared.+newtype GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility = GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility {fromGooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility_RESOURCEVISIBILITYUNSPECIFIED :: GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility+pattern GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility_RESOURCEVISIBILITYUNSPECIFIED = GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility "RESOURCE_VISIBILITY_UNSPECIFIED"++-- | Visible to any user.+pattern GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility_RESOURCEVISIBILITYPUBLIC :: GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility+pattern GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility_RESOURCEVISIBILITYPUBLIC = GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility "RESOURCE_VISIBILITY_PUBLIC"++-- | May contain public items. For example, if a Cloud Storage bucket has uniform bucket level access disabled, some objects inside it may be public, but none are known yet.+pattern GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility_RESOURCEVISIBILITYINCONCLUSIVE :: GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility+pattern GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility_RESOURCEVISIBILITYINCONCLUSIVE = GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility "RESOURCE_VISIBILITY_INCONCLUSIVE"++-- | Visible only to specific users.+pattern GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility_RESOURCEVISIBILITYRESTRICTED :: GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility+pattern GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility_RESOURCEVISIBILITYRESTRICTED = GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility "RESOURCE_VISIBILITY_RESTRICTED"++{-# COMPLETE+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility_RESOURCEVISIBILITYUNSPECIFIED,+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility_RESOURCEVISIBILITYPUBLIC,+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility_RESOURCEVISIBILITYINCONCLUSIVE,+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility_RESOURCEVISIBILITYRESTRICTED,+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility+ #-}++-- | State of a profile.+newtype GooglePrivacyDlpV2FileStoreDataProfile_State = GooglePrivacyDlpV2FileStoreDataProfile_State {fromGooglePrivacyDlpV2FileStoreDataProfile_State :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2FileStoreDataProfile_State_STATEUNSPECIFIED :: GooglePrivacyDlpV2FileStoreDataProfile_State+pattern GooglePrivacyDlpV2FileStoreDataProfile_State_STATEUNSPECIFIED = GooglePrivacyDlpV2FileStoreDataProfile_State "STATE_UNSPECIFIED"++-- | The profile is currently running. Once a profile has finished it will transition to DONE.+pattern GooglePrivacyDlpV2FileStoreDataProfile_State_Running :: GooglePrivacyDlpV2FileStoreDataProfile_State+pattern GooglePrivacyDlpV2FileStoreDataProfile_State_Running = GooglePrivacyDlpV2FileStoreDataProfile_State "RUNNING"++-- | The profile is no longer generating. If profile_status.status.code is 0, the profile succeeded, otherwise, it failed.+pattern GooglePrivacyDlpV2FileStoreDataProfile_State_Done :: GooglePrivacyDlpV2FileStoreDataProfile_State+pattern GooglePrivacyDlpV2FileStoreDataProfile_State_Done = GooglePrivacyDlpV2FileStoreDataProfile_State "DONE"++{-# COMPLETE+ GooglePrivacyDlpV2FileStoreDataProfile_State_STATEUNSPECIFIED,+ GooglePrivacyDlpV2FileStoreDataProfile_State_Running,+ GooglePrivacyDlpV2FileStoreDataProfile_State_Done,+ GooglePrivacyDlpV2FileStoreDataProfile_State+ #-}++-- | Confidence of how likely it is that the @info_type@ is correct.+newtype GooglePrivacyDlpV2Finding_Likelihood = GooglePrivacyDlpV2Finding_Likelihood {fromGooglePrivacyDlpV2Finding_Likelihood :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Default value; same as POSSIBLE.+pattern GooglePrivacyDlpV2Finding_Likelihood_LIKELIHOODUNSPECIFIED :: GooglePrivacyDlpV2Finding_Likelihood+pattern GooglePrivacyDlpV2Finding_Likelihood_LIKELIHOODUNSPECIFIED = GooglePrivacyDlpV2Finding_Likelihood "LIKELIHOOD_UNSPECIFIED"++-- | Highest chance of a false positive.+pattern GooglePrivacyDlpV2Finding_Likelihood_VERYUNLIKELY :: GooglePrivacyDlpV2Finding_Likelihood+pattern GooglePrivacyDlpV2Finding_Likelihood_VERYUNLIKELY = GooglePrivacyDlpV2Finding_Likelihood "VERY_UNLIKELY"++-- | High chance of a false positive.+pattern GooglePrivacyDlpV2Finding_Likelihood_Unlikely :: GooglePrivacyDlpV2Finding_Likelihood+pattern GooglePrivacyDlpV2Finding_Likelihood_Unlikely = GooglePrivacyDlpV2Finding_Likelihood "UNLIKELY"++-- | Some matching signals. The default value.+pattern GooglePrivacyDlpV2Finding_Likelihood_Possible :: GooglePrivacyDlpV2Finding_Likelihood+pattern GooglePrivacyDlpV2Finding_Likelihood_Possible = GooglePrivacyDlpV2Finding_Likelihood "POSSIBLE"++-- | Low chance of a false positive.+pattern GooglePrivacyDlpV2Finding_Likelihood_Likely :: GooglePrivacyDlpV2Finding_Likelihood+pattern GooglePrivacyDlpV2Finding_Likelihood_Likely = GooglePrivacyDlpV2Finding_Likelihood "LIKELY"++-- | Confidence level is high. Lowest chance of a false positive.+pattern GooglePrivacyDlpV2Finding_Likelihood_VERYLIKELY :: GooglePrivacyDlpV2Finding_Likelihood+pattern GooglePrivacyDlpV2Finding_Likelihood_VERYLIKELY = GooglePrivacyDlpV2Finding_Likelihood "VERY_LIKELY"++{-# COMPLETE+ GooglePrivacyDlpV2Finding_Likelihood_LIKELIHOODUNSPECIFIED,+ GooglePrivacyDlpV2Finding_Likelihood_VERYUNLIKELY,+ GooglePrivacyDlpV2Finding_Likelihood_Unlikely,+ GooglePrivacyDlpV2Finding_Likelihood_Possible,+ GooglePrivacyDlpV2Finding_Likelihood_Likely,+ GooglePrivacyDlpV2Finding_Likelihood_VERYLIKELY,+ GooglePrivacyDlpV2Finding_Likelihood+ #-}++-- | The group of relevant businesses where this infoType is commonly used+newtype GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory = GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory {fromGooglePrivacyDlpV2InfoTypeCategory_IndustryCategory :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused industry+pattern GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory_INDUSTRYUNSPECIFIED :: GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory_INDUSTRYUNSPECIFIED = GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory "INDUSTRY_UNSPECIFIED"++-- | The infoType is typically used in the finance industry.+pattern GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory_Finance :: GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory_Finance = GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory "FINANCE"++-- | The infoType is typically used in the health industry.+pattern GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory_Health :: GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory_Health = GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory "HEALTH"++-- | The infoType is typically used in the telecommunications industry.+pattern GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory_Telecommunications :: GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory_Telecommunications = GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory "TELECOMMUNICATIONS"++{-# COMPLETE+ GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory_INDUSTRYUNSPECIFIED,+ GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory_Finance,+ GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory_Health,+ GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory_Telecommunications,+ GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory+ #-}++-- | The region or country that issued the ID or document represented by the infoType.+newtype GooglePrivacyDlpV2InfoTypeCategory_LocationCategory = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory {fromGooglePrivacyDlpV2InfoTypeCategory_LocationCategory :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused location+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_LOCATIONUNSPECIFIED :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_LOCATIONUNSPECIFIED = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "LOCATION_UNSPECIFIED"++-- | The infoType is not issued by or tied to a specific region, but is used almost everywhere.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Global :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Global = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "GLOBAL"++-- | The infoType is typically used in Argentina.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Argentina :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Argentina = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "ARGENTINA"++-- | The infoType is typically used in Armenia.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Armenia :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Armenia = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "ARMENIA"++-- | The infoType is typically used in Australia.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Australia :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Australia = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "AUSTRALIA"++-- | The infoType is typically used in Azerbaijan.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Azerbaijan :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Azerbaijan = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "AZERBAIJAN"++-- | The infoType is typically used in Belarus.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Belarus :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Belarus = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "BELARUS"++-- | The infoType is typically used in Belgium.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Belgium :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Belgium = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "BELGIUM"++-- | The infoType is typically used in Brazil.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Brazil :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Brazil = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "BRAZIL"++-- | The infoType is typically used in Canada.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Canada :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Canada = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "CANADA"++-- | The infoType is typically used in Chile.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Chile :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Chile = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "CHILE"++-- | The infoType is typically used in China.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_China :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_China = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "CHINA"++-- | The infoType is typically used in Colombia.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Colombia :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Colombia = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "COLOMBIA"++-- | The infoType is typically used in Croatia.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Croatia :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Croatia = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "CROATIA"++-- | The infoType is typically used in Czechia.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Czechia :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Czechia = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "CZECHIA"++-- | The infoType is typically used in Denmark.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Denmark :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Denmark = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "DENMARK"++-- | The infoType is typically used in France.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_France :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_France = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "FRANCE"++-- | The infoType is typically used in Finland.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Finland :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Finland = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "FINLAND"++-- | The infoType is typically used in Germany.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Germany :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Germany = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "GERMANY"++-- | The infoType is typically used in Hong Kong.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_HONGKONG :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_HONGKONG = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "HONG_KONG"++-- | The infoType is typically used in India.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_India :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_India = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "INDIA"++-- | The infoType is typically used in Indonesia.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Indonesia :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Indonesia = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "INDONESIA"++-- | The infoType is typically used in Ireland.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Ireland :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Ireland = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "IRELAND"++-- | The infoType is typically used in Israel.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Israel :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Israel = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "ISRAEL"++-- | The infoType is typically used in Italy.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Italy :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Italy = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "ITALY"++-- | The infoType is typically used in Japan.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Japan :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Japan = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "JAPAN"++-- | The infoType is typically used in Kazakhstan.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Kazakhstan :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Kazakhstan = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "KAZAKHSTAN"++-- | The infoType is typically used in Korea.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Korea :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Korea = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "KOREA"++-- | The infoType is typically used in Mexico.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Mexico :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Mexico = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "MEXICO"++-- | The infoType is typically used in the Netherlands.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_THENETHERLANDS :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_THENETHERLANDS = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "THE_NETHERLANDS"++-- | The infoType is typically used in New Zealand.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_NEWZEALAND :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_NEWZEALAND = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "NEW_ZEALAND"++-- | The infoType is typically used in Norway.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Norway :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Norway = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "NORWAY"++-- | The infoType is typically used in Paraguay.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Paraguay :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Paraguay = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "PARAGUAY"++-- | The infoType is typically used in Peru.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Peru :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Peru = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "PERU"++-- | The infoType is typically used in Poland.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Poland :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Poland = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "POLAND"++-- | The infoType is typically used in Portugal.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Portugal :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Portugal = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "PORTUGAL"++-- | The infoType is typically used in Russia.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Russia :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Russia = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "RUSSIA"++-- | The infoType is typically used in Singapore.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Singapore :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Singapore = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "SINGAPORE"++-- | The infoType is typically used in South Africa.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_SOUTHAFRICA :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_SOUTHAFRICA = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "SOUTH_AFRICA"++-- | The infoType is typically used in Spain.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Spain :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Spain = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "SPAIN"++-- | The infoType is typically used in Sweden.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Sweden :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Sweden = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "SWEDEN"++-- | The infoType is typically used in Switzerland.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Switzerland :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Switzerland = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "SWITZERLAND"++-- | The infoType is typically used in Taiwan.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Taiwan :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Taiwan = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "TAIWAN"++-- | The infoType is typically used in Thailand.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Thailand :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Thailand = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "THAILAND"++-- | The infoType is typically used in Turkey.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Turkey :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Turkey = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "TURKEY"++-- | The infoType is typically used in Ukraine.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Ukraine :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Ukraine = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "UKRAINE"++-- | The infoType is typically used in the United Kingdom.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_UNITEDKINGDOM :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_UNITEDKINGDOM = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "UNITED_KINGDOM"++-- | The infoType is typically used in the United States.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_UNITEDSTATES :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_UNITEDSTATES = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "UNITED_STATES"++-- | The infoType is typically used in Uruguay.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Uruguay :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Uruguay = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "URUGUAY"++-- | The infoType is typically used in Uzbekistan.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Uzbekistan :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Uzbekistan = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "UZBEKISTAN"++-- | The infoType is typically used in Venezuela.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Venezuela :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Venezuela = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "VENEZUELA"++-- | The infoType is typically used in Google internally.+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Internal :: GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Internal = GooglePrivacyDlpV2InfoTypeCategory_LocationCategory "INTERNAL"++{-# COMPLETE+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_LOCATIONUNSPECIFIED,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Global,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Argentina,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Armenia,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Australia,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Azerbaijan,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Belarus,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Belgium,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Brazil,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Canada,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Chile,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_China,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Colombia,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Croatia,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Czechia,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Denmark,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_France,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Finland,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Germany,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_HONGKONG,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_India,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Indonesia,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Ireland,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Israel,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Italy,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Japan,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Kazakhstan,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Korea,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Mexico,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_THENETHERLANDS,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_NEWZEALAND,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Norway,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Paraguay,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Peru,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Poland,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Portugal,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Russia,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Singapore,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_SOUTHAFRICA,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Spain,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Sweden,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Switzerland,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Taiwan,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Thailand,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Turkey,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Ukraine,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_UNITEDKINGDOM,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_UNITEDSTATES,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Uruguay,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Uzbekistan,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Venezuela,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Internal,+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+ #-}++-- | The class of identifiers where this infoType belongs+newtype GooglePrivacyDlpV2InfoTypeCategory_TypeCategory = GooglePrivacyDlpV2InfoTypeCategory_TypeCategory {fromGooglePrivacyDlpV2InfoTypeCategory_TypeCategory :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused type+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_TYPEUNSPECIFIED :: GooglePrivacyDlpV2InfoTypeCategory_TypeCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_TYPEUNSPECIFIED = GooglePrivacyDlpV2InfoTypeCategory_TypeCategory "TYPE_UNSPECIFIED"++-- | Personally identifiable information, for example, a name or phone number+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Pii :: GooglePrivacyDlpV2InfoTypeCategory_TypeCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Pii = GooglePrivacyDlpV2InfoTypeCategory_TypeCategory "PII"++-- | Personally identifiable information that is especially sensitive, for example, a passport number.+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Spii :: GooglePrivacyDlpV2InfoTypeCategory_TypeCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Spii = GooglePrivacyDlpV2InfoTypeCategory_TypeCategory "SPII"++-- | Attributes that can partially identify someone, especially in combination with other attributes, like age, height, and gender.+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Demographic :: GooglePrivacyDlpV2InfoTypeCategory_TypeCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Demographic = GooglePrivacyDlpV2InfoTypeCategory_TypeCategory "DEMOGRAPHIC"++-- | Confidential or secret information, for example, a password.+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Credential :: GooglePrivacyDlpV2InfoTypeCategory_TypeCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Credential = GooglePrivacyDlpV2InfoTypeCategory_TypeCategory "CREDENTIAL"++-- | An identification document issued by a government.+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_GOVERNMENTID :: GooglePrivacyDlpV2InfoTypeCategory_TypeCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_GOVERNMENTID = GooglePrivacyDlpV2InfoTypeCategory_TypeCategory "GOVERNMENT_ID"++-- | A document, for example, a resume or source code.+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Document :: GooglePrivacyDlpV2InfoTypeCategory_TypeCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Document = GooglePrivacyDlpV2InfoTypeCategory_TypeCategory "DOCUMENT"++-- | Information that is not sensitive on its own, but provides details about the circumstances surrounding an entity or an event.+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_CONTEXTUALINFORMATION :: GooglePrivacyDlpV2InfoTypeCategory_TypeCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_CONTEXTUALINFORMATION = GooglePrivacyDlpV2InfoTypeCategory_TypeCategory "CONTEXTUAL_INFORMATION"++-- | Category for @CustomInfoType@ types.+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Custom :: GooglePrivacyDlpV2InfoTypeCategory_TypeCategory+pattern GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Custom = GooglePrivacyDlpV2InfoTypeCategory_TypeCategory "CUSTOM"++{-# COMPLETE+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_TYPEUNSPECIFIED,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Pii,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Spii,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Demographic,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Credential,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_GOVERNMENTID,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Document,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_CONTEXTUALINFORMATION,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory_Custom,+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory+ #-}++newtype GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem = GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem {fromGooglePrivacyDlpV2InfoTypeDescription_SupportedByItem :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem_ENUMTYPEUNSPECIFIED :: GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem+pattern GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem_ENUMTYPEUNSPECIFIED = GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem "ENUM_TYPE_UNSPECIFIED"++-- | Supported by the inspect operations.+pattern GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem_Inspect :: GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem+pattern GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem_Inspect = GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem "INSPECT"++-- | Supported by the risk analysis operations.+pattern GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem_RISKANALYSIS :: GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem+pattern GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem_RISKANALYSIS = GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem "RISK_ANALYSIS"++{-# COMPLETE+ GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem_ENUMTYPEUNSPECIFIED,+ GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem_Inspect,+ GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem_RISKANALYSIS,+ GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem+ #-}++-- | Only returns findings equal to or above this threshold. This field is required or else the configuration fails.+newtype GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood = GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood {fromGooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Default value; same as POSSIBLE.+pattern GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_LIKELIHOODUNSPECIFIED :: GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood+pattern GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_LIKELIHOODUNSPECIFIED = GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood "LIKELIHOOD_UNSPECIFIED"++-- | Highest chance of a false positive.+pattern GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_VERYUNLIKELY :: GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood+pattern GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_VERYUNLIKELY = GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood "VERY_UNLIKELY"++-- | High chance of a false positive.+pattern GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_Unlikely :: GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood+pattern GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_Unlikely = GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood "UNLIKELY"++-- | Some matching signals. The default value.+pattern GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_Possible :: GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood+pattern GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_Possible = GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood "POSSIBLE"++-- | Low chance of a false positive.+pattern GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_Likely :: GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood+pattern GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_Likely = GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood "LIKELY"++-- | Confidence level is high. Lowest chance of a false positive.+pattern GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_VERYLIKELY :: GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood+pattern GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_VERYLIKELY = GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood "VERY_LIKELY"++{-# COMPLETE+ GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_LIKELIHOODUNSPECIFIED,+ GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_VERYUNLIKELY,+ GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_Unlikely,+ GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_Possible,+ GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_Likely,+ GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood_VERYLIKELY,+ GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood+ #-}++newtype GooglePrivacyDlpV2InspectConfig_ContentOptionsItem = GooglePrivacyDlpV2InspectConfig_ContentOptionsItem {fromGooglePrivacyDlpV2InspectConfig_ContentOptionsItem :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Includes entire content of a file or a data stream.+pattern GooglePrivacyDlpV2InspectConfig_ContentOptionsItem_CONTENTUNSPECIFIED :: GooglePrivacyDlpV2InspectConfig_ContentOptionsItem+pattern GooglePrivacyDlpV2InspectConfig_ContentOptionsItem_CONTENTUNSPECIFIED = GooglePrivacyDlpV2InspectConfig_ContentOptionsItem "CONTENT_UNSPECIFIED"++-- | Text content within the data, excluding any metadata.+pattern GooglePrivacyDlpV2InspectConfig_ContentOptionsItem_CONTENTTEXT :: GooglePrivacyDlpV2InspectConfig_ContentOptionsItem+pattern GooglePrivacyDlpV2InspectConfig_ContentOptionsItem_CONTENTTEXT = GooglePrivacyDlpV2InspectConfig_ContentOptionsItem "CONTENT_TEXT"++-- | Images found in the data.+pattern GooglePrivacyDlpV2InspectConfig_ContentOptionsItem_CONTENTIMAGE :: GooglePrivacyDlpV2InspectConfig_ContentOptionsItem+pattern GooglePrivacyDlpV2InspectConfig_ContentOptionsItem_CONTENTIMAGE = GooglePrivacyDlpV2InspectConfig_ContentOptionsItem "CONTENT_IMAGE"++{-# COMPLETE+ GooglePrivacyDlpV2InspectConfig_ContentOptionsItem_CONTENTUNSPECIFIED,+ GooglePrivacyDlpV2InspectConfig_ContentOptionsItem_CONTENTTEXT,+ GooglePrivacyDlpV2InspectConfig_ContentOptionsItem_CONTENTIMAGE,+ GooglePrivacyDlpV2InspectConfig_ContentOptionsItem+ #-}++-- | Only returns findings equal to or above this threshold. The default is POSSIBLE. In general, the highest likelihood setting yields the fewest findings in results and the lowest chance of a false positive. For more information, see <https://cloud.google.com/sensitive-data-protection/docs/likelihood Match likelihood>.+newtype GooglePrivacyDlpV2InspectConfig_MinLikelihood = GooglePrivacyDlpV2InspectConfig_MinLikelihood {fromGooglePrivacyDlpV2InspectConfig_MinLikelihood :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Default value; same as POSSIBLE.+pattern GooglePrivacyDlpV2InspectConfig_MinLikelihood_LIKELIHOODUNSPECIFIED :: GooglePrivacyDlpV2InspectConfig_MinLikelihood+pattern GooglePrivacyDlpV2InspectConfig_MinLikelihood_LIKELIHOODUNSPECIFIED = GooglePrivacyDlpV2InspectConfig_MinLikelihood "LIKELIHOOD_UNSPECIFIED"++-- | Highest chance of a false positive.+pattern GooglePrivacyDlpV2InspectConfig_MinLikelihood_VERYUNLIKELY :: GooglePrivacyDlpV2InspectConfig_MinLikelihood+pattern GooglePrivacyDlpV2InspectConfig_MinLikelihood_VERYUNLIKELY = GooglePrivacyDlpV2InspectConfig_MinLikelihood "VERY_UNLIKELY"++-- | High chance of a false positive.+pattern GooglePrivacyDlpV2InspectConfig_MinLikelihood_Unlikely :: GooglePrivacyDlpV2InspectConfig_MinLikelihood+pattern GooglePrivacyDlpV2InspectConfig_MinLikelihood_Unlikely = GooglePrivacyDlpV2InspectConfig_MinLikelihood "UNLIKELY"++-- | Some matching signals. The default value.+pattern GooglePrivacyDlpV2InspectConfig_MinLikelihood_Possible :: GooglePrivacyDlpV2InspectConfig_MinLikelihood+pattern GooglePrivacyDlpV2InspectConfig_MinLikelihood_Possible = GooglePrivacyDlpV2InspectConfig_MinLikelihood "POSSIBLE"++-- | Low chance of a false positive.+pattern GooglePrivacyDlpV2InspectConfig_MinLikelihood_Likely :: GooglePrivacyDlpV2InspectConfig_MinLikelihood+pattern GooglePrivacyDlpV2InspectConfig_MinLikelihood_Likely = GooglePrivacyDlpV2InspectConfig_MinLikelihood "LIKELY"++-- | Confidence level is high. Lowest chance of a false positive.+pattern GooglePrivacyDlpV2InspectConfig_MinLikelihood_VERYLIKELY :: GooglePrivacyDlpV2InspectConfig_MinLikelihood+pattern GooglePrivacyDlpV2InspectConfig_MinLikelihood_VERYLIKELY = GooglePrivacyDlpV2InspectConfig_MinLikelihood "VERY_LIKELY"++{-# COMPLETE+ GooglePrivacyDlpV2InspectConfig_MinLikelihood_LIKELIHOODUNSPECIFIED,+ GooglePrivacyDlpV2InspectConfig_MinLikelihood_VERYUNLIKELY,+ GooglePrivacyDlpV2InspectConfig_MinLikelihood_Unlikely,+ GooglePrivacyDlpV2InspectConfig_MinLikelihood_Possible,+ GooglePrivacyDlpV2InspectConfig_MinLikelihood_Likely,+ GooglePrivacyDlpV2InspectConfig_MinLikelihood_VERYLIKELY,+ GooglePrivacyDlpV2InspectConfig_MinLikelihood+ #-}++-- | Required. A status for this trigger.+newtype GooglePrivacyDlpV2JobTrigger_Status = GooglePrivacyDlpV2JobTrigger_Status {fromGooglePrivacyDlpV2JobTrigger_Status :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2JobTrigger_Status_STATUSUNSPECIFIED :: GooglePrivacyDlpV2JobTrigger_Status+pattern GooglePrivacyDlpV2JobTrigger_Status_STATUSUNSPECIFIED = GooglePrivacyDlpV2JobTrigger_Status "STATUS_UNSPECIFIED"++-- | Trigger is healthy.+pattern GooglePrivacyDlpV2JobTrigger_Status_Healthy :: GooglePrivacyDlpV2JobTrigger_Status+pattern GooglePrivacyDlpV2JobTrigger_Status_Healthy = GooglePrivacyDlpV2JobTrigger_Status "HEALTHY"++-- | Trigger is temporarily paused.+pattern GooglePrivacyDlpV2JobTrigger_Status_Paused :: GooglePrivacyDlpV2JobTrigger_Status+pattern GooglePrivacyDlpV2JobTrigger_Status_Paused = GooglePrivacyDlpV2JobTrigger_Status "PAUSED"++-- | Trigger is cancelled and can not be resumed.+pattern GooglePrivacyDlpV2JobTrigger_Status_Cancelled :: GooglePrivacyDlpV2JobTrigger_Status+pattern GooglePrivacyDlpV2JobTrigger_Status_Cancelled = GooglePrivacyDlpV2JobTrigger_Status "CANCELLED"++{-# COMPLETE+ GooglePrivacyDlpV2JobTrigger_Status_STATUSUNSPECIFIED,+ GooglePrivacyDlpV2JobTrigger_Status_Healthy,+ GooglePrivacyDlpV2JobTrigger_Status_Paused,+ GooglePrivacyDlpV2JobTrigger_Status_Cancelled,+ GooglePrivacyDlpV2JobTrigger_Status+ #-}++-- | Set the likelihood of a finding to a fixed value.+newtype GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood = GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood {fromGooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Default value; same as POSSIBLE.+pattern GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_LIKELIHOODUNSPECIFIED :: GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood+pattern GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_LIKELIHOODUNSPECIFIED = GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood "LIKELIHOOD_UNSPECIFIED"++-- | Highest chance of a false positive.+pattern GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_VERYUNLIKELY :: GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood+pattern GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_VERYUNLIKELY = GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood "VERY_UNLIKELY"++-- | High chance of a false positive.+pattern GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_Unlikely :: GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood+pattern GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_Unlikely = GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood "UNLIKELY"++-- | Some matching signals. The default value.+pattern GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_Possible :: GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood+pattern GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_Possible = GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood "POSSIBLE"++-- | Low chance of a false positive.+pattern GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_Likely :: GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood+pattern GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_Likely = GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood "LIKELY"++-- | Confidence level is high. Lowest chance of a false positive.+pattern GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_VERYLIKELY :: GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood+pattern GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_VERYLIKELY = GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood "VERY_LIKELY"++{-# COMPLETE+ GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_LIKELIHOODUNSPECIFIED,+ GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_VERYUNLIKELY,+ GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_Unlikely,+ GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_Possible,+ GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_Likely,+ GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood_VERYLIKELY,+ GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood+ #-}++-- | Type of metadata containing the finding.+newtype GooglePrivacyDlpV2MetadataLocation_Type = GooglePrivacyDlpV2MetadataLocation_Type {fromGooglePrivacyDlpV2MetadataLocation_Type :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused+pattern GooglePrivacyDlpV2MetadataLocation_Type_METADATATYPEUNSPECIFIED :: GooglePrivacyDlpV2MetadataLocation_Type+pattern GooglePrivacyDlpV2MetadataLocation_Type_METADATATYPEUNSPECIFIED = GooglePrivacyDlpV2MetadataLocation_Type "METADATATYPE_UNSPECIFIED"++-- | General file metadata provided by Cloud Storage.+pattern GooglePrivacyDlpV2MetadataLocation_Type_STORAGEMETADATA :: GooglePrivacyDlpV2MetadataLocation_Type+pattern GooglePrivacyDlpV2MetadataLocation_Type_STORAGEMETADATA = GooglePrivacyDlpV2MetadataLocation_Type "STORAGE_METADATA"++{-# COMPLETE+ GooglePrivacyDlpV2MetadataLocation_Type_METADATATYPEUNSPECIFIED,+ GooglePrivacyDlpV2MetadataLocation_Type_STORAGEMETADATA,+ GooglePrivacyDlpV2MetadataLocation_Type+ #-}++-- | Schema used for writing the findings for Inspect jobs. This field is only used for Inspect and must be unspecified for Risk jobs. Columns are derived from the @Finding@ object. If appending to an existing table, any columns from the predefined schema that are missing will be added. No columns in the existing table will be deleted. If unspecified, then all available columns will be used for a new table or an (existing) table with no schema, and no changes will be made to an existing table that has a schema. Only for use with external storage.+newtype GooglePrivacyDlpV2OutputStorageConfig_OutputSchema = GooglePrivacyDlpV2OutputStorageConfig_OutputSchema {fromGooglePrivacyDlpV2OutputStorageConfig_OutputSchema :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_OUTPUTSCHEMAUNSPECIFIED :: GooglePrivacyDlpV2OutputStorageConfig_OutputSchema+pattern GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_OUTPUTSCHEMAUNSPECIFIED = GooglePrivacyDlpV2OutputStorageConfig_OutputSchema "OUTPUT_SCHEMA_UNSPECIFIED"++-- | Basic schema including only @info_type@, @quote@, @certainty@, and @timestamp@.+pattern GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_BASICCOLUMNS :: GooglePrivacyDlpV2OutputStorageConfig_OutputSchema+pattern GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_BASICCOLUMNS = GooglePrivacyDlpV2OutputStorageConfig_OutputSchema "BASIC_COLUMNS"++-- | Schema tailored to findings from scanning Cloud Storage.+pattern GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_GCSCOLUMNS :: GooglePrivacyDlpV2OutputStorageConfig_OutputSchema+pattern GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_GCSCOLUMNS = GooglePrivacyDlpV2OutputStorageConfig_OutputSchema "GCS_COLUMNS"++-- | Schema tailored to findings from scanning Google Datastore.+pattern GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_DATASTORECOLUMNS :: GooglePrivacyDlpV2OutputStorageConfig_OutputSchema+pattern GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_DATASTORECOLUMNS = GooglePrivacyDlpV2OutputStorageConfig_OutputSchema "DATASTORE_COLUMNS"++-- | Schema tailored to findings from scanning Google BigQuery.+pattern GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_BIGQUERYCOLUMNS :: GooglePrivacyDlpV2OutputStorageConfig_OutputSchema+pattern GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_BIGQUERYCOLUMNS = GooglePrivacyDlpV2OutputStorageConfig_OutputSchema "BIG_QUERY_COLUMNS"++-- | Schema containing all columns.+pattern GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_ALLCOLUMNS :: GooglePrivacyDlpV2OutputStorageConfig_OutputSchema+pattern GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_ALLCOLUMNS = GooglePrivacyDlpV2OutputStorageConfig_OutputSchema "ALL_COLUMNS"++{-# COMPLETE+ GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_OUTPUTSCHEMAUNSPECIFIED,+ GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_BASICCOLUMNS,+ GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_GCSCOLUMNS,+ GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_DATASTORECOLUMNS,+ GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_BIGQUERYCOLUMNS,+ GooglePrivacyDlpV2OutputStorageConfig_OutputSchema_ALLCOLUMNS,+ GooglePrivacyDlpV2OutputStorageConfig_OutputSchema+ #-}++-- | The minimum data risk score that triggers the condition.+newtype GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore = GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore {fromGooglePrivacyDlpV2PubSubCondition_MinimumRiskScore :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore_PROFILESCOREBUCKETUNSPECIFIED :: GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore+pattern GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore_PROFILESCOREBUCKETUNSPECIFIED = GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore "PROFILE_SCORE_BUCKET_UNSPECIFIED"++-- | High risk\/sensitivity detected.+pattern GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore_High :: GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore+pattern GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore_High = GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore "HIGH"++-- | Medium or high risk\/sensitivity detected.+pattern GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore_MEDIUMORHIGH :: GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore+pattern GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore_MEDIUMORHIGH = GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore "MEDIUM_OR_HIGH"++{-# COMPLETE+ GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore_PROFILESCOREBUCKETUNSPECIFIED,+ GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore_High,+ GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore_MEDIUMORHIGH,+ GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore+ #-}++-- | The minimum sensitivity level that triggers the condition.+newtype GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore = GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore {fromGooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore_PROFILESCOREBUCKETUNSPECIFIED :: GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore+pattern GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore_PROFILESCOREBUCKETUNSPECIFIED = GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore "PROFILE_SCORE_BUCKET_UNSPECIFIED"++-- | High risk\/sensitivity detected.+pattern GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore_High :: GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore+pattern GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore_High = GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore "HIGH"++-- | Medium or high risk\/sensitivity detected.+pattern GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore_MEDIUMORHIGH :: GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore+pattern GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore_MEDIUMORHIGH = GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore "MEDIUM_OR_HIGH"++{-# COMPLETE+ GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore_PROFILESCOREBUCKETUNSPECIFIED,+ GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore_High,+ GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore_MEDIUMORHIGH,+ GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore+ #-}++-- | The operator to apply to the collection of conditions.+newtype GooglePrivacyDlpV2PubSubExpressions_LogicalOperator = GooglePrivacyDlpV2PubSubExpressions_LogicalOperator {fromGooglePrivacyDlpV2PubSubExpressions_LogicalOperator :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2PubSubExpressions_LogicalOperator_LOGICALOPERATORUNSPECIFIED :: GooglePrivacyDlpV2PubSubExpressions_LogicalOperator+pattern GooglePrivacyDlpV2PubSubExpressions_LogicalOperator_LOGICALOPERATORUNSPECIFIED = GooglePrivacyDlpV2PubSubExpressions_LogicalOperator "LOGICAL_OPERATOR_UNSPECIFIED"++-- | Conditional OR.+pattern GooglePrivacyDlpV2PubSubExpressions_LogicalOperator_OR :: GooglePrivacyDlpV2PubSubExpressions_LogicalOperator+pattern GooglePrivacyDlpV2PubSubExpressions_LogicalOperator_OR = GooglePrivacyDlpV2PubSubExpressions_LogicalOperator "OR"++-- | Conditional AND.+pattern GooglePrivacyDlpV2PubSubExpressions_LogicalOperator_And :: GooglePrivacyDlpV2PubSubExpressions_LogicalOperator+pattern GooglePrivacyDlpV2PubSubExpressions_LogicalOperator_And = GooglePrivacyDlpV2PubSubExpressions_LogicalOperator "AND"++{-# COMPLETE+ GooglePrivacyDlpV2PubSubExpressions_LogicalOperator_LOGICALOPERATORUNSPECIFIED,+ GooglePrivacyDlpV2PubSubExpressions_LogicalOperator_OR,+ GooglePrivacyDlpV2PubSubExpressions_LogicalOperator_And,+ GooglePrivacyDlpV2PubSubExpressions_LogicalOperator+ #-}++-- | How much data to include in the Pub\/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).+newtype GooglePrivacyDlpV2PubSubNotification_DetailOfMessage = GooglePrivacyDlpV2PubSubNotification_DetailOfMessage {fromGooglePrivacyDlpV2PubSubNotification_DetailOfMessage :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2PubSubNotification_DetailOfMessage_DETAILLEVELUNSPECIFIED :: GooglePrivacyDlpV2PubSubNotification_DetailOfMessage+pattern GooglePrivacyDlpV2PubSubNotification_DetailOfMessage_DETAILLEVELUNSPECIFIED = GooglePrivacyDlpV2PubSubNotification_DetailOfMessage "DETAIL_LEVEL_UNSPECIFIED"++-- | The full table data profile.+pattern GooglePrivacyDlpV2PubSubNotification_DetailOfMessage_TABLEPROFILE :: GooglePrivacyDlpV2PubSubNotification_DetailOfMessage+pattern GooglePrivacyDlpV2PubSubNotification_DetailOfMessage_TABLEPROFILE = GooglePrivacyDlpV2PubSubNotification_DetailOfMessage "TABLE_PROFILE"++-- | The name of the profiled resource.+pattern GooglePrivacyDlpV2PubSubNotification_DetailOfMessage_RESOURCENAME :: GooglePrivacyDlpV2PubSubNotification_DetailOfMessage+pattern GooglePrivacyDlpV2PubSubNotification_DetailOfMessage_RESOURCENAME = GooglePrivacyDlpV2PubSubNotification_DetailOfMessage "RESOURCE_NAME"++-- | The full file store data profile.+pattern GooglePrivacyDlpV2PubSubNotification_DetailOfMessage_FILESTOREPROFILE :: GooglePrivacyDlpV2PubSubNotification_DetailOfMessage+pattern GooglePrivacyDlpV2PubSubNotification_DetailOfMessage_FILESTOREPROFILE = GooglePrivacyDlpV2PubSubNotification_DetailOfMessage "FILE_STORE_PROFILE"++{-# COMPLETE+ GooglePrivacyDlpV2PubSubNotification_DetailOfMessage_DETAILLEVELUNSPECIFIED,+ GooglePrivacyDlpV2PubSubNotification_DetailOfMessage_TABLEPROFILE,+ GooglePrivacyDlpV2PubSubNotification_DetailOfMessage_RESOURCENAME,+ GooglePrivacyDlpV2PubSubNotification_DetailOfMessage_FILESTOREPROFILE,+ GooglePrivacyDlpV2PubSubNotification_DetailOfMessage+ #-}++-- | The type of event that triggers a Pub\/Sub. At most one @PubSubNotification@ per EventType is permitted.+newtype GooglePrivacyDlpV2PubSubNotification_Event = GooglePrivacyDlpV2PubSubNotification_Event {fromGooglePrivacyDlpV2PubSubNotification_Event :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2PubSubNotification_Event_EVENTTYPEUNSPECIFIED :: GooglePrivacyDlpV2PubSubNotification_Event+pattern GooglePrivacyDlpV2PubSubNotification_Event_EVENTTYPEUNSPECIFIED = GooglePrivacyDlpV2PubSubNotification_Event "EVENT_TYPE_UNSPECIFIED"++-- | New profile (not a re-profile).+pattern GooglePrivacyDlpV2PubSubNotification_Event_NEWPROFILE :: GooglePrivacyDlpV2PubSubNotification_Event+pattern GooglePrivacyDlpV2PubSubNotification_Event_NEWPROFILE = GooglePrivacyDlpV2PubSubNotification_Event "NEW_PROFILE"++-- | One of the following profile metrics changed: Data risk score, Sensitivity score, Resource visibility, Encryption type, Predicted infoTypes, Other infoTypes+pattern GooglePrivacyDlpV2PubSubNotification_Event_CHANGEDPROFILE :: GooglePrivacyDlpV2PubSubNotification_Event+pattern GooglePrivacyDlpV2PubSubNotification_Event_CHANGEDPROFILE = GooglePrivacyDlpV2PubSubNotification_Event "CHANGED_PROFILE"++-- | Table data risk score or sensitivity score increased.+pattern GooglePrivacyDlpV2PubSubNotification_Event_SCOREINCREASED :: GooglePrivacyDlpV2PubSubNotification_Event+pattern GooglePrivacyDlpV2PubSubNotification_Event_SCOREINCREASED = GooglePrivacyDlpV2PubSubNotification_Event "SCORE_INCREASED"++-- | A user (non-internal) error occurred.+pattern GooglePrivacyDlpV2PubSubNotification_Event_ERRORCHANGED :: GooglePrivacyDlpV2PubSubNotification_Event+pattern GooglePrivacyDlpV2PubSubNotification_Event_ERRORCHANGED = GooglePrivacyDlpV2PubSubNotification_Event "ERROR_CHANGED"++{-# COMPLETE+ GooglePrivacyDlpV2PubSubNotification_Event_EVENTTYPEUNSPECIFIED,+ GooglePrivacyDlpV2PubSubNotification_Event_NEWPROFILE,+ GooglePrivacyDlpV2PubSubNotification_Event_CHANGEDPROFILE,+ GooglePrivacyDlpV2PubSubNotification_Event_SCOREINCREASED,+ GooglePrivacyDlpV2PubSubNotification_Event_ERRORCHANGED,+ GooglePrivacyDlpV2PubSubNotification_Event+ #-}++-- | Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.+newtype GooglePrivacyDlpV2SchemaModifiedCadence_Frequency = GooglePrivacyDlpV2SchemaModifiedCadence_Frequency {fromGooglePrivacyDlpV2SchemaModifiedCadence_Frequency :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unspecified.+pattern GooglePrivacyDlpV2SchemaModifiedCadence_Frequency_UPDATEFREQUENCYUNSPECIFIED :: GooglePrivacyDlpV2SchemaModifiedCadence_Frequency+pattern GooglePrivacyDlpV2SchemaModifiedCadence_Frequency_UPDATEFREQUENCYUNSPECIFIED = GooglePrivacyDlpV2SchemaModifiedCadence_Frequency "UPDATE_FREQUENCY_UNSPECIFIED"++-- | After the data profile is created, it will never be updated.+pattern GooglePrivacyDlpV2SchemaModifiedCadence_Frequency_UPDATEFREQUENCYNEVER :: GooglePrivacyDlpV2SchemaModifiedCadence_Frequency+pattern GooglePrivacyDlpV2SchemaModifiedCadence_Frequency_UPDATEFREQUENCYNEVER = GooglePrivacyDlpV2SchemaModifiedCadence_Frequency "UPDATE_FREQUENCY_NEVER"++-- | The data profile can be updated up to once every 24 hours.+pattern GooglePrivacyDlpV2SchemaModifiedCadence_Frequency_UPDATEFREQUENCYDAILY :: GooglePrivacyDlpV2SchemaModifiedCadence_Frequency+pattern GooglePrivacyDlpV2SchemaModifiedCadence_Frequency_UPDATEFREQUENCYDAILY = GooglePrivacyDlpV2SchemaModifiedCadence_Frequency "UPDATE_FREQUENCY_DAILY"++-- | The data profile can be updated up to once every 30 days. Default.+pattern GooglePrivacyDlpV2SchemaModifiedCadence_Frequency_UPDATEFREQUENCYMONTHLY :: GooglePrivacyDlpV2SchemaModifiedCadence_Frequency+pattern GooglePrivacyDlpV2SchemaModifiedCadence_Frequency_UPDATEFREQUENCYMONTHLY = GooglePrivacyDlpV2SchemaModifiedCadence_Frequency "UPDATE_FREQUENCY_MONTHLY"++{-# COMPLETE+ GooglePrivacyDlpV2SchemaModifiedCadence_Frequency_UPDATEFREQUENCYUNSPECIFIED,+ GooglePrivacyDlpV2SchemaModifiedCadence_Frequency_UPDATEFREQUENCYNEVER,+ GooglePrivacyDlpV2SchemaModifiedCadence_Frequency_UPDATEFREQUENCYDAILY,+ GooglePrivacyDlpV2SchemaModifiedCadence_Frequency_UPDATEFREQUENCYMONTHLY,+ GooglePrivacyDlpV2SchemaModifiedCadence_Frequency+ #-}++newtype GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem = GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem {fromGooglePrivacyDlpV2SchemaModifiedCadence_TypesItem :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem_SQLSCHEMAMODIFICATIONUNSPECIFIED :: GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem+pattern GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem_SQLSCHEMAMODIFICATIONUNSPECIFIED = GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem "SQL_SCHEMA_MODIFICATION_UNSPECIFIED"++-- | New columns have appeared.+pattern GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem_NEWCOLUMNS :: GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem+pattern GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem_NEWCOLUMNS = GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem "NEW_COLUMNS"++-- | Columns have been removed from the table.+pattern GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem_REMOVEDCOLUMNS :: GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem+pattern GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem_REMOVEDCOLUMNS = GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem "REMOVED_COLUMNS"++{-# COMPLETE+ GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem_SQLSCHEMAMODIFICATIONUNSPECIFIED,+ GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem_NEWCOLUMNS,+ GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem_REMOVEDCOLUMNS,+ GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem+ #-}++-- | The sensitivity score applied to the resource.+newtype GooglePrivacyDlpV2SensitivityScore_Score = GooglePrivacyDlpV2SensitivityScore_Score {fromGooglePrivacyDlpV2SensitivityScore_Score :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYSCOREUNSPECIFIED :: GooglePrivacyDlpV2SensitivityScore_Score+pattern GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYSCOREUNSPECIFIED = GooglePrivacyDlpV2SensitivityScore_Score "SENSITIVITY_SCORE_UNSPECIFIED"++-- | No sensitive information detected. The resource isn\'t publicly accessible.+pattern GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYLOW :: GooglePrivacyDlpV2SensitivityScore_Score+pattern GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYLOW = GooglePrivacyDlpV2SensitivityScore_Score "SENSITIVITY_LOW"++-- | Unable to determine sensitivity.+pattern GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYUNKNOWN :: GooglePrivacyDlpV2SensitivityScore_Score+pattern GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYUNKNOWN = GooglePrivacyDlpV2SensitivityScore_Score "SENSITIVITY_UNKNOWN"++-- | Medium risk. Contains personally identifiable information (PII), potentially sensitive data, or fields with free-text data that are at a higher risk of having intermittent sensitive data. Consider limiting access.+pattern GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYMODERATE :: GooglePrivacyDlpV2SensitivityScore_Score+pattern GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYMODERATE = GooglePrivacyDlpV2SensitivityScore_Score "SENSITIVITY_MODERATE"++-- | High risk. Sensitive personally identifiable information (SPII) can be present. Exfiltration of data can lead to user data loss. Re-identification of users might be possible. Consider limiting usage and or removing SPII.+pattern GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYHIGH :: GooglePrivacyDlpV2SensitivityScore_Score+pattern GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYHIGH = GooglePrivacyDlpV2SensitivityScore_Score "SENSITIVITY_HIGH"++{-# COMPLETE+ GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYSCOREUNSPECIFIED,+ GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYLOW,+ GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYUNKNOWN,+ GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYMODERATE,+ GooglePrivacyDlpV2SensitivityScore_Score_SENSITIVITYHIGH,+ GooglePrivacyDlpV2SensitivityScore_Score+ #-}++-- | Stored info type version state. Read-only, updated by the system during dictionary creation.+newtype GooglePrivacyDlpV2StoredInfoTypeVersion_State = GooglePrivacyDlpV2StoredInfoTypeVersion_State {fromGooglePrivacyDlpV2StoredInfoTypeVersion_State :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused+pattern GooglePrivacyDlpV2StoredInfoTypeVersion_State_STOREDINFOTYPESTATEUNSPECIFIED :: GooglePrivacyDlpV2StoredInfoTypeVersion_State+pattern GooglePrivacyDlpV2StoredInfoTypeVersion_State_STOREDINFOTYPESTATEUNSPECIFIED = GooglePrivacyDlpV2StoredInfoTypeVersion_State "STORED_INFO_TYPE_STATE_UNSPECIFIED"++-- | StoredInfoType version is being created.+pattern GooglePrivacyDlpV2StoredInfoTypeVersion_State_Pending :: GooglePrivacyDlpV2StoredInfoTypeVersion_State+pattern GooglePrivacyDlpV2StoredInfoTypeVersion_State_Pending = GooglePrivacyDlpV2StoredInfoTypeVersion_State "PENDING"++-- | StoredInfoType version is ready for use.+pattern GooglePrivacyDlpV2StoredInfoTypeVersion_State_Ready :: GooglePrivacyDlpV2StoredInfoTypeVersion_State+pattern GooglePrivacyDlpV2StoredInfoTypeVersion_State_Ready = GooglePrivacyDlpV2StoredInfoTypeVersion_State "READY"++-- | StoredInfoType creation failed. All relevant error messages are returned in the @StoredInfoTypeVersion@ message.+pattern GooglePrivacyDlpV2StoredInfoTypeVersion_State_Failed :: GooglePrivacyDlpV2StoredInfoTypeVersion_State+pattern GooglePrivacyDlpV2StoredInfoTypeVersion_State_Failed = GooglePrivacyDlpV2StoredInfoTypeVersion_State "FAILED"++-- | StoredInfoType is no longer valid because artifacts stored in user-controlled storage were modified. To fix an invalid StoredInfoType, use the @UpdateStoredInfoType@ method to create a new version.+pattern GooglePrivacyDlpV2StoredInfoTypeVersion_State_Invalid :: GooglePrivacyDlpV2StoredInfoTypeVersion_State+pattern GooglePrivacyDlpV2StoredInfoTypeVersion_State_Invalid = GooglePrivacyDlpV2StoredInfoTypeVersion_State "INVALID"++{-# COMPLETE+ GooglePrivacyDlpV2StoredInfoTypeVersion_State_STOREDINFOTYPESTATEUNSPECIFIED,+ GooglePrivacyDlpV2StoredInfoTypeVersion_State_Pending,+ GooglePrivacyDlpV2StoredInfoTypeVersion_State_Ready,+ GooglePrivacyDlpV2StoredInfoTypeVersion_State_Failed,+ GooglePrivacyDlpV2StoredInfoTypeVersion_State_Invalid,+ GooglePrivacyDlpV2StoredInfoTypeVersion_State+ #-}++-- | Outcome of the transformation.+newtype GooglePrivacyDlpV2SummaryResult_Code = GooglePrivacyDlpV2SummaryResult_Code {fromGooglePrivacyDlpV2SummaryResult_Code :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused+pattern GooglePrivacyDlpV2SummaryResult_Code_TRANSFORMATIONRESULTCODEUNSPECIFIED :: GooglePrivacyDlpV2SummaryResult_Code+pattern GooglePrivacyDlpV2SummaryResult_Code_TRANSFORMATIONRESULTCODEUNSPECIFIED = GooglePrivacyDlpV2SummaryResult_Code "TRANSFORMATION_RESULT_CODE_UNSPECIFIED"++-- | Transformation completed without an error.+pattern GooglePrivacyDlpV2SummaryResult_Code_Success :: GooglePrivacyDlpV2SummaryResult_Code+pattern GooglePrivacyDlpV2SummaryResult_Code_Success = GooglePrivacyDlpV2SummaryResult_Code "SUCCESS"++-- | Transformation had an error.+pattern GooglePrivacyDlpV2SummaryResult_Code_Error' :: GooglePrivacyDlpV2SummaryResult_Code+pattern GooglePrivacyDlpV2SummaryResult_Code_Error' = GooglePrivacyDlpV2SummaryResult_Code "ERROR"++{-# COMPLETE+ GooglePrivacyDlpV2SummaryResult_Code_TRANSFORMATIONRESULTCODEUNSPECIFIED,+ GooglePrivacyDlpV2SummaryResult_Code_Success,+ GooglePrivacyDlpV2SummaryResult_Code_Error',+ GooglePrivacyDlpV2SummaryResult_Code+ #-}++-- | How the table is encrypted.+newtype GooglePrivacyDlpV2TableDataProfile_EncryptionStatus = GooglePrivacyDlpV2TableDataProfile_EncryptionStatus {fromGooglePrivacyDlpV2TableDataProfile_EncryptionStatus :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2TableDataProfile_EncryptionStatus_ENCRYPTIONSTATUSUNSPECIFIED :: GooglePrivacyDlpV2TableDataProfile_EncryptionStatus+pattern GooglePrivacyDlpV2TableDataProfile_EncryptionStatus_ENCRYPTIONSTATUSUNSPECIFIED = GooglePrivacyDlpV2TableDataProfile_EncryptionStatus "ENCRYPTION_STATUS_UNSPECIFIED"++-- | Google manages server-side encryption keys on your behalf.+pattern GooglePrivacyDlpV2TableDataProfile_EncryptionStatus_ENCRYPTIONGOOGLEMANAGED :: GooglePrivacyDlpV2TableDataProfile_EncryptionStatus+pattern GooglePrivacyDlpV2TableDataProfile_EncryptionStatus_ENCRYPTIONGOOGLEMANAGED = GooglePrivacyDlpV2TableDataProfile_EncryptionStatus "ENCRYPTION_GOOGLE_MANAGED"++-- | Customer provides the key.+pattern GooglePrivacyDlpV2TableDataProfile_EncryptionStatus_ENCRYPTIONCUSTOMERMANAGED :: GooglePrivacyDlpV2TableDataProfile_EncryptionStatus+pattern GooglePrivacyDlpV2TableDataProfile_EncryptionStatus_ENCRYPTIONCUSTOMERMANAGED = GooglePrivacyDlpV2TableDataProfile_EncryptionStatus "ENCRYPTION_CUSTOMER_MANAGED"++{-# COMPLETE+ GooglePrivacyDlpV2TableDataProfile_EncryptionStatus_ENCRYPTIONSTATUSUNSPECIFIED,+ GooglePrivacyDlpV2TableDataProfile_EncryptionStatus_ENCRYPTIONGOOGLEMANAGED,+ GooglePrivacyDlpV2TableDataProfile_EncryptionStatus_ENCRYPTIONCUSTOMERMANAGED,+ GooglePrivacyDlpV2TableDataProfile_EncryptionStatus+ #-}++-- | How broadly a resource has been shared.+newtype GooglePrivacyDlpV2TableDataProfile_ResourceVisibility = GooglePrivacyDlpV2TableDataProfile_ResourceVisibility {fromGooglePrivacyDlpV2TableDataProfile_ResourceVisibility :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_RESOURCEVISIBILITYUNSPECIFIED :: GooglePrivacyDlpV2TableDataProfile_ResourceVisibility+pattern GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_RESOURCEVISIBILITYUNSPECIFIED = GooglePrivacyDlpV2TableDataProfile_ResourceVisibility "RESOURCE_VISIBILITY_UNSPECIFIED"++-- | Visible to any user.+pattern GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_RESOURCEVISIBILITYPUBLIC :: GooglePrivacyDlpV2TableDataProfile_ResourceVisibility+pattern GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_RESOURCEVISIBILITYPUBLIC = GooglePrivacyDlpV2TableDataProfile_ResourceVisibility "RESOURCE_VISIBILITY_PUBLIC"++-- | May contain public items. For example, if a Cloud Storage bucket has uniform bucket level access disabled, some objects inside it may be public, but none are known yet.+pattern GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_RESOURCEVISIBILITYINCONCLUSIVE :: GooglePrivacyDlpV2TableDataProfile_ResourceVisibility+pattern GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_RESOURCEVISIBILITYINCONCLUSIVE = GooglePrivacyDlpV2TableDataProfile_ResourceVisibility "RESOURCE_VISIBILITY_INCONCLUSIVE"++-- | Visible only to specific users.+pattern GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_RESOURCEVISIBILITYRESTRICTED :: GooglePrivacyDlpV2TableDataProfile_ResourceVisibility+pattern GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_RESOURCEVISIBILITYRESTRICTED = GooglePrivacyDlpV2TableDataProfile_ResourceVisibility "RESOURCE_VISIBILITY_RESTRICTED"++{-# COMPLETE+ GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_RESOURCEVISIBILITYUNSPECIFIED,+ GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_RESOURCEVISIBILITYPUBLIC,+ GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_RESOURCEVISIBILITYINCONCLUSIVE,+ GooglePrivacyDlpV2TableDataProfile_ResourceVisibility_RESOURCEVISIBILITYRESTRICTED,+ GooglePrivacyDlpV2TableDataProfile_ResourceVisibility+ #-}++-- | State of a profile.+newtype GooglePrivacyDlpV2TableDataProfile_State = GooglePrivacyDlpV2TableDataProfile_State {fromGooglePrivacyDlpV2TableDataProfile_State :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2TableDataProfile_State_STATEUNSPECIFIED :: GooglePrivacyDlpV2TableDataProfile_State+pattern GooglePrivacyDlpV2TableDataProfile_State_STATEUNSPECIFIED = GooglePrivacyDlpV2TableDataProfile_State "STATE_UNSPECIFIED"++-- | The profile is currently running. Once a profile has finished it will transition to DONE.+pattern GooglePrivacyDlpV2TableDataProfile_State_Running :: GooglePrivacyDlpV2TableDataProfile_State+pattern GooglePrivacyDlpV2TableDataProfile_State_Running = GooglePrivacyDlpV2TableDataProfile_State "RUNNING"++-- | The profile is no longer generating. If profile_status.status.code is 0, the profile succeeded, otherwise, it failed.+pattern GooglePrivacyDlpV2TableDataProfile_State_Done :: GooglePrivacyDlpV2TableDataProfile_State+pattern GooglePrivacyDlpV2TableDataProfile_State_Done = GooglePrivacyDlpV2TableDataProfile_State "DONE"++{-# COMPLETE+ GooglePrivacyDlpV2TableDataProfile_State_STATEUNSPECIFIED,+ GooglePrivacyDlpV2TableDataProfile_State_Running,+ GooglePrivacyDlpV2TableDataProfile_State_Done,+ GooglePrivacyDlpV2TableDataProfile_State+ #-}++newtype GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem = GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem {fromGooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem_PROFILEGENERATIONUNSPECIFIED :: GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem+pattern GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem_PROFILEGENERATIONUNSPECIFIED = GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem "PROFILE_GENERATION_UNSPECIFIED"++-- | The profile is the first profile for the resource.+pattern GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem_PROFILEGENERATIONNEW :: GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem+pattern GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem_PROFILEGENERATIONNEW = GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem "PROFILE_GENERATION_NEW"++-- | The profile is an update to a previous profile.+pattern GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem_PROFILEGENERATIONUPDATE :: GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem+pattern GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem_PROFILEGENERATIONUPDATE = GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem "PROFILE_GENERATION_UPDATE"++{-# COMPLETE+ GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem_PROFILEGENERATIONUNSPECIFIED,+ GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem_PROFILEGENERATIONNEW,+ GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem_PROFILEGENERATIONUPDATE,+ GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem+ #-}++-- | The part of the time to keep.+newtype GooglePrivacyDlpV2TimePartConfig_PartToExtract = GooglePrivacyDlpV2TimePartConfig_PartToExtract {fromGooglePrivacyDlpV2TimePartConfig_PartToExtract :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused+pattern GooglePrivacyDlpV2TimePartConfig_PartToExtract_TIMEPARTUNSPECIFIED :: GooglePrivacyDlpV2TimePartConfig_PartToExtract+pattern GooglePrivacyDlpV2TimePartConfig_PartToExtract_TIMEPARTUNSPECIFIED = GooglePrivacyDlpV2TimePartConfig_PartToExtract "TIME_PART_UNSPECIFIED"++-- | [0-9999]+pattern GooglePrivacyDlpV2TimePartConfig_PartToExtract_Year :: GooglePrivacyDlpV2TimePartConfig_PartToExtract+pattern GooglePrivacyDlpV2TimePartConfig_PartToExtract_Year = GooglePrivacyDlpV2TimePartConfig_PartToExtract "YEAR"++-- | [1-12]+pattern GooglePrivacyDlpV2TimePartConfig_PartToExtract_Month :: GooglePrivacyDlpV2TimePartConfig_PartToExtract+pattern GooglePrivacyDlpV2TimePartConfig_PartToExtract_Month = GooglePrivacyDlpV2TimePartConfig_PartToExtract "MONTH"++-- | [1-31]+pattern GooglePrivacyDlpV2TimePartConfig_PartToExtract_DAYOFMONTH :: GooglePrivacyDlpV2TimePartConfig_PartToExtract+pattern GooglePrivacyDlpV2TimePartConfig_PartToExtract_DAYOFMONTH = GooglePrivacyDlpV2TimePartConfig_PartToExtract "DAY_OF_MONTH"++-- | [1-7]+pattern GooglePrivacyDlpV2TimePartConfig_PartToExtract_DAYOFWEEK :: GooglePrivacyDlpV2TimePartConfig_PartToExtract+pattern GooglePrivacyDlpV2TimePartConfig_PartToExtract_DAYOFWEEK = GooglePrivacyDlpV2TimePartConfig_PartToExtract "DAY_OF_WEEK"++-- | [1-53]+pattern GooglePrivacyDlpV2TimePartConfig_PartToExtract_WEEKOFYEAR :: GooglePrivacyDlpV2TimePartConfig_PartToExtract+pattern GooglePrivacyDlpV2TimePartConfig_PartToExtract_WEEKOFYEAR = GooglePrivacyDlpV2TimePartConfig_PartToExtract "WEEK_OF_YEAR"++-- | [0-23]+pattern GooglePrivacyDlpV2TimePartConfig_PartToExtract_HOUROFDAY :: GooglePrivacyDlpV2TimePartConfig_PartToExtract+pattern GooglePrivacyDlpV2TimePartConfig_PartToExtract_HOUROFDAY = GooglePrivacyDlpV2TimePartConfig_PartToExtract "HOUR_OF_DAY"++{-# COMPLETE+ GooglePrivacyDlpV2TimePartConfig_PartToExtract_TIMEPARTUNSPECIFIED,+ GooglePrivacyDlpV2TimePartConfig_PartToExtract_Year,+ GooglePrivacyDlpV2TimePartConfig_PartToExtract_Month,+ GooglePrivacyDlpV2TimePartConfig_PartToExtract_DAYOFMONTH,+ GooglePrivacyDlpV2TimePartConfig_PartToExtract_DAYOFWEEK,+ GooglePrivacyDlpV2TimePartConfig_PartToExtract_WEEKOFYEAR,+ GooglePrivacyDlpV2TimePartConfig_PartToExtract_HOUROFDAY,+ GooglePrivacyDlpV2TimePartConfig_PartToExtract+ #-}++-- | The transformation type.+newtype GooglePrivacyDlpV2TransformationDescription_Type = GooglePrivacyDlpV2TransformationDescription_Type {fromGooglePrivacyDlpV2TransformationDescription_Type :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused+pattern GooglePrivacyDlpV2TransformationDescription_Type_TRANSFORMATIONTYPEUNSPECIFIED :: GooglePrivacyDlpV2TransformationDescription_Type+pattern GooglePrivacyDlpV2TransformationDescription_Type_TRANSFORMATIONTYPEUNSPECIFIED = GooglePrivacyDlpV2TransformationDescription_Type "TRANSFORMATION_TYPE_UNSPECIFIED"++-- | Record suppression+pattern GooglePrivacyDlpV2TransformationDescription_Type_RECORDSUPPRESSION :: GooglePrivacyDlpV2TransformationDescription_Type+pattern GooglePrivacyDlpV2TransformationDescription_Type_RECORDSUPPRESSION = GooglePrivacyDlpV2TransformationDescription_Type "RECORD_SUPPRESSION"++-- | Replace value+pattern GooglePrivacyDlpV2TransformationDescription_Type_REPLACEVALUE :: GooglePrivacyDlpV2TransformationDescription_Type+pattern GooglePrivacyDlpV2TransformationDescription_Type_REPLACEVALUE = GooglePrivacyDlpV2TransformationDescription_Type "REPLACE_VALUE"++-- | Replace value using a dictionary.+pattern GooglePrivacyDlpV2TransformationDescription_Type_REPLACEDICTIONARY :: GooglePrivacyDlpV2TransformationDescription_Type+pattern GooglePrivacyDlpV2TransformationDescription_Type_REPLACEDICTIONARY = GooglePrivacyDlpV2TransformationDescription_Type "REPLACE_DICTIONARY"++-- | Redact+pattern GooglePrivacyDlpV2TransformationDescription_Type_Redact :: GooglePrivacyDlpV2TransformationDescription_Type+pattern GooglePrivacyDlpV2TransformationDescription_Type_Redact = GooglePrivacyDlpV2TransformationDescription_Type "REDACT"++-- | Character mask+pattern GooglePrivacyDlpV2TransformationDescription_Type_CHARACTERMASK :: GooglePrivacyDlpV2TransformationDescription_Type+pattern GooglePrivacyDlpV2TransformationDescription_Type_CHARACTERMASK = GooglePrivacyDlpV2TransformationDescription_Type "CHARACTER_MASK"++-- | FFX-FPE+pattern GooglePrivacyDlpV2TransformationDescription_Type_CRYPTOREPLACEFFXFPE :: GooglePrivacyDlpV2TransformationDescription_Type+pattern GooglePrivacyDlpV2TransformationDescription_Type_CRYPTOREPLACEFFXFPE = GooglePrivacyDlpV2TransformationDescription_Type "CRYPTO_REPLACE_FFX_FPE"++-- | Fixed size bucketing+pattern GooglePrivacyDlpV2TransformationDescription_Type_FIXEDSIZEBUCKETING :: GooglePrivacyDlpV2TransformationDescription_Type+pattern GooglePrivacyDlpV2TransformationDescription_Type_FIXEDSIZEBUCKETING = GooglePrivacyDlpV2TransformationDescription_Type "FIXED_SIZE_BUCKETING"++-- | Bucketing+pattern GooglePrivacyDlpV2TransformationDescription_Type_Bucketing :: GooglePrivacyDlpV2TransformationDescription_Type+pattern GooglePrivacyDlpV2TransformationDescription_Type_Bucketing = GooglePrivacyDlpV2TransformationDescription_Type "BUCKETING"++-- | Replace with info type+pattern GooglePrivacyDlpV2TransformationDescription_Type_REPLACEWITHINFOTYPE :: GooglePrivacyDlpV2TransformationDescription_Type+pattern GooglePrivacyDlpV2TransformationDescription_Type_REPLACEWITHINFOTYPE = GooglePrivacyDlpV2TransformationDescription_Type "REPLACE_WITH_INFO_TYPE"++-- | Time part+pattern GooglePrivacyDlpV2TransformationDescription_Type_TIMEPART :: GooglePrivacyDlpV2TransformationDescription_Type+pattern GooglePrivacyDlpV2TransformationDescription_Type_TIMEPART = GooglePrivacyDlpV2TransformationDescription_Type "TIME_PART"++-- | Crypto hash+pattern GooglePrivacyDlpV2TransformationDescription_Type_CRYPTOHASH :: GooglePrivacyDlpV2TransformationDescription_Type+pattern GooglePrivacyDlpV2TransformationDescription_Type_CRYPTOHASH = GooglePrivacyDlpV2TransformationDescription_Type "CRYPTO_HASH"++-- | Date shift+pattern GooglePrivacyDlpV2TransformationDescription_Type_DATESHIFT :: GooglePrivacyDlpV2TransformationDescription_Type+pattern GooglePrivacyDlpV2TransformationDescription_Type_DATESHIFT = GooglePrivacyDlpV2TransformationDescription_Type "DATE_SHIFT"++-- | Deterministic crypto+pattern GooglePrivacyDlpV2TransformationDescription_Type_CRYPTODETERMINISTICCONFIG :: GooglePrivacyDlpV2TransformationDescription_Type+pattern GooglePrivacyDlpV2TransformationDescription_Type_CRYPTODETERMINISTICCONFIG = GooglePrivacyDlpV2TransformationDescription_Type "CRYPTO_DETERMINISTIC_CONFIG"++-- | Redact image+pattern GooglePrivacyDlpV2TransformationDescription_Type_REDACTIMAGE :: GooglePrivacyDlpV2TransformationDescription_Type+pattern GooglePrivacyDlpV2TransformationDescription_Type_REDACTIMAGE = GooglePrivacyDlpV2TransformationDescription_Type "REDACT_IMAGE"++{-# COMPLETE+ GooglePrivacyDlpV2TransformationDescription_Type_TRANSFORMATIONTYPEUNSPECIFIED,+ GooglePrivacyDlpV2TransformationDescription_Type_RECORDSUPPRESSION,+ GooglePrivacyDlpV2TransformationDescription_Type_REPLACEVALUE,+ GooglePrivacyDlpV2TransformationDescription_Type_REPLACEDICTIONARY,+ GooglePrivacyDlpV2TransformationDescription_Type_Redact,+ GooglePrivacyDlpV2TransformationDescription_Type_CHARACTERMASK,+ GooglePrivacyDlpV2TransformationDescription_Type_CRYPTOREPLACEFFXFPE,+ GooglePrivacyDlpV2TransformationDescription_Type_FIXEDSIZEBUCKETING,+ GooglePrivacyDlpV2TransformationDescription_Type_Bucketing,+ GooglePrivacyDlpV2TransformationDescription_Type_REPLACEWITHINFOTYPE,+ GooglePrivacyDlpV2TransformationDescription_Type_TIMEPART,+ GooglePrivacyDlpV2TransformationDescription_Type_CRYPTOHASH,+ GooglePrivacyDlpV2TransformationDescription_Type_DATESHIFT,+ GooglePrivacyDlpV2TransformationDescription_Type_CRYPTODETERMINISTICCONFIG,+ GooglePrivacyDlpV2TransformationDescription_Type_REDACTIMAGE,+ GooglePrivacyDlpV2TransformationDescription_Type+ #-}++-- | Information about the functionality of the container where this finding occurred, if available.+newtype GooglePrivacyDlpV2TransformationLocation_ContainerType = GooglePrivacyDlpV2TransformationLocation_ContainerType {fromGooglePrivacyDlpV2TransformationLocation_ContainerType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2TransformationLocation_ContainerType_TRANSFORMUNKNOWNCONTAINER :: GooglePrivacyDlpV2TransformationLocation_ContainerType+pattern GooglePrivacyDlpV2TransformationLocation_ContainerType_TRANSFORMUNKNOWNCONTAINER = GooglePrivacyDlpV2TransformationLocation_ContainerType "TRANSFORM_UNKNOWN_CONTAINER"++-- | Body of a file.+pattern GooglePrivacyDlpV2TransformationLocation_ContainerType_TRANSFORMBODY :: GooglePrivacyDlpV2TransformationLocation_ContainerType+pattern GooglePrivacyDlpV2TransformationLocation_ContainerType_TRANSFORMBODY = GooglePrivacyDlpV2TransformationLocation_ContainerType "TRANSFORM_BODY"++-- | Metadata for a file.+pattern GooglePrivacyDlpV2TransformationLocation_ContainerType_TRANSFORMMETADATA :: GooglePrivacyDlpV2TransformationLocation_ContainerType+pattern GooglePrivacyDlpV2TransformationLocation_ContainerType_TRANSFORMMETADATA = GooglePrivacyDlpV2TransformationLocation_ContainerType "TRANSFORM_METADATA"++-- | A table.+pattern GooglePrivacyDlpV2TransformationLocation_ContainerType_TRANSFORMTABLE :: GooglePrivacyDlpV2TransformationLocation_ContainerType+pattern GooglePrivacyDlpV2TransformationLocation_ContainerType_TRANSFORMTABLE = GooglePrivacyDlpV2TransformationLocation_ContainerType "TRANSFORM_TABLE"++{-# COMPLETE+ GooglePrivacyDlpV2TransformationLocation_ContainerType_TRANSFORMUNKNOWNCONTAINER,+ GooglePrivacyDlpV2TransformationLocation_ContainerType_TRANSFORMBODY,+ GooglePrivacyDlpV2TransformationLocation_ContainerType_TRANSFORMMETADATA,+ GooglePrivacyDlpV2TransformationLocation_ContainerType_TRANSFORMTABLE,+ GooglePrivacyDlpV2TransformationLocation_ContainerType+ #-}++-- | Transformation result status type, this will be either SUCCESS, or it will be the reason for why the transformation was not completely successful.+newtype GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType = GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType {fromGooglePrivacyDlpV2TransformationResultStatus_ResultStatusType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Unused.+pattern GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_STATETYPEUNSPECIFIED :: GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType+pattern GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_STATETYPEUNSPECIFIED = GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType "STATE_TYPE_UNSPECIFIED"++-- | This will be set when a finding could not be transformed (i.e. outside user set bucket range).+pattern GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_INVALIDTRANSFORM :: GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType+pattern GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_INVALIDTRANSFORM = GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType "INVALID_TRANSFORM"++-- | This will be set when a BigQuery transformation was successful but could not be stored back in BigQuery because the transformed row exceeds BigQuery\'s max row size.+pattern GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_BIGQUERYMAXROWSIZEEXCEEDED :: GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType+pattern GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_BIGQUERYMAXROWSIZEEXCEEDED = GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType "BIGQUERY_MAX_ROW_SIZE_EXCEEDED"++-- | This will be set when there is a finding in the custom metadata of a file, but at the write time of the transformed file, this key \/ value pair is unretrievable.+pattern GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_METADATAUNRETRIEVABLE :: GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType+pattern GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_METADATAUNRETRIEVABLE = GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType "METADATA_UNRETRIEVABLE"++-- | This will be set when the transformation and storing of it is successful.+pattern GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_Success :: GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType+pattern GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_Success = GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType "SUCCESS"++{-# COMPLETE+ GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_STATETYPEUNSPECIFIED,+ GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_INVALIDTRANSFORM,+ GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_BIGQUERYMAXROWSIZEEXCEEDED,+ GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_METADATAUNRETRIEVABLE,+ GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType_Success,+ GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType+ #-}++-- | day of week+newtype GooglePrivacyDlpV2Value_DayOfWeekValue = GooglePrivacyDlpV2Value_DayOfWeekValue {fromGooglePrivacyDlpV2Value_DayOfWeekValue :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | The day of the week is unspecified.+pattern GooglePrivacyDlpV2Value_DayOfWeekValue_DAYOFWEEKUNSPECIFIED :: GooglePrivacyDlpV2Value_DayOfWeekValue+pattern GooglePrivacyDlpV2Value_DayOfWeekValue_DAYOFWEEKUNSPECIFIED = GooglePrivacyDlpV2Value_DayOfWeekValue "DAY_OF_WEEK_UNSPECIFIED"++-- | Monday+pattern GooglePrivacyDlpV2Value_DayOfWeekValue_Monday :: GooglePrivacyDlpV2Value_DayOfWeekValue+pattern GooglePrivacyDlpV2Value_DayOfWeekValue_Monday = GooglePrivacyDlpV2Value_DayOfWeekValue "MONDAY"++-- | Tuesday+pattern GooglePrivacyDlpV2Value_DayOfWeekValue_Tuesday :: GooglePrivacyDlpV2Value_DayOfWeekValue+pattern GooglePrivacyDlpV2Value_DayOfWeekValue_Tuesday = GooglePrivacyDlpV2Value_DayOfWeekValue "TUESDAY"++-- | Wednesday+pattern GooglePrivacyDlpV2Value_DayOfWeekValue_Wednesday :: GooglePrivacyDlpV2Value_DayOfWeekValue+pattern GooglePrivacyDlpV2Value_DayOfWeekValue_Wednesday = GooglePrivacyDlpV2Value_DayOfWeekValue "WEDNESDAY"++-- | Thursday+pattern GooglePrivacyDlpV2Value_DayOfWeekValue_Thursday :: GooglePrivacyDlpV2Value_DayOfWeekValue+pattern GooglePrivacyDlpV2Value_DayOfWeekValue_Thursday = GooglePrivacyDlpV2Value_DayOfWeekValue "THURSDAY"++-- | Friday+pattern GooglePrivacyDlpV2Value_DayOfWeekValue_Friday :: GooglePrivacyDlpV2Value_DayOfWeekValue+pattern GooglePrivacyDlpV2Value_DayOfWeekValue_Friday = GooglePrivacyDlpV2Value_DayOfWeekValue "FRIDAY"++-- | Saturday+pattern GooglePrivacyDlpV2Value_DayOfWeekValue_Saturday :: GooglePrivacyDlpV2Value_DayOfWeekValue+pattern GooglePrivacyDlpV2Value_DayOfWeekValue_Saturday = GooglePrivacyDlpV2Value_DayOfWeekValue "SATURDAY"++-- | Sunday+pattern GooglePrivacyDlpV2Value_DayOfWeekValue_Sunday :: GooglePrivacyDlpV2Value_DayOfWeekValue+pattern GooglePrivacyDlpV2Value_DayOfWeekValue_Sunday = GooglePrivacyDlpV2Value_DayOfWeekValue "SUNDAY"++{-# COMPLETE+ GooglePrivacyDlpV2Value_DayOfWeekValue_DAYOFWEEKUNSPECIFIED,+ GooglePrivacyDlpV2Value_DayOfWeekValue_Monday,+ GooglePrivacyDlpV2Value_DayOfWeekValue_Tuesday,+ GooglePrivacyDlpV2Value_DayOfWeekValue_Wednesday,+ GooglePrivacyDlpV2Value_DayOfWeekValue_Thursday,+ GooglePrivacyDlpV2Value_DayOfWeekValue_Friday,+ GooglePrivacyDlpV2Value_DayOfWeekValue_Saturday,+ GooglePrivacyDlpV2Value_DayOfWeekValue_Sunday,+ GooglePrivacyDlpV2Value_DayOfWeekValue+ #-}++-- | The type of job. Defaults to @DlpJobType.INSPECT@+newtype OrganizationsLocationsDlpJobsListType = OrganizationsLocationsDlpJobsListType {fromOrganizationsLocationsDlpJobsListType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Defaults to INSPECT_JOB.+pattern OrganizationsLocationsDlpJobsListType_DLPJOBTYPEUNSPECIFIED :: OrganizationsLocationsDlpJobsListType+pattern OrganizationsLocationsDlpJobsListType_DLPJOBTYPEUNSPECIFIED = OrganizationsLocationsDlpJobsListType "DLP_JOB_TYPE_UNSPECIFIED"++-- | The job inspected Google Cloud for sensitive data.+pattern OrganizationsLocationsDlpJobsListType_INSPECTJOB :: OrganizationsLocationsDlpJobsListType+pattern OrganizationsLocationsDlpJobsListType_INSPECTJOB = OrganizationsLocationsDlpJobsListType "INSPECT_JOB"++-- | The job executed a Risk Analysis computation.+pattern OrganizationsLocationsDlpJobsListType_RISKANALYSISJOB :: OrganizationsLocationsDlpJobsListType+pattern OrganizationsLocationsDlpJobsListType_RISKANALYSISJOB = OrganizationsLocationsDlpJobsListType "RISK_ANALYSIS_JOB"++{-# COMPLETE+ OrganizationsLocationsDlpJobsListType_DLPJOBTYPEUNSPECIFIED,+ OrganizationsLocationsDlpJobsListType_INSPECTJOB,+ OrganizationsLocationsDlpJobsListType_RISKANALYSISJOB,+ OrganizationsLocationsDlpJobsListType+ #-}++-- | The type of jobs. Will use @DlpJobType.INSPECT@ if not set.+newtype OrganizationsLocationsJobTriggersListType = OrganizationsLocationsJobTriggersListType {fromOrganizationsLocationsJobTriggersListType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Defaults to INSPECT_JOB.+pattern OrganizationsLocationsJobTriggersListType_DLPJOBTYPEUNSPECIFIED :: OrganizationsLocationsJobTriggersListType+pattern OrganizationsLocationsJobTriggersListType_DLPJOBTYPEUNSPECIFIED = OrganizationsLocationsJobTriggersListType "DLP_JOB_TYPE_UNSPECIFIED"++-- | The job inspected Google Cloud for sensitive data.+pattern OrganizationsLocationsJobTriggersListType_INSPECTJOB :: OrganizationsLocationsJobTriggersListType+pattern OrganizationsLocationsJobTriggersListType_INSPECTJOB = OrganizationsLocationsJobTriggersListType "INSPECT_JOB"++-- | The job executed a Risk Analysis computation.+pattern OrganizationsLocationsJobTriggersListType_RISKANALYSISJOB :: OrganizationsLocationsJobTriggersListType+pattern OrganizationsLocationsJobTriggersListType_RISKANALYSISJOB = OrganizationsLocationsJobTriggersListType "RISK_ANALYSIS_JOB"++{-# COMPLETE+ OrganizationsLocationsJobTriggersListType_DLPJOBTYPEUNSPECIFIED,+ OrganizationsLocationsJobTriggersListType_INSPECTJOB,+ OrganizationsLocationsJobTriggersListType_RISKANALYSISJOB,+ OrganizationsLocationsJobTriggersListType+ #-}++-- | The type of job. Defaults to @DlpJobType.INSPECT@+newtype ProjectsDlpJobsListType = ProjectsDlpJobsListType {fromProjectsDlpJobsListType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Defaults to INSPECT_JOB.+pattern ProjectsDlpJobsListType_DLPJOBTYPEUNSPECIFIED :: ProjectsDlpJobsListType+pattern ProjectsDlpJobsListType_DLPJOBTYPEUNSPECIFIED = ProjectsDlpJobsListType "DLP_JOB_TYPE_UNSPECIFIED"++-- | The job inspected Google Cloud for sensitive data.+pattern ProjectsDlpJobsListType_INSPECTJOB :: ProjectsDlpJobsListType+pattern ProjectsDlpJobsListType_INSPECTJOB = ProjectsDlpJobsListType "INSPECT_JOB"++-- | The job executed a Risk Analysis computation.+pattern ProjectsDlpJobsListType_RISKANALYSISJOB :: ProjectsDlpJobsListType+pattern ProjectsDlpJobsListType_RISKANALYSISJOB = ProjectsDlpJobsListType "RISK_ANALYSIS_JOB"++{-# COMPLETE+ ProjectsDlpJobsListType_DLPJOBTYPEUNSPECIFIED,+ ProjectsDlpJobsListType_INSPECTJOB,+ ProjectsDlpJobsListType_RISKANALYSISJOB,+ ProjectsDlpJobsListType+ #-}++-- | The type of jobs. Will use @DlpJobType.INSPECT@ if not set.+newtype ProjectsJobTriggersListType = ProjectsJobTriggersListType {fromProjectsJobTriggersListType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Defaults to INSPECT_JOB.+pattern ProjectsJobTriggersListType_DLPJOBTYPEUNSPECIFIED :: ProjectsJobTriggersListType+pattern ProjectsJobTriggersListType_DLPJOBTYPEUNSPECIFIED = ProjectsJobTriggersListType "DLP_JOB_TYPE_UNSPECIFIED"++-- | The job inspected Google Cloud for sensitive data.+pattern ProjectsJobTriggersListType_INSPECTJOB :: ProjectsJobTriggersListType+pattern ProjectsJobTriggersListType_INSPECTJOB = ProjectsJobTriggersListType "INSPECT_JOB"++-- | The job executed a Risk Analysis computation.+pattern ProjectsJobTriggersListType_RISKANALYSISJOB :: ProjectsJobTriggersListType+pattern ProjectsJobTriggersListType_RISKANALYSISJOB = ProjectsJobTriggersListType "RISK_ANALYSIS_JOB"++{-# COMPLETE+ ProjectsJobTriggersListType_DLPJOBTYPEUNSPECIFIED,+ ProjectsJobTriggersListType_INSPECTJOB,+ ProjectsJobTriggersListType_RISKANALYSISJOB,+ ProjectsJobTriggersListType+ #-}++-- | The type of job. Defaults to @DlpJobType.INSPECT@+newtype ProjectsLocationsDlpJobsListType = ProjectsLocationsDlpJobsListType {fromProjectsLocationsDlpJobsListType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Defaults to INSPECT_JOB.+pattern ProjectsLocationsDlpJobsListType_DLPJOBTYPEUNSPECIFIED :: ProjectsLocationsDlpJobsListType+pattern ProjectsLocationsDlpJobsListType_DLPJOBTYPEUNSPECIFIED = ProjectsLocationsDlpJobsListType "DLP_JOB_TYPE_UNSPECIFIED"++-- | The job inspected Google Cloud for sensitive data.+pattern ProjectsLocationsDlpJobsListType_INSPECTJOB :: ProjectsLocationsDlpJobsListType+pattern ProjectsLocationsDlpJobsListType_INSPECTJOB = ProjectsLocationsDlpJobsListType "INSPECT_JOB"++-- | The job executed a Risk Analysis computation.+pattern ProjectsLocationsDlpJobsListType_RISKANALYSISJOB :: ProjectsLocationsDlpJobsListType+pattern ProjectsLocationsDlpJobsListType_RISKANALYSISJOB = ProjectsLocationsDlpJobsListType "RISK_ANALYSIS_JOB"++{-# COMPLETE+ ProjectsLocationsDlpJobsListType_DLPJOBTYPEUNSPECIFIED,+ ProjectsLocationsDlpJobsListType_INSPECTJOB,+ ProjectsLocationsDlpJobsListType_RISKANALYSISJOB,+ ProjectsLocationsDlpJobsListType+ #-}++-- | The type of jobs. Will use @DlpJobType.INSPECT@ if not set.+newtype ProjectsLocationsJobTriggersListType = ProjectsLocationsJobTriggersListType {fromProjectsLocationsJobTriggersListType :: Core.Text}+ deriving stock (Core.Show, Core.Read, Core.Eq, Core.Ord, Core.Generic)+ deriving newtype+ ( Core.Hashable,+ Core.ToHttpApiData,+ Core.FromHttpApiData,+ Core.ToJSON,+ Core.ToJSONKey,+ Core.FromJSON,+ Core.FromJSONKey+ )++-- | Defaults to INSPECT_JOB.+pattern ProjectsLocationsJobTriggersListType_DLPJOBTYPEUNSPECIFIED :: ProjectsLocationsJobTriggersListType+pattern ProjectsLocationsJobTriggersListType_DLPJOBTYPEUNSPECIFIED = ProjectsLocationsJobTriggersListType "DLP_JOB_TYPE_UNSPECIFIED"++-- | The job inspected Google Cloud for sensitive data.+pattern ProjectsLocationsJobTriggersListType_INSPECTJOB :: ProjectsLocationsJobTriggersListType+pattern ProjectsLocationsJobTriggersListType_INSPECTJOB = ProjectsLocationsJobTriggersListType "INSPECT_JOB"++-- | The job executed a Risk Analysis computation.+pattern ProjectsLocationsJobTriggersListType_RISKANALYSISJOB :: ProjectsLocationsJobTriggersListType+pattern ProjectsLocationsJobTriggersListType_RISKANALYSISJOB = ProjectsLocationsJobTriggersListType "RISK_ANALYSIS_JOB"++{-# COMPLETE+ ProjectsLocationsJobTriggersListType_DLPJOBTYPEUNSPECIFIED,+ ProjectsLocationsJobTriggersListType_INSPECTJOB,+ ProjectsLocationsJobTriggersListType_RISKANALYSISJOB,+ ProjectsLocationsJobTriggersListType+ #-}
+ gen/Gogol/DLP/Locations/InfoTypes/List.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Locations.InfoTypes.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Returns a list of the sensitive information types that the DLP API supports. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/infotypes-reference to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.locations.infoTypes.list@.+module Gogol.DLP.Locations.InfoTypes.List+ ( -- * Resource+ DLPLocationsInfoTypesListResource,++ -- ** Constructing a Request+ DLPLocationsInfoTypesList (..),+ newDLPLocationsInfoTypesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.locations.infoTypes.list@ method which the+-- 'DLPLocationsInfoTypesList' request conforms to.+type DLPLocationsInfoTypesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "infoTypes"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "languageCode" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ListInfoTypesResponse++-- | Returns a list of the sensitive information types that the DLP API supports. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/infotypes-reference to learn more.+--+-- /See:/ 'newDLPLocationsInfoTypesList' smart constructor.+data DLPLocationsInfoTypesList = DLPLocationsInfoTypesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | filter to only return infoTypes supported by certain parts of the API. Defaults to supported_by=INSPECT.+ filter :: (Core.Maybe Core.Text),+ -- | BCP-47 language code for localized infoType friendly names. If omitted, or if localized strings are not available, en-US strings will be returned.+ languageCode :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | The parent resource name. The format of this value is as follows: @locations\/{location_id}@+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPLocationsInfoTypesList' with the minimum fields required to make a request.+newDLPLocationsInfoTypesList ::+ -- | The parent resource name. The format of this value is as follows: @locations\/{location_id}@ See 'parent'.+ Core.Text ->+ DLPLocationsInfoTypesList+newDLPLocationsInfoTypesList parent =+ DLPLocationsInfoTypesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ languageCode = Core.Nothing,+ locationId = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPLocationsInfoTypesList where+ type+ Rs DLPLocationsInfoTypesList =+ GooglePrivacyDlpV2ListInfoTypesResponse+ type+ Scopes DLPLocationsInfoTypesList =+ '[CloudPlatform'FullControl]+ requestClient DLPLocationsInfoTypesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ languageCode+ locationId+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPLocationsInfoTypesListResource)+ Core.mempty
+ gen/Gogol/DLP/Organizations/DeidentifyTemplates/Create.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.DeidentifyTemplates.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.deidentifyTemplates.create@.+module Gogol.DLP.Organizations.DeidentifyTemplates.Create+ ( -- * Resource+ DLPOrganizationsDeidentifyTemplatesCreateResource,++ -- ** Constructing a Request+ DLPOrganizationsDeidentifyTemplatesCreate (..),+ newDLPOrganizationsDeidentifyTemplatesCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.deidentifyTemplates.create@ method which the+-- 'DLPOrganizationsDeidentifyTemplatesCreate' request conforms to.+type DLPOrganizationsDeidentifyTemplatesCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "deidentifyTemplates"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2CreateDeidentifyTemplateRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2DeidentifyTemplate++-- | Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPOrganizationsDeidentifyTemplatesCreate' smart constructor.+data DLPOrganizationsDeidentifyTemplatesCreate = DLPOrganizationsDeidentifyTemplatesCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsDeidentifyTemplatesCreate' with the minimum fields required to make a request.+newDLPOrganizationsDeidentifyTemplatesCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateDeidentifyTemplateRequest ->+ DLPOrganizationsDeidentifyTemplatesCreate+newDLPOrganizationsDeidentifyTemplatesCreate parent payload =+ DLPOrganizationsDeidentifyTemplatesCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsDeidentifyTemplatesCreate+ where+ type+ Rs DLPOrganizationsDeidentifyTemplatesCreate =+ GooglePrivacyDlpV2DeidentifyTemplate+ type+ Scopes DLPOrganizationsDeidentifyTemplatesCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsDeidentifyTemplatesCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsDeidentifyTemplatesCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/DeidentifyTemplates/Delete.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.DeidentifyTemplates.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.deidentifyTemplates.delete@.+module Gogol.DLP.Organizations.DeidentifyTemplates.Delete+ ( -- * Resource+ DLPOrganizationsDeidentifyTemplatesDeleteResource,++ -- ** Constructing a Request+ DLPOrganizationsDeidentifyTemplatesDelete (..),+ newDLPOrganizationsDeidentifyTemplatesDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.deidentifyTemplates.delete@ method which the+-- 'DLPOrganizationsDeidentifyTemplatesDelete' request conforms to.+type DLPOrganizationsDeidentifyTemplatesDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes a DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPOrganizationsDeidentifyTemplatesDelete' smart constructor.+data DLPOrganizationsDeidentifyTemplatesDelete = DLPOrganizationsDeidentifyTemplatesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and deidentify template to be deleted, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsDeidentifyTemplatesDelete' with the minimum fields required to make a request.+newDLPOrganizationsDeidentifyTemplatesDelete ::+ -- | Required. Resource name of the organization and deidentify template to be deleted, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342. See 'name'.+ Core.Text ->+ DLPOrganizationsDeidentifyTemplatesDelete+newDLPOrganizationsDeidentifyTemplatesDelete name =+ DLPOrganizationsDeidentifyTemplatesDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsDeidentifyTemplatesDelete+ where+ type+ Rs DLPOrganizationsDeidentifyTemplatesDelete =+ GoogleProtobufEmpty+ type+ Scopes DLPOrganizationsDeidentifyTemplatesDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsDeidentifyTemplatesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsDeidentifyTemplatesDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/DeidentifyTemplates/Get.hs view
@@ -0,0 +1,113 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.DeidentifyTemplates.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.deidentifyTemplates.get@.+module Gogol.DLP.Organizations.DeidentifyTemplates.Get+ ( -- * Resource+ DLPOrganizationsDeidentifyTemplatesGetResource,++ -- ** Constructing a Request+ DLPOrganizationsDeidentifyTemplatesGet (..),+ newDLPOrganizationsDeidentifyTemplatesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.deidentifyTemplates.get@ method which the+-- 'DLPOrganizationsDeidentifyTemplatesGet' request conforms to.+type DLPOrganizationsDeidentifyTemplatesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2DeidentifyTemplate++-- | Gets a DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPOrganizationsDeidentifyTemplatesGet' smart constructor.+data DLPOrganizationsDeidentifyTemplatesGet = DLPOrganizationsDeidentifyTemplatesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and deidentify template to be read, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsDeidentifyTemplatesGet' with the minimum fields required to make a request.+newDLPOrganizationsDeidentifyTemplatesGet ::+ -- | Required. Resource name of the organization and deidentify template to be read, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342. See 'name'.+ Core.Text ->+ DLPOrganizationsDeidentifyTemplatesGet+newDLPOrganizationsDeidentifyTemplatesGet name =+ DLPOrganizationsDeidentifyTemplatesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPOrganizationsDeidentifyTemplatesGet where+ type+ Rs DLPOrganizationsDeidentifyTemplatesGet =+ GooglePrivacyDlpV2DeidentifyTemplate+ type+ Scopes DLPOrganizationsDeidentifyTemplatesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsDeidentifyTemplatesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsDeidentifyTemplatesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/DeidentifyTemplates/List.hs view
@@ -0,0 +1,136 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.DeidentifyTemplates.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists DeidentifyTemplates. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.deidentifyTemplates.list@.+module Gogol.DLP.Organizations.DeidentifyTemplates.List+ ( -- * Resource+ DLPOrganizationsDeidentifyTemplatesListResource,++ -- ** Constructing a Request+ DLPOrganizationsDeidentifyTemplatesList (..),+ newDLPOrganizationsDeidentifyTemplatesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.deidentifyTemplates.list@ method which the+-- 'DLPOrganizationsDeidentifyTemplatesList' request conforms to.+type DLPOrganizationsDeidentifyTemplatesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "deidentifyTemplates"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListDeidentifyTemplatesResponse++-- | Lists DeidentifyTemplates. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPOrganizationsDeidentifyTemplatesList' smart constructor.+data DLPOrganizationsDeidentifyTemplatesList = DLPOrganizationsDeidentifyTemplatesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc,update_time, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the template was created. - @update_time@: corresponds to the time the template was last updated. - @name@: corresponds to the template\'s name. - @display_name@: corresponds to the template\'s display name.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to @ListDeidentifyTemplates@.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsDeidentifyTemplatesList' with the minimum fields required to make a request.+newDLPOrganizationsDeidentifyTemplatesList ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPOrganizationsDeidentifyTemplatesList+newDLPOrganizationsDeidentifyTemplatesList parent =+ DLPOrganizationsDeidentifyTemplatesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPOrganizationsDeidentifyTemplatesList where+ type+ Rs DLPOrganizationsDeidentifyTemplatesList =+ GooglePrivacyDlpV2ListDeidentifyTemplatesResponse+ type+ Scopes DLPOrganizationsDeidentifyTemplatesList =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsDeidentifyTemplatesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ locationId+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsDeidentifyTemplatesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/DeidentifyTemplates/Patch.hs view
@@ -0,0 +1,125 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.DeidentifyTemplates.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.deidentifyTemplates.patch@.+module Gogol.DLP.Organizations.DeidentifyTemplates.Patch+ ( -- * Resource+ DLPOrganizationsDeidentifyTemplatesPatchResource,++ -- ** Constructing a Request+ DLPOrganizationsDeidentifyTemplatesPatch (..),+ newDLPOrganizationsDeidentifyTemplatesPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.deidentifyTemplates.patch@ method which the+-- 'DLPOrganizationsDeidentifyTemplatesPatch' request conforms to.+type DLPOrganizationsDeidentifyTemplatesPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2DeidentifyTemplate++-- | Updates the DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPOrganizationsDeidentifyTemplatesPatch' smart constructor.+data DLPOrganizationsDeidentifyTemplatesPatch = DLPOrganizationsDeidentifyTemplatesPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of organization and deidentify template to be updated, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsDeidentifyTemplatesPatch' with the minimum fields required to make a request.+newDLPOrganizationsDeidentifyTemplatesPatch ::+ -- | Required. Resource name of organization and deidentify template to be updated, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest ->+ DLPOrganizationsDeidentifyTemplatesPatch+newDLPOrganizationsDeidentifyTemplatesPatch name payload =+ DLPOrganizationsDeidentifyTemplatesPatch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsDeidentifyTemplatesPatch+ where+ type+ Rs DLPOrganizationsDeidentifyTemplatesPatch =+ GooglePrivacyDlpV2DeidentifyTemplate+ type+ Scopes DLPOrganizationsDeidentifyTemplatesPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsDeidentifyTemplatesPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsDeidentifyTemplatesPatchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/InspectTemplates/Create.hs view
@@ -0,0 +1,123 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.InspectTemplates.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.inspectTemplates.create@.+module Gogol.DLP.Organizations.InspectTemplates.Create+ ( -- * Resource+ DLPOrganizationsInspectTemplatesCreateResource,++ -- ** Constructing a Request+ DLPOrganizationsInspectTemplatesCreate (..),+ newDLPOrganizationsInspectTemplatesCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.inspectTemplates.create@ method which the+-- 'DLPOrganizationsInspectTemplatesCreate' request conforms to.+type DLPOrganizationsInspectTemplatesCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "inspectTemplates"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2CreateInspectTemplateRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2InspectTemplate++-- | Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPOrganizationsInspectTemplatesCreate' smart constructor.+data DLPOrganizationsInspectTemplatesCreate = DLPOrganizationsInspectTemplatesCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateInspectTemplateRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsInspectTemplatesCreate' with the minimum fields required to make a request.+newDLPOrganizationsInspectTemplatesCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateInspectTemplateRequest ->+ DLPOrganizationsInspectTemplatesCreate+newDLPOrganizationsInspectTemplatesCreate parent payload =+ DLPOrganizationsInspectTemplatesCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPOrganizationsInspectTemplatesCreate where+ type+ Rs DLPOrganizationsInspectTemplatesCreate =+ GooglePrivacyDlpV2InspectTemplate+ type+ Scopes DLPOrganizationsInspectTemplatesCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsInspectTemplatesCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsInspectTemplatesCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/InspectTemplates/Delete.hs view
@@ -0,0 +1,113 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.InspectTemplates.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes an InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.inspectTemplates.delete@.+module Gogol.DLP.Organizations.InspectTemplates.Delete+ ( -- * Resource+ DLPOrganizationsInspectTemplatesDeleteResource,++ -- ** Constructing a Request+ DLPOrganizationsInspectTemplatesDelete (..),+ newDLPOrganizationsInspectTemplatesDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.inspectTemplates.delete@ method which the+-- 'DLPOrganizationsInspectTemplatesDelete' request conforms to.+type DLPOrganizationsInspectTemplatesDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes an InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPOrganizationsInspectTemplatesDelete' smart constructor.+data DLPOrganizationsInspectTemplatesDelete = DLPOrganizationsInspectTemplatesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and inspectTemplate to be deleted, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsInspectTemplatesDelete' with the minimum fields required to make a request.+newDLPOrganizationsInspectTemplatesDelete ::+ -- | Required. Resource name of the organization and inspectTemplate to be deleted, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342. See 'name'.+ Core.Text ->+ DLPOrganizationsInspectTemplatesDelete+newDLPOrganizationsInspectTemplatesDelete name =+ DLPOrganizationsInspectTemplatesDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPOrganizationsInspectTemplatesDelete where+ type+ Rs DLPOrganizationsInspectTemplatesDelete =+ GoogleProtobufEmpty+ type+ Scopes DLPOrganizationsInspectTemplatesDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsInspectTemplatesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsInspectTemplatesDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/InspectTemplates/Get.hs view
@@ -0,0 +1,113 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.InspectTemplates.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets an InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.inspectTemplates.get@.+module Gogol.DLP.Organizations.InspectTemplates.Get+ ( -- * Resource+ DLPOrganizationsInspectTemplatesGetResource,++ -- ** Constructing a Request+ DLPOrganizationsInspectTemplatesGet (..),+ newDLPOrganizationsInspectTemplatesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.inspectTemplates.get@ method which the+-- 'DLPOrganizationsInspectTemplatesGet' request conforms to.+type DLPOrganizationsInspectTemplatesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2InspectTemplate++-- | Gets an InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPOrganizationsInspectTemplatesGet' smart constructor.+data DLPOrganizationsInspectTemplatesGet = DLPOrganizationsInspectTemplatesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and inspectTemplate to be read, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsInspectTemplatesGet' with the minimum fields required to make a request.+newDLPOrganizationsInspectTemplatesGet ::+ -- | Required. Resource name of the organization and inspectTemplate to be read, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342. See 'name'.+ Core.Text ->+ DLPOrganizationsInspectTemplatesGet+newDLPOrganizationsInspectTemplatesGet name =+ DLPOrganizationsInspectTemplatesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPOrganizationsInspectTemplatesGet where+ type+ Rs DLPOrganizationsInspectTemplatesGet =+ GooglePrivacyDlpV2InspectTemplate+ type+ Scopes DLPOrganizationsInspectTemplatesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsInspectTemplatesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsInspectTemplatesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/InspectTemplates/List.hs view
@@ -0,0 +1,136 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.InspectTemplates.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists InspectTemplates. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.inspectTemplates.list@.+module Gogol.DLP.Organizations.InspectTemplates.List+ ( -- * Resource+ DLPOrganizationsInspectTemplatesListResource,++ -- ** Constructing a Request+ DLPOrganizationsInspectTemplatesList (..),+ newDLPOrganizationsInspectTemplatesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.inspectTemplates.list@ method which the+-- 'DLPOrganizationsInspectTemplatesList' request conforms to.+type DLPOrganizationsInspectTemplatesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "inspectTemplates"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListInspectTemplatesResponse++-- | Lists InspectTemplates. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPOrganizationsInspectTemplatesList' smart constructor.+data DLPOrganizationsInspectTemplatesList = DLPOrganizationsInspectTemplatesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc,update_time, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the template was created. - @update_time@: corresponds to the time the template was last updated. - @name@: corresponds to the template\'s name. - @display_name@: corresponds to the template\'s display name.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to @ListInspectTemplates@.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsInspectTemplatesList' with the minimum fields required to make a request.+newDLPOrganizationsInspectTemplatesList ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPOrganizationsInspectTemplatesList+newDLPOrganizationsInspectTemplatesList parent =+ DLPOrganizationsInspectTemplatesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPOrganizationsInspectTemplatesList where+ type+ Rs DLPOrganizationsInspectTemplatesList =+ GooglePrivacyDlpV2ListInspectTemplatesResponse+ type+ Scopes DLPOrganizationsInspectTemplatesList =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsInspectTemplatesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ locationId+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsInspectTemplatesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/InspectTemplates/Patch.hs view
@@ -0,0 +1,122 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.InspectTemplates.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.inspectTemplates.patch@.+module Gogol.DLP.Organizations.InspectTemplates.Patch+ ( -- * Resource+ DLPOrganizationsInspectTemplatesPatchResource,++ -- ** Constructing a Request+ DLPOrganizationsInspectTemplatesPatch (..),+ newDLPOrganizationsInspectTemplatesPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.inspectTemplates.patch@ method which the+-- 'DLPOrganizationsInspectTemplatesPatch' request conforms to.+type DLPOrganizationsInspectTemplatesPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2UpdateInspectTemplateRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2InspectTemplate++-- | Updates the InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPOrganizationsInspectTemplatesPatch' smart constructor.+data DLPOrganizationsInspectTemplatesPatch = DLPOrganizationsInspectTemplatesPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of organization and inspectTemplate to be updated, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateInspectTemplateRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsInspectTemplatesPatch' with the minimum fields required to make a request.+newDLPOrganizationsInspectTemplatesPatch ::+ -- | Required. Resource name of organization and inspectTemplate to be updated, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateInspectTemplateRequest ->+ DLPOrganizationsInspectTemplatesPatch+newDLPOrganizationsInspectTemplatesPatch name payload =+ DLPOrganizationsInspectTemplatesPatch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPOrganizationsInspectTemplatesPatch where+ type+ Rs DLPOrganizationsInspectTemplatesPatch =+ GooglePrivacyDlpV2InspectTemplate+ type+ Scopes DLPOrganizationsInspectTemplatesPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsInspectTemplatesPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsInspectTemplatesPatchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/ColumnDataProfiles/Get.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.ColumnDataProfiles.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a column data profile.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.columnDataProfiles.get@.+module Gogol.DLP.Organizations.Locations.ColumnDataProfiles.Get+ ( -- * Resource+ DLPOrganizationsLocationsColumnDataProfilesGetResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsColumnDataProfilesGet (..),+ newDLPOrganizationsLocationsColumnDataProfilesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.columnDataProfiles.get@ method which the+-- 'DLPOrganizationsLocationsColumnDataProfilesGet' request conforms to.+type DLPOrganizationsLocationsColumnDataProfilesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ColumnDataProfile++-- | Gets a column data profile.+--+-- /See:/ 'newDLPOrganizationsLocationsColumnDataProfilesGet' smart constructor.+data DLPOrganizationsLocationsColumnDataProfilesGet = DLPOrganizationsLocationsColumnDataProfilesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name, for example @organizations\/12345\/locations\/us\/columnDataProfiles\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsColumnDataProfilesGet' with the minimum fields required to make a request.+newDLPOrganizationsLocationsColumnDataProfilesGet ::+ -- | Required. Resource name, for example @organizations\/12345\/locations\/us\/columnDataProfiles\/53234423@. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsColumnDataProfilesGet+newDLPOrganizationsLocationsColumnDataProfilesGet name =+ DLPOrganizationsLocationsColumnDataProfilesGet+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsColumnDataProfilesGet+ where+ type+ Rs DLPOrganizationsLocationsColumnDataProfilesGet =+ GooglePrivacyDlpV2ColumnDataProfile+ type+ Scopes DLPOrganizationsLocationsColumnDataProfilesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsColumnDataProfilesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsColumnDataProfilesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/ColumnDataProfiles/List.hs view
@@ -0,0 +1,141 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.ColumnDataProfiles.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists column data profiles for an organization.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.columnDataProfiles.list@.+module Gogol.DLP.Organizations.Locations.ColumnDataProfiles.List+ ( -- * Resource+ DLPOrganizationsLocationsColumnDataProfilesListResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsColumnDataProfilesList (..),+ newDLPOrganizationsLocationsColumnDataProfilesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.columnDataProfiles.list@ method which the+-- 'DLPOrganizationsLocationsColumnDataProfilesList' request conforms to.+type DLPOrganizationsLocationsColumnDataProfilesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "columnDataProfiles"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListColumnDataProfilesResponse++-- | Lists column data profiles for an organization.+--+-- /See:/ 'newDLPOrganizationsLocationsColumnDataProfilesList' smart constructor.+data DLPOrganizationsLocationsColumnDataProfilesList = DLPOrganizationsLocationsColumnDataProfilesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by @AND@ or @OR@ logical operators. A sequence of restrictions implicitly uses @AND@. * A restriction has the form of @{field} {operator} {value}@. * Supported fields\/values: - @table_data_profile_name@ - The name of the related table data profile. - @project_id@ - The Google Cloud project ID. (REQUIRED) - @dataset_id@ - The BigQuery dataset ID. (REQUIRED) - @table_id@ - The BigQuery table ID. (REQUIRED) - @field_id@ - The ID of the BigQuery field. - @info_type@ - The infotype detected in the resource. - @sensitivity_level@ - HIGH|MEDIUM|LOW - @data_risk_level@: How much risk is associated with this data. - @status_code@ - an RPC status code as defined in https:\/\/github.com\/googleapis\/googleapis\/blob\/master\/google\/rpc\/code.proto * The operator must be @=@ for project/id, dataset/id, and table/id. Other filters also support @!=@. Examples: * project/id = 12345 AND+ -- status/code = 1 * project/id = 12345 AND sensitivity/level = HIGH * project/id = 12345 AND info/type = STREET/ADDRESS The length of this field should be no more than 500 characters.+ filter :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * @project_id asc@ * @table_id@ * @sensitivity_level desc@ Supported fields are: - @project_id@: The Google Cloud project ID. - @dataset_id@: The ID of a BigQuery dataset. - @table_id@: The ID of a BigQuery table. - @sensitivity_level@: How sensitive the data in a column is, at most. - @data_risk_level@: How much risk is associated with this data. - @profile_last_generated@: When the profile was last updated in epoch seconds.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization or project, for example @organizations\/433245324\/locations\/europe@ or @projects\/project-id\/locations\/asia@.+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsColumnDataProfilesList' with the minimum fields required to make a request.+newDLPOrganizationsLocationsColumnDataProfilesList ::+ -- | Required. Resource name of the organization or project, for example @organizations\/433245324\/locations\/europe@ or @projects\/project-id\/locations\/asia@. See 'parent'.+ Core.Text ->+ DLPOrganizationsLocationsColumnDataProfilesList+newDLPOrganizationsLocationsColumnDataProfilesList parent =+ DLPOrganizationsLocationsColumnDataProfilesList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsColumnDataProfilesList+ where+ type+ Rs DLPOrganizationsLocationsColumnDataProfilesList =+ GooglePrivacyDlpV2ListColumnDataProfilesResponse+ type+ Scopes DLPOrganizationsLocationsColumnDataProfilesList =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsColumnDataProfilesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsColumnDataProfilesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/Connections/Create.hs view
@@ -0,0 +1,124 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.Connections.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Create a Connection to an external data source.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.connections.create@.+module Gogol.DLP.Organizations.Locations.Connections.Create+ ( -- * Resource+ DLPOrganizationsLocationsConnectionsCreateResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsConnectionsCreate (..),+ newDLPOrganizationsLocationsConnectionsCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.connections.create@ method which the+-- 'DLPOrganizationsLocationsConnectionsCreate' request conforms to.+type DLPOrganizationsLocationsConnectionsCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "connections"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2CreateConnectionRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2Connection++-- | Create a Connection to an external data source.+--+-- /See:/ 'newDLPOrganizationsLocationsConnectionsCreate' smart constructor.+data DLPOrganizationsLocationsConnectionsCreate = DLPOrganizationsLocationsConnectionsCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization): + Projects scope: @projects\/{project_id}\/locations\/{location_id}@ + Organizations scope: @organizations\/{org_id}\/locations\/{location_id}@+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateConnectionRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsConnectionsCreate' with the minimum fields required to make a request.+newDLPOrganizationsLocationsConnectionsCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization): + Projects scope: @projects\/{project_id}\/locations\/{location_id}@ + Organizations scope: @organizations\/{org_id}\/locations\/{location_id}@ See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateConnectionRequest ->+ DLPOrganizationsLocationsConnectionsCreate+newDLPOrganizationsLocationsConnectionsCreate parent payload =+ DLPOrganizationsLocationsConnectionsCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsConnectionsCreate+ where+ type+ Rs DLPOrganizationsLocationsConnectionsCreate =+ GooglePrivacyDlpV2Connection+ type+ Scopes DLPOrganizationsLocationsConnectionsCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsConnectionsCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsConnectionsCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/Connections/Delete.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.Connections.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Delete a Connection.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.connections.delete@.+module Gogol.DLP.Organizations.Locations.Connections.Delete+ ( -- * Resource+ DLPOrganizationsLocationsConnectionsDeleteResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsConnectionsDelete (..),+ newDLPOrganizationsLocationsConnectionsDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.connections.delete@ method which the+-- 'DLPOrganizationsLocationsConnectionsDelete' request conforms to.+type DLPOrganizationsLocationsConnectionsDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Delete a Connection.+--+-- /See:/ 'newDLPOrganizationsLocationsConnectionsDelete' smart constructor.+data DLPOrganizationsLocationsConnectionsDelete = DLPOrganizationsLocationsConnectionsDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the Connection to be deleted, in the format: @projects\/{project}\/locations\/{location}\/connections\/{connection}@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsConnectionsDelete' with the minimum fields required to make a request.+newDLPOrganizationsLocationsConnectionsDelete ::+ -- | Required. Resource name of the Connection to be deleted, in the format: @projects\/{project}\/locations\/{location}\/connections\/{connection}@. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsConnectionsDelete+newDLPOrganizationsLocationsConnectionsDelete name =+ DLPOrganizationsLocationsConnectionsDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsConnectionsDelete+ where+ type+ Rs DLPOrganizationsLocationsConnectionsDelete =+ GoogleProtobufEmpty+ type+ Scopes DLPOrganizationsLocationsConnectionsDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsConnectionsDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsConnectionsDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/Connections/Get.hs view
@@ -0,0 +1,113 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.Connections.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Get a Connection by name.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.connections.get@.+module Gogol.DLP.Organizations.Locations.Connections.Get+ ( -- * Resource+ DLPOrganizationsLocationsConnectionsGetResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsConnectionsGet (..),+ newDLPOrganizationsLocationsConnectionsGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.connections.get@ method which the+-- 'DLPOrganizationsLocationsConnectionsGet' request conforms to.+type DLPOrganizationsLocationsConnectionsGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2Connection++-- | Get a Connection by name.+--+-- /See:/ 'newDLPOrganizationsLocationsConnectionsGet' smart constructor.+data DLPOrganizationsLocationsConnectionsGet = DLPOrganizationsLocationsConnectionsGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name in the format: @projects\/{project}\/locations\/{location}\/connections\/{connection}@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsConnectionsGet' with the minimum fields required to make a request.+newDLPOrganizationsLocationsConnectionsGet ::+ -- | Required. Resource name in the format: @projects\/{project}\/locations\/{location}\/connections\/{connection}@. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsConnectionsGet+newDLPOrganizationsLocationsConnectionsGet name =+ DLPOrganizationsLocationsConnectionsGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPOrganizationsLocationsConnectionsGet where+ type+ Rs DLPOrganizationsLocationsConnectionsGet =+ GooglePrivacyDlpV2Connection+ type+ Scopes DLPOrganizationsLocationsConnectionsGet =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsConnectionsGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsConnectionsGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/Connections/List.hs view
@@ -0,0 +1,132 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.Connections.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists Connections in a parent. Use SearchConnections to see all connections within an organization.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.connections.list@.+module Gogol.DLP.Organizations.Locations.Connections.List+ ( -- * Resource+ DLPOrganizationsLocationsConnectionsListResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsConnectionsList (..),+ newDLPOrganizationsLocationsConnectionsList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.connections.list@ method which the+-- 'DLPOrganizationsLocationsConnectionsList' request conforms to.+type DLPOrganizationsLocationsConnectionsListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "connections"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ListConnectionsResponse++-- | Lists Connections in a parent. Use SearchConnections to see all connections within an organization.+--+-- /See:/ 'newDLPOrganizationsLocationsConnectionsList' smart constructor.+data DLPOrganizationsLocationsConnectionsList = DLPOrganizationsLocationsConnectionsList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Optional. Supported field\/value: @state@ - MISSING|AVAILABLE|ERROR+ filter :: (Core.Maybe Core.Text),+ -- | Optional. Number of results per page, max 1000.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Optional. Page token from a previous page to return the next set of results. If set, all other request fields must match the original request.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization or project, for example, @organizations\/433245324\/locations\/europe@ or @projects\/project-id\/locations\/asia@.+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsConnectionsList' with the minimum fields required to make a request.+newDLPOrganizationsLocationsConnectionsList ::+ -- | Required. Resource name of the organization or project, for example, @organizations\/433245324\/locations\/europe@ or @projects\/project-id\/locations\/asia@. See 'parent'.+ Core.Text ->+ DLPOrganizationsLocationsConnectionsList+newDLPOrganizationsLocationsConnectionsList parent =+ DLPOrganizationsLocationsConnectionsList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsConnectionsList+ where+ type+ Rs DLPOrganizationsLocationsConnectionsList =+ GooglePrivacyDlpV2ListConnectionsResponse+ type+ Scopes DLPOrganizationsLocationsConnectionsList =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsConnectionsList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsConnectionsListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/Connections/Patch.hs view
@@ -0,0 +1,123 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.Connections.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Update a Connection.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.connections.patch@.+module Gogol.DLP.Organizations.Locations.Connections.Patch+ ( -- * Resource+ DLPOrganizationsLocationsConnectionsPatchResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsConnectionsPatch (..),+ newDLPOrganizationsLocationsConnectionsPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.connections.patch@ method which the+-- 'DLPOrganizationsLocationsConnectionsPatch' request conforms to.+type DLPOrganizationsLocationsConnectionsPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2UpdateConnectionRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2Connection++-- | Update a Connection.+--+-- /See:/ 'newDLPOrganizationsLocationsConnectionsPatch' smart constructor.+data DLPOrganizationsLocationsConnectionsPatch = DLPOrganizationsLocationsConnectionsPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name in the format: @projects\/{project}\/locations\/{location}\/connections\/{connection}@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateConnectionRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsConnectionsPatch' with the minimum fields required to make a request.+newDLPOrganizationsLocationsConnectionsPatch ::+ -- | Required. Resource name in the format: @projects\/{project}\/locations\/{location}\/connections\/{connection}@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateConnectionRequest ->+ DLPOrganizationsLocationsConnectionsPatch+newDLPOrganizationsLocationsConnectionsPatch name payload =+ DLPOrganizationsLocationsConnectionsPatch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsConnectionsPatch+ where+ type+ Rs DLPOrganizationsLocationsConnectionsPatch =+ GooglePrivacyDlpV2Connection+ type+ Scopes DLPOrganizationsLocationsConnectionsPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsConnectionsPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsConnectionsPatchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/Connections/Search.hs view
@@ -0,0 +1,132 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.Connections.Search+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Searches for Connections in a parent.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.connections.search@.+module Gogol.DLP.Organizations.Locations.Connections.Search+ ( -- * Resource+ DLPOrganizationsLocationsConnectionsSearchResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsConnectionsSearch (..),+ newDLPOrganizationsLocationsConnectionsSearch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.connections.search@ method which the+-- 'DLPOrganizationsLocationsConnectionsSearch' request conforms to.+type DLPOrganizationsLocationsConnectionsSearchResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "connections:search"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2SearchConnectionsResponse++-- | Searches for Connections in a parent.+--+-- /See:/ 'newDLPOrganizationsLocationsConnectionsSearch' smart constructor.+data DLPOrganizationsLocationsConnectionsSearch = DLPOrganizationsLocationsConnectionsSearch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Optional. Supported field\/value: - @state@ - MISSING|AVAILABLE|ERROR+ filter :: (Core.Maybe Core.Text),+ -- | Optional. Number of results per page, max 1000.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Optional. Page token from a previous page to return the next set of results. If set, all other request fields must match the original request.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization or project with a wildcard location, for example, @organizations\/433245324\/locations\/-@ or @projects\/project-id\/locations\/-@.+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsConnectionsSearch' with the minimum fields required to make a request.+newDLPOrganizationsLocationsConnectionsSearch ::+ -- | Required. Resource name of the organization or project with a wildcard location, for example, @organizations\/433245324\/locations\/-@ or @projects\/project-id\/locations\/-@. See 'parent'.+ Core.Text ->+ DLPOrganizationsLocationsConnectionsSearch+newDLPOrganizationsLocationsConnectionsSearch parent =+ DLPOrganizationsLocationsConnectionsSearch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsConnectionsSearch+ where+ type+ Rs DLPOrganizationsLocationsConnectionsSearch =+ GooglePrivacyDlpV2SearchConnectionsResponse+ type+ Scopes DLPOrganizationsLocationsConnectionsSearch =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsConnectionsSearch {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsConnectionsSearchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/DeidentifyTemplates/Create.hs view
@@ -0,0 +1,131 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.DeidentifyTemplates.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.deidentifyTemplates.create@.+module Gogol.DLP.Organizations.Locations.DeidentifyTemplates.Create+ ( -- * Resource+ DLPOrganizationsLocationsDeidentifyTemplatesCreateResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsDeidentifyTemplatesCreate (..),+ newDLPOrganizationsLocationsDeidentifyTemplatesCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.deidentifyTemplates.create@ method which the+-- 'DLPOrganizationsLocationsDeidentifyTemplatesCreate' request conforms to.+type DLPOrganizationsLocationsDeidentifyTemplatesCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "deidentifyTemplates"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2CreateDeidentifyTemplateRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2DeidentifyTemplate++-- | Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsDeidentifyTemplatesCreate' smart constructor.+data DLPOrganizationsLocationsDeidentifyTemplatesCreate = DLPOrganizationsLocationsDeidentifyTemplatesCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsDeidentifyTemplatesCreate' with the minimum fields required to make a request.+newDLPOrganizationsLocationsDeidentifyTemplatesCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateDeidentifyTemplateRequest ->+ DLPOrganizationsLocationsDeidentifyTemplatesCreate+newDLPOrganizationsLocationsDeidentifyTemplatesCreate+ parent+ payload =+ DLPOrganizationsLocationsDeidentifyTemplatesCreate+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsDeidentifyTemplatesCreate+ where+ type+ Rs DLPOrganizationsLocationsDeidentifyTemplatesCreate =+ GooglePrivacyDlpV2DeidentifyTemplate+ type+ Scopes DLPOrganizationsLocationsDeidentifyTemplatesCreate =+ '[CloudPlatform'FullControl]+ requestClient+ DLPOrganizationsLocationsDeidentifyTemplatesCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ DLPOrganizationsLocationsDeidentifyTemplatesCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/DeidentifyTemplates/Delete.hs view
@@ -0,0 +1,119 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.DeidentifyTemplates.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.deidentifyTemplates.delete@.+module Gogol.DLP.Organizations.Locations.DeidentifyTemplates.Delete+ ( -- * Resource+ DLPOrganizationsLocationsDeidentifyTemplatesDeleteResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsDeidentifyTemplatesDelete (..),+ newDLPOrganizationsLocationsDeidentifyTemplatesDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.deidentifyTemplates.delete@ method which the+-- 'DLPOrganizationsLocationsDeidentifyTemplatesDelete' request conforms to.+type DLPOrganizationsLocationsDeidentifyTemplatesDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes a DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsDeidentifyTemplatesDelete' smart constructor.+data DLPOrganizationsLocationsDeidentifyTemplatesDelete = DLPOrganizationsLocationsDeidentifyTemplatesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and deidentify template to be deleted, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsDeidentifyTemplatesDelete' with the minimum fields required to make a request.+newDLPOrganizationsLocationsDeidentifyTemplatesDelete ::+ -- | Required. Resource name of the organization and deidentify template to be deleted, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsDeidentifyTemplatesDelete+newDLPOrganizationsLocationsDeidentifyTemplatesDelete name =+ DLPOrganizationsLocationsDeidentifyTemplatesDelete+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsDeidentifyTemplatesDelete+ where+ type+ Rs DLPOrganizationsLocationsDeidentifyTemplatesDelete =+ GoogleProtobufEmpty+ type+ Scopes DLPOrganizationsLocationsDeidentifyTemplatesDelete =+ '[CloudPlatform'FullControl]+ requestClient+ DLPOrganizationsLocationsDeidentifyTemplatesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ DLPOrganizationsLocationsDeidentifyTemplatesDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/DeidentifyTemplates/Get.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.DeidentifyTemplates.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.deidentifyTemplates.get@.+module Gogol.DLP.Organizations.Locations.DeidentifyTemplates.Get+ ( -- * Resource+ DLPOrganizationsLocationsDeidentifyTemplatesGetResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsDeidentifyTemplatesGet (..),+ newDLPOrganizationsLocationsDeidentifyTemplatesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.deidentifyTemplates.get@ method which the+-- 'DLPOrganizationsLocationsDeidentifyTemplatesGet' request conforms to.+type DLPOrganizationsLocationsDeidentifyTemplatesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2DeidentifyTemplate++-- | Gets a DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsDeidentifyTemplatesGet' smart constructor.+data DLPOrganizationsLocationsDeidentifyTemplatesGet = DLPOrganizationsLocationsDeidentifyTemplatesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and deidentify template to be read, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsDeidentifyTemplatesGet' with the minimum fields required to make a request.+newDLPOrganizationsLocationsDeidentifyTemplatesGet ::+ -- | Required. Resource name of the organization and deidentify template to be read, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsDeidentifyTemplatesGet+newDLPOrganizationsLocationsDeidentifyTemplatesGet name =+ DLPOrganizationsLocationsDeidentifyTemplatesGet+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsDeidentifyTemplatesGet+ where+ type+ Rs DLPOrganizationsLocationsDeidentifyTemplatesGet =+ GooglePrivacyDlpV2DeidentifyTemplate+ type+ Scopes DLPOrganizationsLocationsDeidentifyTemplatesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsDeidentifyTemplatesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsDeidentifyTemplatesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/DeidentifyTemplates/List.hs view
@@ -0,0 +1,141 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.DeidentifyTemplates.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists DeidentifyTemplates. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.deidentifyTemplates.list@.+module Gogol.DLP.Organizations.Locations.DeidentifyTemplates.List+ ( -- * Resource+ DLPOrganizationsLocationsDeidentifyTemplatesListResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsDeidentifyTemplatesList (..),+ newDLPOrganizationsLocationsDeidentifyTemplatesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.deidentifyTemplates.list@ method which the+-- 'DLPOrganizationsLocationsDeidentifyTemplatesList' request conforms to.+type DLPOrganizationsLocationsDeidentifyTemplatesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "deidentifyTemplates"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListDeidentifyTemplatesResponse++-- | Lists DeidentifyTemplates. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsDeidentifyTemplatesList' smart constructor.+data DLPOrganizationsLocationsDeidentifyTemplatesList = DLPOrganizationsLocationsDeidentifyTemplatesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc,update_time, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the template was created. - @update_time@: corresponds to the time the template was last updated. - @name@: corresponds to the template\'s name. - @display_name@: corresponds to the template\'s display name.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to @ListDeidentifyTemplates@.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsDeidentifyTemplatesList' with the minimum fields required to make a request.+newDLPOrganizationsLocationsDeidentifyTemplatesList ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPOrganizationsLocationsDeidentifyTemplatesList+newDLPOrganizationsLocationsDeidentifyTemplatesList parent =+ DLPOrganizationsLocationsDeidentifyTemplatesList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsDeidentifyTemplatesList+ where+ type+ Rs DLPOrganizationsLocationsDeidentifyTemplatesList =+ GooglePrivacyDlpV2ListDeidentifyTemplatesResponse+ type+ Scopes DLPOrganizationsLocationsDeidentifyTemplatesList =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsDeidentifyTemplatesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ locationId+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ DLPOrganizationsLocationsDeidentifyTemplatesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/DeidentifyTemplates/Patch.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.DeidentifyTemplates.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.deidentifyTemplates.patch@.+module Gogol.DLP.Organizations.Locations.DeidentifyTemplates.Patch+ ( -- * Resource+ DLPOrganizationsLocationsDeidentifyTemplatesPatchResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsDeidentifyTemplatesPatch (..),+ newDLPOrganizationsLocationsDeidentifyTemplatesPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.deidentifyTemplates.patch@ method which the+-- 'DLPOrganizationsLocationsDeidentifyTemplatesPatch' request conforms to.+type DLPOrganizationsLocationsDeidentifyTemplatesPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2DeidentifyTemplate++-- | Updates the DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsDeidentifyTemplatesPatch' smart constructor.+data DLPOrganizationsLocationsDeidentifyTemplatesPatch = DLPOrganizationsLocationsDeidentifyTemplatesPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of organization and deidentify template to be updated, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsDeidentifyTemplatesPatch' with the minimum fields required to make a request.+newDLPOrganizationsLocationsDeidentifyTemplatesPatch ::+ -- | Required. Resource name of organization and deidentify template to be updated, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest ->+ DLPOrganizationsLocationsDeidentifyTemplatesPatch+newDLPOrganizationsLocationsDeidentifyTemplatesPatch name payload =+ DLPOrganizationsLocationsDeidentifyTemplatesPatch+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsDeidentifyTemplatesPatch+ where+ type+ Rs DLPOrganizationsLocationsDeidentifyTemplatesPatch =+ GooglePrivacyDlpV2DeidentifyTemplate+ type+ Scopes DLPOrganizationsLocationsDeidentifyTemplatesPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsDeidentifyTemplatesPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ DLPOrganizationsLocationsDeidentifyTemplatesPatchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/DiscoveryConfigs/Create.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.DiscoveryConfigs.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a config for discovery to scan and profile storage.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.discoveryConfigs.create@.+module Gogol.DLP.Organizations.Locations.DiscoveryConfigs.Create+ ( -- * Resource+ DLPOrganizationsLocationsDiscoveryConfigsCreateResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsDiscoveryConfigsCreate (..),+ newDLPOrganizationsLocationsDiscoveryConfigsCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.discoveryConfigs.create@ method which the+-- 'DLPOrganizationsLocationsDiscoveryConfigsCreate' request conforms to.+type DLPOrganizationsLocationsDiscoveryConfigsCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "discoveryConfigs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2CreateDiscoveryConfigRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2DiscoveryConfig++-- | Creates a config for discovery to scan and profile storage.+--+-- /See:/ 'newDLPOrganizationsLocationsDiscoveryConfigsCreate' smart constructor.+data DLPOrganizationsLocationsDiscoveryConfigsCreate = DLPOrganizationsLocationsDiscoveryConfigsCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization): + Projects scope: @projects\/{project_id}\/locations\/{location_id}@ + Organizations scope: @organizations\/{org_id}\/locations\/{location_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateDiscoveryConfigRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsDiscoveryConfigsCreate' with the minimum fields required to make a request.+newDLPOrganizationsLocationsDiscoveryConfigsCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization): + Projects scope: @projects\/{project_id}\/locations\/{location_id}@ + Organizations scope: @organizations\/{org_id}\/locations\/{location_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateDiscoveryConfigRequest ->+ DLPOrganizationsLocationsDiscoveryConfigsCreate+newDLPOrganizationsLocationsDiscoveryConfigsCreate parent payload =+ DLPOrganizationsLocationsDiscoveryConfigsCreate+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsDiscoveryConfigsCreate+ where+ type+ Rs DLPOrganizationsLocationsDiscoveryConfigsCreate =+ GooglePrivacyDlpV2DiscoveryConfig+ type+ Scopes DLPOrganizationsLocationsDiscoveryConfigsCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsDiscoveryConfigsCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsDiscoveryConfigsCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/DiscoveryConfigs/Delete.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.DiscoveryConfigs.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a discovery configuration.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.discoveryConfigs.delete@.+module Gogol.DLP.Organizations.Locations.DiscoveryConfigs.Delete+ ( -- * Resource+ DLPOrganizationsLocationsDiscoveryConfigsDeleteResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsDiscoveryConfigsDelete (..),+ newDLPOrganizationsLocationsDiscoveryConfigsDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.discoveryConfigs.delete@ method which the+-- 'DLPOrganizationsLocationsDiscoveryConfigsDelete' request conforms to.+type DLPOrganizationsLocationsDiscoveryConfigsDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes a discovery configuration.+--+-- /See:/ 'newDLPOrganizationsLocationsDiscoveryConfigsDelete' smart constructor.+data DLPOrganizationsLocationsDiscoveryConfigsDelete = DLPOrganizationsLocationsDiscoveryConfigsDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the project and the config, for example @projects\/dlp-test-project\/discoveryConfigs\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsDiscoveryConfigsDelete' with the minimum fields required to make a request.+newDLPOrganizationsLocationsDiscoveryConfigsDelete ::+ -- | Required. Resource name of the project and the config, for example @projects\/dlp-test-project\/discoveryConfigs\/53234423@. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsDiscoveryConfigsDelete+newDLPOrganizationsLocationsDiscoveryConfigsDelete name =+ DLPOrganizationsLocationsDiscoveryConfigsDelete+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsDiscoveryConfigsDelete+ where+ type+ Rs DLPOrganizationsLocationsDiscoveryConfigsDelete =+ GoogleProtobufEmpty+ type+ Scopes DLPOrganizationsLocationsDiscoveryConfigsDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsDiscoveryConfigsDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsDiscoveryConfigsDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/DiscoveryConfigs/Get.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.DiscoveryConfigs.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a discovery configuration.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.discoveryConfigs.get@.+module Gogol.DLP.Organizations.Locations.DiscoveryConfigs.Get+ ( -- * Resource+ DLPOrganizationsLocationsDiscoveryConfigsGetResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsDiscoveryConfigsGet (..),+ newDLPOrganizationsLocationsDiscoveryConfigsGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.discoveryConfigs.get@ method which the+-- 'DLPOrganizationsLocationsDiscoveryConfigsGet' request conforms to.+type DLPOrganizationsLocationsDiscoveryConfigsGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2DiscoveryConfig++-- | Gets a discovery configuration.+--+-- /See:/ 'newDLPOrganizationsLocationsDiscoveryConfigsGet' smart constructor.+data DLPOrganizationsLocationsDiscoveryConfigsGet = DLPOrganizationsLocationsDiscoveryConfigsGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the project and the configuration, for example @projects\/dlp-test-project\/discoveryConfigs\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsDiscoveryConfigsGet' with the minimum fields required to make a request.+newDLPOrganizationsLocationsDiscoveryConfigsGet ::+ -- | Required. Resource name of the project and the configuration, for example @projects\/dlp-test-project\/discoveryConfigs\/53234423@. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsDiscoveryConfigsGet+newDLPOrganizationsLocationsDiscoveryConfigsGet name =+ DLPOrganizationsLocationsDiscoveryConfigsGet+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsDiscoveryConfigsGet+ where+ type+ Rs DLPOrganizationsLocationsDiscoveryConfigsGet =+ GooglePrivacyDlpV2DiscoveryConfig+ type+ Scopes DLPOrganizationsLocationsDiscoveryConfigsGet =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsDiscoveryConfigsGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsDiscoveryConfigsGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/DiscoveryConfigs/List.hs view
@@ -0,0 +1,135 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.DiscoveryConfigs.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists discovery configurations.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.discoveryConfigs.list@.+module Gogol.DLP.Organizations.Locations.DiscoveryConfigs.List+ ( -- * Resource+ DLPOrganizationsLocationsDiscoveryConfigsListResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsDiscoveryConfigsList (..),+ newDLPOrganizationsLocationsDiscoveryConfigsList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.discoveryConfigs.list@ method which the+-- 'DLPOrganizationsLocationsDiscoveryConfigsList' request conforms to.+type DLPOrganizationsLocationsDiscoveryConfigsListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "discoveryConfigs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListDiscoveryConfigsResponse++-- | Lists discovery configurations.+--+-- /See:/ 'newDLPOrganizationsLocationsDiscoveryConfigsList' smart constructor.+data DLPOrganizationsLocationsDiscoveryConfigsList = DLPOrganizationsLocationsDiscoveryConfigsList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Comma-separated list of config fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc,update_time, create_time desc@ Supported fields are: - @last_run_time@: corresponds to the last time the DiscoveryConfig ran. - @name@: corresponds to the DiscoveryConfig\'s name. - @status@: corresponds to DiscoveryConfig\'s status.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by a server.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to ListDiscoveryConfigs. @order_by@ field must not change for subsequent calls.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value is as follows: @projects\/{project_id}\/locations\/{location_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsDiscoveryConfigsList' with the minimum fields required to make a request.+newDLPOrganizationsLocationsDiscoveryConfigsList ::+ -- | Required. Parent resource name. The format of this value is as follows: @projects\/{project_id}\/locations\/{location_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPOrganizationsLocationsDiscoveryConfigsList+newDLPOrganizationsLocationsDiscoveryConfigsList parent =+ DLPOrganizationsLocationsDiscoveryConfigsList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsDiscoveryConfigsList+ where+ type+ Rs DLPOrganizationsLocationsDiscoveryConfigsList =+ GooglePrivacyDlpV2ListDiscoveryConfigsResponse+ type+ Scopes DLPOrganizationsLocationsDiscoveryConfigsList =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsDiscoveryConfigsList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsDiscoveryConfigsListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/DiscoveryConfigs/Patch.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.DiscoveryConfigs.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates a discovery configuration.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.discoveryConfigs.patch@.+module Gogol.DLP.Organizations.Locations.DiscoveryConfigs.Patch+ ( -- * Resource+ DLPOrganizationsLocationsDiscoveryConfigsPatchResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsDiscoveryConfigsPatch (..),+ newDLPOrganizationsLocationsDiscoveryConfigsPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.discoveryConfigs.patch@ method which the+-- 'DLPOrganizationsLocationsDiscoveryConfigsPatch' request conforms to.+type DLPOrganizationsLocationsDiscoveryConfigsPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2UpdateDiscoveryConfigRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2DiscoveryConfig++-- | Updates a discovery configuration.+--+-- /See:/ 'newDLPOrganizationsLocationsDiscoveryConfigsPatch' smart constructor.+data DLPOrganizationsLocationsDiscoveryConfigsPatch = DLPOrganizationsLocationsDiscoveryConfigsPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the project and the configuration, for example @projects\/dlp-test-project\/discoveryConfigs\/53234423@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsDiscoveryConfigsPatch' with the minimum fields required to make a request.+newDLPOrganizationsLocationsDiscoveryConfigsPatch ::+ -- | Required. Resource name of the project and the configuration, for example @projects\/dlp-test-project\/discoveryConfigs\/53234423@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateDiscoveryConfigRequest ->+ DLPOrganizationsLocationsDiscoveryConfigsPatch+newDLPOrganizationsLocationsDiscoveryConfigsPatch name payload =+ DLPOrganizationsLocationsDiscoveryConfigsPatch+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsDiscoveryConfigsPatch+ where+ type+ Rs DLPOrganizationsLocationsDiscoveryConfigsPatch =+ GooglePrivacyDlpV2DiscoveryConfig+ type+ Scopes DLPOrganizationsLocationsDiscoveryConfigsPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsDiscoveryConfigsPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsDiscoveryConfigsPatchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/DlpJobs/List.hs view
@@ -0,0 +1,145 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.DlpJobs.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists DlpJobs that match the specified filter in the request. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.dlpJobs.list@.+module Gogol.DLP.Organizations.Locations.DlpJobs.List+ ( -- * Resource+ DLPOrganizationsLocationsDlpJobsListResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsDlpJobsList (..),+ newDLPOrganizationsLocationsDlpJobsList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.dlpJobs.list@ method which the+-- 'DLPOrganizationsLocationsDlpJobsList' request conforms to.+type DLPOrganizationsLocationsDlpJobsListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "dlpJobs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "type" OrganizationsLocationsDlpJobsListType+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ListDlpJobsResponse++-- | Lists DlpJobs that match the specified filter in the request. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsDlpJobsList' smart constructor.+data DLPOrganizationsLocationsDlpJobsList = DLPOrganizationsLocationsDlpJobsList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by @AND@ or @OR@ logical operators. A sequence of restrictions implicitly uses @AND@. * A restriction has the form of @{field} {operator} {value}@. * Supported fields\/values for inspect jobs: - @state@ - PENDING|RUNNING|CANCELED|FINISHED|FAILED - @inspected_storage@ - DATASTORE|CLOUD/STORAGE|BIGQUERY - @trigger_name@ - The name of the trigger that created the job. - \'end/time@- Corresponds to the time the job finished. - \'start_time@ - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - @state@ - RUNNING|CANCELED|FINISHED|FAILED - \'end/time@- Corresponds to the time the job finished. - \'start_time@ - Corresponds to the time the job finished. * The operator must be @=@ or @!=@. Examples: * inspected/storage = cloud/storage AND state = done * inspected/storage = cloud/storage OR inspected/storage = bigquery * inspected/storage = cloud/storage+ -- AND (state = done OR state = canceled) * end_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.+ filter :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc, end_time asc, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the job was created. - @end_time@: corresponds to the time the job ended. - @name@: corresponds to the job\'s name. - @state@: corresponds to @state@+ orderBy :: (Core.Maybe Core.Text),+ -- | The standard list page size.+ pageSize :: (Core.Maybe Core.Int32),+ -- | The standard list page token.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | The type of job. Defaults to @DlpJobType.INSPECT@+ type' :: (Core.Maybe OrganizationsLocationsDlpJobsListType),+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsDlpJobsList' with the minimum fields required to make a request.+newDLPOrganizationsLocationsDlpJobsList ::+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPOrganizationsLocationsDlpJobsList+newDLPOrganizationsLocationsDlpJobsList parent =+ DLPOrganizationsLocationsDlpJobsList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ type' = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPOrganizationsLocationsDlpJobsList where+ type+ Rs DLPOrganizationsLocationsDlpJobsList =+ GooglePrivacyDlpV2ListDlpJobsResponse+ type+ Scopes DLPOrganizationsLocationsDlpJobsList =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsDlpJobsList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ locationId+ orderBy+ pageSize+ pageToken+ type'+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsDlpJobsListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/FileStoreDataProfiles/Delete.hs view
@@ -0,0 +1,119 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.FileStoreDataProfiles.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Delete a FileStoreDataProfile. Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.fileStoreDataProfiles.delete@.+module Gogol.DLP.Organizations.Locations.FileStoreDataProfiles.Delete+ ( -- * Resource+ DLPOrganizationsLocationsFileStoreDataProfilesDeleteResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsFileStoreDataProfilesDelete (..),+ newDLPOrganizationsLocationsFileStoreDataProfilesDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.fileStoreDataProfiles.delete@ method which the+-- 'DLPOrganizationsLocationsFileStoreDataProfilesDelete' request conforms to.+type DLPOrganizationsLocationsFileStoreDataProfilesDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Delete a FileStoreDataProfile. Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration.+--+-- /See:/ 'newDLPOrganizationsLocationsFileStoreDataProfilesDelete' smart constructor.+data DLPOrganizationsLocationsFileStoreDataProfilesDelete = DLPOrganizationsLocationsFileStoreDataProfilesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the file store data profile.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsFileStoreDataProfilesDelete' with the minimum fields required to make a request.+newDLPOrganizationsLocationsFileStoreDataProfilesDelete ::+ -- | Required. Resource name of the file store data profile. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsFileStoreDataProfilesDelete+newDLPOrganizationsLocationsFileStoreDataProfilesDelete name =+ DLPOrganizationsLocationsFileStoreDataProfilesDelete+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsFileStoreDataProfilesDelete+ where+ type+ Rs DLPOrganizationsLocationsFileStoreDataProfilesDelete =+ GoogleProtobufEmpty+ type+ Scopes DLPOrganizationsLocationsFileStoreDataProfilesDelete =+ '[CloudPlatform'FullControl]+ requestClient+ DLPOrganizationsLocationsFileStoreDataProfilesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ DLPOrganizationsLocationsFileStoreDataProfilesDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/FileStoreDataProfiles/Get.hs view
@@ -0,0 +1,118 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.FileStoreDataProfiles.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a file store data profile.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.fileStoreDataProfiles.get@.+module Gogol.DLP.Organizations.Locations.FileStoreDataProfiles.Get+ ( -- * Resource+ DLPOrganizationsLocationsFileStoreDataProfilesGetResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsFileStoreDataProfilesGet (..),+ newDLPOrganizationsLocationsFileStoreDataProfilesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.fileStoreDataProfiles.get@ method which the+-- 'DLPOrganizationsLocationsFileStoreDataProfilesGet' request conforms to.+type DLPOrganizationsLocationsFileStoreDataProfilesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2FileStoreDataProfile++-- | Gets a file store data profile.+--+-- /See:/ 'newDLPOrganizationsLocationsFileStoreDataProfilesGet' smart constructor.+data DLPOrganizationsLocationsFileStoreDataProfilesGet = DLPOrganizationsLocationsFileStoreDataProfilesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name, for example @organizations\/12345\/locations\/us\/fileStoreDataProfiles\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsFileStoreDataProfilesGet' with the minimum fields required to make a request.+newDLPOrganizationsLocationsFileStoreDataProfilesGet ::+ -- | Required. Resource name, for example @organizations\/12345\/locations\/us\/fileStoreDataProfiles\/53234423@. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsFileStoreDataProfilesGet+newDLPOrganizationsLocationsFileStoreDataProfilesGet name =+ DLPOrganizationsLocationsFileStoreDataProfilesGet+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsFileStoreDataProfilesGet+ where+ type+ Rs DLPOrganizationsLocationsFileStoreDataProfilesGet =+ GooglePrivacyDlpV2FileStoreDataProfile+ type+ Scopes DLPOrganizationsLocationsFileStoreDataProfilesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsFileStoreDataProfilesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ DLPOrganizationsLocationsFileStoreDataProfilesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/FileStoreDataProfiles/List.hs view
@@ -0,0 +1,143 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.FileStoreDataProfiles.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists file store data profiles for an organization.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.fileStoreDataProfiles.list@.+module Gogol.DLP.Organizations.Locations.FileStoreDataProfiles.List+ ( -- * Resource+ DLPOrganizationsLocationsFileStoreDataProfilesListResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsFileStoreDataProfilesList (..),+ newDLPOrganizationsLocationsFileStoreDataProfilesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.fileStoreDataProfiles.list@ method which the+-- 'DLPOrganizationsLocationsFileStoreDataProfilesList' request conforms to.+type DLPOrganizationsLocationsFileStoreDataProfilesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "fileStoreDataProfiles"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListFileStoreDataProfilesResponse++-- | Lists file store data profiles for an organization.+--+-- /See:/ 'newDLPOrganizationsLocationsFileStoreDataProfilesList' smart constructor.+data DLPOrganizationsLocationsFileStoreDataProfilesList = DLPOrganizationsLocationsFileStoreDataProfilesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by @AND@ or @OR@ logical operators. A sequence of restrictions implicitly uses @AND@. * A restriction has the form of @{field} {operator} {value}@. * Supported fields\/values: - @project_id@ - The Google Cloud project ID. - @account_id@ - The AWS account ID. - @file_store_path@ - The path like \"gs:\/\/bucket\". - @data_source_type@ - The profile\'s data source type, like \"google\/storage\/bucket\". - @data_storage_location@ - The location where the file store\'s data is stored, like \"us-central1\". - @sensitivity_level@ - HIGH|MODERATE|LOW - @data_risk_level@ - HIGH|MODERATE|LOW - @resource_visibility@: PUBLIC|RESTRICTED - @status_code@ - an RPC status code as defined in https:\/\/github.com\/googleapis\/googleapis\/blob\/master\/google\/rpc\/code.proto * The operator must be @=@ or @!=@. Examples: * @project_id = 12345 AND status_code = 1@ *+ -- @project_id = 12345 AND sensitivity_level = HIGH@ * @project_id = 12345 AND resource_visibility = PUBLIC@ * @file_store_path = \"gs:\/\/mybucket\"@ The length of this field should be no more than 500 characters.+ filter :: (Core.Maybe Core.Text),+ -- | Optional. Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * @project_id asc@ * @name@ * @sensitivity_level desc@ Supported fields are: - @project_id@: The Google Cloud project ID. - @sensitivity_level@: How sensitive the data in a table is, at most. - @data_risk_level@: How much risk is associated with this data. - @profile_last_generated@: When the profile was last updated in epoch seconds. - @last_modified@: The last time the resource was modified. - @resource_visibility@: Visibility restriction for this resource. - @name@: The name of the profile. - @create_time@: The time the file store was first created.+ orderBy :: (Core.Maybe Core.Text),+ -- | Optional. Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Optional. Page token to continue retrieval.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization or project, for example @organizations\/433245324\/locations\/europe@ or @projects\/project-id\/locations\/asia@.+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsFileStoreDataProfilesList' with the minimum fields required to make a request.+newDLPOrganizationsLocationsFileStoreDataProfilesList ::+ -- | Required. Resource name of the organization or project, for example @organizations\/433245324\/locations\/europe@ or @projects\/project-id\/locations\/asia@. See 'parent'.+ Core.Text ->+ DLPOrganizationsLocationsFileStoreDataProfilesList+newDLPOrganizationsLocationsFileStoreDataProfilesList parent =+ DLPOrganizationsLocationsFileStoreDataProfilesList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsFileStoreDataProfilesList+ where+ type+ Rs DLPOrganizationsLocationsFileStoreDataProfilesList =+ GooglePrivacyDlpV2ListFileStoreDataProfilesResponse+ type+ Scopes DLPOrganizationsLocationsFileStoreDataProfilesList =+ '[CloudPlatform'FullControl]+ requestClient+ DLPOrganizationsLocationsFileStoreDataProfilesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ DLPOrganizationsLocationsFileStoreDataProfilesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/InspectTemplates/Create.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.InspectTemplates.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.inspectTemplates.create@.+module Gogol.DLP.Organizations.Locations.InspectTemplates.Create+ ( -- * Resource+ DLPOrganizationsLocationsInspectTemplatesCreateResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsInspectTemplatesCreate (..),+ newDLPOrganizationsLocationsInspectTemplatesCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.inspectTemplates.create@ method which the+-- 'DLPOrganizationsLocationsInspectTemplatesCreate' request conforms to.+type DLPOrganizationsLocationsInspectTemplatesCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "inspectTemplates"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2CreateInspectTemplateRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2InspectTemplate++-- | Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsInspectTemplatesCreate' smart constructor.+data DLPOrganizationsLocationsInspectTemplatesCreate = DLPOrganizationsLocationsInspectTemplatesCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateInspectTemplateRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsInspectTemplatesCreate' with the minimum fields required to make a request.+newDLPOrganizationsLocationsInspectTemplatesCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateInspectTemplateRequest ->+ DLPOrganizationsLocationsInspectTemplatesCreate+newDLPOrganizationsLocationsInspectTemplatesCreate parent payload =+ DLPOrganizationsLocationsInspectTemplatesCreate+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsInspectTemplatesCreate+ where+ type+ Rs DLPOrganizationsLocationsInspectTemplatesCreate =+ GooglePrivacyDlpV2InspectTemplate+ type+ Scopes DLPOrganizationsLocationsInspectTemplatesCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsInspectTemplatesCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsInspectTemplatesCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/InspectTemplates/Delete.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.InspectTemplates.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes an InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.inspectTemplates.delete@.+module Gogol.DLP.Organizations.Locations.InspectTemplates.Delete+ ( -- * Resource+ DLPOrganizationsLocationsInspectTemplatesDeleteResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsInspectTemplatesDelete (..),+ newDLPOrganizationsLocationsInspectTemplatesDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.inspectTemplates.delete@ method which the+-- 'DLPOrganizationsLocationsInspectTemplatesDelete' request conforms to.+type DLPOrganizationsLocationsInspectTemplatesDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes an InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsInspectTemplatesDelete' smart constructor.+data DLPOrganizationsLocationsInspectTemplatesDelete = DLPOrganizationsLocationsInspectTemplatesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and inspectTemplate to be deleted, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsInspectTemplatesDelete' with the minimum fields required to make a request.+newDLPOrganizationsLocationsInspectTemplatesDelete ::+ -- | Required. Resource name of the organization and inspectTemplate to be deleted, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsInspectTemplatesDelete+newDLPOrganizationsLocationsInspectTemplatesDelete name =+ DLPOrganizationsLocationsInspectTemplatesDelete+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsInspectTemplatesDelete+ where+ type+ Rs DLPOrganizationsLocationsInspectTemplatesDelete =+ GoogleProtobufEmpty+ type+ Scopes DLPOrganizationsLocationsInspectTemplatesDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsInspectTemplatesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsInspectTemplatesDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/InspectTemplates/Get.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.InspectTemplates.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets an InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.inspectTemplates.get@.+module Gogol.DLP.Organizations.Locations.InspectTemplates.Get+ ( -- * Resource+ DLPOrganizationsLocationsInspectTemplatesGetResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsInspectTemplatesGet (..),+ newDLPOrganizationsLocationsInspectTemplatesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.inspectTemplates.get@ method which the+-- 'DLPOrganizationsLocationsInspectTemplatesGet' request conforms to.+type DLPOrganizationsLocationsInspectTemplatesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2InspectTemplate++-- | Gets an InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsInspectTemplatesGet' smart constructor.+data DLPOrganizationsLocationsInspectTemplatesGet = DLPOrganizationsLocationsInspectTemplatesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and inspectTemplate to be read, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsInspectTemplatesGet' with the minimum fields required to make a request.+newDLPOrganizationsLocationsInspectTemplatesGet ::+ -- | Required. Resource name of the organization and inspectTemplate to be read, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsInspectTemplatesGet+newDLPOrganizationsLocationsInspectTemplatesGet name =+ DLPOrganizationsLocationsInspectTemplatesGet+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsInspectTemplatesGet+ where+ type+ Rs DLPOrganizationsLocationsInspectTemplatesGet =+ GooglePrivacyDlpV2InspectTemplate+ type+ Scopes DLPOrganizationsLocationsInspectTemplatesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsInspectTemplatesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsInspectTemplatesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/InspectTemplates/List.hs view
@@ -0,0 +1,140 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.InspectTemplates.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists InspectTemplates. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.inspectTemplates.list@.+module Gogol.DLP.Organizations.Locations.InspectTemplates.List+ ( -- * Resource+ DLPOrganizationsLocationsInspectTemplatesListResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsInspectTemplatesList (..),+ newDLPOrganizationsLocationsInspectTemplatesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.inspectTemplates.list@ method which the+-- 'DLPOrganizationsLocationsInspectTemplatesList' request conforms to.+type DLPOrganizationsLocationsInspectTemplatesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "inspectTemplates"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListInspectTemplatesResponse++-- | Lists InspectTemplates. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsInspectTemplatesList' smart constructor.+data DLPOrganizationsLocationsInspectTemplatesList = DLPOrganizationsLocationsInspectTemplatesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc,update_time, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the template was created. - @update_time@: corresponds to the time the template was last updated. - @name@: corresponds to the template\'s name. - @display_name@: corresponds to the template\'s display name.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to @ListInspectTemplates@.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsInspectTemplatesList' with the minimum fields required to make a request.+newDLPOrganizationsLocationsInspectTemplatesList ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPOrganizationsLocationsInspectTemplatesList+newDLPOrganizationsLocationsInspectTemplatesList parent =+ DLPOrganizationsLocationsInspectTemplatesList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsInspectTemplatesList+ where+ type+ Rs DLPOrganizationsLocationsInspectTemplatesList =+ GooglePrivacyDlpV2ListInspectTemplatesResponse+ type+ Scopes DLPOrganizationsLocationsInspectTemplatesList =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsInspectTemplatesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ locationId+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsInspectTemplatesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/InspectTemplates/Patch.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.InspectTemplates.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.inspectTemplates.patch@.+module Gogol.DLP.Organizations.Locations.InspectTemplates.Patch+ ( -- * Resource+ DLPOrganizationsLocationsInspectTemplatesPatchResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsInspectTemplatesPatch (..),+ newDLPOrganizationsLocationsInspectTemplatesPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.inspectTemplates.patch@ method which the+-- 'DLPOrganizationsLocationsInspectTemplatesPatch' request conforms to.+type DLPOrganizationsLocationsInspectTemplatesPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2UpdateInspectTemplateRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2InspectTemplate++-- | Updates the InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsInspectTemplatesPatch' smart constructor.+data DLPOrganizationsLocationsInspectTemplatesPatch = DLPOrganizationsLocationsInspectTemplatesPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of organization and inspectTemplate to be updated, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateInspectTemplateRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsInspectTemplatesPatch' with the minimum fields required to make a request.+newDLPOrganizationsLocationsInspectTemplatesPatch ::+ -- | Required. Resource name of organization and inspectTemplate to be updated, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateInspectTemplateRequest ->+ DLPOrganizationsLocationsInspectTemplatesPatch+newDLPOrganizationsLocationsInspectTemplatesPatch name payload =+ DLPOrganizationsLocationsInspectTemplatesPatch+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsInspectTemplatesPatch+ where+ type+ Rs DLPOrganizationsLocationsInspectTemplatesPatch =+ GooglePrivacyDlpV2InspectTemplate+ type+ Scopes DLPOrganizationsLocationsInspectTemplatesPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsInspectTemplatesPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsInspectTemplatesPatchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/JobTriggers/Create.hs view
@@ -0,0 +1,124 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.JobTriggers.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.jobTriggers.create@.+module Gogol.DLP.Organizations.Locations.JobTriggers.Create+ ( -- * Resource+ DLPOrganizationsLocationsJobTriggersCreateResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsJobTriggersCreate (..),+ newDLPOrganizationsLocationsJobTriggersCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.jobTriggers.create@ method which the+-- 'DLPOrganizationsLocationsJobTriggersCreate' request conforms to.+type DLPOrganizationsLocationsJobTriggersCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "jobTriggers"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2CreateJobTriggerRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2JobTrigger++-- | Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsJobTriggersCreate' smart constructor.+data DLPOrganizationsLocationsJobTriggersCreate = DLPOrganizationsLocationsJobTriggersCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateJobTriggerRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsJobTriggersCreate' with the minimum fields required to make a request.+newDLPOrganizationsLocationsJobTriggersCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateJobTriggerRequest ->+ DLPOrganizationsLocationsJobTriggersCreate+newDLPOrganizationsLocationsJobTriggersCreate parent payload =+ DLPOrganizationsLocationsJobTriggersCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsJobTriggersCreate+ where+ type+ Rs DLPOrganizationsLocationsJobTriggersCreate =+ GooglePrivacyDlpV2JobTrigger+ type+ Scopes DLPOrganizationsLocationsJobTriggersCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsJobTriggersCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsJobTriggersCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/JobTriggers/Delete.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.JobTriggers.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.jobTriggers.delete@.+module Gogol.DLP.Organizations.Locations.JobTriggers.Delete+ ( -- * Resource+ DLPOrganizationsLocationsJobTriggersDeleteResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsJobTriggersDelete (..),+ newDLPOrganizationsLocationsJobTriggersDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.jobTriggers.delete@ method which the+-- 'DLPOrganizationsLocationsJobTriggersDelete' request conforms to.+type DLPOrganizationsLocationsJobTriggersDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsJobTriggersDelete' smart constructor.+data DLPOrganizationsLocationsJobTriggersDelete = DLPOrganizationsLocationsJobTriggersDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsJobTriggersDelete' with the minimum fields required to make a request.+newDLPOrganizationsLocationsJobTriggersDelete ::+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsJobTriggersDelete+newDLPOrganizationsLocationsJobTriggersDelete name =+ DLPOrganizationsLocationsJobTriggersDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsJobTriggersDelete+ where+ type+ Rs DLPOrganizationsLocationsJobTriggersDelete =+ GoogleProtobufEmpty+ type+ Scopes DLPOrganizationsLocationsJobTriggersDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsJobTriggersDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsJobTriggersDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/JobTriggers/Get.hs view
@@ -0,0 +1,113 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.JobTriggers.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.jobTriggers.get@.+module Gogol.DLP.Organizations.Locations.JobTriggers.Get+ ( -- * Resource+ DLPOrganizationsLocationsJobTriggersGetResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsJobTriggersGet (..),+ newDLPOrganizationsLocationsJobTriggersGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.jobTriggers.get@ method which the+-- 'DLPOrganizationsLocationsJobTriggersGet' request conforms to.+type DLPOrganizationsLocationsJobTriggersGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2JobTrigger++-- | Gets a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsJobTriggersGet' smart constructor.+data DLPOrganizationsLocationsJobTriggersGet = DLPOrganizationsLocationsJobTriggersGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsJobTriggersGet' with the minimum fields required to make a request.+newDLPOrganizationsLocationsJobTriggersGet ::+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsJobTriggersGet+newDLPOrganizationsLocationsJobTriggersGet name =+ DLPOrganizationsLocationsJobTriggersGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPOrganizationsLocationsJobTriggersGet where+ type+ Rs DLPOrganizationsLocationsJobTriggersGet =+ GooglePrivacyDlpV2JobTrigger+ type+ Scopes DLPOrganizationsLocationsJobTriggersGet =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsJobTriggersGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsJobTriggersGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/JobTriggers/List.hs view
@@ -0,0 +1,147 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.JobTriggers.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists job triggers. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.jobTriggers.list@.+module Gogol.DLP.Organizations.Locations.JobTriggers.List+ ( -- * Resource+ DLPOrganizationsLocationsJobTriggersListResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsJobTriggersList (..),+ newDLPOrganizationsLocationsJobTriggersList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.jobTriggers.list@ method which the+-- 'DLPOrganizationsLocationsJobTriggersList' request conforms to.+type DLPOrganizationsLocationsJobTriggersListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "jobTriggers"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "type" OrganizationsLocationsJobTriggersListType+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ListJobTriggersResponse++-- | Lists job triggers. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsJobTriggersList' smart constructor.+data DLPOrganizationsLocationsJobTriggersList = DLPOrganizationsLocationsJobTriggersList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by @AND@ or @OR@ logical operators. A sequence of restrictions implicitly uses @AND@. * A restriction has the form of @{field} {operator} {value}@. * Supported fields\/values for inspect triggers: - @status@ - HEALTHY|PAUSED|CANCELLED - @inspected_storage@ - DATASTORE|CLOUD/STORAGE|BIGQUERY - \'last/run/time@- RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - \'error_count\' - Number of errors that have occurred while running. * The operator must be@=@or@!=\` for status and inspected/storage. Examples: * inspected/storage = cloud/storage AND status = HEALTHY * inspected/storage = cloud/storage OR inspected/storage = bigquery * inspected/storage = cloud/storage AND (state = PAUSED OR state = HEALTHY) * last/run_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.+ filter :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of triggeredJob fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc,update_time, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the JobTrigger was created. - @update_time@: corresponds to the time the JobTrigger was last updated. - @last_run_time@: corresponds to the last time the JobTrigger ran. - @name@: corresponds to the JobTrigger\'s name. - @display_name@: corresponds to the JobTrigger\'s display name. - @status@: corresponds to JobTrigger\'s status.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by a server.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to ListJobTriggers. @order_by@ field must not change for subsequent calls.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | The type of jobs. Will use @DlpJobType.INSPECT@ if not set.+ type' :: (Core.Maybe OrganizationsLocationsJobTriggersListType),+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsJobTriggersList' with the minimum fields required to make a request.+newDLPOrganizationsLocationsJobTriggersList ::+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPOrganizationsLocationsJobTriggersList+newDLPOrganizationsLocationsJobTriggersList parent =+ DLPOrganizationsLocationsJobTriggersList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ type' = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsJobTriggersList+ where+ type+ Rs DLPOrganizationsLocationsJobTriggersList =+ GooglePrivacyDlpV2ListJobTriggersResponse+ type+ Scopes DLPOrganizationsLocationsJobTriggersList =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsJobTriggersList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ locationId+ orderBy+ pageSize+ pageToken+ type'+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsJobTriggersListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/JobTriggers/Patch.hs view
@@ -0,0 +1,123 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.JobTriggers.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.jobTriggers.patch@.+module Gogol.DLP.Organizations.Locations.JobTriggers.Patch+ ( -- * Resource+ DLPOrganizationsLocationsJobTriggersPatchResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsJobTriggersPatch (..),+ newDLPOrganizationsLocationsJobTriggersPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.jobTriggers.patch@ method which the+-- 'DLPOrganizationsLocationsJobTriggersPatch' request conforms to.+type DLPOrganizationsLocationsJobTriggersPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2UpdateJobTriggerRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2JobTrigger++-- | Updates a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsJobTriggersPatch' smart constructor.+data DLPOrganizationsLocationsJobTriggersPatch = DLPOrganizationsLocationsJobTriggersPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateJobTriggerRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsJobTriggersPatch' with the minimum fields required to make a request.+newDLPOrganizationsLocationsJobTriggersPatch ::+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateJobTriggerRequest ->+ DLPOrganizationsLocationsJobTriggersPatch+newDLPOrganizationsLocationsJobTriggersPatch name payload =+ DLPOrganizationsLocationsJobTriggersPatch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsJobTriggersPatch+ where+ type+ Rs DLPOrganizationsLocationsJobTriggersPatch =+ GooglePrivacyDlpV2JobTrigger+ type+ Scopes DLPOrganizationsLocationsJobTriggersPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsJobTriggersPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsJobTriggersPatchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/ProjectDataProfiles/Get.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.ProjectDataProfiles.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a project data profile.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.projectDataProfiles.get@.+module Gogol.DLP.Organizations.Locations.ProjectDataProfiles.Get+ ( -- * Resource+ DLPOrganizationsLocationsProjectDataProfilesGetResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsProjectDataProfilesGet (..),+ newDLPOrganizationsLocationsProjectDataProfilesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.projectDataProfiles.get@ method which the+-- 'DLPOrganizationsLocationsProjectDataProfilesGet' request conforms to.+type DLPOrganizationsLocationsProjectDataProfilesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ProjectDataProfile++-- | Gets a project data profile.+--+-- /See:/ 'newDLPOrganizationsLocationsProjectDataProfilesGet' smart constructor.+data DLPOrganizationsLocationsProjectDataProfilesGet = DLPOrganizationsLocationsProjectDataProfilesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name, for example @organizations\/12345\/locations\/us\/projectDataProfiles\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsProjectDataProfilesGet' with the minimum fields required to make a request.+newDLPOrganizationsLocationsProjectDataProfilesGet ::+ -- | Required. Resource name, for example @organizations\/12345\/locations\/us\/projectDataProfiles\/53234423@. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsProjectDataProfilesGet+newDLPOrganizationsLocationsProjectDataProfilesGet name =+ DLPOrganizationsLocationsProjectDataProfilesGet+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsProjectDataProfilesGet+ where+ type+ Rs DLPOrganizationsLocationsProjectDataProfilesGet =+ GooglePrivacyDlpV2ProjectDataProfile+ type+ Scopes DLPOrganizationsLocationsProjectDataProfilesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsProjectDataProfilesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsProjectDataProfilesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/ProjectDataProfiles/List.hs view
@@ -0,0 +1,141 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.ProjectDataProfiles.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists project data profiles for an organization.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.projectDataProfiles.list@.+module Gogol.DLP.Organizations.Locations.ProjectDataProfiles.List+ ( -- * Resource+ DLPOrganizationsLocationsProjectDataProfilesListResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsProjectDataProfilesList (..),+ newDLPOrganizationsLocationsProjectDataProfilesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.projectDataProfiles.list@ method which the+-- 'DLPOrganizationsLocationsProjectDataProfilesList' request conforms to.+type DLPOrganizationsLocationsProjectDataProfilesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "projectDataProfiles"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListProjectDataProfilesResponse++-- | Lists project data profiles for an organization.+--+-- /See:/ 'newDLPOrganizationsLocationsProjectDataProfilesList' smart constructor.+data DLPOrganizationsLocationsProjectDataProfilesList = DLPOrganizationsLocationsProjectDataProfilesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by @AND@ or @OR@ logical operators. A sequence of restrictions implicitly uses @AND@. * A restriction has the form of @{field} {operator} {value}@. * Supported fields\/values: - @sensitivity_level@ - HIGH|MODERATE|LOW - @data_risk_level@ - HIGH|MODERATE|LOW - @status_code@ - an RPC status code as defined in https:\/\/github.com\/googleapis\/googleapis\/blob\/master\/google\/rpc\/code.proto * The operator must be @=@ or @!=@. Examples: * @project_id = 12345 AND status_code = 1@ * @project_id = 12345 AND sensitivity_level = HIGH@ The length of this field should be no more than 500 characters.+ filter :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * @project_id@ * @sensitivity_level desc@ Supported fields are: - @project_id@: Google Cloud project ID - @sensitivity_level@: How sensitive the data in a project is, at most. - @data_risk_level@: How much risk is associated with this data. - @profile_last_generated@: When the profile was last updated in epoch seconds.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. organizations\/{org/id}\/locations\/{loc/id}+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsProjectDataProfilesList' with the minimum fields required to make a request.+newDLPOrganizationsLocationsProjectDataProfilesList ::+ -- | Required. organizations\/{org/id}\/locations\/{loc/id} See 'parent'.+ Core.Text ->+ DLPOrganizationsLocationsProjectDataProfilesList+newDLPOrganizationsLocationsProjectDataProfilesList parent =+ DLPOrganizationsLocationsProjectDataProfilesList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsProjectDataProfilesList+ where+ type+ Rs DLPOrganizationsLocationsProjectDataProfilesList =+ GooglePrivacyDlpV2ListProjectDataProfilesResponse+ type+ Scopes DLPOrganizationsLocationsProjectDataProfilesList =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsProjectDataProfilesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ DLPOrganizationsLocationsProjectDataProfilesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/StoredInfoTypes/Create.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.StoredInfoTypes.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a pre-built stored infoType to be used for inspection. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.storedInfoTypes.create@.+module Gogol.DLP.Organizations.Locations.StoredInfoTypes.Create+ ( -- * Resource+ DLPOrganizationsLocationsStoredInfoTypesCreateResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsStoredInfoTypesCreate (..),+ newDLPOrganizationsLocationsStoredInfoTypesCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.storedInfoTypes.create@ method which the+-- 'DLPOrganizationsLocationsStoredInfoTypesCreate' request conforms to.+type DLPOrganizationsLocationsStoredInfoTypesCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "storedInfoTypes"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2CreateStoredInfoTypeRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2StoredInfoType++-- | Creates a pre-built stored infoType to be used for inspection. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsStoredInfoTypesCreate' smart constructor.+data DLPOrganizationsLocationsStoredInfoTypesCreate = DLPOrganizationsLocationsStoredInfoTypesCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateStoredInfoTypeRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsStoredInfoTypesCreate' with the minimum fields required to make a request.+newDLPOrganizationsLocationsStoredInfoTypesCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateStoredInfoTypeRequest ->+ DLPOrganizationsLocationsStoredInfoTypesCreate+newDLPOrganizationsLocationsStoredInfoTypesCreate parent payload =+ DLPOrganizationsLocationsStoredInfoTypesCreate+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsStoredInfoTypesCreate+ where+ type+ Rs DLPOrganizationsLocationsStoredInfoTypesCreate =+ GooglePrivacyDlpV2StoredInfoType+ type+ Scopes DLPOrganizationsLocationsStoredInfoTypesCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsStoredInfoTypesCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsStoredInfoTypesCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/StoredInfoTypes/Delete.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.StoredInfoTypes.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a stored infoType. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.storedInfoTypes.delete@.+module Gogol.DLP.Organizations.Locations.StoredInfoTypes.Delete+ ( -- * Resource+ DLPOrganizationsLocationsStoredInfoTypesDeleteResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsStoredInfoTypesDelete (..),+ newDLPOrganizationsLocationsStoredInfoTypesDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.storedInfoTypes.delete@ method which the+-- 'DLPOrganizationsLocationsStoredInfoTypesDelete' request conforms to.+type DLPOrganizationsLocationsStoredInfoTypesDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes a stored infoType. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsStoredInfoTypesDelete' smart constructor.+data DLPOrganizationsLocationsStoredInfoTypesDelete = DLPOrganizationsLocationsStoredInfoTypesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and storedInfoType to be deleted, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsStoredInfoTypesDelete' with the minimum fields required to make a request.+newDLPOrganizationsLocationsStoredInfoTypesDelete ::+ -- | Required. Resource name of the organization and storedInfoType to be deleted, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsStoredInfoTypesDelete+newDLPOrganizationsLocationsStoredInfoTypesDelete name =+ DLPOrganizationsLocationsStoredInfoTypesDelete+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsStoredInfoTypesDelete+ where+ type+ Rs DLPOrganizationsLocationsStoredInfoTypesDelete =+ GoogleProtobufEmpty+ type+ Scopes DLPOrganizationsLocationsStoredInfoTypesDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsStoredInfoTypesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsStoredInfoTypesDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/StoredInfoTypes/Get.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.StoredInfoTypes.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a stored infoType. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.storedInfoTypes.get@.+module Gogol.DLP.Organizations.Locations.StoredInfoTypes.Get+ ( -- * Resource+ DLPOrganizationsLocationsStoredInfoTypesGetResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsStoredInfoTypesGet (..),+ newDLPOrganizationsLocationsStoredInfoTypesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.storedInfoTypes.get@ method which the+-- 'DLPOrganizationsLocationsStoredInfoTypesGet' request conforms to.+type DLPOrganizationsLocationsStoredInfoTypesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2StoredInfoType++-- | Gets a stored infoType. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsStoredInfoTypesGet' smart constructor.+data DLPOrganizationsLocationsStoredInfoTypesGet = DLPOrganizationsLocationsStoredInfoTypesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and storedInfoType to be read, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsStoredInfoTypesGet' with the minimum fields required to make a request.+newDLPOrganizationsLocationsStoredInfoTypesGet ::+ -- | Required. Resource name of the organization and storedInfoType to be read, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsStoredInfoTypesGet+newDLPOrganizationsLocationsStoredInfoTypesGet name =+ DLPOrganizationsLocationsStoredInfoTypesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsStoredInfoTypesGet+ where+ type+ Rs DLPOrganizationsLocationsStoredInfoTypesGet =+ GooglePrivacyDlpV2StoredInfoType+ type+ Scopes DLPOrganizationsLocationsStoredInfoTypesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsStoredInfoTypesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsStoredInfoTypesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/StoredInfoTypes/List.hs view
@@ -0,0 +1,138 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.StoredInfoTypes.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists stored infoTypes. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.storedInfoTypes.list@.+module Gogol.DLP.Organizations.Locations.StoredInfoTypes.List+ ( -- * Resource+ DLPOrganizationsLocationsStoredInfoTypesListResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsStoredInfoTypesList (..),+ newDLPOrganizationsLocationsStoredInfoTypesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.storedInfoTypes.list@ method which the+-- 'DLPOrganizationsLocationsStoredInfoTypesList' request conforms to.+type DLPOrganizationsLocationsStoredInfoTypesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "storedInfoTypes"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ListStoredInfoTypesResponse++-- | Lists stored infoTypes. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsStoredInfoTypesList' smart constructor.+data DLPOrganizationsLocationsStoredInfoTypesList = DLPOrganizationsLocationsStoredInfoTypesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc, display_name, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the most recent version of the resource was created. - @state@: corresponds to the state of the resource. - @name@: corresponds to resource name. - @display_name@: corresponds to info type\'s display name.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to @ListStoredInfoTypes@.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsStoredInfoTypesList' with the minimum fields required to make a request.+newDLPOrganizationsLocationsStoredInfoTypesList ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPOrganizationsLocationsStoredInfoTypesList+newDLPOrganizationsLocationsStoredInfoTypesList parent =+ DLPOrganizationsLocationsStoredInfoTypesList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsStoredInfoTypesList+ where+ type+ Rs DLPOrganizationsLocationsStoredInfoTypesList =+ GooglePrivacyDlpV2ListStoredInfoTypesResponse+ type+ Scopes DLPOrganizationsLocationsStoredInfoTypesList =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsStoredInfoTypesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ locationId+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsStoredInfoTypesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/StoredInfoTypes/Patch.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.StoredInfoTypes.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.storedInfoTypes.patch@.+module Gogol.DLP.Organizations.Locations.StoredInfoTypes.Patch+ ( -- * Resource+ DLPOrganizationsLocationsStoredInfoTypesPatchResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsStoredInfoTypesPatch (..),+ newDLPOrganizationsLocationsStoredInfoTypesPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.storedInfoTypes.patch@ method which the+-- 'DLPOrganizationsLocationsStoredInfoTypesPatch' request conforms to.+type DLPOrganizationsLocationsStoredInfoTypesPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2StoredInfoType++-- | Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPOrganizationsLocationsStoredInfoTypesPatch' smart constructor.+data DLPOrganizationsLocationsStoredInfoTypesPatch = DLPOrganizationsLocationsStoredInfoTypesPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of organization and storedInfoType to be updated, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsStoredInfoTypesPatch' with the minimum fields required to make a request.+newDLPOrganizationsLocationsStoredInfoTypesPatch ::+ -- | Required. Resource name of organization and storedInfoType to be updated, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest ->+ DLPOrganizationsLocationsStoredInfoTypesPatch+newDLPOrganizationsLocationsStoredInfoTypesPatch name payload =+ DLPOrganizationsLocationsStoredInfoTypesPatch+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsStoredInfoTypesPatch+ where+ type+ Rs DLPOrganizationsLocationsStoredInfoTypesPatch =+ GooglePrivacyDlpV2StoredInfoType+ type+ Scopes DLPOrganizationsLocationsStoredInfoTypesPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsStoredInfoTypesPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsStoredInfoTypesPatchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/TableDataProfiles/Delete.hs view
@@ -0,0 +1,118 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.TableDataProfiles.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Delete a TableDataProfile. Will not prevent the profile from being regenerated if the table is still included in a discovery configuration.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.tableDataProfiles.delete@.+module Gogol.DLP.Organizations.Locations.TableDataProfiles.Delete+ ( -- * Resource+ DLPOrganizationsLocationsTableDataProfilesDeleteResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsTableDataProfilesDelete (..),+ newDLPOrganizationsLocationsTableDataProfilesDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.tableDataProfiles.delete@ method which the+-- 'DLPOrganizationsLocationsTableDataProfilesDelete' request conforms to.+type DLPOrganizationsLocationsTableDataProfilesDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Delete a TableDataProfile. Will not prevent the profile from being regenerated if the table is still included in a discovery configuration.+--+-- /See:/ 'newDLPOrganizationsLocationsTableDataProfilesDelete' smart constructor.+data DLPOrganizationsLocationsTableDataProfilesDelete = DLPOrganizationsLocationsTableDataProfilesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the table data profile.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsTableDataProfilesDelete' with the minimum fields required to make a request.+newDLPOrganizationsLocationsTableDataProfilesDelete ::+ -- | Required. Resource name of the table data profile. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsTableDataProfilesDelete+newDLPOrganizationsLocationsTableDataProfilesDelete name =+ DLPOrganizationsLocationsTableDataProfilesDelete+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsTableDataProfilesDelete+ where+ type+ Rs DLPOrganizationsLocationsTableDataProfilesDelete =+ GoogleProtobufEmpty+ type+ Scopes DLPOrganizationsLocationsTableDataProfilesDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsTableDataProfilesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy+ DLPOrganizationsLocationsTableDataProfilesDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/TableDataProfiles/Get.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.TableDataProfiles.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a table data profile.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.tableDataProfiles.get@.+module Gogol.DLP.Organizations.Locations.TableDataProfiles.Get+ ( -- * Resource+ DLPOrganizationsLocationsTableDataProfilesGetResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsTableDataProfilesGet (..),+ newDLPOrganizationsLocationsTableDataProfilesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.tableDataProfiles.get@ method which the+-- 'DLPOrganizationsLocationsTableDataProfilesGet' request conforms to.+type DLPOrganizationsLocationsTableDataProfilesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2TableDataProfile++-- | Gets a table data profile.+--+-- /See:/ 'newDLPOrganizationsLocationsTableDataProfilesGet' smart constructor.+data DLPOrganizationsLocationsTableDataProfilesGet = DLPOrganizationsLocationsTableDataProfilesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name, for example @organizations\/12345\/locations\/us\/tableDataProfiles\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsTableDataProfilesGet' with the minimum fields required to make a request.+newDLPOrganizationsLocationsTableDataProfilesGet ::+ -- | Required. Resource name, for example @organizations\/12345\/locations\/us\/tableDataProfiles\/53234423@. See 'name'.+ Core.Text ->+ DLPOrganizationsLocationsTableDataProfilesGet+newDLPOrganizationsLocationsTableDataProfilesGet name =+ DLPOrganizationsLocationsTableDataProfilesGet+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsTableDataProfilesGet+ where+ type+ Rs DLPOrganizationsLocationsTableDataProfilesGet =+ GooglePrivacyDlpV2TableDataProfile+ type+ Scopes DLPOrganizationsLocationsTableDataProfilesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsTableDataProfilesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsTableDataProfilesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/Locations/TableDataProfiles/List.hs view
@@ -0,0 +1,140 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.Locations.TableDataProfiles.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists table data profiles for an organization.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.locations.tableDataProfiles.list@.+module Gogol.DLP.Organizations.Locations.TableDataProfiles.List+ ( -- * Resource+ DLPOrganizationsLocationsTableDataProfilesListResource,++ -- ** Constructing a Request+ DLPOrganizationsLocationsTableDataProfilesList (..),+ newDLPOrganizationsLocationsTableDataProfilesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.locations.tableDataProfiles.list@ method which the+-- 'DLPOrganizationsLocationsTableDataProfilesList' request conforms to.+type DLPOrganizationsLocationsTableDataProfilesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "tableDataProfiles"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListTableDataProfilesResponse++-- | Lists table data profiles for an organization.+--+-- /See:/ 'newDLPOrganizationsLocationsTableDataProfilesList' smart constructor.+data DLPOrganizationsLocationsTableDataProfilesList = DLPOrganizationsLocationsTableDataProfilesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by @AND@ or @OR@ logical operators. A sequence of restrictions implicitly uses @AND@. * A restriction has the form of @{field} {operator} {value}@. * Supported fields\/values: - @project_id@ - The Google Cloud project ID. - @dataset_id@ - The BigQuery dataset ID. - @table_id@ - The ID of the BigQuery table. - @sensitivity_level@ - HIGH|MODERATE|LOW - @data_risk_level@ - HIGH|MODERATE|LOW - @resource_visibility@: PUBLIC|RESTRICTED - @status_code@ - an RPC status code as defined in https:\/\/github.com\/googleapis\/googleapis\/blob\/master\/google\/rpc\/code.proto * The operator must be @=@ or @!=@. Examples: * @project_id = 12345 AND status_code = 1@ * @project_id = 12345 AND sensitivity_level = HIGH@ * @project_id = 12345 AND resource_visibility = PUBLIC@ The length of this field should be no more than 500 characters.+ filter :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * @project_id asc@ * @table_id@ * @sensitivity_level desc@ Supported fields are: - @project_id@: The Google Cloud project ID. - @dataset_id@: The ID of a BigQuery dataset. - @table_id@: The ID of a BigQuery table. - @sensitivity_level@: How sensitive the data in a table is, at most. - @data_risk_level@: How much risk is associated with this data. - @profile_last_generated@: When the profile was last updated in epoch seconds. - @last_modified@: The last time the resource was modified. - @resource_visibility@: Visibility restriction for this resource. - @row_count@: Number of rows in this resource.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization or project, for example @organizations\/433245324\/locations\/europe@ or @projects\/project-id\/locations\/asia@.+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsLocationsTableDataProfilesList' with the minimum fields required to make a request.+newDLPOrganizationsLocationsTableDataProfilesList ::+ -- | Required. Resource name of the organization or project, for example @organizations\/433245324\/locations\/europe@ or @projects\/project-id\/locations\/asia@. See 'parent'.+ Core.Text ->+ DLPOrganizationsLocationsTableDataProfilesList+newDLPOrganizationsLocationsTableDataProfilesList parent =+ DLPOrganizationsLocationsTableDataProfilesList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPOrganizationsLocationsTableDataProfilesList+ where+ type+ Rs DLPOrganizationsLocationsTableDataProfilesList =+ GooglePrivacyDlpV2ListTableDataProfilesResponse+ type+ Scopes DLPOrganizationsLocationsTableDataProfilesList =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsLocationsTableDataProfilesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsLocationsTableDataProfilesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/StoredInfoTypes/Create.hs view
@@ -0,0 +1,123 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.StoredInfoTypes.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a pre-built stored infoType to be used for inspection. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.storedInfoTypes.create@.+module Gogol.DLP.Organizations.StoredInfoTypes.Create+ ( -- * Resource+ DLPOrganizationsStoredInfoTypesCreateResource,++ -- ** Constructing a Request+ DLPOrganizationsStoredInfoTypesCreate (..),+ newDLPOrganizationsStoredInfoTypesCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.storedInfoTypes.create@ method which the+-- 'DLPOrganizationsStoredInfoTypesCreate' request conforms to.+type DLPOrganizationsStoredInfoTypesCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "storedInfoTypes"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2CreateStoredInfoTypeRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2StoredInfoType++-- | Creates a pre-built stored infoType to be used for inspection. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPOrganizationsStoredInfoTypesCreate' smart constructor.+data DLPOrganizationsStoredInfoTypesCreate = DLPOrganizationsStoredInfoTypesCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateStoredInfoTypeRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsStoredInfoTypesCreate' with the minimum fields required to make a request.+newDLPOrganizationsStoredInfoTypesCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateStoredInfoTypeRequest ->+ DLPOrganizationsStoredInfoTypesCreate+newDLPOrganizationsStoredInfoTypesCreate parent payload =+ DLPOrganizationsStoredInfoTypesCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPOrganizationsStoredInfoTypesCreate where+ type+ Rs DLPOrganizationsStoredInfoTypesCreate =+ GooglePrivacyDlpV2StoredInfoType+ type+ Scopes DLPOrganizationsStoredInfoTypesCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsStoredInfoTypesCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsStoredInfoTypesCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/StoredInfoTypes/Delete.hs view
@@ -0,0 +1,111 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.StoredInfoTypes.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a stored infoType. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.storedInfoTypes.delete@.+module Gogol.DLP.Organizations.StoredInfoTypes.Delete+ ( -- * Resource+ DLPOrganizationsStoredInfoTypesDeleteResource,++ -- ** Constructing a Request+ DLPOrganizationsStoredInfoTypesDelete (..),+ newDLPOrganizationsStoredInfoTypesDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.storedInfoTypes.delete@ method which the+-- 'DLPOrganizationsStoredInfoTypesDelete' request conforms to.+type DLPOrganizationsStoredInfoTypesDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes a stored infoType. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPOrganizationsStoredInfoTypesDelete' smart constructor.+data DLPOrganizationsStoredInfoTypesDelete = DLPOrganizationsStoredInfoTypesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and storedInfoType to be deleted, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsStoredInfoTypesDelete' with the minimum fields required to make a request.+newDLPOrganizationsStoredInfoTypesDelete ::+ -- | Required. Resource name of the organization and storedInfoType to be deleted, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342. See 'name'.+ Core.Text ->+ DLPOrganizationsStoredInfoTypesDelete+newDLPOrganizationsStoredInfoTypesDelete name =+ DLPOrganizationsStoredInfoTypesDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPOrganizationsStoredInfoTypesDelete where+ type Rs DLPOrganizationsStoredInfoTypesDelete = GoogleProtobufEmpty+ type+ Scopes DLPOrganizationsStoredInfoTypesDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsStoredInfoTypesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsStoredInfoTypesDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/StoredInfoTypes/Get.hs view
@@ -0,0 +1,113 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.StoredInfoTypes.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a stored infoType. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.storedInfoTypes.get@.+module Gogol.DLP.Organizations.StoredInfoTypes.Get+ ( -- * Resource+ DLPOrganizationsStoredInfoTypesGetResource,++ -- ** Constructing a Request+ DLPOrganizationsStoredInfoTypesGet (..),+ newDLPOrganizationsStoredInfoTypesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.storedInfoTypes.get@ method which the+-- 'DLPOrganizationsStoredInfoTypesGet' request conforms to.+type DLPOrganizationsStoredInfoTypesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2StoredInfoType++-- | Gets a stored infoType. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPOrganizationsStoredInfoTypesGet' smart constructor.+data DLPOrganizationsStoredInfoTypesGet = DLPOrganizationsStoredInfoTypesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and storedInfoType to be read, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsStoredInfoTypesGet' with the minimum fields required to make a request.+newDLPOrganizationsStoredInfoTypesGet ::+ -- | Required. Resource name of the organization and storedInfoType to be read, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342. See 'name'.+ Core.Text ->+ DLPOrganizationsStoredInfoTypesGet+newDLPOrganizationsStoredInfoTypesGet name =+ DLPOrganizationsStoredInfoTypesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPOrganizationsStoredInfoTypesGet where+ type+ Rs DLPOrganizationsStoredInfoTypesGet =+ GooglePrivacyDlpV2StoredInfoType+ type+ Scopes DLPOrganizationsStoredInfoTypesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsStoredInfoTypesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsStoredInfoTypesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/StoredInfoTypes/List.hs view
@@ -0,0 +1,134 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.StoredInfoTypes.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists stored infoTypes. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.storedInfoTypes.list@.+module Gogol.DLP.Organizations.StoredInfoTypes.List+ ( -- * Resource+ DLPOrganizationsStoredInfoTypesListResource,++ -- ** Constructing a Request+ DLPOrganizationsStoredInfoTypesList (..),+ newDLPOrganizationsStoredInfoTypesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.storedInfoTypes.list@ method which the+-- 'DLPOrganizationsStoredInfoTypesList' request conforms to.+type DLPOrganizationsStoredInfoTypesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "storedInfoTypes"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ListStoredInfoTypesResponse++-- | Lists stored infoTypes. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPOrganizationsStoredInfoTypesList' smart constructor.+data DLPOrganizationsStoredInfoTypesList = DLPOrganizationsStoredInfoTypesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc, display_name, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the most recent version of the resource was created. - @state@: corresponds to the state of the resource. - @name@: corresponds to resource name. - @display_name@: corresponds to info type\'s display name.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to @ListStoredInfoTypes@.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsStoredInfoTypesList' with the minimum fields required to make a request.+newDLPOrganizationsStoredInfoTypesList ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPOrganizationsStoredInfoTypesList+newDLPOrganizationsStoredInfoTypesList parent =+ DLPOrganizationsStoredInfoTypesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPOrganizationsStoredInfoTypesList where+ type+ Rs DLPOrganizationsStoredInfoTypesList =+ GooglePrivacyDlpV2ListStoredInfoTypesResponse+ type+ Scopes DLPOrganizationsStoredInfoTypesList =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsStoredInfoTypesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ locationId+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsStoredInfoTypesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Organizations/StoredInfoTypes/Patch.hs view
@@ -0,0 +1,122 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Organizations.StoredInfoTypes.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.organizations.storedInfoTypes.patch@.+module Gogol.DLP.Organizations.StoredInfoTypes.Patch+ ( -- * Resource+ DLPOrganizationsStoredInfoTypesPatchResource,++ -- ** Constructing a Request+ DLPOrganizationsStoredInfoTypesPatch (..),+ newDLPOrganizationsStoredInfoTypesPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.organizations.storedInfoTypes.patch@ method which the+-- 'DLPOrganizationsStoredInfoTypesPatch' request conforms to.+type DLPOrganizationsStoredInfoTypesPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2StoredInfoType++-- | Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPOrganizationsStoredInfoTypesPatch' smart constructor.+data DLPOrganizationsStoredInfoTypesPatch = DLPOrganizationsStoredInfoTypesPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of organization and storedInfoType to be updated, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPOrganizationsStoredInfoTypesPatch' with the minimum fields required to make a request.+newDLPOrganizationsStoredInfoTypesPatch ::+ -- | Required. Resource name of organization and storedInfoType to be updated, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest ->+ DLPOrganizationsStoredInfoTypesPatch+newDLPOrganizationsStoredInfoTypesPatch name payload =+ DLPOrganizationsStoredInfoTypesPatch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPOrganizationsStoredInfoTypesPatch where+ type+ Rs DLPOrganizationsStoredInfoTypesPatch =+ GooglePrivacyDlpV2StoredInfoType+ type+ Scopes DLPOrganizationsStoredInfoTypesPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPOrganizationsStoredInfoTypesPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPOrganizationsStoredInfoTypesPatchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Content/Deidentify.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Content.Deidentify+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/deidentify-sensitive-data to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.content.deidentify@.+module Gogol.DLP.Projects.Content.Deidentify+ ( -- * Resource+ DLPProjectsContentDeidentifyResource,++ -- ** Constructing a Request+ DLPProjectsContentDeidentify (..),+ newDLPProjectsContentDeidentify,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.content.deidentify@ method which the+-- 'DLPProjectsContentDeidentify' request conforms to.+type DLPProjectsContentDeidentifyResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "content:deidentify"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2DeidentifyContentRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2DeidentifyContentResponse++-- | De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/deidentify-sensitive-data to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.+--+-- /See:/ 'newDLPProjectsContentDeidentify' smart constructor.+data DLPProjectsContentDeidentify = DLPProjectsContentDeidentify+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2DeidentifyContentRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsContentDeidentify' with the minimum fields required to make a request.+newDLPProjectsContentDeidentify ::+ -- | Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2DeidentifyContentRequest ->+ DLPProjectsContentDeidentify+newDLPProjectsContentDeidentify parent payload =+ DLPProjectsContentDeidentify+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsContentDeidentify where+ type+ Rs DLPProjectsContentDeidentify =+ GooglePrivacyDlpV2DeidentifyContentResponse+ type+ Scopes DLPProjectsContentDeidentify =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsContentDeidentify {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsContentDeidentifyResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/Content/Inspect.hs view
@@ -0,0 +1,119 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Content.Inspect+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. For how to guides, see https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-images and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-text,+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.content.inspect@.+module Gogol.DLP.Projects.Content.Inspect+ ( -- * Resource+ DLPProjectsContentInspectResource,++ -- ** Constructing a Request+ DLPProjectsContentInspect (..),+ newDLPProjectsContentInspect,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.content.inspect@ method which the+-- 'DLPProjectsContentInspect' request conforms to.+type DLPProjectsContentInspectResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "content:inspect"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2InspectContentRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2InspectContentResponse++-- | Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. For how to guides, see https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-images and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-text,+--+-- /See:/ 'newDLPProjectsContentInspect' smart constructor.+data DLPProjectsContentInspect = DLPProjectsContentInspect+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2InspectContentRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsContentInspect' with the minimum fields required to make a request.+newDLPProjectsContentInspect ::+ -- | Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2InspectContentRequest ->+ DLPProjectsContentInspect+newDLPProjectsContentInspect parent payload =+ DLPProjectsContentInspect+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsContentInspect where+ type+ Rs DLPProjectsContentInspect =+ GooglePrivacyDlpV2InspectContentResponse+ type+ Scopes DLPProjectsContentInspect =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsContentInspect {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsContentInspectResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/Content/Reidentify.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Content.Reidentify+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Re-identifies content that has been de-identified. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/pseudonymization#re-identification/in/free/text/code_example to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.content.reidentify@.+module Gogol.DLP.Projects.Content.Reidentify+ ( -- * Resource+ DLPProjectsContentReidentifyResource,++ -- ** Constructing a Request+ DLPProjectsContentReidentify (..),+ newDLPProjectsContentReidentify,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.content.reidentify@ method which the+-- 'DLPProjectsContentReidentify' request conforms to.+type DLPProjectsContentReidentifyResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "content:reidentify"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2ReidentifyContentRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2ReidentifyContentResponse++-- | Re-identifies content that has been de-identified. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/pseudonymization#re-identification/in/free/text/code_example to learn more.+--+-- /See:/ 'newDLPProjectsContentReidentify' smart constructor.+data DLPProjectsContentReidentify = DLPProjectsContentReidentify+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2ReidentifyContentRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsContentReidentify' with the minimum fields required to make a request.+newDLPProjectsContentReidentify ::+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2ReidentifyContentRequest ->+ DLPProjectsContentReidentify+newDLPProjectsContentReidentify parent payload =+ DLPProjectsContentReidentify+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsContentReidentify where+ type+ Rs DLPProjectsContentReidentify =+ GooglePrivacyDlpV2ReidentifyContentResponse+ type+ Scopes DLPProjectsContentReidentify =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsContentReidentify {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsContentReidentifyResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/DeidentifyTemplates/Create.hs view
@@ -0,0 +1,123 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.DeidentifyTemplates.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.deidentifyTemplates.create@.+module Gogol.DLP.Projects.DeidentifyTemplates.Create+ ( -- * Resource+ DLPProjectsDeidentifyTemplatesCreateResource,++ -- ** Constructing a Request+ DLPProjectsDeidentifyTemplatesCreate (..),+ newDLPProjectsDeidentifyTemplatesCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.deidentifyTemplates.create@ method which the+-- 'DLPProjectsDeidentifyTemplatesCreate' request conforms to.+type DLPProjectsDeidentifyTemplatesCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "deidentifyTemplates"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2CreateDeidentifyTemplateRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2DeidentifyTemplate++-- | Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPProjectsDeidentifyTemplatesCreate' smart constructor.+data DLPProjectsDeidentifyTemplatesCreate = DLPProjectsDeidentifyTemplatesCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsDeidentifyTemplatesCreate' with the minimum fields required to make a request.+newDLPProjectsDeidentifyTemplatesCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateDeidentifyTemplateRequest ->+ DLPProjectsDeidentifyTemplatesCreate+newDLPProjectsDeidentifyTemplatesCreate parent payload =+ DLPProjectsDeidentifyTemplatesCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsDeidentifyTemplatesCreate where+ type+ Rs DLPProjectsDeidentifyTemplatesCreate =+ GooglePrivacyDlpV2DeidentifyTemplate+ type+ Scopes DLPProjectsDeidentifyTemplatesCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsDeidentifyTemplatesCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsDeidentifyTemplatesCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/DeidentifyTemplates/Delete.hs view
@@ -0,0 +1,111 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.DeidentifyTemplates.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.deidentifyTemplates.delete@.+module Gogol.DLP.Projects.DeidentifyTemplates.Delete+ ( -- * Resource+ DLPProjectsDeidentifyTemplatesDeleteResource,++ -- ** Constructing a Request+ DLPProjectsDeidentifyTemplatesDelete (..),+ newDLPProjectsDeidentifyTemplatesDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.deidentifyTemplates.delete@ method which the+-- 'DLPProjectsDeidentifyTemplatesDelete' request conforms to.+type DLPProjectsDeidentifyTemplatesDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes a DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPProjectsDeidentifyTemplatesDelete' smart constructor.+data DLPProjectsDeidentifyTemplatesDelete = DLPProjectsDeidentifyTemplatesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and deidentify template to be deleted, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsDeidentifyTemplatesDelete' with the minimum fields required to make a request.+newDLPProjectsDeidentifyTemplatesDelete ::+ -- | Required. Resource name of the organization and deidentify template to be deleted, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342. See 'name'.+ Core.Text ->+ DLPProjectsDeidentifyTemplatesDelete+newDLPProjectsDeidentifyTemplatesDelete name =+ DLPProjectsDeidentifyTemplatesDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsDeidentifyTemplatesDelete where+ type Rs DLPProjectsDeidentifyTemplatesDelete = GoogleProtobufEmpty+ type+ Scopes DLPProjectsDeidentifyTemplatesDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsDeidentifyTemplatesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsDeidentifyTemplatesDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/DeidentifyTemplates/Get.hs view
@@ -0,0 +1,113 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.DeidentifyTemplates.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.deidentifyTemplates.get@.+module Gogol.DLP.Projects.DeidentifyTemplates.Get+ ( -- * Resource+ DLPProjectsDeidentifyTemplatesGetResource,++ -- ** Constructing a Request+ DLPProjectsDeidentifyTemplatesGet (..),+ newDLPProjectsDeidentifyTemplatesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.deidentifyTemplates.get@ method which the+-- 'DLPProjectsDeidentifyTemplatesGet' request conforms to.+type DLPProjectsDeidentifyTemplatesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2DeidentifyTemplate++-- | Gets a DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPProjectsDeidentifyTemplatesGet' smart constructor.+data DLPProjectsDeidentifyTemplatesGet = DLPProjectsDeidentifyTemplatesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and deidentify template to be read, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsDeidentifyTemplatesGet' with the minimum fields required to make a request.+newDLPProjectsDeidentifyTemplatesGet ::+ -- | Required. Resource name of the organization and deidentify template to be read, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342. See 'name'.+ Core.Text ->+ DLPProjectsDeidentifyTemplatesGet+newDLPProjectsDeidentifyTemplatesGet name =+ DLPProjectsDeidentifyTemplatesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsDeidentifyTemplatesGet where+ type+ Rs DLPProjectsDeidentifyTemplatesGet =+ GooglePrivacyDlpV2DeidentifyTemplate+ type+ Scopes DLPProjectsDeidentifyTemplatesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsDeidentifyTemplatesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsDeidentifyTemplatesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/DeidentifyTemplates/List.hs view
@@ -0,0 +1,136 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.DeidentifyTemplates.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists DeidentifyTemplates. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.deidentifyTemplates.list@.+module Gogol.DLP.Projects.DeidentifyTemplates.List+ ( -- * Resource+ DLPProjectsDeidentifyTemplatesListResource,++ -- ** Constructing a Request+ DLPProjectsDeidentifyTemplatesList (..),+ newDLPProjectsDeidentifyTemplatesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.deidentifyTemplates.list@ method which the+-- 'DLPProjectsDeidentifyTemplatesList' request conforms to.+type DLPProjectsDeidentifyTemplatesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "deidentifyTemplates"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListDeidentifyTemplatesResponse++-- | Lists DeidentifyTemplates. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPProjectsDeidentifyTemplatesList' smart constructor.+data DLPProjectsDeidentifyTemplatesList = DLPProjectsDeidentifyTemplatesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc,update_time, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the template was created. - @update_time@: corresponds to the time the template was last updated. - @name@: corresponds to the template\'s name. - @display_name@: corresponds to the template\'s display name.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to @ListDeidentifyTemplates@.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsDeidentifyTemplatesList' with the minimum fields required to make a request.+newDLPProjectsDeidentifyTemplatesList ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPProjectsDeidentifyTemplatesList+newDLPProjectsDeidentifyTemplatesList parent =+ DLPProjectsDeidentifyTemplatesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsDeidentifyTemplatesList where+ type+ Rs DLPProjectsDeidentifyTemplatesList =+ GooglePrivacyDlpV2ListDeidentifyTemplatesResponse+ type+ Scopes DLPProjectsDeidentifyTemplatesList =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsDeidentifyTemplatesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ locationId+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsDeidentifyTemplatesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/DeidentifyTemplates/Patch.hs view
@@ -0,0 +1,122 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.DeidentifyTemplates.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.deidentifyTemplates.patch@.+module Gogol.DLP.Projects.DeidentifyTemplates.Patch+ ( -- * Resource+ DLPProjectsDeidentifyTemplatesPatchResource,++ -- ** Constructing a Request+ DLPProjectsDeidentifyTemplatesPatch (..),+ newDLPProjectsDeidentifyTemplatesPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.deidentifyTemplates.patch@ method which the+-- 'DLPProjectsDeidentifyTemplatesPatch' request conforms to.+type DLPProjectsDeidentifyTemplatesPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2DeidentifyTemplate++-- | Updates the DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPProjectsDeidentifyTemplatesPatch' smart constructor.+data DLPProjectsDeidentifyTemplatesPatch = DLPProjectsDeidentifyTemplatesPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of organization and deidentify template to be updated, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsDeidentifyTemplatesPatch' with the minimum fields required to make a request.+newDLPProjectsDeidentifyTemplatesPatch ::+ -- | Required. Resource name of organization and deidentify template to be updated, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest ->+ DLPProjectsDeidentifyTemplatesPatch+newDLPProjectsDeidentifyTemplatesPatch name payload =+ DLPProjectsDeidentifyTemplatesPatch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsDeidentifyTemplatesPatch where+ type+ Rs DLPProjectsDeidentifyTemplatesPatch =+ GooglePrivacyDlpV2DeidentifyTemplate+ type+ Scopes DLPProjectsDeidentifyTemplatesPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsDeidentifyTemplatesPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsDeidentifyTemplatesPatchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/DlpJobs/Cancel.hs view
@@ -0,0 +1,114 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.DlpJobs.Cancel+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.dlpJobs.cancel@.+module Gogol.DLP.Projects.DlpJobs.Cancel+ ( -- * Resource+ DLPProjectsDlpJobsCancelResource,++ -- ** Constructing a Request+ DLPProjectsDlpJobsCancel (..),+ newDLPProjectsDlpJobsCancel,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.dlpJobs.cancel@ method which the+-- 'DLPProjectsDlpJobsCancel' request conforms to.+type DLPProjectsDlpJobsCancelResource =+ "v2"+ Core.:> Core.CaptureMode "name" "cancel" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2CancelDlpJobRequest+ Core.:> Core.Post '[Core.JSON] GoogleProtobufEmpty++-- | Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ 'newDLPProjectsDlpJobsCancel' smart constructor.+data DLPProjectsDlpJobsCancel = DLPProjectsDlpJobsCancel+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the DlpJob resource to be cancelled.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CancelDlpJobRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsDlpJobsCancel' with the minimum fields required to make a request.+newDLPProjectsDlpJobsCancel ::+ -- | Required. The name of the DlpJob resource to be cancelled. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CancelDlpJobRequest ->+ DLPProjectsDlpJobsCancel+newDLPProjectsDlpJobsCancel name payload =+ DLPProjectsDlpJobsCancel+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsDlpJobsCancel where+ type Rs DLPProjectsDlpJobsCancel = GoogleProtobufEmpty+ type Scopes DLPProjectsDlpJobsCancel = '[CloudPlatform'FullControl]+ requestClient DLPProjectsDlpJobsCancel {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsDlpJobsCancelResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/DlpJobs/Create.hs view
@@ -0,0 +1,115 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.DlpJobs.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new job to inspect storage or calculate risk metrics. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.dlpJobs.create@.+module Gogol.DLP.Projects.DlpJobs.Create+ ( -- * Resource+ DLPProjectsDlpJobsCreateResource,++ -- ** Constructing a Request+ DLPProjectsDlpJobsCreate (..),+ newDLPProjectsDlpJobsCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.dlpJobs.create@ method which the+-- 'DLPProjectsDlpJobsCreate' request conforms to.+type DLPProjectsDlpJobsCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "dlpJobs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2CreateDlpJobRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2DlpJob++-- | Creates a new job to inspect storage or calculate risk metrics. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.+--+-- /See:/ 'newDLPProjectsDlpJobsCreate' smart constructor.+data DLPProjectsDlpJobsCreate = DLPProjectsDlpJobsCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateDlpJobRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsDlpJobsCreate' with the minimum fields required to make a request.+newDLPProjectsDlpJobsCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateDlpJobRequest ->+ DLPProjectsDlpJobsCreate+newDLPProjectsDlpJobsCreate parent payload =+ DLPProjectsDlpJobsCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsDlpJobsCreate where+ type Rs DLPProjectsDlpJobsCreate = GooglePrivacyDlpV2DlpJob+ type Scopes DLPProjectsDlpJobsCreate = '[CloudPlatform'FullControl]+ requestClient DLPProjectsDlpJobsCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsDlpJobsCreateResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/DlpJobs/Delete.hs view
@@ -0,0 +1,107 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.DlpJobs.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be canceled if possible. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.dlpJobs.delete@.+module Gogol.DLP.Projects.DlpJobs.Delete+ ( -- * Resource+ DLPProjectsDlpJobsDeleteResource,++ -- ** Constructing a Request+ DLPProjectsDlpJobsDelete (..),+ newDLPProjectsDlpJobsDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.dlpJobs.delete@ method which the+-- 'DLPProjectsDlpJobsDelete' request conforms to.+type DLPProjectsDlpJobsDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be canceled if possible. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ 'newDLPProjectsDlpJobsDelete' smart constructor.+data DLPProjectsDlpJobsDelete = DLPProjectsDlpJobsDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the DlpJob resource to be deleted.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsDlpJobsDelete' with the minimum fields required to make a request.+newDLPProjectsDlpJobsDelete ::+ -- | Required. The name of the DlpJob resource to be deleted. See 'name'.+ Core.Text ->+ DLPProjectsDlpJobsDelete+newDLPProjectsDlpJobsDelete name =+ DLPProjectsDlpJobsDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsDlpJobsDelete where+ type Rs DLPProjectsDlpJobsDelete = GoogleProtobufEmpty+ type Scopes DLPProjectsDlpJobsDelete = '[CloudPlatform'FullControl]+ requestClient DLPProjectsDlpJobsDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsDlpJobsDeleteResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/DlpJobs/Get.hs view
@@ -0,0 +1,107 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.DlpJobs.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the latest state of a long-running DlpJob. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.dlpJobs.get@.+module Gogol.DLP.Projects.DlpJobs.Get+ ( -- * Resource+ DLPProjectsDlpJobsGetResource,++ -- ** Constructing a Request+ DLPProjectsDlpJobsGet (..),+ newDLPProjectsDlpJobsGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.dlpJobs.get@ method which the+-- 'DLPProjectsDlpJobsGet' request conforms to.+type DLPProjectsDlpJobsGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2DlpJob++-- | Gets the latest state of a long-running DlpJob. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ 'newDLPProjectsDlpJobsGet' smart constructor.+data DLPProjectsDlpJobsGet = DLPProjectsDlpJobsGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the DlpJob resource.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsDlpJobsGet' with the minimum fields required to make a request.+newDLPProjectsDlpJobsGet ::+ -- | Required. The name of the DlpJob resource. See 'name'.+ Core.Text ->+ DLPProjectsDlpJobsGet+newDLPProjectsDlpJobsGet name =+ DLPProjectsDlpJobsGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsDlpJobsGet where+ type Rs DLPProjectsDlpJobsGet = GooglePrivacyDlpV2DlpJob+ type Scopes DLPProjectsDlpJobsGet = '[CloudPlatform'FullControl]+ requestClient DLPProjectsDlpJobsGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsDlpJobsGetResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/DlpJobs/List.hs view
@@ -0,0 +1,141 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.DlpJobs.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists DlpJobs that match the specified filter in the request. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.dlpJobs.list@.+module Gogol.DLP.Projects.DlpJobs.List+ ( -- * Resource+ DLPProjectsDlpJobsListResource,++ -- ** Constructing a Request+ DLPProjectsDlpJobsList (..),+ newDLPProjectsDlpJobsList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.dlpJobs.list@ method which the+-- 'DLPProjectsDlpJobsList' request conforms to.+type DLPProjectsDlpJobsListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "dlpJobs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "type" ProjectsDlpJobsListType+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ListDlpJobsResponse++-- | Lists DlpJobs that match the specified filter in the request. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ 'newDLPProjectsDlpJobsList' smart constructor.+data DLPProjectsDlpJobsList = DLPProjectsDlpJobsList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by @AND@ or @OR@ logical operators. A sequence of restrictions implicitly uses @AND@. * A restriction has the form of @{field} {operator} {value}@. * Supported fields\/values for inspect jobs: - @state@ - PENDING|RUNNING|CANCELED|FINISHED|FAILED - @inspected_storage@ - DATASTORE|CLOUD/STORAGE|BIGQUERY - @trigger_name@ - The name of the trigger that created the job. - \'end/time@- Corresponds to the time the job finished. - \'start_time@ - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - @state@ - RUNNING|CANCELED|FINISHED|FAILED - \'end/time@- Corresponds to the time the job finished. - \'start_time@ - Corresponds to the time the job finished. * The operator must be @=@ or @!=@. Examples: * inspected/storage = cloud/storage AND state = done * inspected/storage = cloud/storage OR inspected/storage = bigquery * inspected/storage = cloud/storage+ -- AND (state = done OR state = canceled) * end_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.+ filter :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc, end_time asc, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the job was created. - @end_time@: corresponds to the time the job ended. - @name@: corresponds to the job\'s name. - @state@: corresponds to @state@+ orderBy :: (Core.Maybe Core.Text),+ -- | The standard list page size.+ pageSize :: (Core.Maybe Core.Int32),+ -- | The standard list page token.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | The type of job. Defaults to @DlpJobType.INSPECT@+ type' :: (Core.Maybe ProjectsDlpJobsListType),+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsDlpJobsList' with the minimum fields required to make a request.+newDLPProjectsDlpJobsList ::+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPProjectsDlpJobsList+newDLPProjectsDlpJobsList parent =+ DLPProjectsDlpJobsList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ type' = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsDlpJobsList where+ type+ Rs DLPProjectsDlpJobsList =+ GooglePrivacyDlpV2ListDlpJobsResponse+ type Scopes DLPProjectsDlpJobsList = '[CloudPlatform'FullControl]+ requestClient DLPProjectsDlpJobsList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ locationId+ orderBy+ pageSize+ pageToken+ type'+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsDlpJobsListResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/Image/Redact.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Image.Redact+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/redacting-sensitive-data-images to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Only the first frame of each multiframe image is redacted. Metadata and other frames are omitted in the response.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.image.redact@.+module Gogol.DLP.Projects.Image.Redact+ ( -- * Resource+ DLPProjectsImageRedactResource,++ -- ** Constructing a Request+ DLPProjectsImageRedact (..),+ newDLPProjectsImageRedact,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.image.redact@ method which the+-- 'DLPProjectsImageRedact' request conforms to.+type DLPProjectsImageRedactResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "image:redact"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2RedactImageRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2RedactImageResponse++-- | Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/redacting-sensitive-data-images to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Only the first frame of each multiframe image is redacted. Metadata and other frames are omitted in the response.+--+-- /See:/ 'newDLPProjectsImageRedact' smart constructor.+data DLPProjectsImageRedact = DLPProjectsImageRedact+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2RedactImageRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsImageRedact' with the minimum fields required to make a request.+newDLPProjectsImageRedact ::+ -- | Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2RedactImageRequest ->+ DLPProjectsImageRedact+newDLPProjectsImageRedact parent payload =+ DLPProjectsImageRedact+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsImageRedact where+ type+ Rs DLPProjectsImageRedact =+ GooglePrivacyDlpV2RedactImageResponse+ type Scopes DLPProjectsImageRedact = '[CloudPlatform'FullControl]+ requestClient DLPProjectsImageRedact {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsImageRedactResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/InspectTemplates/Create.hs view
@@ -0,0 +1,123 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.InspectTemplates.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.inspectTemplates.create@.+module Gogol.DLP.Projects.InspectTemplates.Create+ ( -- * Resource+ DLPProjectsInspectTemplatesCreateResource,++ -- ** Constructing a Request+ DLPProjectsInspectTemplatesCreate (..),+ newDLPProjectsInspectTemplatesCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.inspectTemplates.create@ method which the+-- 'DLPProjectsInspectTemplatesCreate' request conforms to.+type DLPProjectsInspectTemplatesCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "inspectTemplates"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2CreateInspectTemplateRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2InspectTemplate++-- | Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPProjectsInspectTemplatesCreate' smart constructor.+data DLPProjectsInspectTemplatesCreate = DLPProjectsInspectTemplatesCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateInspectTemplateRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsInspectTemplatesCreate' with the minimum fields required to make a request.+newDLPProjectsInspectTemplatesCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateInspectTemplateRequest ->+ DLPProjectsInspectTemplatesCreate+newDLPProjectsInspectTemplatesCreate parent payload =+ DLPProjectsInspectTemplatesCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsInspectTemplatesCreate where+ type+ Rs DLPProjectsInspectTemplatesCreate =+ GooglePrivacyDlpV2InspectTemplate+ type+ Scopes DLPProjectsInspectTemplatesCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsInspectTemplatesCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsInspectTemplatesCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/InspectTemplates/Delete.hs view
@@ -0,0 +1,111 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.InspectTemplates.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes an InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.inspectTemplates.delete@.+module Gogol.DLP.Projects.InspectTemplates.Delete+ ( -- * Resource+ DLPProjectsInspectTemplatesDeleteResource,++ -- ** Constructing a Request+ DLPProjectsInspectTemplatesDelete (..),+ newDLPProjectsInspectTemplatesDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.inspectTemplates.delete@ method which the+-- 'DLPProjectsInspectTemplatesDelete' request conforms to.+type DLPProjectsInspectTemplatesDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes an InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPProjectsInspectTemplatesDelete' smart constructor.+data DLPProjectsInspectTemplatesDelete = DLPProjectsInspectTemplatesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and inspectTemplate to be deleted, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsInspectTemplatesDelete' with the minimum fields required to make a request.+newDLPProjectsInspectTemplatesDelete ::+ -- | Required. Resource name of the organization and inspectTemplate to be deleted, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342. See 'name'.+ Core.Text ->+ DLPProjectsInspectTemplatesDelete+newDLPProjectsInspectTemplatesDelete name =+ DLPProjectsInspectTemplatesDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsInspectTemplatesDelete where+ type Rs DLPProjectsInspectTemplatesDelete = GoogleProtobufEmpty+ type+ Scopes DLPProjectsInspectTemplatesDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsInspectTemplatesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsInspectTemplatesDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/InspectTemplates/Get.hs view
@@ -0,0 +1,111 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.InspectTemplates.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets an InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.inspectTemplates.get@.+module Gogol.DLP.Projects.InspectTemplates.Get+ ( -- * Resource+ DLPProjectsInspectTemplatesGetResource,++ -- ** Constructing a Request+ DLPProjectsInspectTemplatesGet (..),+ newDLPProjectsInspectTemplatesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.inspectTemplates.get@ method which the+-- 'DLPProjectsInspectTemplatesGet' request conforms to.+type DLPProjectsInspectTemplatesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2InspectTemplate++-- | Gets an InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPProjectsInspectTemplatesGet' smart constructor.+data DLPProjectsInspectTemplatesGet = DLPProjectsInspectTemplatesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and inspectTemplate to be read, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsInspectTemplatesGet' with the minimum fields required to make a request.+newDLPProjectsInspectTemplatesGet ::+ -- | Required. Resource name of the organization and inspectTemplate to be read, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342. See 'name'.+ Core.Text ->+ DLPProjectsInspectTemplatesGet+newDLPProjectsInspectTemplatesGet name =+ DLPProjectsInspectTemplatesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsInspectTemplatesGet where+ type+ Rs DLPProjectsInspectTemplatesGet =+ GooglePrivacyDlpV2InspectTemplate+ type+ Scopes DLPProjectsInspectTemplatesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsInspectTemplatesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsInspectTemplatesGetResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/InspectTemplates/List.hs view
@@ -0,0 +1,134 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.InspectTemplates.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists InspectTemplates. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.inspectTemplates.list@.+module Gogol.DLP.Projects.InspectTemplates.List+ ( -- * Resource+ DLPProjectsInspectTemplatesListResource,++ -- ** Constructing a Request+ DLPProjectsInspectTemplatesList (..),+ newDLPProjectsInspectTemplatesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.inspectTemplates.list@ method which the+-- 'DLPProjectsInspectTemplatesList' request conforms to.+type DLPProjectsInspectTemplatesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "inspectTemplates"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListInspectTemplatesResponse++-- | Lists InspectTemplates. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPProjectsInspectTemplatesList' smart constructor.+data DLPProjectsInspectTemplatesList = DLPProjectsInspectTemplatesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc,update_time, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the template was created. - @update_time@: corresponds to the time the template was last updated. - @name@: corresponds to the template\'s name. - @display_name@: corresponds to the template\'s display name.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to @ListInspectTemplates@.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsInspectTemplatesList' with the minimum fields required to make a request.+newDLPProjectsInspectTemplatesList ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPProjectsInspectTemplatesList+newDLPProjectsInspectTemplatesList parent =+ DLPProjectsInspectTemplatesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsInspectTemplatesList where+ type+ Rs DLPProjectsInspectTemplatesList =+ GooglePrivacyDlpV2ListInspectTemplatesResponse+ type+ Scopes DLPProjectsInspectTemplatesList =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsInspectTemplatesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ locationId+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsInspectTemplatesListResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/InspectTemplates/Patch.hs view
@@ -0,0 +1,120 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.InspectTemplates.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.inspectTemplates.patch@.+module Gogol.DLP.Projects.InspectTemplates.Patch+ ( -- * Resource+ DLPProjectsInspectTemplatesPatchResource,++ -- ** Constructing a Request+ DLPProjectsInspectTemplatesPatch (..),+ newDLPProjectsInspectTemplatesPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.inspectTemplates.patch@ method which the+-- 'DLPProjectsInspectTemplatesPatch' request conforms to.+type DLPProjectsInspectTemplatesPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2UpdateInspectTemplateRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2InspectTemplate++-- | Updates the InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPProjectsInspectTemplatesPatch' smart constructor.+data DLPProjectsInspectTemplatesPatch = DLPProjectsInspectTemplatesPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of organization and inspectTemplate to be updated, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateInspectTemplateRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsInspectTemplatesPatch' with the minimum fields required to make a request.+newDLPProjectsInspectTemplatesPatch ::+ -- | Required. Resource name of organization and inspectTemplate to be updated, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateInspectTemplateRequest ->+ DLPProjectsInspectTemplatesPatch+newDLPProjectsInspectTemplatesPatch name payload =+ DLPProjectsInspectTemplatesPatch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsInspectTemplatesPatch where+ type+ Rs DLPProjectsInspectTemplatesPatch =+ GooglePrivacyDlpV2InspectTemplate+ type+ Scopes DLPProjectsInspectTemplatesPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsInspectTemplatesPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsInspectTemplatesPatchResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/JobTriggers/Activate.hs view
@@ -0,0 +1,118 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.JobTriggers.Activate+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.jobTriggers.activate@.+module Gogol.DLP.Projects.JobTriggers.Activate+ ( -- * Resource+ DLPProjectsJobTriggersActivateResource,++ -- ** Constructing a Request+ DLPProjectsJobTriggersActivate (..),+ newDLPProjectsJobTriggersActivate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.jobTriggers.activate@ method which the+-- 'DLPProjectsJobTriggersActivate' request conforms to.+type DLPProjectsJobTriggersActivateResource =+ "v2"+ Core.:> Core.CaptureMode "name" "activate" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2ActivateJobTriggerRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2DlpJob++-- | Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.+--+-- /See:/ 'newDLPProjectsJobTriggersActivate' smart constructor.+data DLPProjectsJobTriggersActivate = DLPProjectsJobTriggersActivate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the trigger to activate, for example @projects\/dlp-test-project\/jobTriggers\/53234423@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2ActivateJobTriggerRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsJobTriggersActivate' with the minimum fields required to make a request.+newDLPProjectsJobTriggersActivate ::+ -- | Required. Resource name of the trigger to activate, for example @projects\/dlp-test-project\/jobTriggers\/53234423@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2ActivateJobTriggerRequest ->+ DLPProjectsJobTriggersActivate+newDLPProjectsJobTriggersActivate name payload =+ DLPProjectsJobTriggersActivate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsJobTriggersActivate where+ type Rs DLPProjectsJobTriggersActivate = GooglePrivacyDlpV2DlpJob+ type+ Scopes DLPProjectsJobTriggersActivate =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsJobTriggersActivate {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsJobTriggersActivateResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/JobTriggers/Create.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.JobTriggers.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.jobTriggers.create@.+module Gogol.DLP.Projects.JobTriggers.Create+ ( -- * Resource+ DLPProjectsJobTriggersCreateResource,++ -- ** Constructing a Request+ DLPProjectsJobTriggersCreate (..),+ newDLPProjectsJobTriggersCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.jobTriggers.create@ method which the+-- 'DLPProjectsJobTriggersCreate' request conforms to.+type DLPProjectsJobTriggersCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "jobTriggers"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2CreateJobTriggerRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2JobTrigger++-- | Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ 'newDLPProjectsJobTriggersCreate' smart constructor.+data DLPProjectsJobTriggersCreate = DLPProjectsJobTriggersCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateJobTriggerRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsJobTriggersCreate' with the minimum fields required to make a request.+newDLPProjectsJobTriggersCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateJobTriggerRequest ->+ DLPProjectsJobTriggersCreate+newDLPProjectsJobTriggersCreate parent payload =+ DLPProjectsJobTriggersCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsJobTriggersCreate where+ type Rs DLPProjectsJobTriggersCreate = GooglePrivacyDlpV2JobTrigger+ type+ Scopes DLPProjectsJobTriggersCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsJobTriggersCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsJobTriggersCreateResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/JobTriggers/Delete.hs view
@@ -0,0 +1,109 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.JobTriggers.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.jobTriggers.delete@.+module Gogol.DLP.Projects.JobTriggers.Delete+ ( -- * Resource+ DLPProjectsJobTriggersDeleteResource,++ -- ** Constructing a Request+ DLPProjectsJobTriggersDelete (..),+ newDLPProjectsJobTriggersDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.jobTriggers.delete@ method which the+-- 'DLPProjectsJobTriggersDelete' request conforms to.+type DLPProjectsJobTriggersDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ 'newDLPProjectsJobTriggersDelete' smart constructor.+data DLPProjectsJobTriggersDelete = DLPProjectsJobTriggersDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsJobTriggersDelete' with the minimum fields required to make a request.+newDLPProjectsJobTriggersDelete ::+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@. See 'name'.+ Core.Text ->+ DLPProjectsJobTriggersDelete+newDLPProjectsJobTriggersDelete name =+ DLPProjectsJobTriggersDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsJobTriggersDelete where+ type Rs DLPProjectsJobTriggersDelete = GoogleProtobufEmpty+ type+ Scopes DLPProjectsJobTriggersDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsJobTriggersDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsJobTriggersDeleteResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/JobTriggers/Get.hs view
@@ -0,0 +1,109 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.JobTriggers.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.jobTriggers.get@.+module Gogol.DLP.Projects.JobTriggers.Get+ ( -- * Resource+ DLPProjectsJobTriggersGetResource,++ -- ** Constructing a Request+ DLPProjectsJobTriggersGet (..),+ newDLPProjectsJobTriggersGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.jobTriggers.get@ method which the+-- 'DLPProjectsJobTriggersGet' request conforms to.+type DLPProjectsJobTriggersGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2JobTrigger++-- | Gets a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ 'newDLPProjectsJobTriggersGet' smart constructor.+data DLPProjectsJobTriggersGet = DLPProjectsJobTriggersGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsJobTriggersGet' with the minimum fields required to make a request.+newDLPProjectsJobTriggersGet ::+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@. See 'name'.+ Core.Text ->+ DLPProjectsJobTriggersGet+newDLPProjectsJobTriggersGet name =+ DLPProjectsJobTriggersGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsJobTriggersGet where+ type Rs DLPProjectsJobTriggersGet = GooglePrivacyDlpV2JobTrigger+ type+ Scopes DLPProjectsJobTriggersGet =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsJobTriggersGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsJobTriggersGetResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/JobTriggers/List.hs view
@@ -0,0 +1,142 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.JobTriggers.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists job triggers. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.jobTriggers.list@.+module Gogol.DLP.Projects.JobTriggers.List+ ( -- * Resource+ DLPProjectsJobTriggersListResource,++ -- ** Constructing a Request+ DLPProjectsJobTriggersList (..),+ newDLPProjectsJobTriggersList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.jobTriggers.list@ method which the+-- 'DLPProjectsJobTriggersList' request conforms to.+type DLPProjectsJobTriggersListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "jobTriggers"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "type" ProjectsJobTriggersListType+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ListJobTriggersResponse++-- | Lists job triggers. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ 'newDLPProjectsJobTriggersList' smart constructor.+data DLPProjectsJobTriggersList = DLPProjectsJobTriggersList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by @AND@ or @OR@ logical operators. A sequence of restrictions implicitly uses @AND@. * A restriction has the form of @{field} {operator} {value}@. * Supported fields\/values for inspect triggers: - @status@ - HEALTHY|PAUSED|CANCELLED - @inspected_storage@ - DATASTORE|CLOUD/STORAGE|BIGQUERY - \'last/run/time@- RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - \'error_count\' - Number of errors that have occurred while running. * The operator must be@=@or@!=\` for status and inspected/storage. Examples: * inspected/storage = cloud/storage AND status = HEALTHY * inspected/storage = cloud/storage OR inspected/storage = bigquery * inspected/storage = cloud/storage AND (state = PAUSED OR state = HEALTHY) * last/run_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.+ filter :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of triggeredJob fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc,update_time, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the JobTrigger was created. - @update_time@: corresponds to the time the JobTrigger was last updated. - @last_run_time@: corresponds to the last time the JobTrigger ran. - @name@: corresponds to the JobTrigger\'s name. - @display_name@: corresponds to the JobTrigger\'s display name. - @status@: corresponds to JobTrigger\'s status.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by a server.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to ListJobTriggers. @order_by@ field must not change for subsequent calls.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | The type of jobs. Will use @DlpJobType.INSPECT@ if not set.+ type' :: (Core.Maybe ProjectsJobTriggersListType),+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsJobTriggersList' with the minimum fields required to make a request.+newDLPProjectsJobTriggersList ::+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPProjectsJobTriggersList+newDLPProjectsJobTriggersList parent =+ DLPProjectsJobTriggersList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ type' = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsJobTriggersList where+ type+ Rs DLPProjectsJobTriggersList =+ GooglePrivacyDlpV2ListJobTriggersResponse+ type+ Scopes DLPProjectsJobTriggersList =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsJobTriggersList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ locationId+ orderBy+ pageSize+ pageToken+ type'+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsJobTriggersListResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/JobTriggers/Patch.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.JobTriggers.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.jobTriggers.patch@.+module Gogol.DLP.Projects.JobTriggers.Patch+ ( -- * Resource+ DLPProjectsJobTriggersPatchResource,++ -- ** Constructing a Request+ DLPProjectsJobTriggersPatch (..),+ newDLPProjectsJobTriggersPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.jobTriggers.patch@ method which the+-- 'DLPProjectsJobTriggersPatch' request conforms to.+type DLPProjectsJobTriggersPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2UpdateJobTriggerRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2JobTrigger++-- | Updates a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ 'newDLPProjectsJobTriggersPatch' smart constructor.+data DLPProjectsJobTriggersPatch = DLPProjectsJobTriggersPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateJobTriggerRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsJobTriggersPatch' with the minimum fields required to make a request.+newDLPProjectsJobTriggersPatch ::+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateJobTriggerRequest ->+ DLPProjectsJobTriggersPatch+newDLPProjectsJobTriggersPatch name payload =+ DLPProjectsJobTriggersPatch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsJobTriggersPatch where+ type Rs DLPProjectsJobTriggersPatch = GooglePrivacyDlpV2JobTrigger+ type+ Scopes DLPProjectsJobTriggersPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsJobTriggersPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsJobTriggersPatchResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/ColumnDataProfiles/Get.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.ColumnDataProfiles.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a column data profile.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.columnDataProfiles.get@.+module Gogol.DLP.Projects.Locations.ColumnDataProfiles.Get+ ( -- * Resource+ DLPProjectsLocationsColumnDataProfilesGetResource,++ -- ** Constructing a Request+ DLPProjectsLocationsColumnDataProfilesGet (..),+ newDLPProjectsLocationsColumnDataProfilesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.columnDataProfiles.get@ method which the+-- 'DLPProjectsLocationsColumnDataProfilesGet' request conforms to.+type DLPProjectsLocationsColumnDataProfilesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ColumnDataProfile++-- | Gets a column data profile.+--+-- /See:/ 'newDLPProjectsLocationsColumnDataProfilesGet' smart constructor.+data DLPProjectsLocationsColumnDataProfilesGet = DLPProjectsLocationsColumnDataProfilesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name, for example @organizations\/12345\/locations\/us\/columnDataProfiles\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsColumnDataProfilesGet' with the minimum fields required to make a request.+newDLPProjectsLocationsColumnDataProfilesGet ::+ -- | Required. Resource name, for example @organizations\/12345\/locations\/us\/columnDataProfiles\/53234423@. See 'name'.+ Core.Text ->+ DLPProjectsLocationsColumnDataProfilesGet+newDLPProjectsLocationsColumnDataProfilesGet name =+ DLPProjectsLocationsColumnDataProfilesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsColumnDataProfilesGet+ where+ type+ Rs DLPProjectsLocationsColumnDataProfilesGet =+ GooglePrivacyDlpV2ColumnDataProfile+ type+ Scopes DLPProjectsLocationsColumnDataProfilesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsColumnDataProfilesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsColumnDataProfilesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/ColumnDataProfiles/List.hs view
@@ -0,0 +1,140 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.ColumnDataProfiles.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists column data profiles for an organization.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.columnDataProfiles.list@.+module Gogol.DLP.Projects.Locations.ColumnDataProfiles.List+ ( -- * Resource+ DLPProjectsLocationsColumnDataProfilesListResource,++ -- ** Constructing a Request+ DLPProjectsLocationsColumnDataProfilesList (..),+ newDLPProjectsLocationsColumnDataProfilesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.columnDataProfiles.list@ method which the+-- 'DLPProjectsLocationsColumnDataProfilesList' request conforms to.+type DLPProjectsLocationsColumnDataProfilesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "columnDataProfiles"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListColumnDataProfilesResponse++-- | Lists column data profiles for an organization.+--+-- /See:/ 'newDLPProjectsLocationsColumnDataProfilesList' smart constructor.+data DLPProjectsLocationsColumnDataProfilesList = DLPProjectsLocationsColumnDataProfilesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by @AND@ or @OR@ logical operators. A sequence of restrictions implicitly uses @AND@. * A restriction has the form of @{field} {operator} {value}@. * Supported fields\/values: - @table_data_profile_name@ - The name of the related table data profile. - @project_id@ - The Google Cloud project ID. (REQUIRED) - @dataset_id@ - The BigQuery dataset ID. (REQUIRED) - @table_id@ - The BigQuery table ID. (REQUIRED) - @field_id@ - The ID of the BigQuery field. - @info_type@ - The infotype detected in the resource. - @sensitivity_level@ - HIGH|MEDIUM|LOW - @data_risk_level@: How much risk is associated with this data. - @status_code@ - an RPC status code as defined in https:\/\/github.com\/googleapis\/googleapis\/blob\/master\/google\/rpc\/code.proto * The operator must be @=@ for project/id, dataset/id, and table/id. Other filters also support @!=@. Examples: * project/id = 12345 AND+ -- status/code = 1 * project/id = 12345 AND sensitivity/level = HIGH * project/id = 12345 AND info/type = STREET/ADDRESS The length of this field should be no more than 500 characters.+ filter :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * @project_id asc@ * @table_id@ * @sensitivity_level desc@ Supported fields are: - @project_id@: The Google Cloud project ID. - @dataset_id@: The ID of a BigQuery dataset. - @table_id@: The ID of a BigQuery table. - @sensitivity_level@: How sensitive the data in a column is, at most. - @data_risk_level@: How much risk is associated with this data. - @profile_last_generated@: When the profile was last updated in epoch seconds.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization or project, for example @organizations\/433245324\/locations\/europe@ or @projects\/project-id\/locations\/asia@.+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsColumnDataProfilesList' with the minimum fields required to make a request.+newDLPProjectsLocationsColumnDataProfilesList ::+ -- | Required. Resource name of the organization or project, for example @organizations\/433245324\/locations\/europe@ or @projects\/project-id\/locations\/asia@. See 'parent'.+ Core.Text ->+ DLPProjectsLocationsColumnDataProfilesList+newDLPProjectsLocationsColumnDataProfilesList parent =+ DLPProjectsLocationsColumnDataProfilesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsColumnDataProfilesList+ where+ type+ Rs DLPProjectsLocationsColumnDataProfilesList =+ GooglePrivacyDlpV2ListColumnDataProfilesResponse+ type+ Scopes DLPProjectsLocationsColumnDataProfilesList =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsColumnDataProfilesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsColumnDataProfilesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/Connections/Create.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.Connections.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Create a Connection to an external data source.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.connections.create@.+module Gogol.DLP.Projects.Locations.Connections.Create+ ( -- * Resource+ DLPProjectsLocationsConnectionsCreateResource,++ -- ** Constructing a Request+ DLPProjectsLocationsConnectionsCreate (..),+ newDLPProjectsLocationsConnectionsCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.connections.create@ method which the+-- 'DLPProjectsLocationsConnectionsCreate' request conforms to.+type DLPProjectsLocationsConnectionsCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "connections"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2CreateConnectionRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2Connection++-- | Create a Connection to an external data source.+--+-- /See:/ 'newDLPProjectsLocationsConnectionsCreate' smart constructor.+data DLPProjectsLocationsConnectionsCreate = DLPProjectsLocationsConnectionsCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization): + Projects scope: @projects\/{project_id}\/locations\/{location_id}@ + Organizations scope: @organizations\/{org_id}\/locations\/{location_id}@+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateConnectionRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsConnectionsCreate' with the minimum fields required to make a request.+newDLPProjectsLocationsConnectionsCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization): + Projects scope: @projects\/{project_id}\/locations\/{location_id}@ + Organizations scope: @organizations\/{org_id}\/locations\/{location_id}@ See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateConnectionRequest ->+ DLPProjectsLocationsConnectionsCreate+newDLPProjectsLocationsConnectionsCreate parent payload =+ DLPProjectsLocationsConnectionsCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsConnectionsCreate where+ type+ Rs DLPProjectsLocationsConnectionsCreate =+ GooglePrivacyDlpV2Connection+ type+ Scopes DLPProjectsLocationsConnectionsCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsConnectionsCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsConnectionsCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/Connections/Delete.hs view
@@ -0,0 +1,111 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.Connections.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Delete a Connection.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.connections.delete@.+module Gogol.DLP.Projects.Locations.Connections.Delete+ ( -- * Resource+ DLPProjectsLocationsConnectionsDeleteResource,++ -- ** Constructing a Request+ DLPProjectsLocationsConnectionsDelete (..),+ newDLPProjectsLocationsConnectionsDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.connections.delete@ method which the+-- 'DLPProjectsLocationsConnectionsDelete' request conforms to.+type DLPProjectsLocationsConnectionsDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Delete a Connection.+--+-- /See:/ 'newDLPProjectsLocationsConnectionsDelete' smart constructor.+data DLPProjectsLocationsConnectionsDelete = DLPProjectsLocationsConnectionsDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the Connection to be deleted, in the format: @projects\/{project}\/locations\/{location}\/connections\/{connection}@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsConnectionsDelete' with the minimum fields required to make a request.+newDLPProjectsLocationsConnectionsDelete ::+ -- | Required. Resource name of the Connection to be deleted, in the format: @projects\/{project}\/locations\/{location}\/connections\/{connection}@. See 'name'.+ Core.Text ->+ DLPProjectsLocationsConnectionsDelete+newDLPProjectsLocationsConnectionsDelete name =+ DLPProjectsLocationsConnectionsDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsConnectionsDelete where+ type Rs DLPProjectsLocationsConnectionsDelete = GoogleProtobufEmpty+ type+ Scopes DLPProjectsLocationsConnectionsDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsConnectionsDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsConnectionsDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/Connections/Get.hs view
@@ -0,0 +1,113 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.Connections.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Get a Connection by name.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.connections.get@.+module Gogol.DLP.Projects.Locations.Connections.Get+ ( -- * Resource+ DLPProjectsLocationsConnectionsGetResource,++ -- ** Constructing a Request+ DLPProjectsLocationsConnectionsGet (..),+ newDLPProjectsLocationsConnectionsGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.connections.get@ method which the+-- 'DLPProjectsLocationsConnectionsGet' request conforms to.+type DLPProjectsLocationsConnectionsGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2Connection++-- | Get a Connection by name.+--+-- /See:/ 'newDLPProjectsLocationsConnectionsGet' smart constructor.+data DLPProjectsLocationsConnectionsGet = DLPProjectsLocationsConnectionsGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name in the format: @projects\/{project}\/locations\/{location}\/connections\/{connection}@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsConnectionsGet' with the minimum fields required to make a request.+newDLPProjectsLocationsConnectionsGet ::+ -- | Required. Resource name in the format: @projects\/{project}\/locations\/{location}\/connections\/{connection}@. See 'name'.+ Core.Text ->+ DLPProjectsLocationsConnectionsGet+newDLPProjectsLocationsConnectionsGet name =+ DLPProjectsLocationsConnectionsGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsConnectionsGet where+ type+ Rs DLPProjectsLocationsConnectionsGet =+ GooglePrivacyDlpV2Connection+ type+ Scopes DLPProjectsLocationsConnectionsGet =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsConnectionsGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsConnectionsGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/Connections/List.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.Connections.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists Connections in a parent. Use SearchConnections to see all connections within an organization.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.connections.list@.+module Gogol.DLP.Projects.Locations.Connections.List+ ( -- * Resource+ DLPProjectsLocationsConnectionsListResource,++ -- ** Constructing a Request+ DLPProjectsLocationsConnectionsList (..),+ newDLPProjectsLocationsConnectionsList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.connections.list@ method which the+-- 'DLPProjectsLocationsConnectionsList' request conforms to.+type DLPProjectsLocationsConnectionsListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "connections"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ListConnectionsResponse++-- | Lists Connections in a parent. Use SearchConnections to see all connections within an organization.+--+-- /See:/ 'newDLPProjectsLocationsConnectionsList' smart constructor.+data DLPProjectsLocationsConnectionsList = DLPProjectsLocationsConnectionsList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Optional. Supported field\/value: @state@ - MISSING|AVAILABLE|ERROR+ filter :: (Core.Maybe Core.Text),+ -- | Optional. Number of results per page, max 1000.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Optional. Page token from a previous page to return the next set of results. If set, all other request fields must match the original request.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization or project, for example, @organizations\/433245324\/locations\/europe@ or @projects\/project-id\/locations\/asia@.+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsConnectionsList' with the minimum fields required to make a request.+newDLPProjectsLocationsConnectionsList ::+ -- | Required. Resource name of the organization or project, for example, @organizations\/433245324\/locations\/europe@ or @projects\/project-id\/locations\/asia@. See 'parent'.+ Core.Text ->+ DLPProjectsLocationsConnectionsList+newDLPProjectsLocationsConnectionsList parent =+ DLPProjectsLocationsConnectionsList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsConnectionsList where+ type+ Rs DLPProjectsLocationsConnectionsList =+ GooglePrivacyDlpV2ListConnectionsResponse+ type+ Scopes DLPProjectsLocationsConnectionsList =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsConnectionsList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsConnectionsListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/Connections/Patch.hs view
@@ -0,0 +1,120 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.Connections.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Update a Connection.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.connections.patch@.+module Gogol.DLP.Projects.Locations.Connections.Patch+ ( -- * Resource+ DLPProjectsLocationsConnectionsPatchResource,++ -- ** Constructing a Request+ DLPProjectsLocationsConnectionsPatch (..),+ newDLPProjectsLocationsConnectionsPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.connections.patch@ method which the+-- 'DLPProjectsLocationsConnectionsPatch' request conforms to.+type DLPProjectsLocationsConnectionsPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2UpdateConnectionRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2Connection++-- | Update a Connection.+--+-- /See:/ 'newDLPProjectsLocationsConnectionsPatch' smart constructor.+data DLPProjectsLocationsConnectionsPatch = DLPProjectsLocationsConnectionsPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name in the format: @projects\/{project}\/locations\/{location}\/connections\/{connection}@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateConnectionRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsConnectionsPatch' with the minimum fields required to make a request.+newDLPProjectsLocationsConnectionsPatch ::+ -- | Required. Resource name in the format: @projects\/{project}\/locations\/{location}\/connections\/{connection}@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateConnectionRequest ->+ DLPProjectsLocationsConnectionsPatch+newDLPProjectsLocationsConnectionsPatch name payload =+ DLPProjectsLocationsConnectionsPatch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsConnectionsPatch where+ type+ Rs DLPProjectsLocationsConnectionsPatch =+ GooglePrivacyDlpV2Connection+ type+ Scopes DLPProjectsLocationsConnectionsPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsConnectionsPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsConnectionsPatchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/Connections/Search.hs view
@@ -0,0 +1,129 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.Connections.Search+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Searches for Connections in a parent.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.connections.search@.+module Gogol.DLP.Projects.Locations.Connections.Search+ ( -- * Resource+ DLPProjectsLocationsConnectionsSearchResource,++ -- ** Constructing a Request+ DLPProjectsLocationsConnectionsSearch (..),+ newDLPProjectsLocationsConnectionsSearch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.connections.search@ method which the+-- 'DLPProjectsLocationsConnectionsSearch' request conforms to.+type DLPProjectsLocationsConnectionsSearchResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "connections:search"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2SearchConnectionsResponse++-- | Searches for Connections in a parent.+--+-- /See:/ 'newDLPProjectsLocationsConnectionsSearch' smart constructor.+data DLPProjectsLocationsConnectionsSearch = DLPProjectsLocationsConnectionsSearch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Optional. Supported field\/value: - @state@ - MISSING|AVAILABLE|ERROR+ filter :: (Core.Maybe Core.Text),+ -- | Optional. Number of results per page, max 1000.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Optional. Page token from a previous page to return the next set of results. If set, all other request fields must match the original request.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization or project with a wildcard location, for example, @organizations\/433245324\/locations\/-@ or @projects\/project-id\/locations\/-@.+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsConnectionsSearch' with the minimum fields required to make a request.+newDLPProjectsLocationsConnectionsSearch ::+ -- | Required. Resource name of the organization or project with a wildcard location, for example, @organizations\/433245324\/locations\/-@ or @projects\/project-id\/locations\/-@. See 'parent'.+ Core.Text ->+ DLPProjectsLocationsConnectionsSearch+newDLPProjectsLocationsConnectionsSearch parent =+ DLPProjectsLocationsConnectionsSearch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsConnectionsSearch where+ type+ Rs DLPProjectsLocationsConnectionsSearch =+ GooglePrivacyDlpV2SearchConnectionsResponse+ type+ Scopes DLPProjectsLocationsConnectionsSearch =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsConnectionsSearch {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsConnectionsSearchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/Content/Deidentify.hs view
@@ -0,0 +1,123 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.Content.Deidentify+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/deidentify-sensitive-data to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.content.deidentify@.+module Gogol.DLP.Projects.Locations.Content.Deidentify+ ( -- * Resource+ DLPProjectsLocationsContentDeidentifyResource,++ -- ** Constructing a Request+ DLPProjectsLocationsContentDeidentify (..),+ newDLPProjectsLocationsContentDeidentify,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.content.deidentify@ method which the+-- 'DLPProjectsLocationsContentDeidentify' request conforms to.+type DLPProjectsLocationsContentDeidentifyResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "content:deidentify"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2DeidentifyContentRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2DeidentifyContentResponse++-- | De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/deidentify-sensitive-data to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.+--+-- /See:/ 'newDLPProjectsLocationsContentDeidentify' smart constructor.+data DLPProjectsLocationsContentDeidentify = DLPProjectsLocationsContentDeidentify+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2DeidentifyContentRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsContentDeidentify' with the minimum fields required to make a request.+newDLPProjectsLocationsContentDeidentify ::+ -- | Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2DeidentifyContentRequest ->+ DLPProjectsLocationsContentDeidentify+newDLPProjectsLocationsContentDeidentify parent payload =+ DLPProjectsLocationsContentDeidentify+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsContentDeidentify where+ type+ Rs DLPProjectsLocationsContentDeidentify =+ GooglePrivacyDlpV2DeidentifyContentResponse+ type+ Scopes DLPProjectsLocationsContentDeidentify =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsContentDeidentify {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsContentDeidentifyResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/Content/Inspect.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.Content.Inspect+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. For how to guides, see https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-images and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-text,+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.content.inspect@.+module Gogol.DLP.Projects.Locations.Content.Inspect+ ( -- * Resource+ DLPProjectsLocationsContentInspectResource,++ -- ** Constructing a Request+ DLPProjectsLocationsContentInspect (..),+ newDLPProjectsLocationsContentInspect,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.content.inspect@ method which the+-- 'DLPProjectsLocationsContentInspect' request conforms to.+type DLPProjectsLocationsContentInspectResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "content:inspect"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2InspectContentRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2InspectContentResponse++-- | Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. For how to guides, see https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-images and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-text,+--+-- /See:/ 'newDLPProjectsLocationsContentInspect' smart constructor.+data DLPProjectsLocationsContentInspect = DLPProjectsLocationsContentInspect+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2InspectContentRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsContentInspect' with the minimum fields required to make a request.+newDLPProjectsLocationsContentInspect ::+ -- | Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2InspectContentRequest ->+ DLPProjectsLocationsContentInspect+newDLPProjectsLocationsContentInspect parent payload =+ DLPProjectsLocationsContentInspect+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsContentInspect where+ type+ Rs DLPProjectsLocationsContentInspect =+ GooglePrivacyDlpV2InspectContentResponse+ type+ Scopes DLPProjectsLocationsContentInspect =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsContentInspect {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsContentInspectResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/Content/Reidentify.hs view
@@ -0,0 +1,123 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.Content.Reidentify+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Re-identifies content that has been de-identified. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/pseudonymization#re-identification/in/free/text/code_example to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.content.reidentify@.+module Gogol.DLP.Projects.Locations.Content.Reidentify+ ( -- * Resource+ DLPProjectsLocationsContentReidentifyResource,++ -- ** Constructing a Request+ DLPProjectsLocationsContentReidentify (..),+ newDLPProjectsLocationsContentReidentify,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.content.reidentify@ method which the+-- 'DLPProjectsLocationsContentReidentify' request conforms to.+type DLPProjectsLocationsContentReidentifyResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "content:reidentify"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2ReidentifyContentRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2ReidentifyContentResponse++-- | Re-identifies content that has been de-identified. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/pseudonymization#re-identification/in/free/text/code_example to learn more.+--+-- /See:/ 'newDLPProjectsLocationsContentReidentify' smart constructor.+data DLPProjectsLocationsContentReidentify = DLPProjectsLocationsContentReidentify+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2ReidentifyContentRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsContentReidentify' with the minimum fields required to make a request.+newDLPProjectsLocationsContentReidentify ::+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2ReidentifyContentRequest ->+ DLPProjectsLocationsContentReidentify+newDLPProjectsLocationsContentReidentify parent payload =+ DLPProjectsLocationsContentReidentify+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsContentReidentify where+ type+ Rs DLPProjectsLocationsContentReidentify =+ GooglePrivacyDlpV2ReidentifyContentResponse+ type+ Scopes DLPProjectsLocationsContentReidentify =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsContentReidentify {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsContentReidentifyResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DeidentifyTemplates/Create.hs view
@@ -0,0 +1,127 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DeidentifyTemplates.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.deidentifyTemplates.create@.+module Gogol.DLP.Projects.Locations.DeidentifyTemplates.Create+ ( -- * Resource+ DLPProjectsLocationsDeidentifyTemplatesCreateResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDeidentifyTemplatesCreate (..),+ newDLPProjectsLocationsDeidentifyTemplatesCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.deidentifyTemplates.create@ method which the+-- 'DLPProjectsLocationsDeidentifyTemplatesCreate' request conforms to.+type DLPProjectsLocationsDeidentifyTemplatesCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "deidentifyTemplates"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2CreateDeidentifyTemplateRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2DeidentifyTemplate++-- | Creates a DeidentifyTemplate for reusing frequently used configuration for de-identifying content, images, and storage. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPProjectsLocationsDeidentifyTemplatesCreate' smart constructor.+data DLPProjectsLocationsDeidentifyTemplatesCreate = DLPProjectsLocationsDeidentifyTemplatesCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDeidentifyTemplatesCreate' with the minimum fields required to make a request.+newDLPProjectsLocationsDeidentifyTemplatesCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateDeidentifyTemplateRequest ->+ DLPProjectsLocationsDeidentifyTemplatesCreate+newDLPProjectsLocationsDeidentifyTemplatesCreate parent payload =+ DLPProjectsLocationsDeidentifyTemplatesCreate+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsDeidentifyTemplatesCreate+ where+ type+ Rs DLPProjectsLocationsDeidentifyTemplatesCreate =+ GooglePrivacyDlpV2DeidentifyTemplate+ type+ Scopes DLPProjectsLocationsDeidentifyTemplatesCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDeidentifyTemplatesCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsDeidentifyTemplatesCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DeidentifyTemplates/Delete.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DeidentifyTemplates.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.deidentifyTemplates.delete@.+module Gogol.DLP.Projects.Locations.DeidentifyTemplates.Delete+ ( -- * Resource+ DLPProjectsLocationsDeidentifyTemplatesDeleteResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDeidentifyTemplatesDelete (..),+ newDLPProjectsLocationsDeidentifyTemplatesDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.deidentifyTemplates.delete@ method which the+-- 'DLPProjectsLocationsDeidentifyTemplatesDelete' request conforms to.+type DLPProjectsLocationsDeidentifyTemplatesDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes a DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPProjectsLocationsDeidentifyTemplatesDelete' smart constructor.+data DLPProjectsLocationsDeidentifyTemplatesDelete = DLPProjectsLocationsDeidentifyTemplatesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and deidentify template to be deleted, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDeidentifyTemplatesDelete' with the minimum fields required to make a request.+newDLPProjectsLocationsDeidentifyTemplatesDelete ::+ -- | Required. Resource name of the organization and deidentify template to be deleted, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342. See 'name'.+ Core.Text ->+ DLPProjectsLocationsDeidentifyTemplatesDelete+newDLPProjectsLocationsDeidentifyTemplatesDelete name =+ DLPProjectsLocationsDeidentifyTemplatesDelete+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsDeidentifyTemplatesDelete+ where+ type+ Rs DLPProjectsLocationsDeidentifyTemplatesDelete =+ GoogleProtobufEmpty+ type+ Scopes DLPProjectsLocationsDeidentifyTemplatesDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDeidentifyTemplatesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsDeidentifyTemplatesDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DeidentifyTemplates/Get.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DeidentifyTemplates.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.deidentifyTemplates.get@.+module Gogol.DLP.Projects.Locations.DeidentifyTemplates.Get+ ( -- * Resource+ DLPProjectsLocationsDeidentifyTemplatesGetResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDeidentifyTemplatesGet (..),+ newDLPProjectsLocationsDeidentifyTemplatesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.deidentifyTemplates.get@ method which the+-- 'DLPProjectsLocationsDeidentifyTemplatesGet' request conforms to.+type DLPProjectsLocationsDeidentifyTemplatesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2DeidentifyTemplate++-- | Gets a DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPProjectsLocationsDeidentifyTemplatesGet' smart constructor.+data DLPProjectsLocationsDeidentifyTemplatesGet = DLPProjectsLocationsDeidentifyTemplatesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and deidentify template to be read, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDeidentifyTemplatesGet' with the minimum fields required to make a request.+newDLPProjectsLocationsDeidentifyTemplatesGet ::+ -- | Required. Resource name of the organization and deidentify template to be read, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342. See 'name'.+ Core.Text ->+ DLPProjectsLocationsDeidentifyTemplatesGet+newDLPProjectsLocationsDeidentifyTemplatesGet name =+ DLPProjectsLocationsDeidentifyTemplatesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsDeidentifyTemplatesGet+ where+ type+ Rs DLPProjectsLocationsDeidentifyTemplatesGet =+ GooglePrivacyDlpV2DeidentifyTemplate+ type+ Scopes DLPProjectsLocationsDeidentifyTemplatesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDeidentifyTemplatesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsDeidentifyTemplatesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DeidentifyTemplates/List.hs view
@@ -0,0 +1,139 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DeidentifyTemplates.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists DeidentifyTemplates. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.deidentifyTemplates.list@.+module Gogol.DLP.Projects.Locations.DeidentifyTemplates.List+ ( -- * Resource+ DLPProjectsLocationsDeidentifyTemplatesListResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDeidentifyTemplatesList (..),+ newDLPProjectsLocationsDeidentifyTemplatesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.deidentifyTemplates.list@ method which the+-- 'DLPProjectsLocationsDeidentifyTemplatesList' request conforms to.+type DLPProjectsLocationsDeidentifyTemplatesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "deidentifyTemplates"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListDeidentifyTemplatesResponse++-- | Lists DeidentifyTemplates. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPProjectsLocationsDeidentifyTemplatesList' smart constructor.+data DLPProjectsLocationsDeidentifyTemplatesList = DLPProjectsLocationsDeidentifyTemplatesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc,update_time, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the template was created. - @update_time@: corresponds to the time the template was last updated. - @name@: corresponds to the template\'s name. - @display_name@: corresponds to the template\'s display name.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to @ListDeidentifyTemplates@.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDeidentifyTemplatesList' with the minimum fields required to make a request.+newDLPProjectsLocationsDeidentifyTemplatesList ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPProjectsLocationsDeidentifyTemplatesList+newDLPProjectsLocationsDeidentifyTemplatesList parent =+ DLPProjectsLocationsDeidentifyTemplatesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsDeidentifyTemplatesList+ where+ type+ Rs DLPProjectsLocationsDeidentifyTemplatesList =+ GooglePrivacyDlpV2ListDeidentifyTemplatesResponse+ type+ Scopes DLPProjectsLocationsDeidentifyTemplatesList =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDeidentifyTemplatesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ locationId+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsDeidentifyTemplatesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DeidentifyTemplates/Patch.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DeidentifyTemplates.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.deidentifyTemplates.patch@.+module Gogol.DLP.Projects.Locations.DeidentifyTemplates.Patch+ ( -- * Resource+ DLPProjectsLocationsDeidentifyTemplatesPatchResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDeidentifyTemplatesPatch (..),+ newDLPProjectsLocationsDeidentifyTemplatesPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.deidentifyTemplates.patch@ method which the+-- 'DLPProjectsLocationsDeidentifyTemplatesPatch' request conforms to.+type DLPProjectsLocationsDeidentifyTemplatesPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2DeidentifyTemplate++-- | Updates the DeidentifyTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates-deid to learn more.+--+-- /See:/ 'newDLPProjectsLocationsDeidentifyTemplatesPatch' smart constructor.+data DLPProjectsLocationsDeidentifyTemplatesPatch = DLPProjectsLocationsDeidentifyTemplatesPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of organization and deidentify template to be updated, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDeidentifyTemplatesPatch' with the minimum fields required to make a request.+newDLPProjectsLocationsDeidentifyTemplatesPatch ::+ -- | Required. Resource name of organization and deidentify template to be updated, for example @organizations\/433245324\/deidentifyTemplates\/432452342@ or projects\/project-id\/deidentifyTemplates\/432452342. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest ->+ DLPProjectsLocationsDeidentifyTemplatesPatch+newDLPProjectsLocationsDeidentifyTemplatesPatch name payload =+ DLPProjectsLocationsDeidentifyTemplatesPatch+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsDeidentifyTemplatesPatch+ where+ type+ Rs DLPProjectsLocationsDeidentifyTemplatesPatch =+ GooglePrivacyDlpV2DeidentifyTemplate+ type+ Scopes DLPProjectsLocationsDeidentifyTemplatesPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDeidentifyTemplatesPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsDeidentifyTemplatesPatchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DiscoveryConfigs/Create.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DiscoveryConfigs.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a config for discovery to scan and profile storage.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.discoveryConfigs.create@.+module Gogol.DLP.Projects.Locations.DiscoveryConfigs.Create+ ( -- * Resource+ DLPProjectsLocationsDiscoveryConfigsCreateResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDiscoveryConfigsCreate (..),+ newDLPProjectsLocationsDiscoveryConfigsCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.discoveryConfigs.create@ method which the+-- 'DLPProjectsLocationsDiscoveryConfigsCreate' request conforms to.+type DLPProjectsLocationsDiscoveryConfigsCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "discoveryConfigs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2CreateDiscoveryConfigRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2DiscoveryConfig++-- | Creates a config for discovery to scan and profile storage.+--+-- /See:/ 'newDLPProjectsLocationsDiscoveryConfigsCreate' smart constructor.+data DLPProjectsLocationsDiscoveryConfigsCreate = DLPProjectsLocationsDiscoveryConfigsCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization): + Projects scope: @projects\/{project_id}\/locations\/{location_id}@ + Organizations scope: @organizations\/{org_id}\/locations\/{location_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateDiscoveryConfigRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDiscoveryConfigsCreate' with the minimum fields required to make a request.+newDLPProjectsLocationsDiscoveryConfigsCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization): + Projects scope: @projects\/{project_id}\/locations\/{location_id}@ + Organizations scope: @organizations\/{org_id}\/locations\/{location_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateDiscoveryConfigRequest ->+ DLPProjectsLocationsDiscoveryConfigsCreate+newDLPProjectsLocationsDiscoveryConfigsCreate parent payload =+ DLPProjectsLocationsDiscoveryConfigsCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsDiscoveryConfigsCreate+ where+ type+ Rs DLPProjectsLocationsDiscoveryConfigsCreate =+ GooglePrivacyDlpV2DiscoveryConfig+ type+ Scopes DLPProjectsLocationsDiscoveryConfigsCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDiscoveryConfigsCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsDiscoveryConfigsCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DiscoveryConfigs/Delete.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DiscoveryConfigs.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a discovery configuration.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.discoveryConfigs.delete@.+module Gogol.DLP.Projects.Locations.DiscoveryConfigs.Delete+ ( -- * Resource+ DLPProjectsLocationsDiscoveryConfigsDeleteResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDiscoveryConfigsDelete (..),+ newDLPProjectsLocationsDiscoveryConfigsDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.discoveryConfigs.delete@ method which the+-- 'DLPProjectsLocationsDiscoveryConfigsDelete' request conforms to.+type DLPProjectsLocationsDiscoveryConfigsDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes a discovery configuration.+--+-- /See:/ 'newDLPProjectsLocationsDiscoveryConfigsDelete' smart constructor.+data DLPProjectsLocationsDiscoveryConfigsDelete = DLPProjectsLocationsDiscoveryConfigsDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the project and the config, for example @projects\/dlp-test-project\/discoveryConfigs\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDiscoveryConfigsDelete' with the minimum fields required to make a request.+newDLPProjectsLocationsDiscoveryConfigsDelete ::+ -- | Required. Resource name of the project and the config, for example @projects\/dlp-test-project\/discoveryConfigs\/53234423@. See 'name'.+ Core.Text ->+ DLPProjectsLocationsDiscoveryConfigsDelete+newDLPProjectsLocationsDiscoveryConfigsDelete name =+ DLPProjectsLocationsDiscoveryConfigsDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsDiscoveryConfigsDelete+ where+ type+ Rs DLPProjectsLocationsDiscoveryConfigsDelete =+ GoogleProtobufEmpty+ type+ Scopes DLPProjectsLocationsDiscoveryConfigsDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDiscoveryConfigsDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsDiscoveryConfigsDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DiscoveryConfigs/Get.hs view
@@ -0,0 +1,113 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DiscoveryConfigs.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a discovery configuration.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.discoveryConfigs.get@.+module Gogol.DLP.Projects.Locations.DiscoveryConfigs.Get+ ( -- * Resource+ DLPProjectsLocationsDiscoveryConfigsGetResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDiscoveryConfigsGet (..),+ newDLPProjectsLocationsDiscoveryConfigsGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.discoveryConfigs.get@ method which the+-- 'DLPProjectsLocationsDiscoveryConfigsGet' request conforms to.+type DLPProjectsLocationsDiscoveryConfigsGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2DiscoveryConfig++-- | Gets a discovery configuration.+--+-- /See:/ 'newDLPProjectsLocationsDiscoveryConfigsGet' smart constructor.+data DLPProjectsLocationsDiscoveryConfigsGet = DLPProjectsLocationsDiscoveryConfigsGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the project and the configuration, for example @projects\/dlp-test-project\/discoveryConfigs\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDiscoveryConfigsGet' with the minimum fields required to make a request.+newDLPProjectsLocationsDiscoveryConfigsGet ::+ -- | Required. Resource name of the project and the configuration, for example @projects\/dlp-test-project\/discoveryConfigs\/53234423@. See 'name'.+ Core.Text ->+ DLPProjectsLocationsDiscoveryConfigsGet+newDLPProjectsLocationsDiscoveryConfigsGet name =+ DLPProjectsLocationsDiscoveryConfigsGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsDiscoveryConfigsGet where+ type+ Rs DLPProjectsLocationsDiscoveryConfigsGet =+ GooglePrivacyDlpV2DiscoveryConfig+ type+ Scopes DLPProjectsLocationsDiscoveryConfigsGet =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDiscoveryConfigsGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsDiscoveryConfigsGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DiscoveryConfigs/List.hs view
@@ -0,0 +1,134 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DiscoveryConfigs.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists discovery configurations.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.discoveryConfigs.list@.+module Gogol.DLP.Projects.Locations.DiscoveryConfigs.List+ ( -- * Resource+ DLPProjectsLocationsDiscoveryConfigsListResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDiscoveryConfigsList (..),+ newDLPProjectsLocationsDiscoveryConfigsList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.discoveryConfigs.list@ method which the+-- 'DLPProjectsLocationsDiscoveryConfigsList' request conforms to.+type DLPProjectsLocationsDiscoveryConfigsListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "discoveryConfigs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListDiscoveryConfigsResponse++-- | Lists discovery configurations.+--+-- /See:/ 'newDLPProjectsLocationsDiscoveryConfigsList' smart constructor.+data DLPProjectsLocationsDiscoveryConfigsList = DLPProjectsLocationsDiscoveryConfigsList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Comma-separated list of config fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc,update_time, create_time desc@ Supported fields are: - @last_run_time@: corresponds to the last time the DiscoveryConfig ran. - @name@: corresponds to the DiscoveryConfig\'s name. - @status@: corresponds to DiscoveryConfig\'s status.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by a server.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to ListDiscoveryConfigs. @order_by@ field must not change for subsequent calls.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value is as follows: @projects\/{project_id}\/locations\/{location_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDiscoveryConfigsList' with the minimum fields required to make a request.+newDLPProjectsLocationsDiscoveryConfigsList ::+ -- | Required. Parent resource name. The format of this value is as follows: @projects\/{project_id}\/locations\/{location_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPProjectsLocationsDiscoveryConfigsList+newDLPProjectsLocationsDiscoveryConfigsList parent =+ DLPProjectsLocationsDiscoveryConfigsList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsDiscoveryConfigsList+ where+ type+ Rs DLPProjectsLocationsDiscoveryConfigsList =+ GooglePrivacyDlpV2ListDiscoveryConfigsResponse+ type+ Scopes DLPProjectsLocationsDiscoveryConfigsList =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDiscoveryConfigsList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsDiscoveryConfigsListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DiscoveryConfigs/Patch.hs view
@@ -0,0 +1,125 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DiscoveryConfigs.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates a discovery configuration.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.discoveryConfigs.patch@.+module Gogol.DLP.Projects.Locations.DiscoveryConfigs.Patch+ ( -- * Resource+ DLPProjectsLocationsDiscoveryConfigsPatchResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDiscoveryConfigsPatch (..),+ newDLPProjectsLocationsDiscoveryConfigsPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.discoveryConfigs.patch@ method which the+-- 'DLPProjectsLocationsDiscoveryConfigsPatch' request conforms to.+type DLPProjectsLocationsDiscoveryConfigsPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2UpdateDiscoveryConfigRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2DiscoveryConfig++-- | Updates a discovery configuration.+--+-- /See:/ 'newDLPProjectsLocationsDiscoveryConfigsPatch' smart constructor.+data DLPProjectsLocationsDiscoveryConfigsPatch = DLPProjectsLocationsDiscoveryConfigsPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the project and the configuration, for example @projects\/dlp-test-project\/discoveryConfigs\/53234423@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateDiscoveryConfigRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDiscoveryConfigsPatch' with the minimum fields required to make a request.+newDLPProjectsLocationsDiscoveryConfigsPatch ::+ -- | Required. Resource name of the project and the configuration, for example @projects\/dlp-test-project\/discoveryConfigs\/53234423@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateDiscoveryConfigRequest ->+ DLPProjectsLocationsDiscoveryConfigsPatch+newDLPProjectsLocationsDiscoveryConfigsPatch name payload =+ DLPProjectsLocationsDiscoveryConfigsPatch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsDiscoveryConfigsPatch+ where+ type+ Rs DLPProjectsLocationsDiscoveryConfigsPatch =+ GooglePrivacyDlpV2DiscoveryConfig+ type+ Scopes DLPProjectsLocationsDiscoveryConfigsPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDiscoveryConfigsPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsDiscoveryConfigsPatchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DlpJobs/Cancel.hs view
@@ -0,0 +1,118 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DlpJobs.Cancel+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.dlpJobs.cancel@.+module Gogol.DLP.Projects.Locations.DlpJobs.Cancel+ ( -- * Resource+ DLPProjectsLocationsDlpJobsCancelResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDlpJobsCancel (..),+ newDLPProjectsLocationsDlpJobsCancel,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.dlpJobs.cancel@ method which the+-- 'DLPProjectsLocationsDlpJobsCancel' request conforms to.+type DLPProjectsLocationsDlpJobsCancelResource =+ "v2"+ Core.:> Core.CaptureMode "name" "cancel" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2CancelDlpJobRequest+ Core.:> Core.Post '[Core.JSON] GoogleProtobufEmpty++-- | Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ 'newDLPProjectsLocationsDlpJobsCancel' smart constructor.+data DLPProjectsLocationsDlpJobsCancel = DLPProjectsLocationsDlpJobsCancel+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the DlpJob resource to be cancelled.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CancelDlpJobRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDlpJobsCancel' with the minimum fields required to make a request.+newDLPProjectsLocationsDlpJobsCancel ::+ -- | Required. The name of the DlpJob resource to be cancelled. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CancelDlpJobRequest ->+ DLPProjectsLocationsDlpJobsCancel+newDLPProjectsLocationsDlpJobsCancel name payload =+ DLPProjectsLocationsDlpJobsCancel+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsDlpJobsCancel where+ type Rs DLPProjectsLocationsDlpJobsCancel = GoogleProtobufEmpty+ type+ Scopes DLPProjectsLocationsDlpJobsCancel =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDlpJobsCancel {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsDlpJobsCancelResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DlpJobs/Create.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DlpJobs.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a new job to inspect storage or calculate risk metrics. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.dlpJobs.create@.+module Gogol.DLP.Projects.Locations.DlpJobs.Create+ ( -- * Resource+ DLPProjectsLocationsDlpJobsCreateResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDlpJobsCreate (..),+ newDLPProjectsLocationsDlpJobsCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.dlpJobs.create@ method which the+-- 'DLPProjectsLocationsDlpJobsCreate' request conforms to.+type DLPProjectsLocationsDlpJobsCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "dlpJobs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2CreateDlpJobRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2DlpJob++-- | Creates a new job to inspect storage or calculate risk metrics. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.+--+-- /See:/ 'newDLPProjectsLocationsDlpJobsCreate' smart constructor.+data DLPProjectsLocationsDlpJobsCreate = DLPProjectsLocationsDlpJobsCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateDlpJobRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDlpJobsCreate' with the minimum fields required to make a request.+newDLPProjectsLocationsDlpJobsCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateDlpJobRequest ->+ DLPProjectsLocationsDlpJobsCreate+newDLPProjectsLocationsDlpJobsCreate parent payload =+ DLPProjectsLocationsDlpJobsCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsDlpJobsCreate where+ type+ Rs DLPProjectsLocationsDlpJobsCreate =+ GooglePrivacyDlpV2DlpJob+ type+ Scopes DLPProjectsLocationsDlpJobsCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDlpJobsCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsDlpJobsCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DlpJobs/Delete.hs view
@@ -0,0 +1,111 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DlpJobs.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be canceled if possible. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.dlpJobs.delete@.+module Gogol.DLP.Projects.Locations.DlpJobs.Delete+ ( -- * Resource+ DLPProjectsLocationsDlpJobsDeleteResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDlpJobsDelete (..),+ newDLPProjectsLocationsDlpJobsDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.dlpJobs.delete@ method which the+-- 'DLPProjectsLocationsDlpJobsDelete' request conforms to.+type DLPProjectsLocationsDlpJobsDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes a long-running DlpJob. This method indicates that the client is no longer interested in the DlpJob result. The job will be canceled if possible. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ 'newDLPProjectsLocationsDlpJobsDelete' smart constructor.+data DLPProjectsLocationsDlpJobsDelete = DLPProjectsLocationsDlpJobsDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the DlpJob resource to be deleted.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDlpJobsDelete' with the minimum fields required to make a request.+newDLPProjectsLocationsDlpJobsDelete ::+ -- | Required. The name of the DlpJob resource to be deleted. See 'name'.+ Core.Text ->+ DLPProjectsLocationsDlpJobsDelete+newDLPProjectsLocationsDlpJobsDelete name =+ DLPProjectsLocationsDlpJobsDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsDlpJobsDelete where+ type Rs DLPProjectsLocationsDlpJobsDelete = GoogleProtobufEmpty+ type+ Scopes DLPProjectsLocationsDlpJobsDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDlpJobsDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsDlpJobsDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DlpJobs/Finish.hs view
@@ -0,0 +1,118 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DlpJobs.Finish+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.dlpJobs.finish@.+module Gogol.DLP.Projects.Locations.DlpJobs.Finish+ ( -- * Resource+ DLPProjectsLocationsDlpJobsFinishResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDlpJobsFinish (..),+ newDLPProjectsLocationsDlpJobsFinish,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.dlpJobs.finish@ method which the+-- 'DLPProjectsLocationsDlpJobsFinish' request conforms to.+type DLPProjectsLocationsDlpJobsFinishResource =+ "v2"+ Core.:> Core.CaptureMode "name" "finish" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2FinishDlpJobRequest+ Core.:> Core.Post '[Core.JSON] GoogleProtobufEmpty++-- | Finish a running hybrid DlpJob. Triggers the finalization steps and running of any enabled actions that have not yet run.+--+-- /See:/ 'newDLPProjectsLocationsDlpJobsFinish' smart constructor.+data DLPProjectsLocationsDlpJobsFinish = DLPProjectsLocationsDlpJobsFinish+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the DlpJob resource to be finished.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2FinishDlpJobRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDlpJobsFinish' with the minimum fields required to make a request.+newDLPProjectsLocationsDlpJobsFinish ::+ -- | Required. The name of the DlpJob resource to be finished. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2FinishDlpJobRequest ->+ DLPProjectsLocationsDlpJobsFinish+newDLPProjectsLocationsDlpJobsFinish name payload =+ DLPProjectsLocationsDlpJobsFinish+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsDlpJobsFinish where+ type Rs DLPProjectsLocationsDlpJobsFinish = GoogleProtobufEmpty+ type+ Scopes DLPProjectsLocationsDlpJobsFinish =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDlpJobsFinish {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsDlpJobsFinishResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DlpJobs/Get.hs view
@@ -0,0 +1,109 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DlpJobs.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the latest state of a long-running DlpJob. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.dlpJobs.get@.+module Gogol.DLP.Projects.Locations.DlpJobs.Get+ ( -- * Resource+ DLPProjectsLocationsDlpJobsGetResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDlpJobsGet (..),+ newDLPProjectsLocationsDlpJobsGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.dlpJobs.get@ method which the+-- 'DLPProjectsLocationsDlpJobsGet' request conforms to.+type DLPProjectsLocationsDlpJobsGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2DlpJob++-- | Gets the latest state of a long-running DlpJob. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ 'newDLPProjectsLocationsDlpJobsGet' smart constructor.+data DLPProjectsLocationsDlpJobsGet = DLPProjectsLocationsDlpJobsGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. The name of the DlpJob resource.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDlpJobsGet' with the minimum fields required to make a request.+newDLPProjectsLocationsDlpJobsGet ::+ -- | Required. The name of the DlpJob resource. See 'name'.+ Core.Text ->+ DLPProjectsLocationsDlpJobsGet+newDLPProjectsLocationsDlpJobsGet name =+ DLPProjectsLocationsDlpJobsGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsDlpJobsGet where+ type Rs DLPProjectsLocationsDlpJobsGet = GooglePrivacyDlpV2DlpJob+ type+ Scopes DLPProjectsLocationsDlpJobsGet =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDlpJobsGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsLocationsDlpJobsGetResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DlpJobs/HybridInspect.hs view
@@ -0,0 +1,125 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DlpJobs.HybridInspect+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Inspect hybrid content and store findings to a job. To review the findings, inspect the job. Inspection will occur asynchronously.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.dlpJobs.hybridInspect@.+module Gogol.DLP.Projects.Locations.DlpJobs.HybridInspect+ ( -- * Resource+ DLPProjectsLocationsDlpJobsHybridInspectResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDlpJobsHybridInspect (..),+ newDLPProjectsLocationsDlpJobsHybridInspect,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.dlpJobs.hybridInspect@ method which the+-- 'DLPProjectsLocationsDlpJobsHybridInspect' request conforms to.+type DLPProjectsLocationsDlpJobsHybridInspectResource =+ "v2"+ Core.:> Core.CaptureMode "name" "hybridInspect" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2HybridInspectDlpJobRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2HybridInspectResponse++-- | Inspect hybrid content and store findings to a job. To review the findings, inspect the job. Inspection will occur asynchronously.+--+-- /See:/ 'newDLPProjectsLocationsDlpJobsHybridInspect' smart constructor.+data DLPProjectsLocationsDlpJobsHybridInspect = DLPProjectsLocationsDlpJobsHybridInspect+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the job to execute a hybrid inspect on, for example @projects\/dlp-test-project\/dlpJob\/53234423@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2HybridInspectDlpJobRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDlpJobsHybridInspect' with the minimum fields required to make a request.+newDLPProjectsLocationsDlpJobsHybridInspect ::+ -- | Required. Resource name of the job to execute a hybrid inspect on, for example @projects\/dlp-test-project\/dlpJob\/53234423@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2HybridInspectDlpJobRequest ->+ DLPProjectsLocationsDlpJobsHybridInspect+newDLPProjectsLocationsDlpJobsHybridInspect name payload =+ DLPProjectsLocationsDlpJobsHybridInspect+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsDlpJobsHybridInspect+ where+ type+ Rs DLPProjectsLocationsDlpJobsHybridInspect =+ GooglePrivacyDlpV2HybridInspectResponse+ type+ Scopes DLPProjectsLocationsDlpJobsHybridInspect =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDlpJobsHybridInspect {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsDlpJobsHybridInspectResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/DlpJobs/List.hs view
@@ -0,0 +1,143 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.DlpJobs.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists DlpJobs that match the specified filter in the request. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.dlpJobs.list@.+module Gogol.DLP.Projects.Locations.DlpJobs.List+ ( -- * Resource+ DLPProjectsLocationsDlpJobsListResource,++ -- ** Constructing a Request+ DLPProjectsLocationsDlpJobsList (..),+ newDLPProjectsLocationsDlpJobsList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.dlpJobs.list@ method which the+-- 'DLPProjectsLocationsDlpJobsList' request conforms to.+type DLPProjectsLocationsDlpJobsListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "dlpJobs"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "type" ProjectsLocationsDlpJobsListType+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ListDlpJobsResponse++-- | Lists DlpJobs that match the specified filter in the request. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/inspecting-storage and https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/compute-risk-analysis to learn more.+--+-- /See:/ 'newDLPProjectsLocationsDlpJobsList' smart constructor.+data DLPProjectsLocationsDlpJobsList = DLPProjectsLocationsDlpJobsList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by @AND@ or @OR@ logical operators. A sequence of restrictions implicitly uses @AND@. * A restriction has the form of @{field} {operator} {value}@. * Supported fields\/values for inspect jobs: - @state@ - PENDING|RUNNING|CANCELED|FINISHED|FAILED - @inspected_storage@ - DATASTORE|CLOUD/STORAGE|BIGQUERY - @trigger_name@ - The name of the trigger that created the job. - \'end/time@- Corresponds to the time the job finished. - \'start_time@ - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - @state@ - RUNNING|CANCELED|FINISHED|FAILED - \'end/time@- Corresponds to the time the job finished. - \'start_time@ - Corresponds to the time the job finished. * The operator must be @=@ or @!=@. Examples: * inspected/storage = cloud/storage AND state = done * inspected/storage = cloud/storage OR inspected/storage = bigquery * inspected/storage = cloud/storage+ -- AND (state = done OR state = canceled) * end_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.+ filter :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc, end_time asc, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the job was created. - @end_time@: corresponds to the time the job ended. - @name@: corresponds to the job\'s name. - @state@: corresponds to @state@+ orderBy :: (Core.Maybe Core.Text),+ -- | The standard list page size.+ pageSize :: (Core.Maybe Core.Int32),+ -- | The standard list page token.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | The type of job. Defaults to @DlpJobType.INSPECT@+ type' :: (Core.Maybe ProjectsLocationsDlpJobsListType),+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsDlpJobsList' with the minimum fields required to make a request.+newDLPProjectsLocationsDlpJobsList ::+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPProjectsLocationsDlpJobsList+newDLPProjectsLocationsDlpJobsList parent =+ DLPProjectsLocationsDlpJobsList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ type' = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsDlpJobsList where+ type+ Rs DLPProjectsLocationsDlpJobsList =+ GooglePrivacyDlpV2ListDlpJobsResponse+ type+ Scopes DLPProjectsLocationsDlpJobsList =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsDlpJobsList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ locationId+ orderBy+ pageSize+ pageToken+ type'+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsLocationsDlpJobsListResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/FileStoreDataProfiles/Delete.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.FileStoreDataProfiles.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Delete a FileStoreDataProfile. Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.fileStoreDataProfiles.delete@.+module Gogol.DLP.Projects.Locations.FileStoreDataProfiles.Delete+ ( -- * Resource+ DLPProjectsLocationsFileStoreDataProfilesDeleteResource,++ -- ** Constructing a Request+ DLPProjectsLocationsFileStoreDataProfilesDelete (..),+ newDLPProjectsLocationsFileStoreDataProfilesDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.fileStoreDataProfiles.delete@ method which the+-- 'DLPProjectsLocationsFileStoreDataProfilesDelete' request conforms to.+type DLPProjectsLocationsFileStoreDataProfilesDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Delete a FileStoreDataProfile. Will not prevent the profile from being regenerated if the resource is still included in a discovery configuration.+--+-- /See:/ 'newDLPProjectsLocationsFileStoreDataProfilesDelete' smart constructor.+data DLPProjectsLocationsFileStoreDataProfilesDelete = DLPProjectsLocationsFileStoreDataProfilesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the file store data profile.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsFileStoreDataProfilesDelete' with the minimum fields required to make a request.+newDLPProjectsLocationsFileStoreDataProfilesDelete ::+ -- | Required. Resource name of the file store data profile. See 'name'.+ Core.Text ->+ DLPProjectsLocationsFileStoreDataProfilesDelete+newDLPProjectsLocationsFileStoreDataProfilesDelete name =+ DLPProjectsLocationsFileStoreDataProfilesDelete+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsFileStoreDataProfilesDelete+ where+ type+ Rs DLPProjectsLocationsFileStoreDataProfilesDelete =+ GoogleProtobufEmpty+ type+ Scopes DLPProjectsLocationsFileStoreDataProfilesDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsFileStoreDataProfilesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsFileStoreDataProfilesDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/FileStoreDataProfiles/Get.hs view
@@ -0,0 +1,117 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.FileStoreDataProfiles.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a file store data profile.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.fileStoreDataProfiles.get@.+module Gogol.DLP.Projects.Locations.FileStoreDataProfiles.Get+ ( -- * Resource+ DLPProjectsLocationsFileStoreDataProfilesGetResource,++ -- ** Constructing a Request+ DLPProjectsLocationsFileStoreDataProfilesGet (..),+ newDLPProjectsLocationsFileStoreDataProfilesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.fileStoreDataProfiles.get@ method which the+-- 'DLPProjectsLocationsFileStoreDataProfilesGet' request conforms to.+type DLPProjectsLocationsFileStoreDataProfilesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2FileStoreDataProfile++-- | Gets a file store data profile.+--+-- /See:/ 'newDLPProjectsLocationsFileStoreDataProfilesGet' smart constructor.+data DLPProjectsLocationsFileStoreDataProfilesGet = DLPProjectsLocationsFileStoreDataProfilesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name, for example @organizations\/12345\/locations\/us\/fileStoreDataProfiles\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsFileStoreDataProfilesGet' with the minimum fields required to make a request.+newDLPProjectsLocationsFileStoreDataProfilesGet ::+ -- | Required. Resource name, for example @organizations\/12345\/locations\/us\/fileStoreDataProfiles\/53234423@. See 'name'.+ Core.Text ->+ DLPProjectsLocationsFileStoreDataProfilesGet+newDLPProjectsLocationsFileStoreDataProfilesGet name =+ DLPProjectsLocationsFileStoreDataProfilesGet+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsFileStoreDataProfilesGet+ where+ type+ Rs DLPProjectsLocationsFileStoreDataProfilesGet =+ GooglePrivacyDlpV2FileStoreDataProfile+ type+ Scopes DLPProjectsLocationsFileStoreDataProfilesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsFileStoreDataProfilesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsFileStoreDataProfilesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/FileStoreDataProfiles/List.hs view
@@ -0,0 +1,141 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.FileStoreDataProfiles.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists file store data profiles for an organization.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.fileStoreDataProfiles.list@.+module Gogol.DLP.Projects.Locations.FileStoreDataProfiles.List+ ( -- * Resource+ DLPProjectsLocationsFileStoreDataProfilesListResource,++ -- ** Constructing a Request+ DLPProjectsLocationsFileStoreDataProfilesList (..),+ newDLPProjectsLocationsFileStoreDataProfilesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.fileStoreDataProfiles.list@ method which the+-- 'DLPProjectsLocationsFileStoreDataProfilesList' request conforms to.+type DLPProjectsLocationsFileStoreDataProfilesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "fileStoreDataProfiles"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListFileStoreDataProfilesResponse++-- | Lists file store data profiles for an organization.+--+-- /See:/ 'newDLPProjectsLocationsFileStoreDataProfilesList' smart constructor.+data DLPProjectsLocationsFileStoreDataProfilesList = DLPProjectsLocationsFileStoreDataProfilesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by @AND@ or @OR@ logical operators. A sequence of restrictions implicitly uses @AND@. * A restriction has the form of @{field} {operator} {value}@. * Supported fields\/values: - @project_id@ - The Google Cloud project ID. - @account_id@ - The AWS account ID. - @file_store_path@ - The path like \"gs:\/\/bucket\". - @data_source_type@ - The profile\'s data source type, like \"google\/storage\/bucket\". - @data_storage_location@ - The location where the file store\'s data is stored, like \"us-central1\". - @sensitivity_level@ - HIGH|MODERATE|LOW - @data_risk_level@ - HIGH|MODERATE|LOW - @resource_visibility@: PUBLIC|RESTRICTED - @status_code@ - an RPC status code as defined in https:\/\/github.com\/googleapis\/googleapis\/blob\/master\/google\/rpc\/code.proto * The operator must be @=@ or @!=@. Examples: * @project_id = 12345 AND status_code = 1@ *+ -- @project_id = 12345 AND sensitivity_level = HIGH@ * @project_id = 12345 AND resource_visibility = PUBLIC@ * @file_store_path = \"gs:\/\/mybucket\"@ The length of this field should be no more than 500 characters.+ filter :: (Core.Maybe Core.Text),+ -- | Optional. Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * @project_id asc@ * @name@ * @sensitivity_level desc@ Supported fields are: - @project_id@: The Google Cloud project ID. - @sensitivity_level@: How sensitive the data in a table is, at most. - @data_risk_level@: How much risk is associated with this data. - @profile_last_generated@: When the profile was last updated in epoch seconds. - @last_modified@: The last time the resource was modified. - @resource_visibility@: Visibility restriction for this resource. - @name@: The name of the profile. - @create_time@: The time the file store was first created.+ orderBy :: (Core.Maybe Core.Text),+ -- | Optional. Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Optional. Page token to continue retrieval.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization or project, for example @organizations\/433245324\/locations\/europe@ or @projects\/project-id\/locations\/asia@.+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsFileStoreDataProfilesList' with the minimum fields required to make a request.+newDLPProjectsLocationsFileStoreDataProfilesList ::+ -- | Required. Resource name of the organization or project, for example @organizations\/433245324\/locations\/europe@ or @projects\/project-id\/locations\/asia@. See 'parent'.+ Core.Text ->+ DLPProjectsLocationsFileStoreDataProfilesList+newDLPProjectsLocationsFileStoreDataProfilesList parent =+ DLPProjectsLocationsFileStoreDataProfilesList+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsFileStoreDataProfilesList+ where+ type+ Rs DLPProjectsLocationsFileStoreDataProfilesList =+ GooglePrivacyDlpV2ListFileStoreDataProfilesResponse+ type+ Scopes DLPProjectsLocationsFileStoreDataProfilesList =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsFileStoreDataProfilesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsFileStoreDataProfilesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/Image/Redact.hs view
@@ -0,0 +1,119 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.Image.Redact+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/redacting-sensitive-data-images to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Only the first frame of each multiframe image is redacted. Metadata and other frames are omitted in the response.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.image.redact@.+module Gogol.DLP.Projects.Locations.Image.Redact+ ( -- * Resource+ DLPProjectsLocationsImageRedactResource,++ -- ** Constructing a Request+ DLPProjectsLocationsImageRedact (..),+ newDLPProjectsLocationsImageRedact,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.image.redact@ method which the+-- 'DLPProjectsLocationsImageRedact' request conforms to.+type DLPProjectsLocationsImageRedactResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "image:redact"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2RedactImageRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2RedactImageResponse++-- | Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/redacting-sensitive-data-images to learn more. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. Only the first frame of each multiframe image is redacted. Metadata and other frames are omitted in the response.+--+-- /See:/ 'newDLPProjectsLocationsImageRedact' smart constructor.+data DLPProjectsLocationsImageRedact = DLPProjectsLocationsImageRedact+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2RedactImageRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsImageRedact' with the minimum fields required to make a request.+newDLPProjectsLocationsImageRedact ::+ -- | Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2RedactImageRequest ->+ DLPProjectsLocationsImageRedact+newDLPProjectsLocationsImageRedact parent payload =+ DLPProjectsLocationsImageRedact+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsImageRedact where+ type+ Rs DLPProjectsLocationsImageRedact =+ GooglePrivacyDlpV2RedactImageResponse+ type+ Scopes DLPProjectsLocationsImageRedact =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsImageRedact {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsLocationsImageRedactResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/InspectTemplates/Create.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.InspectTemplates.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.inspectTemplates.create@.+module Gogol.DLP.Projects.Locations.InspectTemplates.Create+ ( -- * Resource+ DLPProjectsLocationsInspectTemplatesCreateResource,++ -- ** Constructing a Request+ DLPProjectsLocationsInspectTemplatesCreate (..),+ newDLPProjectsLocationsInspectTemplatesCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.inspectTemplates.create@ method which the+-- 'DLPProjectsLocationsInspectTemplatesCreate' request conforms to.+type DLPProjectsLocationsInspectTemplatesCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "inspectTemplates"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2CreateInspectTemplateRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2InspectTemplate++-- | Creates an InspectTemplate for reusing frequently used configuration for inspecting content, images, and storage. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPProjectsLocationsInspectTemplatesCreate' smart constructor.+data DLPProjectsLocationsInspectTemplatesCreate = DLPProjectsLocationsInspectTemplatesCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateInspectTemplateRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsInspectTemplatesCreate' with the minimum fields required to make a request.+newDLPProjectsLocationsInspectTemplatesCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateInspectTemplateRequest ->+ DLPProjectsLocationsInspectTemplatesCreate+newDLPProjectsLocationsInspectTemplatesCreate parent payload =+ DLPProjectsLocationsInspectTemplatesCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsInspectTemplatesCreate+ where+ type+ Rs DLPProjectsLocationsInspectTemplatesCreate =+ GooglePrivacyDlpV2InspectTemplate+ type+ Scopes DLPProjectsLocationsInspectTemplatesCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsInspectTemplatesCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsInspectTemplatesCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/InspectTemplates/Delete.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.InspectTemplates.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes an InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.inspectTemplates.delete@.+module Gogol.DLP.Projects.Locations.InspectTemplates.Delete+ ( -- * Resource+ DLPProjectsLocationsInspectTemplatesDeleteResource,++ -- ** Constructing a Request+ DLPProjectsLocationsInspectTemplatesDelete (..),+ newDLPProjectsLocationsInspectTemplatesDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.inspectTemplates.delete@ method which the+-- 'DLPProjectsLocationsInspectTemplatesDelete' request conforms to.+type DLPProjectsLocationsInspectTemplatesDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes an InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPProjectsLocationsInspectTemplatesDelete' smart constructor.+data DLPProjectsLocationsInspectTemplatesDelete = DLPProjectsLocationsInspectTemplatesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and inspectTemplate to be deleted, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsInspectTemplatesDelete' with the minimum fields required to make a request.+newDLPProjectsLocationsInspectTemplatesDelete ::+ -- | Required. Resource name of the organization and inspectTemplate to be deleted, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342. See 'name'.+ Core.Text ->+ DLPProjectsLocationsInspectTemplatesDelete+newDLPProjectsLocationsInspectTemplatesDelete name =+ DLPProjectsLocationsInspectTemplatesDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsInspectTemplatesDelete+ where+ type+ Rs DLPProjectsLocationsInspectTemplatesDelete =+ GoogleProtobufEmpty+ type+ Scopes DLPProjectsLocationsInspectTemplatesDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsInspectTemplatesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsInspectTemplatesDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/InspectTemplates/Get.hs view
@@ -0,0 +1,113 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.InspectTemplates.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets an InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.inspectTemplates.get@.+module Gogol.DLP.Projects.Locations.InspectTemplates.Get+ ( -- * Resource+ DLPProjectsLocationsInspectTemplatesGetResource,++ -- ** Constructing a Request+ DLPProjectsLocationsInspectTemplatesGet (..),+ newDLPProjectsLocationsInspectTemplatesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.inspectTemplates.get@ method which the+-- 'DLPProjectsLocationsInspectTemplatesGet' request conforms to.+type DLPProjectsLocationsInspectTemplatesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2InspectTemplate++-- | Gets an InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPProjectsLocationsInspectTemplatesGet' smart constructor.+data DLPProjectsLocationsInspectTemplatesGet = DLPProjectsLocationsInspectTemplatesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and inspectTemplate to be read, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsInspectTemplatesGet' with the minimum fields required to make a request.+newDLPProjectsLocationsInspectTemplatesGet ::+ -- | Required. Resource name of the organization and inspectTemplate to be read, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342. See 'name'.+ Core.Text ->+ DLPProjectsLocationsInspectTemplatesGet+newDLPProjectsLocationsInspectTemplatesGet name =+ DLPProjectsLocationsInspectTemplatesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsInspectTemplatesGet where+ type+ Rs DLPProjectsLocationsInspectTemplatesGet =+ GooglePrivacyDlpV2InspectTemplate+ type+ Scopes DLPProjectsLocationsInspectTemplatesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsInspectTemplatesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsInspectTemplatesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/InspectTemplates/List.hs view
@@ -0,0 +1,139 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.InspectTemplates.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists InspectTemplates. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.inspectTemplates.list@.+module Gogol.DLP.Projects.Locations.InspectTemplates.List+ ( -- * Resource+ DLPProjectsLocationsInspectTemplatesListResource,++ -- ** Constructing a Request+ DLPProjectsLocationsInspectTemplatesList (..),+ newDLPProjectsLocationsInspectTemplatesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.inspectTemplates.list@ method which the+-- 'DLPProjectsLocationsInspectTemplatesList' request conforms to.+type DLPProjectsLocationsInspectTemplatesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "inspectTemplates"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListInspectTemplatesResponse++-- | Lists InspectTemplates. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPProjectsLocationsInspectTemplatesList' smart constructor.+data DLPProjectsLocationsInspectTemplatesList = DLPProjectsLocationsInspectTemplatesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc,update_time, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the template was created. - @update_time@: corresponds to the time the template was last updated. - @name@: corresponds to the template\'s name. - @display_name@: corresponds to the template\'s display name.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to @ListInspectTemplates@.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsInspectTemplatesList' with the minimum fields required to make a request.+newDLPProjectsLocationsInspectTemplatesList ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPProjectsLocationsInspectTemplatesList+newDLPProjectsLocationsInspectTemplatesList parent =+ DLPProjectsLocationsInspectTemplatesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsInspectTemplatesList+ where+ type+ Rs DLPProjectsLocationsInspectTemplatesList =+ GooglePrivacyDlpV2ListInspectTemplatesResponse+ type+ Scopes DLPProjectsLocationsInspectTemplatesList =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsInspectTemplatesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ locationId+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsInspectTemplatesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/InspectTemplates/Patch.hs view
@@ -0,0 +1,125 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.InspectTemplates.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.inspectTemplates.patch@.+module Gogol.DLP.Projects.Locations.InspectTemplates.Patch+ ( -- * Resource+ DLPProjectsLocationsInspectTemplatesPatchResource,++ -- ** Constructing a Request+ DLPProjectsLocationsInspectTemplatesPatch (..),+ newDLPProjectsLocationsInspectTemplatesPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.inspectTemplates.patch@ method which the+-- 'DLPProjectsLocationsInspectTemplatesPatch' request conforms to.+type DLPProjectsLocationsInspectTemplatesPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2UpdateInspectTemplateRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2InspectTemplate++-- | Updates the InspectTemplate. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-templates to learn more.+--+-- /See:/ 'newDLPProjectsLocationsInspectTemplatesPatch' smart constructor.+data DLPProjectsLocationsInspectTemplatesPatch = DLPProjectsLocationsInspectTemplatesPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of organization and inspectTemplate to be updated, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateInspectTemplateRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsInspectTemplatesPatch' with the minimum fields required to make a request.+newDLPProjectsLocationsInspectTemplatesPatch ::+ -- | Required. Resource name of organization and inspectTemplate to be updated, for example @organizations\/433245324\/inspectTemplates\/432452342@ or projects\/project-id\/inspectTemplates\/432452342. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateInspectTemplateRequest ->+ DLPProjectsLocationsInspectTemplatesPatch+newDLPProjectsLocationsInspectTemplatesPatch name payload =+ DLPProjectsLocationsInspectTemplatesPatch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsInspectTemplatesPatch+ where+ type+ Rs DLPProjectsLocationsInspectTemplatesPatch =+ GooglePrivacyDlpV2InspectTemplate+ type+ Scopes DLPProjectsLocationsInspectTemplatesPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsInspectTemplatesPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsInspectTemplatesPatchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/JobTriggers/Activate.hs view
@@ -0,0 +1,122 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.JobTriggers.Activate+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.jobTriggers.activate@.+module Gogol.DLP.Projects.Locations.JobTriggers.Activate+ ( -- * Resource+ DLPProjectsLocationsJobTriggersActivateResource,++ -- ** Constructing a Request+ DLPProjectsLocationsJobTriggersActivate (..),+ newDLPProjectsLocationsJobTriggersActivate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.jobTriggers.activate@ method which the+-- 'DLPProjectsLocationsJobTriggersActivate' request conforms to.+type DLPProjectsLocationsJobTriggersActivateResource =+ "v2"+ Core.:> Core.CaptureMode "name" "activate" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2ActivateJobTriggerRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2DlpJob++-- | Activate a job trigger. Causes the immediate execute of a trigger instead of waiting on the trigger event to occur.+--+-- /See:/ 'newDLPProjectsLocationsJobTriggersActivate' smart constructor.+data DLPProjectsLocationsJobTriggersActivate = DLPProjectsLocationsJobTriggersActivate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the trigger to activate, for example @projects\/dlp-test-project\/jobTriggers\/53234423@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2ActivateJobTriggerRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsJobTriggersActivate' with the minimum fields required to make a request.+newDLPProjectsLocationsJobTriggersActivate ::+ -- | Required. Resource name of the trigger to activate, for example @projects\/dlp-test-project\/jobTriggers\/53234423@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2ActivateJobTriggerRequest ->+ DLPProjectsLocationsJobTriggersActivate+newDLPProjectsLocationsJobTriggersActivate name payload =+ DLPProjectsLocationsJobTriggersActivate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsJobTriggersActivate where+ type+ Rs DLPProjectsLocationsJobTriggersActivate =+ GooglePrivacyDlpV2DlpJob+ type+ Scopes DLPProjectsLocationsJobTriggersActivate =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsJobTriggersActivate {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsJobTriggersActivateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/JobTriggers/Create.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.JobTriggers.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.jobTriggers.create@.+module Gogol.DLP.Projects.Locations.JobTriggers.Create+ ( -- * Resource+ DLPProjectsLocationsJobTriggersCreateResource,++ -- ** Constructing a Request+ DLPProjectsLocationsJobTriggersCreate (..),+ newDLPProjectsLocationsJobTriggersCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.jobTriggers.create@ method which the+-- 'DLPProjectsLocationsJobTriggersCreate' request conforms to.+type DLPProjectsLocationsJobTriggersCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "jobTriggers"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2CreateJobTriggerRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2JobTrigger++-- | Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ 'newDLPProjectsLocationsJobTriggersCreate' smart constructor.+data DLPProjectsLocationsJobTriggersCreate = DLPProjectsLocationsJobTriggersCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateJobTriggerRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsJobTriggersCreate' with the minimum fields required to make a request.+newDLPProjectsLocationsJobTriggersCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateJobTriggerRequest ->+ DLPProjectsLocationsJobTriggersCreate+newDLPProjectsLocationsJobTriggersCreate parent payload =+ DLPProjectsLocationsJobTriggersCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsJobTriggersCreate where+ type+ Rs DLPProjectsLocationsJobTriggersCreate =+ GooglePrivacyDlpV2JobTrigger+ type+ Scopes DLPProjectsLocationsJobTriggersCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsJobTriggersCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsJobTriggersCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/JobTriggers/Delete.hs view
@@ -0,0 +1,111 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.JobTriggers.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.jobTriggers.delete@.+module Gogol.DLP.Projects.Locations.JobTriggers.Delete+ ( -- * Resource+ DLPProjectsLocationsJobTriggersDeleteResource,++ -- ** Constructing a Request+ DLPProjectsLocationsJobTriggersDelete (..),+ newDLPProjectsLocationsJobTriggersDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.jobTriggers.delete@ method which the+-- 'DLPProjectsLocationsJobTriggersDelete' request conforms to.+type DLPProjectsLocationsJobTriggersDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ 'newDLPProjectsLocationsJobTriggersDelete' smart constructor.+data DLPProjectsLocationsJobTriggersDelete = DLPProjectsLocationsJobTriggersDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsJobTriggersDelete' with the minimum fields required to make a request.+newDLPProjectsLocationsJobTriggersDelete ::+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@. See 'name'.+ Core.Text ->+ DLPProjectsLocationsJobTriggersDelete+newDLPProjectsLocationsJobTriggersDelete name =+ DLPProjectsLocationsJobTriggersDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsJobTriggersDelete where+ type Rs DLPProjectsLocationsJobTriggersDelete = GoogleProtobufEmpty+ type+ Scopes DLPProjectsLocationsJobTriggersDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsJobTriggersDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsJobTriggersDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/JobTriggers/Get.hs view
@@ -0,0 +1,113 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.JobTriggers.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.jobTriggers.get@.+module Gogol.DLP.Projects.Locations.JobTriggers.Get+ ( -- * Resource+ DLPProjectsLocationsJobTriggersGetResource,++ -- ** Constructing a Request+ DLPProjectsLocationsJobTriggersGet (..),+ newDLPProjectsLocationsJobTriggersGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.jobTriggers.get@ method which the+-- 'DLPProjectsLocationsJobTriggersGet' request conforms to.+type DLPProjectsLocationsJobTriggersGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2JobTrigger++-- | Gets a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ 'newDLPProjectsLocationsJobTriggersGet' smart constructor.+data DLPProjectsLocationsJobTriggersGet = DLPProjectsLocationsJobTriggersGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsJobTriggersGet' with the minimum fields required to make a request.+newDLPProjectsLocationsJobTriggersGet ::+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@. See 'name'.+ Core.Text ->+ DLPProjectsLocationsJobTriggersGet+newDLPProjectsLocationsJobTriggersGet name =+ DLPProjectsLocationsJobTriggersGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsJobTriggersGet where+ type+ Rs DLPProjectsLocationsJobTriggersGet =+ GooglePrivacyDlpV2JobTrigger+ type+ Scopes DLPProjectsLocationsJobTriggersGet =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsJobTriggersGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsJobTriggersGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/JobTriggers/HybridInspect.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.JobTriggers.HybridInspect+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Inspect hybrid content and store findings to a trigger. The inspection will be processed asynchronously. To review the findings monitor the jobs within the trigger.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.jobTriggers.hybridInspect@.+module Gogol.DLP.Projects.Locations.JobTriggers.HybridInspect+ ( -- * Resource+ DLPProjectsLocationsJobTriggersHybridInspectResource,++ -- ** Constructing a Request+ DLPProjectsLocationsJobTriggersHybridInspect (..),+ newDLPProjectsLocationsJobTriggersHybridInspect,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.jobTriggers.hybridInspect@ method which the+-- 'DLPProjectsLocationsJobTriggersHybridInspect' request conforms to.+type DLPProjectsLocationsJobTriggersHybridInspectResource =+ "v2"+ Core.:> Core.CaptureMode "name" "hybridInspect" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2HybridInspectJobTriggerRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2HybridInspectResponse++-- | Inspect hybrid content and store findings to a trigger. The inspection will be processed asynchronously. To review the findings monitor the jobs within the trigger.+--+-- /See:/ 'newDLPProjectsLocationsJobTriggersHybridInspect' smart constructor.+data DLPProjectsLocationsJobTriggersHybridInspect = DLPProjectsLocationsJobTriggersHybridInspect+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the trigger to execute a hybrid inspect on, for example @projects\/dlp-test-project\/jobTriggers\/53234423@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2HybridInspectJobTriggerRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsJobTriggersHybridInspect' with the minimum fields required to make a request.+newDLPProjectsLocationsJobTriggersHybridInspect ::+ -- | Required. Resource name of the trigger to execute a hybrid inspect on, for example @projects\/dlp-test-project\/jobTriggers\/53234423@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2HybridInspectJobTriggerRequest ->+ DLPProjectsLocationsJobTriggersHybridInspect+newDLPProjectsLocationsJobTriggersHybridInspect name payload =+ DLPProjectsLocationsJobTriggersHybridInspect+ { xgafv =+ Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsJobTriggersHybridInspect+ where+ type+ Rs DLPProjectsLocationsJobTriggersHybridInspect =+ GooglePrivacyDlpV2HybridInspectResponse+ type+ Scopes DLPProjectsLocationsJobTriggersHybridInspect =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsJobTriggersHybridInspect {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsJobTriggersHybridInspectResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/JobTriggers/List.hs view
@@ -0,0 +1,144 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.JobTriggers.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists job triggers. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.jobTriggers.list@.+module Gogol.DLP.Projects.Locations.JobTriggers.List+ ( -- * Resource+ DLPProjectsLocationsJobTriggersListResource,++ -- ** Constructing a Request+ DLPProjectsLocationsJobTriggersList (..),+ newDLPProjectsLocationsJobTriggersList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.jobTriggers.list@ method which the+-- 'DLPProjectsLocationsJobTriggersList' request conforms to.+type DLPProjectsLocationsJobTriggersListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "jobTriggers"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "type" ProjectsLocationsJobTriggersListType+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ListJobTriggersResponse++-- | Lists job triggers. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ 'newDLPProjectsLocationsJobTriggersList' smart constructor.+data DLPProjectsLocationsJobTriggersList = DLPProjectsLocationsJobTriggersList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by @AND@ or @OR@ logical operators. A sequence of restrictions implicitly uses @AND@. * A restriction has the form of @{field} {operator} {value}@. * Supported fields\/values for inspect triggers: - @status@ - HEALTHY|PAUSED|CANCELLED - @inspected_storage@ - DATASTORE|CLOUD/STORAGE|BIGQUERY - \'last/run/time@- RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - \'error_count\' - Number of errors that have occurred while running. * The operator must be@=@or@!=\` for status and inspected/storage. Examples: * inspected/storage = cloud/storage AND status = HEALTHY * inspected/storage = cloud/storage OR inspected/storage = bigquery * inspected/storage = cloud/storage AND (state = PAUSED OR state = HEALTHY) * last/run_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.+ filter :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of triggeredJob fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc,update_time, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the JobTrigger was created. - @update_time@: corresponds to the time the JobTrigger was last updated. - @last_run_time@: corresponds to the last time the JobTrigger ran. - @name@: corresponds to the JobTrigger\'s name. - @display_name@: corresponds to the JobTrigger\'s display name. - @status@: corresponds to JobTrigger\'s status.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by a server.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to ListJobTriggers. @order_by@ field must not change for subsequent calls.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | The type of jobs. Will use @DlpJobType.INSPECT@ if not set.+ type' :: (Core.Maybe ProjectsLocationsJobTriggersListType),+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsJobTriggersList' with the minimum fields required to make a request.+newDLPProjectsLocationsJobTriggersList ::+ -- | Required. Parent resource name. The format of this value varies depending on whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPProjectsLocationsJobTriggersList+newDLPProjectsLocationsJobTriggersList parent =+ DLPProjectsLocationsJobTriggersList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ type' = Core.Nothing,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsJobTriggersList where+ type+ Rs DLPProjectsLocationsJobTriggersList =+ GooglePrivacyDlpV2ListJobTriggersResponse+ type+ Scopes DLPProjectsLocationsJobTriggersList =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsJobTriggersList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ locationId+ orderBy+ pageSize+ pageToken+ type'+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsJobTriggersListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/JobTriggers/Patch.hs view
@@ -0,0 +1,120 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.JobTriggers.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.jobTriggers.patch@.+module Gogol.DLP.Projects.Locations.JobTriggers.Patch+ ( -- * Resource+ DLPProjectsLocationsJobTriggersPatchResource,++ -- ** Constructing a Request+ DLPProjectsLocationsJobTriggersPatch (..),+ newDLPProjectsLocationsJobTriggersPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.jobTriggers.patch@ method which the+-- 'DLPProjectsLocationsJobTriggersPatch' request conforms to.+type DLPProjectsLocationsJobTriggersPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody '[Core.JSON] GooglePrivacyDlpV2UpdateJobTriggerRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2JobTrigger++-- | Updates a job trigger. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-job-triggers to learn more.+--+-- /See:/ 'newDLPProjectsLocationsJobTriggersPatch' smart constructor.+data DLPProjectsLocationsJobTriggersPatch = DLPProjectsLocationsJobTriggersPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateJobTriggerRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsJobTriggersPatch' with the minimum fields required to make a request.+newDLPProjectsLocationsJobTriggersPatch ::+ -- | Required. Resource name of the project and the triggeredJob, for example @projects\/dlp-test-project\/jobTriggers\/53234423@. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateJobTriggerRequest ->+ DLPProjectsLocationsJobTriggersPatch+newDLPProjectsLocationsJobTriggersPatch name payload =+ DLPProjectsLocationsJobTriggersPatch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsJobTriggersPatch where+ type+ Rs DLPProjectsLocationsJobTriggersPatch =+ GooglePrivacyDlpV2JobTrigger+ type+ Scopes DLPProjectsLocationsJobTriggersPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsJobTriggersPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsJobTriggersPatchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/ProjectDataProfiles/Get.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.ProjectDataProfiles.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a project data profile.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.projectDataProfiles.get@.+module Gogol.DLP.Projects.Locations.ProjectDataProfiles.Get+ ( -- * Resource+ DLPProjectsLocationsProjectDataProfilesGetResource,++ -- ** Constructing a Request+ DLPProjectsLocationsProjectDataProfilesGet (..),+ newDLPProjectsLocationsProjectDataProfilesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.projectDataProfiles.get@ method which the+-- 'DLPProjectsLocationsProjectDataProfilesGet' request conforms to.+type DLPProjectsLocationsProjectDataProfilesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ProjectDataProfile++-- | Gets a project data profile.+--+-- /See:/ 'newDLPProjectsLocationsProjectDataProfilesGet' smart constructor.+data DLPProjectsLocationsProjectDataProfilesGet = DLPProjectsLocationsProjectDataProfilesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name, for example @organizations\/12345\/locations\/us\/projectDataProfiles\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsProjectDataProfilesGet' with the minimum fields required to make a request.+newDLPProjectsLocationsProjectDataProfilesGet ::+ -- | Required. Resource name, for example @organizations\/12345\/locations\/us\/projectDataProfiles\/53234423@. See 'name'.+ Core.Text ->+ DLPProjectsLocationsProjectDataProfilesGet+newDLPProjectsLocationsProjectDataProfilesGet name =+ DLPProjectsLocationsProjectDataProfilesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsProjectDataProfilesGet+ where+ type+ Rs DLPProjectsLocationsProjectDataProfilesGet =+ GooglePrivacyDlpV2ProjectDataProfile+ type+ Scopes DLPProjectsLocationsProjectDataProfilesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsProjectDataProfilesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsProjectDataProfilesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/ProjectDataProfiles/List.hs view
@@ -0,0 +1,139 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.ProjectDataProfiles.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists project data profiles for an organization.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.projectDataProfiles.list@.+module Gogol.DLP.Projects.Locations.ProjectDataProfiles.List+ ( -- * Resource+ DLPProjectsLocationsProjectDataProfilesListResource,++ -- ** Constructing a Request+ DLPProjectsLocationsProjectDataProfilesList (..),+ newDLPProjectsLocationsProjectDataProfilesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.projectDataProfiles.list@ method which the+-- 'DLPProjectsLocationsProjectDataProfilesList' request conforms to.+type DLPProjectsLocationsProjectDataProfilesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "projectDataProfiles"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListProjectDataProfilesResponse++-- | Lists project data profiles for an organization.+--+-- /See:/ 'newDLPProjectsLocationsProjectDataProfilesList' smart constructor.+data DLPProjectsLocationsProjectDataProfilesList = DLPProjectsLocationsProjectDataProfilesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by @AND@ or @OR@ logical operators. A sequence of restrictions implicitly uses @AND@. * A restriction has the form of @{field} {operator} {value}@. * Supported fields\/values: - @sensitivity_level@ - HIGH|MODERATE|LOW - @data_risk_level@ - HIGH|MODERATE|LOW - @status_code@ - an RPC status code as defined in https:\/\/github.com\/googleapis\/googleapis\/blob\/master\/google\/rpc\/code.proto * The operator must be @=@ or @!=@. Examples: * @project_id = 12345 AND status_code = 1@ * @project_id = 12345 AND sensitivity_level = HIGH@ The length of this field should be no more than 500 characters.+ filter :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * @project_id@ * @sensitivity_level desc@ Supported fields are: - @project_id@: Google Cloud project ID - @sensitivity_level@: How sensitive the data in a project is, at most. - @data_risk_level@: How much risk is associated with this data. - @profile_last_generated@: When the profile was last updated in epoch seconds.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. organizations\/{org/id}\/locations\/{loc/id}+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsProjectDataProfilesList' with the minimum fields required to make a request.+newDLPProjectsLocationsProjectDataProfilesList ::+ -- | Required. organizations\/{org/id}\/locations\/{loc/id} See 'parent'.+ Core.Text ->+ DLPProjectsLocationsProjectDataProfilesList+newDLPProjectsLocationsProjectDataProfilesList parent =+ DLPProjectsLocationsProjectDataProfilesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsProjectDataProfilesList+ where+ type+ Rs DLPProjectsLocationsProjectDataProfilesList =+ GooglePrivacyDlpV2ListProjectDataProfilesResponse+ type+ Scopes DLPProjectsLocationsProjectDataProfilesList =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsProjectDataProfilesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsProjectDataProfilesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/StoredInfoTypes/Create.hs view
@@ -0,0 +1,126 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.StoredInfoTypes.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a pre-built stored infoType to be used for inspection. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.storedInfoTypes.create@.+module Gogol.DLP.Projects.Locations.StoredInfoTypes.Create+ ( -- * Resource+ DLPProjectsLocationsStoredInfoTypesCreateResource,++ -- ** Constructing a Request+ DLPProjectsLocationsStoredInfoTypesCreate (..),+ newDLPProjectsLocationsStoredInfoTypesCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.storedInfoTypes.create@ method which the+-- 'DLPProjectsLocationsStoredInfoTypesCreate' request conforms to.+type DLPProjectsLocationsStoredInfoTypesCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "storedInfoTypes"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2CreateStoredInfoTypeRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2StoredInfoType++-- | Creates a pre-built stored infoType to be used for inspection. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPProjectsLocationsStoredInfoTypesCreate' smart constructor.+data DLPProjectsLocationsStoredInfoTypesCreate = DLPProjectsLocationsStoredInfoTypesCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateStoredInfoTypeRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsStoredInfoTypesCreate' with the minimum fields required to make a request.+newDLPProjectsLocationsStoredInfoTypesCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateStoredInfoTypeRequest ->+ DLPProjectsLocationsStoredInfoTypesCreate+newDLPProjectsLocationsStoredInfoTypesCreate parent payload =+ DLPProjectsLocationsStoredInfoTypesCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsStoredInfoTypesCreate+ where+ type+ Rs DLPProjectsLocationsStoredInfoTypesCreate =+ GooglePrivacyDlpV2StoredInfoType+ type+ Scopes DLPProjectsLocationsStoredInfoTypesCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsStoredInfoTypesCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsStoredInfoTypesCreateResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/StoredInfoTypes/Delete.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.StoredInfoTypes.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a stored infoType. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.storedInfoTypes.delete@.+module Gogol.DLP.Projects.Locations.StoredInfoTypes.Delete+ ( -- * Resource+ DLPProjectsLocationsStoredInfoTypesDeleteResource,++ -- ** Constructing a Request+ DLPProjectsLocationsStoredInfoTypesDelete (..),+ newDLPProjectsLocationsStoredInfoTypesDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.storedInfoTypes.delete@ method which the+-- 'DLPProjectsLocationsStoredInfoTypesDelete' request conforms to.+type DLPProjectsLocationsStoredInfoTypesDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes a stored infoType. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPProjectsLocationsStoredInfoTypesDelete' smart constructor.+data DLPProjectsLocationsStoredInfoTypesDelete = DLPProjectsLocationsStoredInfoTypesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and storedInfoType to be deleted, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsStoredInfoTypesDelete' with the minimum fields required to make a request.+newDLPProjectsLocationsStoredInfoTypesDelete ::+ -- | Required. Resource name of the organization and storedInfoType to be deleted, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342. See 'name'.+ Core.Text ->+ DLPProjectsLocationsStoredInfoTypesDelete+newDLPProjectsLocationsStoredInfoTypesDelete name =+ DLPProjectsLocationsStoredInfoTypesDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsStoredInfoTypesDelete+ where+ type+ Rs DLPProjectsLocationsStoredInfoTypesDelete =+ GoogleProtobufEmpty+ type+ Scopes DLPProjectsLocationsStoredInfoTypesDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsStoredInfoTypesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsStoredInfoTypesDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/StoredInfoTypes/Get.hs view
@@ -0,0 +1,113 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.StoredInfoTypes.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a stored infoType. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.storedInfoTypes.get@.+module Gogol.DLP.Projects.Locations.StoredInfoTypes.Get+ ( -- * Resource+ DLPProjectsLocationsStoredInfoTypesGetResource,++ -- ** Constructing a Request+ DLPProjectsLocationsStoredInfoTypesGet (..),+ newDLPProjectsLocationsStoredInfoTypesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.storedInfoTypes.get@ method which the+-- 'DLPProjectsLocationsStoredInfoTypesGet' request conforms to.+type DLPProjectsLocationsStoredInfoTypesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2StoredInfoType++-- | Gets a stored infoType. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPProjectsLocationsStoredInfoTypesGet' smart constructor.+data DLPProjectsLocationsStoredInfoTypesGet = DLPProjectsLocationsStoredInfoTypesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and storedInfoType to be read, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsStoredInfoTypesGet' with the minimum fields required to make a request.+newDLPProjectsLocationsStoredInfoTypesGet ::+ -- | Required. Resource name of the organization and storedInfoType to be read, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342. See 'name'.+ Core.Text ->+ DLPProjectsLocationsStoredInfoTypesGet+newDLPProjectsLocationsStoredInfoTypesGet name =+ DLPProjectsLocationsStoredInfoTypesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsStoredInfoTypesGet where+ type+ Rs DLPProjectsLocationsStoredInfoTypesGet =+ GooglePrivacyDlpV2StoredInfoType+ type+ Scopes DLPProjectsLocationsStoredInfoTypesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsStoredInfoTypesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsStoredInfoTypesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/StoredInfoTypes/List.hs view
@@ -0,0 +1,134 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.StoredInfoTypes.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists stored infoTypes. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.storedInfoTypes.list@.+module Gogol.DLP.Projects.Locations.StoredInfoTypes.List+ ( -- * Resource+ DLPProjectsLocationsStoredInfoTypesListResource,++ -- ** Constructing a Request+ DLPProjectsLocationsStoredInfoTypesList (..),+ newDLPProjectsLocationsStoredInfoTypesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.storedInfoTypes.list@ method which the+-- 'DLPProjectsLocationsStoredInfoTypesList' request conforms to.+type DLPProjectsLocationsStoredInfoTypesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "storedInfoTypes"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ListStoredInfoTypesResponse++-- | Lists stored infoTypes. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPProjectsLocationsStoredInfoTypesList' smart constructor.+data DLPProjectsLocationsStoredInfoTypesList = DLPProjectsLocationsStoredInfoTypesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc, display_name, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the most recent version of the resource was created. - @state@: corresponds to the state of the resource. - @name@: corresponds to resource name. - @display_name@: corresponds to info type\'s display name.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to @ListStoredInfoTypes@.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsStoredInfoTypesList' with the minimum fields required to make a request.+newDLPProjectsLocationsStoredInfoTypesList ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPProjectsLocationsStoredInfoTypesList+newDLPProjectsLocationsStoredInfoTypesList parent =+ DLPProjectsLocationsStoredInfoTypesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsLocationsStoredInfoTypesList where+ type+ Rs DLPProjectsLocationsStoredInfoTypesList =+ GooglePrivacyDlpV2ListStoredInfoTypesResponse+ type+ Scopes DLPProjectsLocationsStoredInfoTypesList =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsStoredInfoTypesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ locationId+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsStoredInfoTypesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/StoredInfoTypes/Patch.hs view
@@ -0,0 +1,125 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.StoredInfoTypes.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.storedInfoTypes.patch@.+module Gogol.DLP.Projects.Locations.StoredInfoTypes.Patch+ ( -- * Resource+ DLPProjectsLocationsStoredInfoTypesPatchResource,++ -- ** Constructing a Request+ DLPProjectsLocationsStoredInfoTypesPatch (..),+ newDLPProjectsLocationsStoredInfoTypesPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.storedInfoTypes.patch@ method which the+-- 'DLPProjectsLocationsStoredInfoTypesPatch' request conforms to.+type DLPProjectsLocationsStoredInfoTypesPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2StoredInfoType++-- | Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPProjectsLocationsStoredInfoTypesPatch' smart constructor.+data DLPProjectsLocationsStoredInfoTypesPatch = DLPProjectsLocationsStoredInfoTypesPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of organization and storedInfoType to be updated, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsStoredInfoTypesPatch' with the minimum fields required to make a request.+newDLPProjectsLocationsStoredInfoTypesPatch ::+ -- | Required. Resource name of organization and storedInfoType to be updated, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest ->+ DLPProjectsLocationsStoredInfoTypesPatch+newDLPProjectsLocationsStoredInfoTypesPatch name payload =+ DLPProjectsLocationsStoredInfoTypesPatch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsStoredInfoTypesPatch+ where+ type+ Rs DLPProjectsLocationsStoredInfoTypesPatch =+ GooglePrivacyDlpV2StoredInfoType+ type+ Scopes DLPProjectsLocationsStoredInfoTypesPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsStoredInfoTypesPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsStoredInfoTypesPatchResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/TableDataProfiles/Delete.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.TableDataProfiles.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Delete a TableDataProfile. Will not prevent the profile from being regenerated if the table is still included in a discovery configuration.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.tableDataProfiles.delete@.+module Gogol.DLP.Projects.Locations.TableDataProfiles.Delete+ ( -- * Resource+ DLPProjectsLocationsTableDataProfilesDeleteResource,++ -- ** Constructing a Request+ DLPProjectsLocationsTableDataProfilesDelete (..),+ newDLPProjectsLocationsTableDataProfilesDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.tableDataProfiles.delete@ method which the+-- 'DLPProjectsLocationsTableDataProfilesDelete' request conforms to.+type DLPProjectsLocationsTableDataProfilesDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Delete a TableDataProfile. Will not prevent the profile from being regenerated if the table is still included in a discovery configuration.+--+-- /See:/ 'newDLPProjectsLocationsTableDataProfilesDelete' smart constructor.+data DLPProjectsLocationsTableDataProfilesDelete = DLPProjectsLocationsTableDataProfilesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the table data profile.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsTableDataProfilesDelete' with the minimum fields required to make a request.+newDLPProjectsLocationsTableDataProfilesDelete ::+ -- | Required. Resource name of the table data profile. See 'name'.+ Core.Text ->+ DLPProjectsLocationsTableDataProfilesDelete+newDLPProjectsLocationsTableDataProfilesDelete name =+ DLPProjectsLocationsTableDataProfilesDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsTableDataProfilesDelete+ where+ type+ Rs DLPProjectsLocationsTableDataProfilesDelete =+ GoogleProtobufEmpty+ type+ Scopes DLPProjectsLocationsTableDataProfilesDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsTableDataProfilesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsTableDataProfilesDeleteResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/TableDataProfiles/Get.hs view
@@ -0,0 +1,116 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.TableDataProfiles.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a table data profile.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.tableDataProfiles.get@.+module Gogol.DLP.Projects.Locations.TableDataProfiles.Get+ ( -- * Resource+ DLPProjectsLocationsTableDataProfilesGetResource,++ -- ** Constructing a Request+ DLPProjectsLocationsTableDataProfilesGet (..),+ newDLPProjectsLocationsTableDataProfilesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.tableDataProfiles.get@ method which the+-- 'DLPProjectsLocationsTableDataProfilesGet' request conforms to.+type DLPProjectsLocationsTableDataProfilesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2TableDataProfile++-- | Gets a table data profile.+--+-- /See:/ 'newDLPProjectsLocationsTableDataProfilesGet' smart constructor.+data DLPProjectsLocationsTableDataProfilesGet = DLPProjectsLocationsTableDataProfilesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name, for example @organizations\/12345\/locations\/us\/tableDataProfiles\/53234423@.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsTableDataProfilesGet' with the minimum fields required to make a request.+newDLPProjectsLocationsTableDataProfilesGet ::+ -- | Required. Resource name, for example @organizations\/12345\/locations\/us\/tableDataProfiles\/53234423@. See 'name'.+ Core.Text ->+ DLPProjectsLocationsTableDataProfilesGet+newDLPProjectsLocationsTableDataProfilesGet name =+ DLPProjectsLocationsTableDataProfilesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsTableDataProfilesGet+ where+ type+ Rs DLPProjectsLocationsTableDataProfilesGet =+ GooglePrivacyDlpV2TableDataProfile+ type+ Scopes DLPProjectsLocationsTableDataProfilesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsTableDataProfilesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsTableDataProfilesGetResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/Locations/TableDataProfiles/List.hs view
@@ -0,0 +1,139 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.Locations.TableDataProfiles.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists table data profiles for an organization.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.locations.tableDataProfiles.list@.+module Gogol.DLP.Projects.Locations.TableDataProfiles.List+ ( -- * Resource+ DLPProjectsLocationsTableDataProfilesListResource,++ -- ** Constructing a Request+ DLPProjectsLocationsTableDataProfilesList (..),+ newDLPProjectsLocationsTableDataProfilesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.locations.tableDataProfiles.list@ method which the+-- 'DLPProjectsLocationsTableDataProfilesList' request conforms to.+type DLPProjectsLocationsTableDataProfilesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "tableDataProfiles"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "filter" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get+ '[Core.JSON]+ GooglePrivacyDlpV2ListTableDataProfilesResponse++-- | Lists table data profiles for an organization.+--+-- /See:/ 'newDLPProjectsLocationsTableDataProfilesList' smart constructor.+data DLPProjectsLocationsTableDataProfilesList = DLPProjectsLocationsTableDataProfilesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by @AND@ or @OR@ logical operators. A sequence of restrictions implicitly uses @AND@. * A restriction has the form of @{field} {operator} {value}@. * Supported fields\/values: - @project_id@ - The Google Cloud project ID. - @dataset_id@ - The BigQuery dataset ID. - @table_id@ - The ID of the BigQuery table. - @sensitivity_level@ - HIGH|MODERATE|LOW - @data_risk_level@ - HIGH|MODERATE|LOW - @resource_visibility@: PUBLIC|RESTRICTED - @status_code@ - an RPC status code as defined in https:\/\/github.com\/googleapis\/googleapis\/blob\/master\/google\/rpc\/code.proto * The operator must be @=@ or @!=@. Examples: * @project_id = 12345 AND status_code = 1@ * @project_id = 12345 AND sensitivity_level = HIGH@ * @project_id = 12345 AND resource_visibility = PUBLIC@ The length of this field should be no more than 500 characters.+ filter :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * @project_id asc@ * @table_id@ * @sensitivity_level desc@ Supported fields are: - @project_id@: The Google Cloud project ID. - @dataset_id@: The ID of a BigQuery dataset. - @table_id@: The ID of a BigQuery table. - @sensitivity_level@: How sensitive the data in a table is, at most. - @data_risk_level@: How much risk is associated with this data. - @profile_last_generated@: When the profile was last updated in epoch seconds. - @last_modified@: The last time the resource was modified. - @resource_visibility@: Visibility restriction for this resource. - @row_count@: Number of rows in this resource.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero, server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization or project, for example @organizations\/433245324\/locations\/europe@ or @projects\/project-id\/locations\/asia@.+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsLocationsTableDataProfilesList' with the minimum fields required to make a request.+newDLPProjectsLocationsTableDataProfilesList ::+ -- | Required. Resource name of the organization or project, for example @organizations\/433245324\/locations\/europe@ or @projects\/project-id\/locations\/asia@. See 'parent'.+ Core.Text ->+ DLPProjectsLocationsTableDataProfilesList+newDLPProjectsLocationsTableDataProfilesList parent =+ DLPProjectsLocationsTableDataProfilesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ filter = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance+ Core.GoogleRequest+ DLPProjectsLocationsTableDataProfilesList+ where+ type+ Rs DLPProjectsLocationsTableDataProfilesList =+ GooglePrivacyDlpV2ListTableDataProfilesResponse+ type+ Scopes DLPProjectsLocationsTableDataProfilesList =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsLocationsTableDataProfilesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ filter+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ ( Core.Proxy ::+ Core.Proxy DLPProjectsLocationsTableDataProfilesListResource+ )+ Core.mempty
+ gen/Gogol/DLP/Projects/StoredInfoTypes/Create.hs view
@@ -0,0 +1,121 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.StoredInfoTypes.Create+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a pre-built stored infoType to be used for inspection. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.storedInfoTypes.create@.+module Gogol.DLP.Projects.StoredInfoTypes.Create+ ( -- * Resource+ DLPProjectsStoredInfoTypesCreateResource,++ -- ** Constructing a Request+ DLPProjectsStoredInfoTypesCreate (..),+ newDLPProjectsStoredInfoTypesCreate,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.storedInfoTypes.create@ method which the+-- 'DLPProjectsStoredInfoTypesCreate' request conforms to.+type DLPProjectsStoredInfoTypesCreateResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "storedInfoTypes"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2CreateStoredInfoTypeRequest+ Core.:> Core.Post '[Core.JSON] GooglePrivacyDlpV2StoredInfoType++-- | Creates a pre-built stored infoType to be used for inspection. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPProjectsStoredInfoTypesCreate' smart constructor.+data DLPProjectsStoredInfoTypesCreate = DLPProjectsStoredInfoTypesCreate+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2CreateStoredInfoTypeRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsStoredInfoTypesCreate' with the minimum fields required to make a request.+newDLPProjectsStoredInfoTypesCreate ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ + Organizations scope, location specified: @organizations\/{org_id}\/locations\/{location_id}@ + Organizations scope, no location specified (defaults to global): @organizations\/{org_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2CreateStoredInfoTypeRequest ->+ DLPProjectsStoredInfoTypesCreate+newDLPProjectsStoredInfoTypesCreate parent payload =+ DLPProjectsStoredInfoTypesCreate+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ parent = parent,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsStoredInfoTypesCreate where+ type+ Rs DLPProjectsStoredInfoTypesCreate =+ GooglePrivacyDlpV2StoredInfoType+ type+ Scopes DLPProjectsStoredInfoTypesCreate =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsStoredInfoTypesCreate {..} =+ go+ parent+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsStoredInfoTypesCreateResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/StoredInfoTypes/Delete.hs view
@@ -0,0 +1,109 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.StoredInfoTypes.Delete+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a stored infoType. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.storedInfoTypes.delete@.+module Gogol.DLP.Projects.StoredInfoTypes.Delete+ ( -- * Resource+ DLPProjectsStoredInfoTypesDeleteResource,++ -- ** Constructing a Request+ DLPProjectsStoredInfoTypesDelete (..),+ newDLPProjectsStoredInfoTypesDelete,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.storedInfoTypes.delete@ method which the+-- 'DLPProjectsStoredInfoTypesDelete' request conforms to.+type DLPProjectsStoredInfoTypesDeleteResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Delete '[Core.JSON] GoogleProtobufEmpty++-- | Deletes a stored infoType. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPProjectsStoredInfoTypesDelete' smart constructor.+data DLPProjectsStoredInfoTypesDelete = DLPProjectsStoredInfoTypesDelete+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and storedInfoType to be deleted, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsStoredInfoTypesDelete' with the minimum fields required to make a request.+newDLPProjectsStoredInfoTypesDelete ::+ -- | Required. Resource name of the organization and storedInfoType to be deleted, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342. See 'name'.+ Core.Text ->+ DLPProjectsStoredInfoTypesDelete+newDLPProjectsStoredInfoTypesDelete name =+ DLPProjectsStoredInfoTypesDelete+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsStoredInfoTypesDelete where+ type Rs DLPProjectsStoredInfoTypesDelete = GoogleProtobufEmpty+ type+ Scopes DLPProjectsStoredInfoTypesDelete =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsStoredInfoTypesDelete {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsStoredInfoTypesDeleteResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/StoredInfoTypes/Get.hs view
@@ -0,0 +1,111 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.StoredInfoTypes.Get+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a stored infoType. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.storedInfoTypes.get@.+module Gogol.DLP.Projects.StoredInfoTypes.Get+ ( -- * Resource+ DLPProjectsStoredInfoTypesGetResource,++ -- ** Constructing a Request+ DLPProjectsStoredInfoTypesGet (..),+ newDLPProjectsStoredInfoTypesGet,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.storedInfoTypes.get@ method which the+-- 'DLPProjectsStoredInfoTypesGet' request conforms to.+type DLPProjectsStoredInfoTypesGetResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2StoredInfoType++-- | Gets a stored infoType. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPProjectsStoredInfoTypesGet' smart constructor.+data DLPProjectsStoredInfoTypesGet = DLPProjectsStoredInfoTypesGet+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of the organization and storedInfoType to be read, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342.+ name :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsStoredInfoTypesGet' with the minimum fields required to make a request.+newDLPProjectsStoredInfoTypesGet ::+ -- | Required. Resource name of the organization and storedInfoType to be read, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342. See 'name'.+ Core.Text ->+ DLPProjectsStoredInfoTypesGet+newDLPProjectsStoredInfoTypesGet name =+ DLPProjectsStoredInfoTypesGet+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsStoredInfoTypesGet where+ type+ Rs DLPProjectsStoredInfoTypesGet =+ GooglePrivacyDlpV2StoredInfoType+ type+ Scopes DLPProjectsStoredInfoTypesGet =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsStoredInfoTypesGet {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsStoredInfoTypesGetResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/StoredInfoTypes/List.hs view
@@ -0,0 +1,132 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.StoredInfoTypes.List+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists stored infoTypes. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.storedInfoTypes.list@.+module Gogol.DLP.Projects.StoredInfoTypes.List+ ( -- * Resource+ DLPProjectsStoredInfoTypesListResource,++ -- ** Constructing a Request+ DLPProjectsStoredInfoTypesList (..),+ newDLPProjectsStoredInfoTypesList,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.storedInfoTypes.list@ method which the+-- 'DLPProjectsStoredInfoTypesList' request conforms to.+type DLPProjectsStoredInfoTypesListResource =+ "v2"+ Core.:> Core.Capture "parent" Core.Text+ Core.:> "storedInfoTypes"+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "locationId" Core.Text+ Core.:> Core.QueryParam "orderBy" Core.Text+ Core.:> Core.QueryParam "pageSize" Core.Int32+ Core.:> Core.QueryParam "pageToken" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.Get '[Core.JSON] GooglePrivacyDlpV2ListStoredInfoTypesResponse++-- | Lists stored infoTypes. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPProjectsStoredInfoTypesList' smart constructor.+data DLPProjectsStoredInfoTypesList = DLPProjectsStoredInfoTypesList+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Deprecated. This field has no effect.+ locationId :: (Core.Maybe Core.Text),+ -- | Comma-separated list of fields to order by, followed by @asc@ or @desc@ postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Example: @name asc, display_name, create_time desc@ Supported fields are: - @create_time@: corresponds to the time the most recent version of the resource was created. - @state@: corresponds to the state of the resource. - @name@: corresponds to resource name. - @display_name@: corresponds to info type\'s display name.+ orderBy :: (Core.Maybe Core.Text),+ -- | Size of the page. This value can be limited by the server. If zero server returns a page of max size 100.+ pageSize :: (Core.Maybe Core.Int32),+ -- | Page token to continue retrieval. Comes from the previous call to @ListStoredInfoTypes@.+ pageToken :: (Core.Maybe Core.Text),+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3+ parent :: Core.Text,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsStoredInfoTypesList' with the minimum fields required to make a request.+newDLPProjectsStoredInfoTypesList ::+ -- | Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization) and whether you have <https://cloud.google.com/sensitive-data-protection/docs/specifying-location specified a processing location>: + Projects scope, location specified: @projects\/{project_id}\/locations\/{location_id}@ + Projects scope, no location specified (defaults to global): @projects\/{project_id}@ The following example @parent@ string specifies a parent project with the identifier @example-project@, and specifies the @europe-west3@ location for processing data: parent=projects\/example-project\/locations\/europe-west3 See 'parent'.+ Core.Text ->+ DLPProjectsStoredInfoTypesList+newDLPProjectsStoredInfoTypesList parent =+ DLPProjectsStoredInfoTypesList+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ locationId = Core.Nothing,+ orderBy = Core.Nothing,+ pageSize = Core.Nothing,+ pageToken = Core.Nothing,+ parent = parent,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsStoredInfoTypesList where+ type+ Rs DLPProjectsStoredInfoTypesList =+ GooglePrivacyDlpV2ListStoredInfoTypesResponse+ type+ Scopes DLPProjectsStoredInfoTypesList =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsStoredInfoTypesList {..} =+ go+ parent+ xgafv+ accessToken+ callback+ locationId+ orderBy+ pageSize+ pageToken+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsStoredInfoTypesListResource)+ Core.mempty
+ gen/Gogol/DLP/Projects/StoredInfoTypes/Patch.hs view
@@ -0,0 +1,120 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Projects.StoredInfoTypes.Patch+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ <https://cloud.google.com/sensitive-data-protection/docs/ Sensitive Data Protection (DLP) Reference> for @dlp.projects.storedInfoTypes.patch@.+module Gogol.DLP.Projects.StoredInfoTypes.Patch+ ( -- * Resource+ DLPProjectsStoredInfoTypesPatchResource,++ -- ** Constructing a Request+ DLPProjectsStoredInfoTypesPatch (..),+ newDLPProjectsStoredInfoTypesPatch,+ )+where++import Gogol.DLP.Types+import Gogol.Prelude qualified as Core++-- | A resource alias for @dlp.projects.storedInfoTypes.patch@ method which the+-- 'DLPProjectsStoredInfoTypesPatch' request conforms to.+type DLPProjectsStoredInfoTypesPatchResource =+ "v2"+ Core.:> Core.Capture "name" Core.Text+ Core.:> Core.QueryParam "$.xgafv" Xgafv+ Core.:> Core.QueryParam "access_token" Core.Text+ Core.:> Core.QueryParam "callback" Core.Text+ Core.:> Core.QueryParam "uploadType" Core.Text+ Core.:> Core.QueryParam "upload_protocol" Core.Text+ Core.:> Core.QueryParam "alt" Core.AltJSON+ Core.:> Core.ReqBody+ '[Core.JSON]+ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest+ Core.:> Core.Patch '[Core.JSON] GooglePrivacyDlpV2StoredInfoType++-- | Updates the stored infoType by creating a new version. The existing version will continue to be used until the new version is ready. See https:\/\/cloud.google.com\/sensitive-data-protection\/docs\/creating-stored-infotypes to learn more.+--+-- /See:/ 'newDLPProjectsStoredInfoTypesPatch' smart constructor.+data DLPProjectsStoredInfoTypesPatch = DLPProjectsStoredInfoTypesPatch+ { -- | V1 error format.+ xgafv :: (Core.Maybe Xgafv),+ -- | OAuth access token.+ accessToken :: (Core.Maybe Core.Text),+ -- | JSONP+ callback :: (Core.Maybe Core.Text),+ -- | Required. Resource name of organization and storedInfoType to be updated, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342.+ name :: Core.Text,+ -- | Multipart request metadata.+ payload :: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest,+ -- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").+ uploadType :: (Core.Maybe Core.Text),+ -- | Upload protocol for media (e.g. \"raw\", \"multipart\").+ uploadProtocol :: (Core.Maybe Core.Text)+ }+ deriving (Core.Eq, Core.Show, Core.Generic)++-- | Creates a value of 'DLPProjectsStoredInfoTypesPatch' with the minimum fields required to make a request.+newDLPProjectsStoredInfoTypesPatch ::+ -- | Required. Resource name of organization and storedInfoType to be updated, for example @organizations\/433245324\/storedInfoTypes\/432452342@ or projects\/project-id\/storedInfoTypes\/432452342. See 'name'.+ Core.Text ->+ -- | Multipart request metadata. See 'payload'.+ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest ->+ DLPProjectsStoredInfoTypesPatch+newDLPProjectsStoredInfoTypesPatch name payload =+ DLPProjectsStoredInfoTypesPatch+ { xgafv = Core.Nothing,+ accessToken = Core.Nothing,+ callback = Core.Nothing,+ name = name,+ payload = payload,+ uploadType = Core.Nothing,+ uploadProtocol = Core.Nothing+ }++instance Core.GoogleRequest DLPProjectsStoredInfoTypesPatch where+ type+ Rs DLPProjectsStoredInfoTypesPatch =+ GooglePrivacyDlpV2StoredInfoType+ type+ Scopes DLPProjectsStoredInfoTypesPatch =+ '[CloudPlatform'FullControl]+ requestClient DLPProjectsStoredInfoTypesPatch {..} =+ go+ name+ xgafv+ accessToken+ callback+ uploadType+ uploadProtocol+ (Core.Just Core.AltJSON)+ payload+ dLPService+ where+ go =+ Core.buildClient+ (Core.Proxy :: Core.Proxy DLPProjectsStoredInfoTypesPatchResource)+ Core.mempty
+ gen/Gogol/DLP/Types.hs view
@@ -0,0 +1,1664 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE ImportQualifiedPost #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- |+-- Module : Gogol.DLP.Types+-- Copyright : (c) 2015-2025 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+gogol@gmail.com>+-- Toni Cebrián <toni@tonicebrian.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+module Gogol.DLP.Types+ ( -- * Configuration+ dLPService,++ -- * OAuth Scopes+ CloudPlatform'FullControl,++ -- * Types++ -- ** Xgafv+ Xgafv (..),++ -- ** GooglePrivacyDlpV2Action+ GooglePrivacyDlpV2Action (..),+ newGooglePrivacyDlpV2Action,++ -- ** GooglePrivacyDlpV2ActionDetails+ GooglePrivacyDlpV2ActionDetails (..),+ newGooglePrivacyDlpV2ActionDetails,++ -- ** GooglePrivacyDlpV2ActivateJobTriggerRequest+ GooglePrivacyDlpV2ActivateJobTriggerRequest (..),+ newGooglePrivacyDlpV2ActivateJobTriggerRequest,++ -- ** GooglePrivacyDlpV2AllInfoTypes+ GooglePrivacyDlpV2AllInfoTypes (..),+ newGooglePrivacyDlpV2AllInfoTypes,++ -- ** GooglePrivacyDlpV2AllOtherBigQueryTables+ GooglePrivacyDlpV2AllOtherBigQueryTables (..),+ newGooglePrivacyDlpV2AllOtherBigQueryTables,++ -- ** GooglePrivacyDlpV2AllOtherDatabaseResources+ GooglePrivacyDlpV2AllOtherDatabaseResources (..),+ newGooglePrivacyDlpV2AllOtherDatabaseResources,++ -- ** GooglePrivacyDlpV2AllOtherResources+ GooglePrivacyDlpV2AllOtherResources (..),+ newGooglePrivacyDlpV2AllOtherResources,++ -- ** GooglePrivacyDlpV2AllText+ GooglePrivacyDlpV2AllText (..),+ newGooglePrivacyDlpV2AllText,++ -- ** GooglePrivacyDlpV2AmazonS3Bucket+ GooglePrivacyDlpV2AmazonS3Bucket (..),+ newGooglePrivacyDlpV2AmazonS3Bucket,++ -- ** GooglePrivacyDlpV2AmazonS3BucketConditions+ GooglePrivacyDlpV2AmazonS3BucketConditions (..),+ newGooglePrivacyDlpV2AmazonS3BucketConditions,++ -- ** GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem+ GooglePrivacyDlpV2AmazonS3BucketConditions_BucketTypesItem (..),++ -- ** GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem+ GooglePrivacyDlpV2AmazonS3BucketConditions_ObjectStorageClassesItem (..),++ -- ** GooglePrivacyDlpV2AmazonS3BucketRegex+ GooglePrivacyDlpV2AmazonS3BucketRegex (..),+ newGooglePrivacyDlpV2AmazonS3BucketRegex,++ -- ** GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails+ GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails (..),+ newGooglePrivacyDlpV2AnalyzeDataSourceRiskDetails,++ -- ** GooglePrivacyDlpV2AuxiliaryTable+ GooglePrivacyDlpV2AuxiliaryTable (..),+ newGooglePrivacyDlpV2AuxiliaryTable,++ -- ** GooglePrivacyDlpV2AwsAccount+ GooglePrivacyDlpV2AwsAccount (..),+ newGooglePrivacyDlpV2AwsAccount,++ -- ** GooglePrivacyDlpV2AwsAccountRegex+ GooglePrivacyDlpV2AwsAccountRegex (..),+ newGooglePrivacyDlpV2AwsAccountRegex,++ -- ** GooglePrivacyDlpV2AwsDiscoveryStartingLocation+ GooglePrivacyDlpV2AwsDiscoveryStartingLocation (..),+ newGooglePrivacyDlpV2AwsDiscoveryStartingLocation,++ -- ** GooglePrivacyDlpV2BigQueryDiscoveryTarget+ GooglePrivacyDlpV2BigQueryDiscoveryTarget (..),+ newGooglePrivacyDlpV2BigQueryDiscoveryTarget,++ -- ** GooglePrivacyDlpV2BigQueryField+ GooglePrivacyDlpV2BigQueryField (..),+ newGooglePrivacyDlpV2BigQueryField,++ -- ** GooglePrivacyDlpV2BigQueryKey+ GooglePrivacyDlpV2BigQueryKey (..),+ newGooglePrivacyDlpV2BigQueryKey,++ -- ** GooglePrivacyDlpV2BigQueryOptions+ GooglePrivacyDlpV2BigQueryOptions (..),+ newGooglePrivacyDlpV2BigQueryOptions,++ -- ** GooglePrivacyDlpV2BigQueryOptions_SampleMethod+ GooglePrivacyDlpV2BigQueryOptions_SampleMethod (..),++ -- ** GooglePrivacyDlpV2BigQueryRegex+ GooglePrivacyDlpV2BigQueryRegex (..),+ newGooglePrivacyDlpV2BigQueryRegex,++ -- ** GooglePrivacyDlpV2BigQueryRegexes+ GooglePrivacyDlpV2BigQueryRegexes (..),+ newGooglePrivacyDlpV2BigQueryRegexes,++ -- ** GooglePrivacyDlpV2BigQueryTable+ GooglePrivacyDlpV2BigQueryTable (..),+ newGooglePrivacyDlpV2BigQueryTable,++ -- ** GooglePrivacyDlpV2BigQueryTableCollection+ GooglePrivacyDlpV2BigQueryTableCollection (..),+ newGooglePrivacyDlpV2BigQueryTableCollection,++ -- ** GooglePrivacyDlpV2BigQueryTableTypes+ GooglePrivacyDlpV2BigQueryTableTypes (..),+ newGooglePrivacyDlpV2BigQueryTableTypes,++ -- ** GooglePrivacyDlpV2BigQueryTableTypes_TypesItem+ GooglePrivacyDlpV2BigQueryTableTypes_TypesItem (..),++ -- ** GooglePrivacyDlpV2BoundingBox+ GooglePrivacyDlpV2BoundingBox (..),+ newGooglePrivacyDlpV2BoundingBox,++ -- ** GooglePrivacyDlpV2Bucket+ GooglePrivacyDlpV2Bucket (..),+ newGooglePrivacyDlpV2Bucket,++ -- ** GooglePrivacyDlpV2BucketingConfig+ GooglePrivacyDlpV2BucketingConfig (..),+ newGooglePrivacyDlpV2BucketingConfig,++ -- ** GooglePrivacyDlpV2ByteContentItem+ GooglePrivacyDlpV2ByteContentItem (..),+ newGooglePrivacyDlpV2ByteContentItem,++ -- ** GooglePrivacyDlpV2ByteContentItem_Type+ GooglePrivacyDlpV2ByteContentItem_Type (..),++ -- ** GooglePrivacyDlpV2CancelDlpJobRequest+ GooglePrivacyDlpV2CancelDlpJobRequest (..),+ newGooglePrivacyDlpV2CancelDlpJobRequest,++ -- ** GooglePrivacyDlpV2CategoricalStatsConfig+ GooglePrivacyDlpV2CategoricalStatsConfig (..),+ newGooglePrivacyDlpV2CategoricalStatsConfig,++ -- ** GooglePrivacyDlpV2CategoricalStatsHistogramBucket+ GooglePrivacyDlpV2CategoricalStatsHistogramBucket (..),+ newGooglePrivacyDlpV2CategoricalStatsHistogramBucket,++ -- ** GooglePrivacyDlpV2CategoricalStatsResult+ GooglePrivacyDlpV2CategoricalStatsResult (..),+ newGooglePrivacyDlpV2CategoricalStatsResult,++ -- ** GooglePrivacyDlpV2CharacterMaskConfig+ GooglePrivacyDlpV2CharacterMaskConfig (..),+ newGooglePrivacyDlpV2CharacterMaskConfig,++ -- ** GooglePrivacyDlpV2CharsToIgnore+ GooglePrivacyDlpV2CharsToIgnore (..),+ newGooglePrivacyDlpV2CharsToIgnore,++ -- ** GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore+ GooglePrivacyDlpV2CharsToIgnore_CommonCharactersToIgnore (..),++ -- ** GooglePrivacyDlpV2CloudSqlDiscoveryTarget+ GooglePrivacyDlpV2CloudSqlDiscoveryTarget (..),+ newGooglePrivacyDlpV2CloudSqlDiscoveryTarget,++ -- ** GooglePrivacyDlpV2CloudSqlIamCredential+ GooglePrivacyDlpV2CloudSqlIamCredential (..),+ newGooglePrivacyDlpV2CloudSqlIamCredential,++ -- ** GooglePrivacyDlpV2CloudSqlProperties+ GooglePrivacyDlpV2CloudSqlProperties (..),+ newGooglePrivacyDlpV2CloudSqlProperties,++ -- ** GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine+ GooglePrivacyDlpV2CloudSqlProperties_DatabaseEngine (..),++ -- ** GooglePrivacyDlpV2CloudStorageDiscoveryTarget+ GooglePrivacyDlpV2CloudStorageDiscoveryTarget (..),+ newGooglePrivacyDlpV2CloudStorageDiscoveryTarget,++ -- ** GooglePrivacyDlpV2CloudStorageFileSet+ GooglePrivacyDlpV2CloudStorageFileSet (..),+ newGooglePrivacyDlpV2CloudStorageFileSet,++ -- ** GooglePrivacyDlpV2CloudStorageOptions+ GooglePrivacyDlpV2CloudStorageOptions (..),+ newGooglePrivacyDlpV2CloudStorageOptions,++ -- ** GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem+ GooglePrivacyDlpV2CloudStorageOptions_FileTypesItem (..),++ -- ** GooglePrivacyDlpV2CloudStorageOptions_SampleMethod+ GooglePrivacyDlpV2CloudStorageOptions_SampleMethod (..),++ -- ** GooglePrivacyDlpV2CloudStoragePath+ GooglePrivacyDlpV2CloudStoragePath (..),+ newGooglePrivacyDlpV2CloudStoragePath,++ -- ** GooglePrivacyDlpV2CloudStorageRegex+ GooglePrivacyDlpV2CloudStorageRegex (..),+ newGooglePrivacyDlpV2CloudStorageRegex,++ -- ** GooglePrivacyDlpV2CloudStorageRegexFileSet+ GooglePrivacyDlpV2CloudStorageRegexFileSet (..),+ newGooglePrivacyDlpV2CloudStorageRegexFileSet,++ -- ** GooglePrivacyDlpV2CloudStorageResourceReference+ GooglePrivacyDlpV2CloudStorageResourceReference (..),+ newGooglePrivacyDlpV2CloudStorageResourceReference,++ -- ** GooglePrivacyDlpV2Color+ GooglePrivacyDlpV2Color (..),+ newGooglePrivacyDlpV2Color,++ -- ** GooglePrivacyDlpV2ColumnDataProfile+ GooglePrivacyDlpV2ColumnDataProfile (..),+ newGooglePrivacyDlpV2ColumnDataProfile,++ -- ** GooglePrivacyDlpV2ColumnDataProfile_ColumnType+ GooglePrivacyDlpV2ColumnDataProfile_ColumnType (..),++ -- ** GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedNullPercentage (..),++ -- ** GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore+ GooglePrivacyDlpV2ColumnDataProfile_EstimatedUniquenessScore (..),++ -- ** GooglePrivacyDlpV2ColumnDataProfile_PolicyState+ GooglePrivacyDlpV2ColumnDataProfile_PolicyState (..),++ -- ** GooglePrivacyDlpV2ColumnDataProfile_State+ GooglePrivacyDlpV2ColumnDataProfile_State (..),++ -- ** GooglePrivacyDlpV2Condition+ GooglePrivacyDlpV2Condition (..),+ newGooglePrivacyDlpV2Condition,++ -- ** GooglePrivacyDlpV2Condition_Operator+ GooglePrivacyDlpV2Condition_Operator (..),++ -- ** GooglePrivacyDlpV2Conditions+ GooglePrivacyDlpV2Conditions (..),+ newGooglePrivacyDlpV2Conditions,++ -- ** GooglePrivacyDlpV2Connection+ GooglePrivacyDlpV2Connection (..),+ newGooglePrivacyDlpV2Connection,++ -- ** GooglePrivacyDlpV2Connection_State+ GooglePrivacyDlpV2Connection_State (..),++ -- ** GooglePrivacyDlpV2Container+ GooglePrivacyDlpV2Container (..),+ newGooglePrivacyDlpV2Container,++ -- ** GooglePrivacyDlpV2ContentItem+ GooglePrivacyDlpV2ContentItem (..),+ newGooglePrivacyDlpV2ContentItem,++ -- ** GooglePrivacyDlpV2ContentLocation+ GooglePrivacyDlpV2ContentLocation (..),+ newGooglePrivacyDlpV2ContentLocation,++ -- ** GooglePrivacyDlpV2CreateConnectionRequest+ GooglePrivacyDlpV2CreateConnectionRequest (..),+ newGooglePrivacyDlpV2CreateConnectionRequest,++ -- ** GooglePrivacyDlpV2CreateDeidentifyTemplateRequest+ GooglePrivacyDlpV2CreateDeidentifyTemplateRequest (..),+ newGooglePrivacyDlpV2CreateDeidentifyTemplateRequest,++ -- ** GooglePrivacyDlpV2CreateDiscoveryConfigRequest+ GooglePrivacyDlpV2CreateDiscoveryConfigRequest (..),+ newGooglePrivacyDlpV2CreateDiscoveryConfigRequest,++ -- ** GooglePrivacyDlpV2CreateDlpJobRequest+ GooglePrivacyDlpV2CreateDlpJobRequest (..),+ newGooglePrivacyDlpV2CreateDlpJobRequest,++ -- ** GooglePrivacyDlpV2CreateInspectTemplateRequest+ GooglePrivacyDlpV2CreateInspectTemplateRequest (..),+ newGooglePrivacyDlpV2CreateInspectTemplateRequest,++ -- ** GooglePrivacyDlpV2CreateJobTriggerRequest+ GooglePrivacyDlpV2CreateJobTriggerRequest (..),+ newGooglePrivacyDlpV2CreateJobTriggerRequest,++ -- ** GooglePrivacyDlpV2CreateStoredInfoTypeRequest+ GooglePrivacyDlpV2CreateStoredInfoTypeRequest (..),+ newGooglePrivacyDlpV2CreateStoredInfoTypeRequest,++ -- ** GooglePrivacyDlpV2CryptoDeterministicConfig+ GooglePrivacyDlpV2CryptoDeterministicConfig (..),+ newGooglePrivacyDlpV2CryptoDeterministicConfig,++ -- ** GooglePrivacyDlpV2CryptoHashConfig+ GooglePrivacyDlpV2CryptoHashConfig (..),+ newGooglePrivacyDlpV2CryptoHashConfig,++ -- ** GooglePrivacyDlpV2CryptoKey+ GooglePrivacyDlpV2CryptoKey (..),+ newGooglePrivacyDlpV2CryptoKey,++ -- ** GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig (..),+ newGooglePrivacyDlpV2CryptoReplaceFfxFpeConfig,++ -- ** GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet+ GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig_CommonAlphabet (..),++ -- ** GooglePrivacyDlpV2CustomInfoType+ GooglePrivacyDlpV2CustomInfoType (..),+ newGooglePrivacyDlpV2CustomInfoType,++ -- ** GooglePrivacyDlpV2CustomInfoType_ExclusionType+ GooglePrivacyDlpV2CustomInfoType_ExclusionType (..),++ -- ** GooglePrivacyDlpV2CustomInfoType_Likelihood+ GooglePrivacyDlpV2CustomInfoType_Likelihood (..),++ -- ** GooglePrivacyDlpV2DataProfileAction+ GooglePrivacyDlpV2DataProfileAction (..),+ newGooglePrivacyDlpV2DataProfileAction,++ -- ** GooglePrivacyDlpV2DataProfileBigQueryRowSchema+ GooglePrivacyDlpV2DataProfileBigQueryRowSchema (..),+ newGooglePrivacyDlpV2DataProfileBigQueryRowSchema,++ -- ** GooglePrivacyDlpV2DataProfileConfigSnapshot+ GooglePrivacyDlpV2DataProfileConfigSnapshot (..),+ newGooglePrivacyDlpV2DataProfileConfigSnapshot,++ -- ** GooglePrivacyDlpV2DataProfileFinding+ GooglePrivacyDlpV2DataProfileFinding (..),+ newGooglePrivacyDlpV2DataProfileFinding,++ -- ** GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility+ GooglePrivacyDlpV2DataProfileFinding_ResourceVisibility (..),++ -- ** GooglePrivacyDlpV2DataProfileFindingLocation+ GooglePrivacyDlpV2DataProfileFindingLocation (..),+ newGooglePrivacyDlpV2DataProfileFindingLocation,++ -- ** GooglePrivacyDlpV2DataProfileFindingRecordLocation+ GooglePrivacyDlpV2DataProfileFindingRecordLocation (..),+ newGooglePrivacyDlpV2DataProfileFindingRecordLocation,++ -- ** GooglePrivacyDlpV2DataProfileJobConfig+ GooglePrivacyDlpV2DataProfileJobConfig (..),+ newGooglePrivacyDlpV2DataProfileJobConfig,++ -- ** GooglePrivacyDlpV2DataProfileLocation+ GooglePrivacyDlpV2DataProfileLocation (..),+ newGooglePrivacyDlpV2DataProfileLocation,++ -- ** GooglePrivacyDlpV2DataProfilePubSubCondition+ GooglePrivacyDlpV2DataProfilePubSubCondition (..),+ newGooglePrivacyDlpV2DataProfilePubSubCondition,++ -- ** GooglePrivacyDlpV2DataProfilePubSubMessage+ GooglePrivacyDlpV2DataProfilePubSubMessage (..),+ newGooglePrivacyDlpV2DataProfilePubSubMessage,++ -- ** GooglePrivacyDlpV2DataProfilePubSubMessage_Event+ GooglePrivacyDlpV2DataProfilePubSubMessage_Event (..),++ -- ** GooglePrivacyDlpV2DataRiskLevel+ GooglePrivacyDlpV2DataRiskLevel (..),+ newGooglePrivacyDlpV2DataRiskLevel,++ -- ** GooglePrivacyDlpV2DataRiskLevel_Score+ GooglePrivacyDlpV2DataRiskLevel_Score (..),++ -- ** GooglePrivacyDlpV2DataSourceType+ GooglePrivacyDlpV2DataSourceType (..),+ newGooglePrivacyDlpV2DataSourceType,++ -- ** GooglePrivacyDlpV2DatabaseResourceCollection+ GooglePrivacyDlpV2DatabaseResourceCollection (..),+ newGooglePrivacyDlpV2DatabaseResourceCollection,++ -- ** GooglePrivacyDlpV2DatabaseResourceReference+ GooglePrivacyDlpV2DatabaseResourceReference (..),+ newGooglePrivacyDlpV2DatabaseResourceReference,++ -- ** GooglePrivacyDlpV2DatabaseResourceRegex+ GooglePrivacyDlpV2DatabaseResourceRegex (..),+ newGooglePrivacyDlpV2DatabaseResourceRegex,++ -- ** GooglePrivacyDlpV2DatabaseResourceRegexes+ GooglePrivacyDlpV2DatabaseResourceRegexes (..),+ newGooglePrivacyDlpV2DatabaseResourceRegexes,++ -- ** GooglePrivacyDlpV2DatastoreKey+ GooglePrivacyDlpV2DatastoreKey (..),+ newGooglePrivacyDlpV2DatastoreKey,++ -- ** GooglePrivacyDlpV2DatastoreOptions+ GooglePrivacyDlpV2DatastoreOptions (..),+ newGooglePrivacyDlpV2DatastoreOptions,++ -- ** GooglePrivacyDlpV2DateShiftConfig+ GooglePrivacyDlpV2DateShiftConfig (..),+ newGooglePrivacyDlpV2DateShiftConfig,++ -- ** GooglePrivacyDlpV2DateTime+ GooglePrivacyDlpV2DateTime (..),+ newGooglePrivacyDlpV2DateTime,++ -- ** GooglePrivacyDlpV2DateTime_DayOfWeek+ GooglePrivacyDlpV2DateTime_DayOfWeek (..),++ -- ** GooglePrivacyDlpV2Deidentify+ GooglePrivacyDlpV2Deidentify (..),+ newGooglePrivacyDlpV2Deidentify,++ -- ** GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem+ GooglePrivacyDlpV2Deidentify_FileTypesToTransformItem (..),++ -- ** GooglePrivacyDlpV2DeidentifyConfig+ GooglePrivacyDlpV2DeidentifyConfig (..),+ newGooglePrivacyDlpV2DeidentifyConfig,++ -- ** GooglePrivacyDlpV2DeidentifyContentRequest+ GooglePrivacyDlpV2DeidentifyContentRequest (..),+ newGooglePrivacyDlpV2DeidentifyContentRequest,++ -- ** GooglePrivacyDlpV2DeidentifyContentResponse+ GooglePrivacyDlpV2DeidentifyContentResponse (..),+ newGooglePrivacyDlpV2DeidentifyContentResponse,++ -- ** GooglePrivacyDlpV2DeidentifyDataSourceDetails+ GooglePrivacyDlpV2DeidentifyDataSourceDetails (..),+ newGooglePrivacyDlpV2DeidentifyDataSourceDetails,++ -- ** GooglePrivacyDlpV2DeidentifyDataSourceStats+ GooglePrivacyDlpV2DeidentifyDataSourceStats (..),+ newGooglePrivacyDlpV2DeidentifyDataSourceStats,++ -- ** GooglePrivacyDlpV2DeidentifyTemplate+ GooglePrivacyDlpV2DeidentifyTemplate (..),+ newGooglePrivacyDlpV2DeidentifyTemplate,++ -- ** GooglePrivacyDlpV2DeltaPresenceEstimationConfig+ GooglePrivacyDlpV2DeltaPresenceEstimationConfig (..),+ newGooglePrivacyDlpV2DeltaPresenceEstimationConfig,++ -- ** GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket+ GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket (..),+ newGooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket,++ -- ** GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues+ GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues (..),+ newGooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues,++ -- ** GooglePrivacyDlpV2DeltaPresenceEstimationResult+ GooglePrivacyDlpV2DeltaPresenceEstimationResult (..),+ newGooglePrivacyDlpV2DeltaPresenceEstimationResult,++ -- ** GooglePrivacyDlpV2DetectionRule+ GooglePrivacyDlpV2DetectionRule (..),+ newGooglePrivacyDlpV2DetectionRule,++ -- ** GooglePrivacyDlpV2Dictionary+ GooglePrivacyDlpV2Dictionary (..),+ newGooglePrivacyDlpV2Dictionary,++ -- ** GooglePrivacyDlpV2Disabled+ GooglePrivacyDlpV2Disabled (..),+ newGooglePrivacyDlpV2Disabled,++ -- ** GooglePrivacyDlpV2DiscoveryBigQueryConditions+ GooglePrivacyDlpV2DiscoveryBigQueryConditions (..),+ newGooglePrivacyDlpV2DiscoveryBigQueryConditions,++ -- ** GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection+ GooglePrivacyDlpV2DiscoveryBigQueryConditions_TypeCollection (..),++ -- ** GooglePrivacyDlpV2DiscoveryBigQueryFilter+ GooglePrivacyDlpV2DiscoveryBigQueryFilter (..),+ newGooglePrivacyDlpV2DiscoveryBigQueryFilter,++ -- ** GooglePrivacyDlpV2DiscoveryCloudSqlConditions+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions (..),+ newGooglePrivacyDlpV2DiscoveryCloudSqlConditions,++ -- ** GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_DatabaseEnginesItem (..),++ -- ** GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem+ GooglePrivacyDlpV2DiscoveryCloudSqlConditions_TypesItem (..),++ -- ** GooglePrivacyDlpV2DiscoveryCloudSqlFilter+ GooglePrivacyDlpV2DiscoveryCloudSqlFilter (..),+ newGooglePrivacyDlpV2DiscoveryCloudSqlFilter,++ -- ** GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence (..),+ newGooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence,++ -- ** GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency+ GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence_RefreshFrequency (..),++ -- ** GooglePrivacyDlpV2DiscoveryCloudStorageConditions+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions (..),+ newGooglePrivacyDlpV2DiscoveryCloudStorageConditions,++ -- ** GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedBucketAttributesItem (..),++ -- ** GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem+ GooglePrivacyDlpV2DiscoveryCloudStorageConditions_IncludedObjectAttributesItem (..),++ -- ** GooglePrivacyDlpV2DiscoveryCloudStorageFilter+ GooglePrivacyDlpV2DiscoveryCloudStorageFilter (..),+ newGooglePrivacyDlpV2DiscoveryCloudStorageFilter,++ -- ** GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence (..),+ newGooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence,++ -- ** GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency+ GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence_RefreshFrequency (..),++ -- ** GooglePrivacyDlpV2DiscoveryConfig+ GooglePrivacyDlpV2DiscoveryConfig (..),+ newGooglePrivacyDlpV2DiscoveryConfig,++ -- ** GooglePrivacyDlpV2DiscoveryConfig_Status+ GooglePrivacyDlpV2DiscoveryConfig_Status (..),++ -- ** GooglePrivacyDlpV2DiscoveryFileStoreConditions+ GooglePrivacyDlpV2DiscoveryFileStoreConditions (..),+ newGooglePrivacyDlpV2DiscoveryFileStoreConditions,++ -- ** GooglePrivacyDlpV2DiscoveryGenerationCadence+ GooglePrivacyDlpV2DiscoveryGenerationCadence (..),+ newGooglePrivacyDlpV2DiscoveryGenerationCadence,++ -- ** GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency+ GooglePrivacyDlpV2DiscoveryGenerationCadence_RefreshFrequency (..),++ -- ** GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence (..),+ newGooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence,++ -- ** GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency+ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence_Frequency (..),++ -- ** GooglePrivacyDlpV2DiscoveryOtherCloudConditions+ GooglePrivacyDlpV2DiscoveryOtherCloudConditions (..),+ newGooglePrivacyDlpV2DiscoveryOtherCloudConditions,++ -- ** GooglePrivacyDlpV2DiscoveryOtherCloudFilter+ GooglePrivacyDlpV2DiscoveryOtherCloudFilter (..),+ newGooglePrivacyDlpV2DiscoveryOtherCloudFilter,++ -- ** GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence (..),+ newGooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence,++ -- ** GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency+ GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence_RefreshFrequency (..),++ -- ** GooglePrivacyDlpV2DiscoverySchemaModifiedCadence+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence (..),+ newGooglePrivacyDlpV2DiscoverySchemaModifiedCadence,++ -- ** GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_Frequency (..),++ -- ** GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem+ GooglePrivacyDlpV2DiscoverySchemaModifiedCadence_TypesItem (..),++ -- ** GooglePrivacyDlpV2DiscoveryStartingLocation+ GooglePrivacyDlpV2DiscoveryStartingLocation (..),+ newGooglePrivacyDlpV2DiscoveryStartingLocation,++ -- ** GooglePrivacyDlpV2DiscoveryTableModifiedCadence+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence (..),+ newGooglePrivacyDlpV2DiscoveryTableModifiedCadence,++ -- ** GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_Frequency (..),++ -- ** GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem+ GooglePrivacyDlpV2DiscoveryTableModifiedCadence_TypesItem (..),++ -- ** GooglePrivacyDlpV2DiscoveryTarget+ GooglePrivacyDlpV2DiscoveryTarget (..),+ newGooglePrivacyDlpV2DiscoveryTarget,++ -- ** GooglePrivacyDlpV2DiscoveryVertexDatasetConditions+ GooglePrivacyDlpV2DiscoveryVertexDatasetConditions (..),+ newGooglePrivacyDlpV2DiscoveryVertexDatasetConditions,++ -- ** GooglePrivacyDlpV2DiscoveryVertexDatasetFilter+ GooglePrivacyDlpV2DiscoveryVertexDatasetFilter (..),+ newGooglePrivacyDlpV2DiscoveryVertexDatasetFilter,++ -- ** GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence (..),+ newGooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence,++ -- ** GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency+ GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence_RefreshFrequency (..),++ -- ** GooglePrivacyDlpV2DlpJob+ GooglePrivacyDlpV2DlpJob (..),+ newGooglePrivacyDlpV2DlpJob,++ -- ** GooglePrivacyDlpV2DlpJob_State+ GooglePrivacyDlpV2DlpJob_State (..),++ -- ** GooglePrivacyDlpV2DlpJob_Type+ GooglePrivacyDlpV2DlpJob_Type (..),++ -- ** GooglePrivacyDlpV2DocumentLocation+ GooglePrivacyDlpV2DocumentLocation (..),+ newGooglePrivacyDlpV2DocumentLocation,++ -- ** GooglePrivacyDlpV2EntityId+ GooglePrivacyDlpV2EntityId (..),+ newGooglePrivacyDlpV2EntityId,++ -- ** GooglePrivacyDlpV2Error+ GooglePrivacyDlpV2Error (..),+ newGooglePrivacyDlpV2Error,++ -- ** GooglePrivacyDlpV2Error_ExtraInfo+ GooglePrivacyDlpV2Error_ExtraInfo (..),++ -- ** GooglePrivacyDlpV2ExcludeByHotword+ GooglePrivacyDlpV2ExcludeByHotword (..),+ newGooglePrivacyDlpV2ExcludeByHotword,++ -- ** GooglePrivacyDlpV2ExcludeInfoTypes+ GooglePrivacyDlpV2ExcludeInfoTypes (..),+ newGooglePrivacyDlpV2ExcludeInfoTypes,++ -- ** GooglePrivacyDlpV2ExclusionRule+ GooglePrivacyDlpV2ExclusionRule (..),+ newGooglePrivacyDlpV2ExclusionRule,++ -- ** GooglePrivacyDlpV2ExclusionRule_MatchingType+ GooglePrivacyDlpV2ExclusionRule_MatchingType (..),++ -- ** GooglePrivacyDlpV2Export+ GooglePrivacyDlpV2Export (..),+ newGooglePrivacyDlpV2Export,++ -- ** GooglePrivacyDlpV2Expressions+ GooglePrivacyDlpV2Expressions (..),+ newGooglePrivacyDlpV2Expressions,++ -- ** GooglePrivacyDlpV2Expressions_LogicalOperator+ GooglePrivacyDlpV2Expressions_LogicalOperator (..),++ -- ** GooglePrivacyDlpV2FieldId+ GooglePrivacyDlpV2FieldId (..),+ newGooglePrivacyDlpV2FieldId,++ -- ** GooglePrivacyDlpV2FieldTransformation+ GooglePrivacyDlpV2FieldTransformation (..),+ newGooglePrivacyDlpV2FieldTransformation,++ -- ** GooglePrivacyDlpV2FileClusterSummary+ GooglePrivacyDlpV2FileClusterSummary (..),+ newGooglePrivacyDlpV2FileClusterSummary,++ -- ** GooglePrivacyDlpV2FileClusterType+ GooglePrivacyDlpV2FileClusterType (..),+ newGooglePrivacyDlpV2FileClusterType,++ -- ** GooglePrivacyDlpV2FileClusterType_Cluster+ GooglePrivacyDlpV2FileClusterType_Cluster (..),++ -- ** GooglePrivacyDlpV2FileExtensionInfo+ GooglePrivacyDlpV2FileExtensionInfo (..),+ newGooglePrivacyDlpV2FileExtensionInfo,++ -- ** GooglePrivacyDlpV2FileSet+ GooglePrivacyDlpV2FileSet (..),+ newGooglePrivacyDlpV2FileSet,++ -- ** GooglePrivacyDlpV2FileStoreCollection+ GooglePrivacyDlpV2FileStoreCollection (..),+ newGooglePrivacyDlpV2FileStoreCollection,++ -- ** GooglePrivacyDlpV2FileStoreDataProfile+ GooglePrivacyDlpV2FileStoreDataProfile (..),+ newGooglePrivacyDlpV2FileStoreDataProfile,++ -- ** GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes (..),+ newGooglePrivacyDlpV2FileStoreDataProfile_ResourceAttributes,++ -- ** GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels (..),+ newGooglePrivacyDlpV2FileStoreDataProfile_ResourceLabels,++ -- ** GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility+ GooglePrivacyDlpV2FileStoreDataProfile_ResourceVisibility (..),++ -- ** GooglePrivacyDlpV2FileStoreDataProfile_State+ GooglePrivacyDlpV2FileStoreDataProfile_State (..),++ -- ** GooglePrivacyDlpV2FileStoreInfoTypeSummary+ GooglePrivacyDlpV2FileStoreInfoTypeSummary (..),+ newGooglePrivacyDlpV2FileStoreInfoTypeSummary,++ -- ** GooglePrivacyDlpV2FileStoreRegex+ GooglePrivacyDlpV2FileStoreRegex (..),+ newGooglePrivacyDlpV2FileStoreRegex,++ -- ** GooglePrivacyDlpV2FileStoreRegexes+ GooglePrivacyDlpV2FileStoreRegexes (..),+ newGooglePrivacyDlpV2FileStoreRegexes,++ -- ** GooglePrivacyDlpV2Finding+ GooglePrivacyDlpV2Finding (..),+ newGooglePrivacyDlpV2Finding,++ -- ** GooglePrivacyDlpV2Finding_Labels+ GooglePrivacyDlpV2Finding_Labels (..),+ newGooglePrivacyDlpV2Finding_Labels,++ -- ** GooglePrivacyDlpV2Finding_Likelihood+ GooglePrivacyDlpV2Finding_Likelihood (..),++ -- ** GooglePrivacyDlpV2FindingLimits+ GooglePrivacyDlpV2FindingLimits (..),+ newGooglePrivacyDlpV2FindingLimits,++ -- ** GooglePrivacyDlpV2FinishDlpJobRequest+ GooglePrivacyDlpV2FinishDlpJobRequest (..),+ newGooglePrivacyDlpV2FinishDlpJobRequest,++ -- ** GooglePrivacyDlpV2FixedSizeBucketingConfig+ GooglePrivacyDlpV2FixedSizeBucketingConfig (..),+ newGooglePrivacyDlpV2FixedSizeBucketingConfig,++ -- ** GooglePrivacyDlpV2GlobalProcessing+ GooglePrivacyDlpV2GlobalProcessing (..),+ newGooglePrivacyDlpV2GlobalProcessing,++ -- ** GooglePrivacyDlpV2HotwordRule+ GooglePrivacyDlpV2HotwordRule (..),+ newGooglePrivacyDlpV2HotwordRule,++ -- ** GooglePrivacyDlpV2HybridContentItem+ GooglePrivacyDlpV2HybridContentItem (..),+ newGooglePrivacyDlpV2HybridContentItem,++ -- ** GooglePrivacyDlpV2HybridFindingDetails+ GooglePrivacyDlpV2HybridFindingDetails (..),+ newGooglePrivacyDlpV2HybridFindingDetails,++ -- ** GooglePrivacyDlpV2HybridFindingDetails_Labels+ GooglePrivacyDlpV2HybridFindingDetails_Labels (..),+ newGooglePrivacyDlpV2HybridFindingDetails_Labels,++ -- ** GooglePrivacyDlpV2HybridInspectDlpJobRequest+ GooglePrivacyDlpV2HybridInspectDlpJobRequest (..),+ newGooglePrivacyDlpV2HybridInspectDlpJobRequest,++ -- ** GooglePrivacyDlpV2HybridInspectJobTriggerRequest+ GooglePrivacyDlpV2HybridInspectJobTriggerRequest (..),+ newGooglePrivacyDlpV2HybridInspectJobTriggerRequest,++ -- ** GooglePrivacyDlpV2HybridInspectResponse+ GooglePrivacyDlpV2HybridInspectResponse (..),+ newGooglePrivacyDlpV2HybridInspectResponse,++ -- ** GooglePrivacyDlpV2HybridInspectStatistics+ GooglePrivacyDlpV2HybridInspectStatistics (..),+ newGooglePrivacyDlpV2HybridInspectStatistics,++ -- ** GooglePrivacyDlpV2HybridOptions+ GooglePrivacyDlpV2HybridOptions (..),+ newGooglePrivacyDlpV2HybridOptions,++ -- ** GooglePrivacyDlpV2HybridOptions_Labels+ GooglePrivacyDlpV2HybridOptions_Labels (..),+ newGooglePrivacyDlpV2HybridOptions_Labels,++ -- ** GooglePrivacyDlpV2ImageFallbackLocation+ GooglePrivacyDlpV2ImageFallbackLocation (..),+ newGooglePrivacyDlpV2ImageFallbackLocation,++ -- ** GooglePrivacyDlpV2ImageLocation+ GooglePrivacyDlpV2ImageLocation (..),+ newGooglePrivacyDlpV2ImageLocation,++ -- ** GooglePrivacyDlpV2ImageRedactionConfig+ GooglePrivacyDlpV2ImageRedactionConfig (..),+ newGooglePrivacyDlpV2ImageRedactionConfig,++ -- ** GooglePrivacyDlpV2ImageTransformation+ GooglePrivacyDlpV2ImageTransformation (..),+ newGooglePrivacyDlpV2ImageTransformation,++ -- ** GooglePrivacyDlpV2ImageTransformations+ GooglePrivacyDlpV2ImageTransformations (..),+ newGooglePrivacyDlpV2ImageTransformations,++ -- ** GooglePrivacyDlpV2InfoType+ GooglePrivacyDlpV2InfoType (..),+ newGooglePrivacyDlpV2InfoType,++ -- ** GooglePrivacyDlpV2InfoTypeCategory+ GooglePrivacyDlpV2InfoTypeCategory (..),+ newGooglePrivacyDlpV2InfoTypeCategory,++ -- ** GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory+ GooglePrivacyDlpV2InfoTypeCategory_IndustryCategory (..),++ -- ** GooglePrivacyDlpV2InfoTypeCategory_LocationCategory+ GooglePrivacyDlpV2InfoTypeCategory_LocationCategory (..),++ -- ** GooglePrivacyDlpV2InfoTypeCategory_TypeCategory+ GooglePrivacyDlpV2InfoTypeCategory_TypeCategory (..),++ -- ** GooglePrivacyDlpV2InfoTypeDescription+ GooglePrivacyDlpV2InfoTypeDescription (..),+ newGooglePrivacyDlpV2InfoTypeDescription,++ -- ** GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem+ GooglePrivacyDlpV2InfoTypeDescription_SupportedByItem (..),++ -- ** GooglePrivacyDlpV2InfoTypeLikelihood+ GooglePrivacyDlpV2InfoTypeLikelihood (..),+ newGooglePrivacyDlpV2InfoTypeLikelihood,++ -- ** GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood+ GooglePrivacyDlpV2InfoTypeLikelihood_MinLikelihood (..),++ -- ** GooglePrivacyDlpV2InfoTypeLimit+ GooglePrivacyDlpV2InfoTypeLimit (..),+ newGooglePrivacyDlpV2InfoTypeLimit,++ -- ** GooglePrivacyDlpV2InfoTypeStats+ GooglePrivacyDlpV2InfoTypeStats (..),+ newGooglePrivacyDlpV2InfoTypeStats,++ -- ** GooglePrivacyDlpV2InfoTypeSummary+ GooglePrivacyDlpV2InfoTypeSummary (..),+ newGooglePrivacyDlpV2InfoTypeSummary,++ -- ** GooglePrivacyDlpV2InfoTypeTransformation+ GooglePrivacyDlpV2InfoTypeTransformation (..),+ newGooglePrivacyDlpV2InfoTypeTransformation,++ -- ** GooglePrivacyDlpV2InfoTypeTransformations+ GooglePrivacyDlpV2InfoTypeTransformations (..),+ newGooglePrivacyDlpV2InfoTypeTransformations,++ -- ** GooglePrivacyDlpV2InspectConfig+ GooglePrivacyDlpV2InspectConfig (..),+ newGooglePrivacyDlpV2InspectConfig,++ -- ** GooglePrivacyDlpV2InspectConfig_ContentOptionsItem+ GooglePrivacyDlpV2InspectConfig_ContentOptionsItem (..),++ -- ** GooglePrivacyDlpV2InspectConfig_MinLikelihood+ GooglePrivacyDlpV2InspectConfig_MinLikelihood (..),++ -- ** GooglePrivacyDlpV2InspectContentRequest+ GooglePrivacyDlpV2InspectContentRequest (..),+ newGooglePrivacyDlpV2InspectContentRequest,++ -- ** GooglePrivacyDlpV2InspectContentResponse+ GooglePrivacyDlpV2InspectContentResponse (..),+ newGooglePrivacyDlpV2InspectContentResponse,++ -- ** GooglePrivacyDlpV2InspectDataSourceDetails+ GooglePrivacyDlpV2InspectDataSourceDetails (..),+ newGooglePrivacyDlpV2InspectDataSourceDetails,++ -- ** GooglePrivacyDlpV2InspectJobConfig+ GooglePrivacyDlpV2InspectJobConfig (..),+ newGooglePrivacyDlpV2InspectJobConfig,++ -- ** GooglePrivacyDlpV2InspectResult+ GooglePrivacyDlpV2InspectResult (..),+ newGooglePrivacyDlpV2InspectResult,++ -- ** GooglePrivacyDlpV2InspectTemplate+ GooglePrivacyDlpV2InspectTemplate (..),+ newGooglePrivacyDlpV2InspectTemplate,++ -- ** GooglePrivacyDlpV2InspectionRule+ GooglePrivacyDlpV2InspectionRule (..),+ newGooglePrivacyDlpV2InspectionRule,++ -- ** GooglePrivacyDlpV2InspectionRuleSet+ GooglePrivacyDlpV2InspectionRuleSet (..),+ newGooglePrivacyDlpV2InspectionRuleSet,++ -- ** GooglePrivacyDlpV2JobNotificationEmails+ GooglePrivacyDlpV2JobNotificationEmails (..),+ newGooglePrivacyDlpV2JobNotificationEmails,++ -- ** GooglePrivacyDlpV2JobTrigger+ GooglePrivacyDlpV2JobTrigger (..),+ newGooglePrivacyDlpV2JobTrigger,++ -- ** GooglePrivacyDlpV2JobTrigger_Status+ GooglePrivacyDlpV2JobTrigger_Status (..),++ -- ** GooglePrivacyDlpV2KAnonymityConfig+ GooglePrivacyDlpV2KAnonymityConfig (..),+ newGooglePrivacyDlpV2KAnonymityConfig,++ -- ** GooglePrivacyDlpV2KAnonymityEquivalenceClass+ GooglePrivacyDlpV2KAnonymityEquivalenceClass (..),+ newGooglePrivacyDlpV2KAnonymityEquivalenceClass,++ -- ** GooglePrivacyDlpV2KAnonymityHistogramBucket+ GooglePrivacyDlpV2KAnonymityHistogramBucket (..),+ newGooglePrivacyDlpV2KAnonymityHistogramBucket,++ -- ** GooglePrivacyDlpV2KAnonymityResult+ GooglePrivacyDlpV2KAnonymityResult (..),+ newGooglePrivacyDlpV2KAnonymityResult,++ -- ** GooglePrivacyDlpV2KMapEstimationConfig+ GooglePrivacyDlpV2KMapEstimationConfig (..),+ newGooglePrivacyDlpV2KMapEstimationConfig,++ -- ** GooglePrivacyDlpV2KMapEstimationHistogramBucket+ GooglePrivacyDlpV2KMapEstimationHistogramBucket (..),+ newGooglePrivacyDlpV2KMapEstimationHistogramBucket,++ -- ** GooglePrivacyDlpV2KMapEstimationQuasiIdValues+ GooglePrivacyDlpV2KMapEstimationQuasiIdValues (..),+ newGooglePrivacyDlpV2KMapEstimationQuasiIdValues,++ -- ** GooglePrivacyDlpV2KMapEstimationResult+ GooglePrivacyDlpV2KMapEstimationResult (..),+ newGooglePrivacyDlpV2KMapEstimationResult,++ -- ** GooglePrivacyDlpV2Key+ GooglePrivacyDlpV2Key (..),+ newGooglePrivacyDlpV2Key,++ -- ** GooglePrivacyDlpV2KindExpression+ GooglePrivacyDlpV2KindExpression (..),+ newGooglePrivacyDlpV2KindExpression,++ -- ** GooglePrivacyDlpV2KmsWrappedCryptoKey+ GooglePrivacyDlpV2KmsWrappedCryptoKey (..),+ newGooglePrivacyDlpV2KmsWrappedCryptoKey,++ -- ** GooglePrivacyDlpV2LDiversityConfig+ GooglePrivacyDlpV2LDiversityConfig (..),+ newGooglePrivacyDlpV2LDiversityConfig,++ -- ** GooglePrivacyDlpV2LDiversityEquivalenceClass+ GooglePrivacyDlpV2LDiversityEquivalenceClass (..),+ newGooglePrivacyDlpV2LDiversityEquivalenceClass,++ -- ** GooglePrivacyDlpV2LDiversityHistogramBucket+ GooglePrivacyDlpV2LDiversityHistogramBucket (..),+ newGooglePrivacyDlpV2LDiversityHistogramBucket,++ -- ** GooglePrivacyDlpV2LDiversityResult+ GooglePrivacyDlpV2LDiversityResult (..),+ newGooglePrivacyDlpV2LDiversityResult,++ -- ** GooglePrivacyDlpV2LargeCustomDictionaryConfig+ GooglePrivacyDlpV2LargeCustomDictionaryConfig (..),+ newGooglePrivacyDlpV2LargeCustomDictionaryConfig,++ -- ** GooglePrivacyDlpV2LargeCustomDictionaryStats+ GooglePrivacyDlpV2LargeCustomDictionaryStats (..),+ newGooglePrivacyDlpV2LargeCustomDictionaryStats,++ -- ** GooglePrivacyDlpV2LeaveUntransformed+ GooglePrivacyDlpV2LeaveUntransformed (..),+ newGooglePrivacyDlpV2LeaveUntransformed,++ -- ** GooglePrivacyDlpV2LikelihoodAdjustment+ GooglePrivacyDlpV2LikelihoodAdjustment (..),+ newGooglePrivacyDlpV2LikelihoodAdjustment,++ -- ** GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood+ GooglePrivacyDlpV2LikelihoodAdjustment_FixedLikelihood (..),++ -- ** GooglePrivacyDlpV2ListColumnDataProfilesResponse+ GooglePrivacyDlpV2ListColumnDataProfilesResponse (..),+ newGooglePrivacyDlpV2ListColumnDataProfilesResponse,++ -- ** GooglePrivacyDlpV2ListConnectionsResponse+ GooglePrivacyDlpV2ListConnectionsResponse (..),+ newGooglePrivacyDlpV2ListConnectionsResponse,++ -- ** GooglePrivacyDlpV2ListDeidentifyTemplatesResponse+ GooglePrivacyDlpV2ListDeidentifyTemplatesResponse (..),+ newGooglePrivacyDlpV2ListDeidentifyTemplatesResponse,++ -- ** GooglePrivacyDlpV2ListDiscoveryConfigsResponse+ GooglePrivacyDlpV2ListDiscoveryConfigsResponse (..),+ newGooglePrivacyDlpV2ListDiscoveryConfigsResponse,++ -- ** GooglePrivacyDlpV2ListDlpJobsResponse+ GooglePrivacyDlpV2ListDlpJobsResponse (..),+ newGooglePrivacyDlpV2ListDlpJobsResponse,++ -- ** GooglePrivacyDlpV2ListFileStoreDataProfilesResponse+ GooglePrivacyDlpV2ListFileStoreDataProfilesResponse (..),+ newGooglePrivacyDlpV2ListFileStoreDataProfilesResponse,++ -- ** GooglePrivacyDlpV2ListInfoTypesResponse+ GooglePrivacyDlpV2ListInfoTypesResponse (..),+ newGooglePrivacyDlpV2ListInfoTypesResponse,++ -- ** GooglePrivacyDlpV2ListInspectTemplatesResponse+ GooglePrivacyDlpV2ListInspectTemplatesResponse (..),+ newGooglePrivacyDlpV2ListInspectTemplatesResponse,++ -- ** GooglePrivacyDlpV2ListJobTriggersResponse+ GooglePrivacyDlpV2ListJobTriggersResponse (..),+ newGooglePrivacyDlpV2ListJobTriggersResponse,++ -- ** GooglePrivacyDlpV2ListProjectDataProfilesResponse+ GooglePrivacyDlpV2ListProjectDataProfilesResponse (..),+ newGooglePrivacyDlpV2ListProjectDataProfilesResponse,++ -- ** GooglePrivacyDlpV2ListStoredInfoTypesResponse+ GooglePrivacyDlpV2ListStoredInfoTypesResponse (..),+ newGooglePrivacyDlpV2ListStoredInfoTypesResponse,++ -- ** GooglePrivacyDlpV2ListTableDataProfilesResponse+ GooglePrivacyDlpV2ListTableDataProfilesResponse (..),+ newGooglePrivacyDlpV2ListTableDataProfilesResponse,++ -- ** GooglePrivacyDlpV2Location+ GooglePrivacyDlpV2Location (..),+ newGooglePrivacyDlpV2Location,++ -- ** GooglePrivacyDlpV2Manual+ GooglePrivacyDlpV2Manual (..),+ newGooglePrivacyDlpV2Manual,++ -- ** GooglePrivacyDlpV2MetadataLocation+ GooglePrivacyDlpV2MetadataLocation (..),+ newGooglePrivacyDlpV2MetadataLocation,++ -- ** GooglePrivacyDlpV2MetadataLocation_Type+ GooglePrivacyDlpV2MetadataLocation_Type (..),++ -- ** GooglePrivacyDlpV2MultiRegionProcessing+ GooglePrivacyDlpV2MultiRegionProcessing (..),+ newGooglePrivacyDlpV2MultiRegionProcessing,++ -- ** GooglePrivacyDlpV2NumericalStatsConfig+ GooglePrivacyDlpV2NumericalStatsConfig (..),+ newGooglePrivacyDlpV2NumericalStatsConfig,++ -- ** GooglePrivacyDlpV2NumericalStatsResult+ GooglePrivacyDlpV2NumericalStatsResult (..),+ newGooglePrivacyDlpV2NumericalStatsResult,++ -- ** GooglePrivacyDlpV2OrConditions+ GooglePrivacyDlpV2OrConditions (..),+ newGooglePrivacyDlpV2OrConditions,++ -- ** GooglePrivacyDlpV2OrgConfig+ GooglePrivacyDlpV2OrgConfig (..),+ newGooglePrivacyDlpV2OrgConfig,++ -- ** GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation+ GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation (..),+ newGooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation,++ -- ** GooglePrivacyDlpV2OtherCloudDiscoveryTarget+ GooglePrivacyDlpV2OtherCloudDiscoveryTarget (..),+ newGooglePrivacyDlpV2OtherCloudDiscoveryTarget,++ -- ** GooglePrivacyDlpV2OtherCloudResourceCollection+ GooglePrivacyDlpV2OtherCloudResourceCollection (..),+ newGooglePrivacyDlpV2OtherCloudResourceCollection,++ -- ** GooglePrivacyDlpV2OtherCloudResourceRegex+ GooglePrivacyDlpV2OtherCloudResourceRegex (..),+ newGooglePrivacyDlpV2OtherCloudResourceRegex,++ -- ** GooglePrivacyDlpV2OtherCloudResourceRegexes+ GooglePrivacyDlpV2OtherCloudResourceRegexes (..),+ newGooglePrivacyDlpV2OtherCloudResourceRegexes,++ -- ** GooglePrivacyDlpV2OtherCloudSingleResourceReference+ GooglePrivacyDlpV2OtherCloudSingleResourceReference (..),+ newGooglePrivacyDlpV2OtherCloudSingleResourceReference,++ -- ** GooglePrivacyDlpV2OtherInfoTypeSummary+ GooglePrivacyDlpV2OtherInfoTypeSummary (..),+ newGooglePrivacyDlpV2OtherInfoTypeSummary,++ -- ** GooglePrivacyDlpV2OutputStorageConfig+ GooglePrivacyDlpV2OutputStorageConfig (..),+ newGooglePrivacyDlpV2OutputStorageConfig,++ -- ** GooglePrivacyDlpV2OutputStorageConfig_OutputSchema+ GooglePrivacyDlpV2OutputStorageConfig_OutputSchema (..),++ -- ** GooglePrivacyDlpV2PartitionId+ GooglePrivacyDlpV2PartitionId (..),+ newGooglePrivacyDlpV2PartitionId,++ -- ** GooglePrivacyDlpV2PathElement+ GooglePrivacyDlpV2PathElement (..),+ newGooglePrivacyDlpV2PathElement,++ -- ** GooglePrivacyDlpV2PrimitiveTransformation+ GooglePrivacyDlpV2PrimitiveTransformation (..),+ newGooglePrivacyDlpV2PrimitiveTransformation,++ -- ** GooglePrivacyDlpV2PrivacyMetric+ GooglePrivacyDlpV2PrivacyMetric (..),+ newGooglePrivacyDlpV2PrivacyMetric,++ -- ** GooglePrivacyDlpV2ProcessingLocation+ GooglePrivacyDlpV2ProcessingLocation (..),+ newGooglePrivacyDlpV2ProcessingLocation,++ -- ** GooglePrivacyDlpV2ProfileStatus+ GooglePrivacyDlpV2ProfileStatus (..),+ newGooglePrivacyDlpV2ProfileStatus,++ -- ** GooglePrivacyDlpV2ProjectDataProfile+ GooglePrivacyDlpV2ProjectDataProfile (..),+ newGooglePrivacyDlpV2ProjectDataProfile,++ -- ** GooglePrivacyDlpV2Proximity+ GooglePrivacyDlpV2Proximity (..),+ newGooglePrivacyDlpV2Proximity,++ -- ** GooglePrivacyDlpV2PubSubCondition+ GooglePrivacyDlpV2PubSubCondition (..),+ newGooglePrivacyDlpV2PubSubCondition,++ -- ** GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore+ GooglePrivacyDlpV2PubSubCondition_MinimumRiskScore (..),++ -- ** GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore+ GooglePrivacyDlpV2PubSubCondition_MinimumSensitivityScore (..),++ -- ** GooglePrivacyDlpV2PubSubExpressions+ GooglePrivacyDlpV2PubSubExpressions (..),+ newGooglePrivacyDlpV2PubSubExpressions,++ -- ** GooglePrivacyDlpV2PubSubExpressions_LogicalOperator+ GooglePrivacyDlpV2PubSubExpressions_LogicalOperator (..),++ -- ** GooglePrivacyDlpV2PubSubNotification+ GooglePrivacyDlpV2PubSubNotification (..),+ newGooglePrivacyDlpV2PubSubNotification,++ -- ** GooglePrivacyDlpV2PubSubNotification_DetailOfMessage+ GooglePrivacyDlpV2PubSubNotification_DetailOfMessage (..),++ -- ** GooglePrivacyDlpV2PubSubNotification_Event+ GooglePrivacyDlpV2PubSubNotification_Event (..),++ -- ** GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog+ GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog (..),+ newGooglePrivacyDlpV2PublishFindingsToCloudDataCatalog,++ -- ** GooglePrivacyDlpV2PublishSummaryToCscc+ GooglePrivacyDlpV2PublishSummaryToCscc (..),+ newGooglePrivacyDlpV2PublishSummaryToCscc,++ -- ** GooglePrivacyDlpV2PublishToChronicle+ GooglePrivacyDlpV2PublishToChronicle (..),+ newGooglePrivacyDlpV2PublishToChronicle,++ -- ** GooglePrivacyDlpV2PublishToPubSub+ GooglePrivacyDlpV2PublishToPubSub (..),+ newGooglePrivacyDlpV2PublishToPubSub,++ -- ** GooglePrivacyDlpV2PublishToSecurityCommandCenter+ GooglePrivacyDlpV2PublishToSecurityCommandCenter (..),+ newGooglePrivacyDlpV2PublishToSecurityCommandCenter,++ -- ** GooglePrivacyDlpV2PublishToStackdriver+ GooglePrivacyDlpV2PublishToStackdriver (..),+ newGooglePrivacyDlpV2PublishToStackdriver,++ -- ** GooglePrivacyDlpV2QuasiId+ GooglePrivacyDlpV2QuasiId (..),+ newGooglePrivacyDlpV2QuasiId,++ -- ** GooglePrivacyDlpV2QuasiIdField+ GooglePrivacyDlpV2QuasiIdField (..),+ newGooglePrivacyDlpV2QuasiIdField,++ -- ** GooglePrivacyDlpV2QuasiIdentifierField+ GooglePrivacyDlpV2QuasiIdentifierField (..),+ newGooglePrivacyDlpV2QuasiIdentifierField,++ -- ** GooglePrivacyDlpV2QuoteInfo+ GooglePrivacyDlpV2QuoteInfo (..),+ newGooglePrivacyDlpV2QuoteInfo,++ -- ** GooglePrivacyDlpV2Range+ GooglePrivacyDlpV2Range (..),+ newGooglePrivacyDlpV2Range,++ -- ** GooglePrivacyDlpV2RecordCondition+ GooglePrivacyDlpV2RecordCondition (..),+ newGooglePrivacyDlpV2RecordCondition,++ -- ** GooglePrivacyDlpV2RecordKey+ GooglePrivacyDlpV2RecordKey (..),+ newGooglePrivacyDlpV2RecordKey,++ -- ** GooglePrivacyDlpV2RecordLocation+ GooglePrivacyDlpV2RecordLocation (..),+ newGooglePrivacyDlpV2RecordLocation,++ -- ** GooglePrivacyDlpV2RecordSuppression+ GooglePrivacyDlpV2RecordSuppression (..),+ newGooglePrivacyDlpV2RecordSuppression,++ -- ** GooglePrivacyDlpV2RecordTransformation+ GooglePrivacyDlpV2RecordTransformation (..),+ newGooglePrivacyDlpV2RecordTransformation,++ -- ** GooglePrivacyDlpV2RecordTransformations+ GooglePrivacyDlpV2RecordTransformations (..),+ newGooglePrivacyDlpV2RecordTransformations,++ -- ** GooglePrivacyDlpV2RedactConfig+ GooglePrivacyDlpV2RedactConfig (..),+ newGooglePrivacyDlpV2RedactConfig,++ -- ** GooglePrivacyDlpV2RedactImageRequest+ GooglePrivacyDlpV2RedactImageRequest (..),+ newGooglePrivacyDlpV2RedactImageRequest,++ -- ** GooglePrivacyDlpV2RedactImageResponse+ GooglePrivacyDlpV2RedactImageResponse (..),+ newGooglePrivacyDlpV2RedactImageResponse,++ -- ** GooglePrivacyDlpV2Regex+ GooglePrivacyDlpV2Regex (..),+ newGooglePrivacyDlpV2Regex,++ -- ** GooglePrivacyDlpV2ReidentifyContentRequest+ GooglePrivacyDlpV2ReidentifyContentRequest (..),+ newGooglePrivacyDlpV2ReidentifyContentRequest,++ -- ** GooglePrivacyDlpV2ReidentifyContentResponse+ GooglePrivacyDlpV2ReidentifyContentResponse (..),+ newGooglePrivacyDlpV2ReidentifyContentResponse,++ -- ** GooglePrivacyDlpV2RelatedResource+ GooglePrivacyDlpV2RelatedResource (..),+ newGooglePrivacyDlpV2RelatedResource,++ -- ** GooglePrivacyDlpV2ReplaceDictionaryConfig+ GooglePrivacyDlpV2ReplaceDictionaryConfig (..),+ newGooglePrivacyDlpV2ReplaceDictionaryConfig,++ -- ** GooglePrivacyDlpV2ReplaceValueConfig+ GooglePrivacyDlpV2ReplaceValueConfig (..),+ newGooglePrivacyDlpV2ReplaceValueConfig,++ -- ** GooglePrivacyDlpV2ReplaceWithInfoTypeConfig+ GooglePrivacyDlpV2ReplaceWithInfoTypeConfig (..),+ newGooglePrivacyDlpV2ReplaceWithInfoTypeConfig,++ -- ** GooglePrivacyDlpV2RequestedDeidentifyOptions+ GooglePrivacyDlpV2RequestedDeidentifyOptions (..),+ newGooglePrivacyDlpV2RequestedDeidentifyOptions,++ -- ** GooglePrivacyDlpV2RequestedOptions+ GooglePrivacyDlpV2RequestedOptions (..),+ newGooglePrivacyDlpV2RequestedOptions,++ -- ** GooglePrivacyDlpV2RequestedRiskAnalysisOptions+ GooglePrivacyDlpV2RequestedRiskAnalysisOptions (..),+ newGooglePrivacyDlpV2RequestedRiskAnalysisOptions,++ -- ** GooglePrivacyDlpV2Result+ GooglePrivacyDlpV2Result (..),+ newGooglePrivacyDlpV2Result,++ -- ** GooglePrivacyDlpV2RiskAnalysisJobConfig+ GooglePrivacyDlpV2RiskAnalysisJobConfig (..),+ newGooglePrivacyDlpV2RiskAnalysisJobConfig,++ -- ** GooglePrivacyDlpV2Row+ GooglePrivacyDlpV2Row (..),+ newGooglePrivacyDlpV2Row,++ -- ** GooglePrivacyDlpV2SaveFindings+ GooglePrivacyDlpV2SaveFindings (..),+ newGooglePrivacyDlpV2SaveFindings,++ -- ** GooglePrivacyDlpV2Schedule+ GooglePrivacyDlpV2Schedule (..),+ newGooglePrivacyDlpV2Schedule,++ -- ** GooglePrivacyDlpV2SchemaModifiedCadence+ GooglePrivacyDlpV2SchemaModifiedCadence (..),+ newGooglePrivacyDlpV2SchemaModifiedCadence,++ -- ** GooglePrivacyDlpV2SchemaModifiedCadence_Frequency+ GooglePrivacyDlpV2SchemaModifiedCadence_Frequency (..),++ -- ** GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem+ GooglePrivacyDlpV2SchemaModifiedCadence_TypesItem (..),++ -- ** GooglePrivacyDlpV2SearchConnectionsResponse+ GooglePrivacyDlpV2SearchConnectionsResponse (..),+ newGooglePrivacyDlpV2SearchConnectionsResponse,++ -- ** GooglePrivacyDlpV2SecretManagerCredential+ GooglePrivacyDlpV2SecretManagerCredential (..),+ newGooglePrivacyDlpV2SecretManagerCredential,++ -- ** GooglePrivacyDlpV2SecretsDiscoveryTarget+ GooglePrivacyDlpV2SecretsDiscoveryTarget (..),+ newGooglePrivacyDlpV2SecretsDiscoveryTarget,++ -- ** GooglePrivacyDlpV2SelectedInfoTypes+ GooglePrivacyDlpV2SelectedInfoTypes (..),+ newGooglePrivacyDlpV2SelectedInfoTypes,++ -- ** GooglePrivacyDlpV2SensitivityScore+ GooglePrivacyDlpV2SensitivityScore (..),+ newGooglePrivacyDlpV2SensitivityScore,++ -- ** GooglePrivacyDlpV2SensitivityScore_Score+ GooglePrivacyDlpV2SensitivityScore_Score (..),++ -- ** GooglePrivacyDlpV2StatisticalTable+ GooglePrivacyDlpV2StatisticalTable (..),+ newGooglePrivacyDlpV2StatisticalTable,++ -- ** GooglePrivacyDlpV2StorageConfig+ GooglePrivacyDlpV2StorageConfig (..),+ newGooglePrivacyDlpV2StorageConfig,++ -- ** GooglePrivacyDlpV2StorageMetadataLabel+ GooglePrivacyDlpV2StorageMetadataLabel (..),+ newGooglePrivacyDlpV2StorageMetadataLabel,++ -- ** GooglePrivacyDlpV2StoredInfoType+ GooglePrivacyDlpV2StoredInfoType (..),+ newGooglePrivacyDlpV2StoredInfoType,++ -- ** GooglePrivacyDlpV2StoredInfoTypeConfig+ GooglePrivacyDlpV2StoredInfoTypeConfig (..),+ newGooglePrivacyDlpV2StoredInfoTypeConfig,++ -- ** GooglePrivacyDlpV2StoredInfoTypeStats+ GooglePrivacyDlpV2StoredInfoTypeStats (..),+ newGooglePrivacyDlpV2StoredInfoTypeStats,++ -- ** GooglePrivacyDlpV2StoredInfoTypeVersion+ GooglePrivacyDlpV2StoredInfoTypeVersion (..),+ newGooglePrivacyDlpV2StoredInfoTypeVersion,++ -- ** GooglePrivacyDlpV2StoredInfoTypeVersion_State+ GooglePrivacyDlpV2StoredInfoTypeVersion_State (..),++ -- ** GooglePrivacyDlpV2StoredType+ GooglePrivacyDlpV2StoredType (..),+ newGooglePrivacyDlpV2StoredType,++ -- ** GooglePrivacyDlpV2SummaryResult+ GooglePrivacyDlpV2SummaryResult (..),+ newGooglePrivacyDlpV2SummaryResult,++ -- ** GooglePrivacyDlpV2SummaryResult_Code+ GooglePrivacyDlpV2SummaryResult_Code (..),++ -- ** GooglePrivacyDlpV2SurrogateType+ GooglePrivacyDlpV2SurrogateType (..),+ newGooglePrivacyDlpV2SurrogateType,++ -- ** GooglePrivacyDlpV2Table+ GooglePrivacyDlpV2Table (..),+ newGooglePrivacyDlpV2Table,++ -- ** GooglePrivacyDlpV2TableDataProfile+ GooglePrivacyDlpV2TableDataProfile (..),+ newGooglePrivacyDlpV2TableDataProfile,++ -- ** GooglePrivacyDlpV2TableDataProfile_EncryptionStatus+ GooglePrivacyDlpV2TableDataProfile_EncryptionStatus (..),++ -- ** GooglePrivacyDlpV2TableDataProfile_ResourceLabels+ GooglePrivacyDlpV2TableDataProfile_ResourceLabels (..),+ newGooglePrivacyDlpV2TableDataProfile_ResourceLabels,++ -- ** GooglePrivacyDlpV2TableDataProfile_ResourceVisibility+ GooglePrivacyDlpV2TableDataProfile_ResourceVisibility (..),++ -- ** GooglePrivacyDlpV2TableDataProfile_State+ GooglePrivacyDlpV2TableDataProfile_State (..),++ -- ** GooglePrivacyDlpV2TableLocation+ GooglePrivacyDlpV2TableLocation (..),+ newGooglePrivacyDlpV2TableLocation,++ -- ** GooglePrivacyDlpV2TableOptions+ GooglePrivacyDlpV2TableOptions (..),+ newGooglePrivacyDlpV2TableOptions,++ -- ** GooglePrivacyDlpV2TableReference+ GooglePrivacyDlpV2TableReference (..),+ newGooglePrivacyDlpV2TableReference,++ -- ** GooglePrivacyDlpV2TagCondition+ GooglePrivacyDlpV2TagCondition (..),+ newGooglePrivacyDlpV2TagCondition,++ -- ** GooglePrivacyDlpV2TagResources+ GooglePrivacyDlpV2TagResources (..),+ newGooglePrivacyDlpV2TagResources,++ -- ** GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem+ GooglePrivacyDlpV2TagResources_ProfileGenerationsToTagItem (..),++ -- ** GooglePrivacyDlpV2TagValue+ GooglePrivacyDlpV2TagValue (..),+ newGooglePrivacyDlpV2TagValue,++ -- ** GooglePrivacyDlpV2TaggedField+ GooglePrivacyDlpV2TaggedField (..),+ newGooglePrivacyDlpV2TaggedField,++ -- ** GooglePrivacyDlpV2ThrowError+ GooglePrivacyDlpV2ThrowError (..),+ newGooglePrivacyDlpV2ThrowError,++ -- ** GooglePrivacyDlpV2TimePartConfig+ GooglePrivacyDlpV2TimePartConfig (..),+ newGooglePrivacyDlpV2TimePartConfig,++ -- ** GooglePrivacyDlpV2TimePartConfig_PartToExtract+ GooglePrivacyDlpV2TimePartConfig_PartToExtract (..),++ -- ** GooglePrivacyDlpV2TimeZone+ GooglePrivacyDlpV2TimeZone (..),+ newGooglePrivacyDlpV2TimeZone,++ -- ** GooglePrivacyDlpV2TimespanConfig+ GooglePrivacyDlpV2TimespanConfig (..),+ newGooglePrivacyDlpV2TimespanConfig,++ -- ** GooglePrivacyDlpV2TransformationConfig+ GooglePrivacyDlpV2TransformationConfig (..),+ newGooglePrivacyDlpV2TransformationConfig,++ -- ** GooglePrivacyDlpV2TransformationDescription+ GooglePrivacyDlpV2TransformationDescription (..),+ newGooglePrivacyDlpV2TransformationDescription,++ -- ** GooglePrivacyDlpV2TransformationDescription_Type+ GooglePrivacyDlpV2TransformationDescription_Type (..),++ -- ** GooglePrivacyDlpV2TransformationDetails+ GooglePrivacyDlpV2TransformationDetails (..),+ newGooglePrivacyDlpV2TransformationDetails,++ -- ** GooglePrivacyDlpV2TransformationDetailsStorageConfig+ GooglePrivacyDlpV2TransformationDetailsStorageConfig (..),+ newGooglePrivacyDlpV2TransformationDetailsStorageConfig,++ -- ** GooglePrivacyDlpV2TransformationErrorHandling+ GooglePrivacyDlpV2TransformationErrorHandling (..),+ newGooglePrivacyDlpV2TransformationErrorHandling,++ -- ** GooglePrivacyDlpV2TransformationLocation+ GooglePrivacyDlpV2TransformationLocation (..),+ newGooglePrivacyDlpV2TransformationLocation,++ -- ** GooglePrivacyDlpV2TransformationLocation_ContainerType+ GooglePrivacyDlpV2TransformationLocation_ContainerType (..),++ -- ** GooglePrivacyDlpV2TransformationOverview+ GooglePrivacyDlpV2TransformationOverview (..),+ newGooglePrivacyDlpV2TransformationOverview,++ -- ** GooglePrivacyDlpV2TransformationResultStatus+ GooglePrivacyDlpV2TransformationResultStatus (..),+ newGooglePrivacyDlpV2TransformationResultStatus,++ -- ** GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType+ GooglePrivacyDlpV2TransformationResultStatus_ResultStatusType (..),++ -- ** GooglePrivacyDlpV2TransformationSummary+ GooglePrivacyDlpV2TransformationSummary (..),+ newGooglePrivacyDlpV2TransformationSummary,++ -- ** GooglePrivacyDlpV2TransientCryptoKey+ GooglePrivacyDlpV2TransientCryptoKey (..),+ newGooglePrivacyDlpV2TransientCryptoKey,++ -- ** GooglePrivacyDlpV2Trigger+ GooglePrivacyDlpV2Trigger (..),+ newGooglePrivacyDlpV2Trigger,++ -- ** GooglePrivacyDlpV2UnwrappedCryptoKey+ GooglePrivacyDlpV2UnwrappedCryptoKey (..),+ newGooglePrivacyDlpV2UnwrappedCryptoKey,++ -- ** GooglePrivacyDlpV2UpdateConnectionRequest+ GooglePrivacyDlpV2UpdateConnectionRequest (..),+ newGooglePrivacyDlpV2UpdateConnectionRequest,++ -- ** GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest+ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest (..),+ newGooglePrivacyDlpV2UpdateDeidentifyTemplateRequest,++ -- ** GooglePrivacyDlpV2UpdateDiscoveryConfigRequest+ GooglePrivacyDlpV2UpdateDiscoveryConfigRequest (..),+ newGooglePrivacyDlpV2UpdateDiscoveryConfigRequest,++ -- ** GooglePrivacyDlpV2UpdateInspectTemplateRequest+ GooglePrivacyDlpV2UpdateInspectTemplateRequest (..),+ newGooglePrivacyDlpV2UpdateInspectTemplateRequest,++ -- ** GooglePrivacyDlpV2UpdateJobTriggerRequest+ GooglePrivacyDlpV2UpdateJobTriggerRequest (..),+ newGooglePrivacyDlpV2UpdateJobTriggerRequest,++ -- ** GooglePrivacyDlpV2UpdateStoredInfoTypeRequest+ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest (..),+ newGooglePrivacyDlpV2UpdateStoredInfoTypeRequest,++ -- ** GooglePrivacyDlpV2Value+ GooglePrivacyDlpV2Value (..),+ newGooglePrivacyDlpV2Value,++ -- ** GooglePrivacyDlpV2Value_DayOfWeekValue+ GooglePrivacyDlpV2Value_DayOfWeekValue (..),++ -- ** GooglePrivacyDlpV2ValueFrequency+ GooglePrivacyDlpV2ValueFrequency (..),+ newGooglePrivacyDlpV2ValueFrequency,++ -- ** GooglePrivacyDlpV2VersionDescription+ GooglePrivacyDlpV2VersionDescription (..),+ newGooglePrivacyDlpV2VersionDescription,++ -- ** GooglePrivacyDlpV2VertexDatasetCollection+ GooglePrivacyDlpV2VertexDatasetCollection (..),+ newGooglePrivacyDlpV2VertexDatasetCollection,++ -- ** GooglePrivacyDlpV2VertexDatasetDiscoveryTarget+ GooglePrivacyDlpV2VertexDatasetDiscoveryTarget (..),+ newGooglePrivacyDlpV2VertexDatasetDiscoveryTarget,++ -- ** GooglePrivacyDlpV2VertexDatasetRegex+ GooglePrivacyDlpV2VertexDatasetRegex (..),+ newGooglePrivacyDlpV2VertexDatasetRegex,++ -- ** GooglePrivacyDlpV2VertexDatasetRegexes+ GooglePrivacyDlpV2VertexDatasetRegexes (..),+ newGooglePrivacyDlpV2VertexDatasetRegexes,++ -- ** GooglePrivacyDlpV2VertexDatasetResourceReference+ GooglePrivacyDlpV2VertexDatasetResourceReference (..),+ newGooglePrivacyDlpV2VertexDatasetResourceReference,++ -- ** GooglePrivacyDlpV2WordList+ GooglePrivacyDlpV2WordList (..),+ newGooglePrivacyDlpV2WordList,++ -- ** GoogleProtobufEmpty+ GoogleProtobufEmpty (..),+ newGoogleProtobufEmpty,++ -- ** GoogleRpcStatus+ GoogleRpcStatus (..),+ newGoogleRpcStatus,++ -- ** GoogleRpcStatus_DetailsItem+ GoogleRpcStatus_DetailsItem (..),+ newGoogleRpcStatus_DetailsItem,++ -- ** GoogleTypeDate+ GoogleTypeDate (..),+ newGoogleTypeDate,++ -- ** GoogleTypeTimeOfDay+ GoogleTypeTimeOfDay (..),+ newGoogleTypeTimeOfDay,++ -- ** OrganizationsLocationsDlpJobsListType+ OrganizationsLocationsDlpJobsListType (..),++ -- ** OrganizationsLocationsJobTriggersListType+ OrganizationsLocationsJobTriggersListType (..),++ -- ** ProjectsDlpJobsListType+ ProjectsDlpJobsListType (..),++ -- ** ProjectsJobTriggersListType+ ProjectsJobTriggersListType (..),++ -- ** ProjectsLocationsDlpJobsListType+ ProjectsLocationsDlpJobsListType (..),++ -- ** ProjectsLocationsJobTriggersListType+ ProjectsLocationsJobTriggersListType (..),+ )+where++import Gogol.DLP.Internal.Product+import Gogol.DLP.Internal.Sum+import Gogol.Prelude qualified as Core++-- | Default request referring to version @v2@ of the Sensitive Data Protection (DLP). This contains the host and root path used as a starting point for constructing service requests.+dLPService :: Core.ServiceConfig+dLPService =+ Core.defaultService+ (Core.ServiceId "dlp:v2")+ "dlp.googleapis.com"++-- | See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.+type CloudPlatform'FullControl =+ "https://www.googleapis.com/auth/cloud-platform"
− gen/Network/Google/DLP.hs
@@ -1,1499 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- |--- Module : Network.Google.DLP--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Provides methods for detection, risk analysis, and de-identification of--- privacy-sensitive fragments in text, images, and Google Cloud Platform--- storage repositories.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference>-module Network.Google.DLP- (- -- * Service Configuration- dLPService-- -- * OAuth Scopes- , cloudPlatformScope-- -- * API Declaration- , DLPAPI-- -- * Resources-- -- ** dlp.infoTypes.list- , module Network.Google.Resource.DLP.InfoTypes.List-- -- ** dlp.organizations.deidentifyTemplates.create- , module Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Create-- -- ** dlp.organizations.deidentifyTemplates.delete- , module Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Delete-- -- ** dlp.organizations.deidentifyTemplates.get- , module Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Get-- -- ** dlp.organizations.deidentifyTemplates.list- , module Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.List-- -- ** dlp.organizations.deidentifyTemplates.patch- , module Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Patch-- -- ** dlp.organizations.inspectTemplates.create- , module Network.Google.Resource.DLP.Organizations.InspectTemplates.Create-- -- ** dlp.organizations.inspectTemplates.delete- , module Network.Google.Resource.DLP.Organizations.InspectTemplates.Delete-- -- ** dlp.organizations.inspectTemplates.get- , module Network.Google.Resource.DLP.Organizations.InspectTemplates.Get-- -- ** dlp.organizations.inspectTemplates.list- , module Network.Google.Resource.DLP.Organizations.InspectTemplates.List-- -- ** dlp.organizations.inspectTemplates.patch- , module Network.Google.Resource.DLP.Organizations.InspectTemplates.Patch-- -- ** dlp.organizations.storedInfoTypes.create- , module Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Create-- -- ** dlp.organizations.storedInfoTypes.delete- , module Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Delete-- -- ** dlp.organizations.storedInfoTypes.get- , module Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Get-- -- ** dlp.organizations.storedInfoTypes.list- , module Network.Google.Resource.DLP.Organizations.StoredInfoTypes.List-- -- ** dlp.organizations.storedInfoTypes.patch- , module Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Patch-- -- ** dlp.projects.content.deidentify- , module Network.Google.Resource.DLP.Projects.Content.Deidentify-- -- ** dlp.projects.content.inspect- , module Network.Google.Resource.DLP.Projects.Content.Inspect-- -- ** dlp.projects.content.reidentify- , module Network.Google.Resource.DLP.Projects.Content.Reidentify-- -- ** dlp.projects.deidentifyTemplates.create- , module Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Create-- -- ** dlp.projects.deidentifyTemplates.delete- , module Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Delete-- -- ** dlp.projects.deidentifyTemplates.get- , module Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Get-- -- ** dlp.projects.deidentifyTemplates.list- , module Network.Google.Resource.DLP.Projects.DeidentifyTemplates.List-- -- ** dlp.projects.deidentifyTemplates.patch- , module Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Patch-- -- ** dlp.projects.dlpJobs.cancel- , module Network.Google.Resource.DLP.Projects.DlpJobs.Cancel-- -- ** dlp.projects.dlpJobs.create- , module Network.Google.Resource.DLP.Projects.DlpJobs.Create-- -- ** dlp.projects.dlpJobs.delete- , module Network.Google.Resource.DLP.Projects.DlpJobs.Delete-- -- ** dlp.projects.dlpJobs.get- , module Network.Google.Resource.DLP.Projects.DlpJobs.Get-- -- ** dlp.projects.dlpJobs.list- , module Network.Google.Resource.DLP.Projects.DlpJobs.List-- -- ** dlp.projects.image.redact- , module Network.Google.Resource.DLP.Projects.Image.Redact-- -- ** dlp.projects.inspectTemplates.create- , module Network.Google.Resource.DLP.Projects.InspectTemplates.Create-- -- ** dlp.projects.inspectTemplates.delete- , module Network.Google.Resource.DLP.Projects.InspectTemplates.Delete-- -- ** dlp.projects.inspectTemplates.get- , module Network.Google.Resource.DLP.Projects.InspectTemplates.Get-- -- ** dlp.projects.inspectTemplates.list- , module Network.Google.Resource.DLP.Projects.InspectTemplates.List-- -- ** dlp.projects.inspectTemplates.patch- , module Network.Google.Resource.DLP.Projects.InspectTemplates.Patch-- -- ** dlp.projects.jobTriggers.activate- , module Network.Google.Resource.DLP.Projects.JobTriggers.Activate-- -- ** dlp.projects.jobTriggers.create- , module Network.Google.Resource.DLP.Projects.JobTriggers.Create-- -- ** dlp.projects.jobTriggers.delete- , module Network.Google.Resource.DLP.Projects.JobTriggers.Delete-- -- ** dlp.projects.jobTriggers.get- , module Network.Google.Resource.DLP.Projects.JobTriggers.Get-- -- ** dlp.projects.jobTriggers.list- , module Network.Google.Resource.DLP.Projects.JobTriggers.List-- -- ** dlp.projects.jobTriggers.patch- , module Network.Google.Resource.DLP.Projects.JobTriggers.Patch-- -- ** dlp.projects.storedInfoTypes.create- , module Network.Google.Resource.DLP.Projects.StoredInfoTypes.Create-- -- ** dlp.projects.storedInfoTypes.delete- , module Network.Google.Resource.DLP.Projects.StoredInfoTypes.Delete-- -- ** dlp.projects.storedInfoTypes.get- , module Network.Google.Resource.DLP.Projects.StoredInfoTypes.Get-- -- ** dlp.projects.storedInfoTypes.list- , module Network.Google.Resource.DLP.Projects.StoredInfoTypes.List-- -- ** dlp.projects.storedInfoTypes.patch- , module Network.Google.Resource.DLP.Projects.StoredInfoTypes.Patch-- -- * Types-- -- ** GooglePrivacyDlpV2InfoTypeStats- , GooglePrivacyDlpV2InfoTypeStats- , googlePrivacyDlpV2InfoTypeStats- , gpdvitsCount- , gpdvitsInfoType-- -- ** GooglePrivacyDlpV2RedactConfig- , GooglePrivacyDlpV2RedactConfig- , googlePrivacyDlpV2RedactConfig-- -- ** GooglePrivacyDlpV2UpdateJobTriggerRequest- , GooglePrivacyDlpV2UpdateJobTriggerRequest- , googlePrivacyDlpV2UpdateJobTriggerRequest- , gpdvujtrUpdateMask- , gpdvujtrJobTrigger-- -- ** GooglePrivacyDlpV2Range- , GooglePrivacyDlpV2Range- , googlePrivacyDlpV2Range- , gpdvrStart- , gpdvrEnd-- -- ** GoogleRpcStatus- , GoogleRpcStatus- , googleRpcStatus- , grsDetails- , grsCode- , grsMessage-- -- ** GooglePrivacyDlpV2FixedSizeBucketingConfig- , GooglePrivacyDlpV2FixedSizeBucketingConfig- , googlePrivacyDlpV2FixedSizeBucketingConfig- , gpdvfsbcUpperBound- , gpdvfsbcLowerBound- , gpdvfsbcBucketSize-- -- ** GooglePrivacyDlpV2InspectResult- , GooglePrivacyDlpV2InspectResult- , googlePrivacyDlpV2InspectResult- , gpdvirFindingsTruncated- , gpdvirFindings-- -- ** GooglePrivacyDlpV2StoredInfoTypeConfig- , GooglePrivacyDlpV2StoredInfoTypeConfig- , googlePrivacyDlpV2StoredInfoTypeConfig- , gpdvsitcLargeCustomDictionary- , gpdvsitcDisplayName- , gpdvsitcDescription-- -- ** GooglePrivacyDlpV2InfoTypeTransformation- , GooglePrivacyDlpV2InfoTypeTransformation- , googlePrivacyDlpV2InfoTypeTransformation- , gpdvittInfoTypes- , gpdvittPrimitiveTransformation-- -- ** GooglePrivacyDlpV2FieldId- , GooglePrivacyDlpV2FieldId- , googlePrivacyDlpV2FieldId- , gpdvfiName-- -- ** GooglePrivacyDlpV2DlpJob- , GooglePrivacyDlpV2DlpJob- , googlePrivacyDlpV2DlpJob- , gpdvdjInspectDetails- , gpdvdjState- , gpdvdjStartTime- , gpdvdjJobTriggerName- , gpdvdjRiskDetails- , gpdvdjName- , gpdvdjEndTime- , gpdvdjType- , gpdvdjErrors- , gpdvdjCreateTime-- -- ** GooglePrivacyDlpV2RecordTransformations- , GooglePrivacyDlpV2RecordTransformations- , googlePrivacyDlpV2RecordTransformations- , gpdvrtRecordSuppressions- , gpdvrtFieldTransformations-- -- ** GooglePrivacyDlpV2CustomInfoTypeLikelihood- , GooglePrivacyDlpV2CustomInfoTypeLikelihood (..)-- -- ** GooglePrivacyDlpV2FindingLikelihood- , GooglePrivacyDlpV2FindingLikelihood (..)-- -- ** GooglePrivacyDlpV2Key- , GooglePrivacyDlpV2Key- , googlePrivacyDlpV2Key- , gpdvkPartitionId- , gpdvkPath-- -- ** GooglePrivacyDlpV2BucketingConfig- , GooglePrivacyDlpV2BucketingConfig- , googlePrivacyDlpV2BucketingConfig- , gpdvbcBuckets-- -- ** GooglePrivacyDlpV2InspectConfig- , GooglePrivacyDlpV2InspectConfig- , googlePrivacyDlpV2InspectConfig- , gpdvicInfoTypes- , gpdvicMinLikelihood- , gpdvicExcludeInfoTypes- , gpdvicIncludeQuote- , gpdvicCustomInfoTypes- , gpdvicLimits- , gpdvicContentOptions- , gpdvicRuleSet-- -- ** GooglePrivacyDlpV2RiskAnalysisJobConfig- , GooglePrivacyDlpV2RiskAnalysisJobConfig- , googlePrivacyDlpV2RiskAnalysisJobConfig- , gpdvrajcPrivacyMetric- , gpdvrajcActions- , gpdvrajcSourceTable-- -- ** GooglePrivacyDlpV2QuoteInfo- , GooglePrivacyDlpV2QuoteInfo- , googlePrivacyDlpV2QuoteInfo- , gpdvqiDateTime-- -- ** GooglePrivacyDlpV2RecordSuppression- , GooglePrivacyDlpV2RecordSuppression- , googlePrivacyDlpV2RecordSuppression- , gpdvrsCondition-- -- ** GooglePrivacyDlpV2CryptoKey- , GooglePrivacyDlpV2CryptoKey- , googlePrivacyDlpV2CryptoKey- , gpdvckTransient- , gpdvckKmsWrApped- , gpdvckUnwrApped-- -- ** GooglePrivacyDlpV2LargeCustomDictionaryConfig- , GooglePrivacyDlpV2LargeCustomDictionaryConfig- , googlePrivacyDlpV2LargeCustomDictionaryConfig- , gpdvlcdcBigQueryField- , gpdvlcdcCloudStorageFileSet- , gpdvlcdcOutputPath-- -- ** GooglePrivacyDlpV2WordList- , GooglePrivacyDlpV2WordList- , googlePrivacyDlpV2WordList- , gpdvwlWords-- -- ** GooglePrivacyDlpV2ContentItem- , GooglePrivacyDlpV2ContentItem- , googlePrivacyDlpV2ContentItem- , gpdvciValue- , gpdvciByteItem- , gpdvciTable-- -- ** GooglePrivacyDlpV2CategoricalStatsHistogramBucket- , GooglePrivacyDlpV2CategoricalStatsHistogramBucket- , googlePrivacyDlpV2CategoricalStatsHistogramBucket- , gpdvcshbValueFrequencyLowerBound- , gpdvcshbBucketValues- , gpdvcshbValueFrequencyUpperBound- , gpdvcshbBucketSize- , gpdvcshbBucketValueCount-- -- ** GooglePrivacyDlpV2Result- , GooglePrivacyDlpV2Result- , googlePrivacyDlpV2Result- , gpdvrProcessedBytes- , gpdvrInfoTypeStats- , gpdvrTotalEstimatedBytes-- -- ** GooglePrivacyDlpV2InspectDataSourceDetails- , GooglePrivacyDlpV2InspectDataSourceDetails- , googlePrivacyDlpV2InspectDataSourceDetails- , gpdvidsdResult- , gpdvidsdRequestedOptions-- -- ** GooglePrivacyDlpV2RedactImageResponse- , GooglePrivacyDlpV2RedactImageResponse- , googlePrivacyDlpV2RedactImageResponse- , gpdvrirExtractedText- , gpdvrirInspectResult- , gpdvrirRedactedImage-- -- ** GooglePrivacyDlpV2PublishToPubSub- , GooglePrivacyDlpV2PublishToPubSub- , googlePrivacyDlpV2PublishToPubSub- , gpdvptpsTopic-- -- ** GooglePrivacyDlpV2CustomInfoTypeExclusionType- , GooglePrivacyDlpV2CustomInfoTypeExclusionType (..)-- -- ** GooglePrivacyDlpV2BigQueryKey- , GooglePrivacyDlpV2BigQueryKey- , googlePrivacyDlpV2BigQueryKey- , gpdvbqkTableReference- , gpdvbqkRowNumber-- -- ** GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood- , GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood (..)-- -- ** GooglePrivacyDlpV2DetectionRule- , GooglePrivacyDlpV2DetectionRule- , googlePrivacyDlpV2DetectionRule- , gpdvdrHotwordRule-- -- ** GooglePrivacyDlpV2TimePartConfigPartToExtract- , GooglePrivacyDlpV2TimePartConfigPartToExtract (..)-- -- ** GooglePrivacyDlpV2RecordCondition- , GooglePrivacyDlpV2RecordCondition- , googlePrivacyDlpV2RecordCondition- , gpdvrcExpressions-- -- ** GooglePrivacyDlpV2DateShiftConfig- , GooglePrivacyDlpV2DateShiftConfig- , googlePrivacyDlpV2DateShiftConfig- , gpdvdscContext- , gpdvdscUpperBoundDays- , gpdvdscCryptoKey- , gpdvdscLowerBoundDays-- -- ** GooglePrivacyDlpV2InspectContentRequest- , GooglePrivacyDlpV2InspectContentRequest- , googlePrivacyDlpV2InspectContentRequest- , gpdvicrInspectConfig- , gpdvicrItem- , gpdvicrInspectTemplateName-- -- ** GooglePrivacyDlpV2CategoricalStatsResult- , GooglePrivacyDlpV2CategoricalStatsResult- , googlePrivacyDlpV2CategoricalStatsResult- , gpdvcsrValueFrequencyHistogramBuckets-- -- ** GooglePrivacyDlpV2NumericalStatsResult- , GooglePrivacyDlpV2NumericalStatsResult- , googlePrivacyDlpV2NumericalStatsResult- , gpdvnsrMaxValue- , gpdvnsrQuantileValues- , gpdvnsrMinValue-- -- ** GooglePrivacyDlpV2PublishSummaryToCscc- , GooglePrivacyDlpV2PublishSummaryToCscc- , googlePrivacyDlpV2PublishSummaryToCscc-- -- ** GooglePrivacyDlpV2UpdateInspectTemplateRequest- , GooglePrivacyDlpV2UpdateInspectTemplateRequest- , googlePrivacyDlpV2UpdateInspectTemplateRequest- , gpdvuitrUpdateMask- , gpdvuitrInspectTemplate-- -- ** GooglePrivacyDlpV2EntityId- , GooglePrivacyDlpV2EntityId- , googlePrivacyDlpV2EntityId- , gpdveiField-- -- ** GooglePrivacyDlpV2ByteContentItem- , GooglePrivacyDlpV2ByteContentItem- , googlePrivacyDlpV2ByteContentItem- , gpdvbciData- , gpdvbciType-- -- ** GooglePrivacyDlpV2TaggedField- , GooglePrivacyDlpV2TaggedField- , googlePrivacyDlpV2TaggedField- , gpdvtfField- , gpdvtfInfoType- , gpdvtfInferred- , gpdvtfCustomTag-- -- ** GooglePrivacyDlpV2BigQueryOptions- , GooglePrivacyDlpV2BigQueryOptions- , googlePrivacyDlpV2BigQueryOptions- , gpdvbqoRowsLimit- , gpdvbqoRowsLimitPercent- , gpdvbqoTableReference- , gpdvbqoIdentifyingFields- , gpdvbqoExcludedFields- , gpdvbqoSampleMethod-- -- ** GooglePrivacyDlpV2KMapEstimationQuasiIdValues- , GooglePrivacyDlpV2KMapEstimationQuasiIdValues- , googlePrivacyDlpV2KMapEstimationQuasiIdValues- , gpdvkmeqivEstimatedAnonymity- , gpdvkmeqivQuasiIdsValues-- -- ** GooglePrivacyDlpV2ExcludeInfoTypes- , GooglePrivacyDlpV2ExcludeInfoTypes- , googlePrivacyDlpV2ExcludeInfoTypes- , gpdveitInfoTypes-- -- ** GooglePrivacyDlpV2CreateInspectTemplateRequest- , GooglePrivacyDlpV2CreateInspectTemplateRequest- , googlePrivacyDlpV2CreateInspectTemplateRequest- , gpdvcitrTemplateId- , gpdvcitrInspectTemplate-- -- ** GooglePrivacyDlpV2PathElement- , GooglePrivacyDlpV2PathElement- , googlePrivacyDlpV2PathElement- , gpdvpeKind- , gpdvpeName- , gpdvpeId-- -- ** GooglePrivacyDlpV2DeltaPresenceEstimationResult- , GooglePrivacyDlpV2DeltaPresenceEstimationResult- , googlePrivacyDlpV2DeltaPresenceEstimationResult- , gpdvdperDeltaPresenceEstimationHistogram-- -- ** GooglePrivacyDlpV2ConditionOperator- , GooglePrivacyDlpV2ConditionOperator (..)-- -- ** GooglePrivacyDlpV2InspectJobConfig- , GooglePrivacyDlpV2InspectJobConfig- , googlePrivacyDlpV2InspectJobConfig- , gpdvijcActions- , gpdvijcStorageConfig- , gpdvijcInspectConfig- , gpdvijcInspectTemplateName-- -- ** GooglePrivacyDlpV2StoredType- , GooglePrivacyDlpV2StoredType- , googlePrivacyDlpV2StoredType- , gpdvstName- , gpdvstCreateTime-- -- ** GooglePrivacyDlpV2FieldTransformation- , GooglePrivacyDlpV2FieldTransformation- , googlePrivacyDlpV2FieldTransformation- , gpdvftInfoTypeTransformations- , gpdvftPrimitiveTransformation- , gpdvftCondition- , gpdvftFields-- -- ** GooglePrivacyDlpV2HotwordRule- , GooglePrivacyDlpV2HotwordRule- , googlePrivacyDlpV2HotwordRule- , gpdvhrProximity- , gpdvhrLikelihoodAdjustment- , gpdvhrHotwordRegex-- -- ** GooglePrivacyDlpV2RedactImageRequest- , GooglePrivacyDlpV2RedactImageRequest- , googlePrivacyDlpV2RedactImageRequest- , gpdvrirIncludeFindings- , gpdvrirInspectConfig- , gpdvrirByteItem- , gpdvrirImageRedactionConfigs-- -- ** GooglePrivacyDlpV2FindingLimits- , GooglePrivacyDlpV2FindingLimits- , googlePrivacyDlpV2FindingLimits- , gpdvflMaxFindingsPerItem- , gpdvflMaxFindingsPerInfoType- , gpdvflMaxFindingsPerRequest-- -- ** GooglePrivacyDlpV2Condition- , GooglePrivacyDlpV2Condition- , googlePrivacyDlpV2Condition- , gpdvcField- , gpdvcOperator- , gpdvcValue-- -- ** GooglePrivacyDlpV2TimespanConfig- , GooglePrivacyDlpV2TimespanConfig- , googlePrivacyDlpV2TimespanConfig- , gpdvtcTimestampField- , gpdvtcStartTime- , gpdvtcEnableAutoPopulationOfTimespanConfig- , gpdvtcEndTime-- -- ** GooglePrivacyDlpV2DateTimeDayOfWeek- , GooglePrivacyDlpV2DateTimeDayOfWeek (..)-- -- ** GooglePrivacyDlpV2CreateDeidentifyTemplateRequest- , GooglePrivacyDlpV2CreateDeidentifyTemplateRequest- , googlePrivacyDlpV2CreateDeidentifyTemplateRequest- , gpdvcdtrTemplateId- , gpdvcdtrDeidentifyTemplate-- -- ** GooglePrivacyDlpV2TransientCryptoKey- , GooglePrivacyDlpV2TransientCryptoKey- , googlePrivacyDlpV2TransientCryptoKey- , gpdvtckName-- -- ** GooglePrivacyDlpV2DlpJobState- , GooglePrivacyDlpV2DlpJobState (..)-- -- ** GooglePrivacyDlpV2InfoTypeDescription- , GooglePrivacyDlpV2InfoTypeDescription- , googlePrivacyDlpV2InfoTypeDescription- , gpdvitdName- , gpdvitdDisplayName- , gpdvitdSupportedBy- , gpdvitdDescription-- -- ** GoogleProtobufEmpty- , GoogleProtobufEmpty- , googleProtobufEmpty-- -- ** GoogleRpcStatusDetailsItem- , GoogleRpcStatusDetailsItem- , googleRpcStatusDetailsItem- , grsdiAddtional-- -- ** GooglePrivacyDlpV2ImageRedactionConfig- , GooglePrivacyDlpV2ImageRedactionConfig- , googlePrivacyDlpV2ImageRedactionConfig- , gpdvircRedactionColor- , gpdvircInfoType- , gpdvircRedactAllText-- -- ** GooglePrivacyDlpV2Trigger- , GooglePrivacyDlpV2Trigger- , googlePrivacyDlpV2Trigger- , gpdvtSchedule-- -- ** GooglePrivacyDlpV2CloudStorageOptions- , GooglePrivacyDlpV2CloudStorageOptions- , googlePrivacyDlpV2CloudStorageOptions- , gpdvcsoFileSet- , gpdvcsoBytesLimitPerFile- , gpdvcsoFileTypes- , gpdvcsoBytesLimitPerFilePercent- , gpdvcsoFilesLimitPercent- , gpdvcsoSampleMethod-- -- ** GooglePrivacyDlpV2SummaryResultCode- , GooglePrivacyDlpV2SummaryResultCode (..)-- -- ** GooglePrivacyDlpV2DeltaPresenceEstimationConfig- , GooglePrivacyDlpV2DeltaPresenceEstimationConfig- , googlePrivacyDlpV2DeltaPresenceEstimationConfig- , gpdvdpecAuxiliaryTables- , gpdvdpecRegionCode- , gpdvdpecQuasiIds-- -- ** GooglePrivacyDlpV2CreateStoredInfoTypeRequest- , GooglePrivacyDlpV2CreateStoredInfoTypeRequest- , googlePrivacyDlpV2CreateStoredInfoTypeRequest- , gpdvcsitrConfig- , gpdvcsitrStoredInfoTypeId-- -- ** GooglePrivacyDlpV2QuasiIdField- , GooglePrivacyDlpV2QuasiIdField- , googlePrivacyDlpV2QuasiIdField- , gpdvqifField- , gpdvqifCustomTag-- -- ** GooglePrivacyDlpV2TimePartConfig- , GooglePrivacyDlpV2TimePartConfig- , googlePrivacyDlpV2TimePartConfig- , gpdvtpcPartToExtract-- -- ** GooglePrivacyDlpV2InspectionRule- , GooglePrivacyDlpV2InspectionRule- , googlePrivacyDlpV2InspectionRule- , gpdvirExclusionRule- , gpdvirHotwordRule-- -- ** GooglePrivacyDlpV2CustomInfoType- , GooglePrivacyDlpV2CustomInfoType- , googlePrivacyDlpV2CustomInfoType- , gpdvcitRegex- , gpdvcitStoredType- , gpdvcitInfoType- , gpdvcitExclusionType- , gpdvcitLikelihood- , gpdvcitDetectionRules- , gpdvcitDictionary- , gpdvcitSurrogateType-- -- ** GooglePrivacyDlpV2KMapEstimationResult- , GooglePrivacyDlpV2KMapEstimationResult- , googlePrivacyDlpV2KMapEstimationResult- , gpdvkmerKMapEstimationHistogram-- -- ** GooglePrivacyDlpV2TransformationSummary- , GooglePrivacyDlpV2TransformationSummary- , googlePrivacyDlpV2TransformationSummary- , gpdvtsResults- , gpdvtsField- , gpdvtsInfoType- , gpdvtsRecordSuppress- , gpdvtsTransformedBytes- , gpdvtsFieldTransformations- , gpdvtsTransformation-- -- ** GooglePrivacyDlpV2LikelihoodAdjustment- , GooglePrivacyDlpV2LikelihoodAdjustment- , googlePrivacyDlpV2LikelihoodAdjustment- , gpdvlaFixedLikelihood- , gpdvlaRelativeLikelihood-- -- ** GooglePrivacyDlpV2Regex- , GooglePrivacyDlpV2Regex- , googlePrivacyDlpV2Regex- , gpdvrGroupIndexes- , gpdvrPattern-- -- ** GooglePrivacyDlpV2UpdateStoredInfoTypeRequest- , GooglePrivacyDlpV2UpdateStoredInfoTypeRequest- , googlePrivacyDlpV2UpdateStoredInfoTypeRequest- , gpdvusitrConfig- , gpdvusitrUpdateMask-- -- ** GooglePrivacyDlpV2KAnonymityEquivalenceClass- , GooglePrivacyDlpV2KAnonymityEquivalenceClass- , googlePrivacyDlpV2KAnonymityEquivalenceClass- , gpdvkaecEquivalenceClassSize- , gpdvkaecQuasiIdsValues-- -- ** GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest- , GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest- , googlePrivacyDlpV2UpdateDeidentifyTemplateRequest- , gpdvudtrUpdateMask- , gpdvudtrDeidentifyTemplate-- -- ** GooglePrivacyDlpV2LDiversityConfig- , GooglePrivacyDlpV2LDiversityConfig- , googlePrivacyDlpV2LDiversityConfig- , gpdvldcSensitiveAttribute- , gpdvldcQuasiIds-- -- ** GooglePrivacyDlpV2JobNotificationEmails- , GooglePrivacyDlpV2JobNotificationEmails- , googlePrivacyDlpV2JobNotificationEmails-- -- ** GooglePrivacyDlpV2DeidentifyContentRequest- , GooglePrivacyDlpV2DeidentifyContentRequest- , googlePrivacyDlpV2DeidentifyContentRequest- , gpdvdcrInspectConfig- , gpdvdcrDeidentifyConfig- , gpdvdcrDeidentifyTemplateName- , gpdvdcrItem- , gpdvdcrInspectTemplateName-- -- ** GooglePrivacyDlpV2Color- , GooglePrivacyDlpV2Color- , googlePrivacyDlpV2Color- , gpdvcRed- , gpdvcGreen- , gpdvcBlue-- -- ** GooglePrivacyDlpV2ListDlpJobsResponse- , GooglePrivacyDlpV2ListDlpJobsResponse- , googlePrivacyDlpV2ListDlpJobsResponse- , gpdvldjrNextPageToken- , gpdvldjrJobs-- -- ** GooglePrivacyDlpV2Proximity- , GooglePrivacyDlpV2Proximity- , googlePrivacyDlpV2Proximity- , gpdvpWindowAfter- , gpdvpWindowBefore-- -- ** GooglePrivacyDlpV2Finding- , GooglePrivacyDlpV2Finding- , googlePrivacyDlpV2Finding- , gpdvfLocation- , gpdvfInfoType- , gpdvfQuoteInfo- , gpdvfLikelihood- , gpdvfQuote- , gpdvfCreateTime-- -- ** GooglePrivacyDlpV2SummaryResult- , GooglePrivacyDlpV2SummaryResult- , googlePrivacyDlpV2SummaryResult- , gpdvsrCount- , gpdvsrDetails- , gpdvsrCode-- -- ** GooglePrivacyDlpV2Row- , GooglePrivacyDlpV2Row- , googlePrivacyDlpV2Row- , gpdvrValues-- -- ** GooglePrivacyDlpV2ReplaceWithInfoTypeConfig- , GooglePrivacyDlpV2ReplaceWithInfoTypeConfig- , googlePrivacyDlpV2ReplaceWithInfoTypeConfig-- -- ** GoogleTypeTimeOfDay- , GoogleTypeTimeOfDay- , googleTypeTimeOfDay- , gttodNanos- , gttodHours- , gttodMinutes- , gttodSeconds-- -- ** GooglePrivacyDlpV2OutputStorageConfigOutputSchema- , GooglePrivacyDlpV2OutputStorageConfigOutputSchema (..)-- -- ** GooglePrivacyDlpV2ExclusionRule- , GooglePrivacyDlpV2ExclusionRule- , googlePrivacyDlpV2ExclusionRule- , gpdverRegex- , gpdverExcludeInfoTypes- , gpdverDictionary- , gpdverMatchingType-- -- ** GooglePrivacyDlpV2CreateDlpJobRequest- , GooglePrivacyDlpV2CreateDlpJobRequest- , googlePrivacyDlpV2CreateDlpJobRequest- , gpdvcdjrRiskJob- , gpdvcdjrJobId- , gpdvcdjrInspectJob-- -- ** GooglePrivacyDlpV2RecordKey- , GooglePrivacyDlpV2RecordKey- , googlePrivacyDlpV2RecordKey- , gpdvrkIdValues- , gpdvrkDatastoreKey- , gpdvrkBigQueryKey-- -- ** GooglePrivacyDlpV2KMapEstimationHistogramBucket- , GooglePrivacyDlpV2KMapEstimationHistogramBucket- , googlePrivacyDlpV2KMapEstimationHistogramBucket- , gpdvkmehbMaxAnonymity- , gpdvkmehbBucketValues- , gpdvkmehbMinAnonymity- , gpdvkmehbBucketSize- , gpdvkmehbBucketValueCount-- -- ** GooglePrivacyDlpV2ListDeidentifyTemplatesResponse- , GooglePrivacyDlpV2ListDeidentifyTemplatesResponse- , googlePrivacyDlpV2ListDeidentifyTemplatesResponse- , gpdvldtrNextPageToken- , gpdvldtrDeidentifyTemplates-- -- ** GooglePrivacyDlpV2BigQueryOptionsSampleMethod- , GooglePrivacyDlpV2BigQueryOptionsSampleMethod (..)-- -- ** GooglePrivacyDlpV2DlpJobType- , GooglePrivacyDlpV2DlpJobType (..)-- -- ** GooglePrivacyDlpV2KAnonymityConfig- , GooglePrivacyDlpV2KAnonymityConfig- , googlePrivacyDlpV2KAnonymityConfig- , gpdvkacEntityId- , gpdvkacQuasiIds-- -- ** GooglePrivacyDlpV2DeidentifyContentResponse- , GooglePrivacyDlpV2DeidentifyContentResponse- , googlePrivacyDlpV2DeidentifyContentResponse- , gOverview- , gItem-- -- ** GooglePrivacyDlpV2JobTrigger- , GooglePrivacyDlpV2JobTrigger- , googlePrivacyDlpV2JobTrigger- , gpdvjtStatus- , gpdvjtTriggers- , gpdvjtLastRunTime- , gpdvjtInspectJob- , gpdvjtUpdateTime- , gpdvjtName- , gpdvjtDisplayName- , gpdvjtErrors- , gpdvjtDescription- , gpdvjtCreateTime-- -- ** GooglePrivacyDlpV2ListStoredInfoTypesResponse- , GooglePrivacyDlpV2ListStoredInfoTypesResponse- , googlePrivacyDlpV2ListStoredInfoTypesResponse- , gpdvlsitrNextPageToken- , gpdvlsitrStoredInfoTypes-- -- ** GooglePrivacyDlpV2LDiversityEquivalenceClass- , GooglePrivacyDlpV2LDiversityEquivalenceClass- , googlePrivacyDlpV2LDiversityEquivalenceClass- , gpdvldecTopSensitiveValues- , gpdvldecEquivalenceClassSize- , gpdvldecNumDistinctSensitiveValues- , gpdvldecQuasiIdsValues-- -- ** GooglePrivacyDlpV2ActivateJobTriggerRequest- , GooglePrivacyDlpV2ActivateJobTriggerRequest- , googlePrivacyDlpV2ActivateJobTriggerRequest-- -- ** GooglePrivacyDlpV2DeidentifyConfig- , GooglePrivacyDlpV2DeidentifyConfig- , googlePrivacyDlpV2DeidentifyConfig- , gpdvdcInfoTypeTransformations- , gpdvdcRecordTransformations-- -- ** GooglePrivacyDlpV2CharacterMaskConfig- , GooglePrivacyDlpV2CharacterMaskConfig- , googlePrivacyDlpV2CharacterMaskConfig- , gpdvcmcNumberToMask- , gpdvcmcMaskingCharacter- , gpdvcmcReverseOrder- , gpdvcmcCharactersToIgnore-- -- ** GooglePrivacyDlpV2DatastoreOptions- , GooglePrivacyDlpV2DatastoreOptions- , googlePrivacyDlpV2DatastoreOptions- , gpdvdoPartitionId- , gpdvdoKind-- -- ** GooglePrivacyDlpV2ValueFrequency- , GooglePrivacyDlpV2ValueFrequency- , googlePrivacyDlpV2ValueFrequency- , gpdvvfValue- , gpdvvfCount-- -- ** GooglePrivacyDlpV2BoundingBox- , GooglePrivacyDlpV2BoundingBox- , googlePrivacyDlpV2BoundingBox- , gpdvbbHeight- , gpdvbbLeft- , gpdvbbWidth- , gpdvbbTop-- -- ** GooglePrivacyDlpV2PartitionId- , GooglePrivacyDlpV2PartitionId- , googlePrivacyDlpV2PartitionId- , gpdvpiNamespaceId- , gpdvpiProjectId-- -- ** GooglePrivacyDlpV2SaveFindings- , GooglePrivacyDlpV2SaveFindings- , googlePrivacyDlpV2SaveFindings- , gpdvsfOutputConfig-- -- ** GooglePrivacyDlpV2StoredInfoTypeVersion- , GooglePrivacyDlpV2StoredInfoTypeVersion- , googlePrivacyDlpV2StoredInfoTypeVersion- , gpdvsitvState- , gpdvsitvConfig- , gpdvsitvErrors- , gpdvsitvCreateTime-- -- ** GooglePrivacyDlpV2ListInfoTypesResponse- , GooglePrivacyDlpV2ListInfoTypesResponse- , googlePrivacyDlpV2ListInfoTypesResponse- , gpdvlitrInfoTypes-- -- ** GooglePrivacyDlpV2ContentLocation- , GooglePrivacyDlpV2ContentLocation- , googlePrivacyDlpV2ContentLocation- , gpdvclImageLocation- , gpdvclContainerName- , gpdvclContainerTimestamp- , gpdvclDocumentLocation- , gpdvclContainerVersion- , gpdvclRecordLocation-- -- ** GooglePrivacyDlpV2AuxiliaryTable- , GooglePrivacyDlpV2AuxiliaryTable- , googlePrivacyDlpV2AuxiliaryTable- , gpdvatRelativeFrequency- , gpdvatTable- , gpdvatQuasiIds-- -- ** GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket- , GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket- , googlePrivacyDlpV2DeltaPresenceEstimationHistogramBucket- , gpdvdpehbBucketValues- , gpdvdpehbMaxProbability- , gpdvdpehbMinProbability- , gpdvdpehbBucketSize- , gpdvdpehbBucketValueCount-- -- ** GooglePrivacyDlpV2InspectConfigMinLikelihood- , GooglePrivacyDlpV2InspectConfigMinLikelihood (..)-- -- ** GooglePrivacyDlpV2FileSet- , GooglePrivacyDlpV2FileSet- , googlePrivacyDlpV2FileSet- , gpdvfsURL- , gpdvfsRegexFileSet-- -- ** GooglePrivacyDlpV2ListInspectTemplatesResponse- , GooglePrivacyDlpV2ListInspectTemplatesResponse- , googlePrivacyDlpV2ListInspectTemplatesResponse- , gpdvlitrNextPageToken- , gpdvlitrInspectTemplates-- -- ** GooglePrivacyDlpV2KAnonymityResult- , GooglePrivacyDlpV2KAnonymityResult- , googlePrivacyDlpV2KAnonymityResult- , gpdvkarEquivalenceClassHistogramBuckets-- -- ** GooglePrivacyDlpV2BigQueryField- , GooglePrivacyDlpV2BigQueryField- , googlePrivacyDlpV2BigQueryField- , gpdvbqfField- , gpdvbqfTable-- -- ** GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore- , GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore (..)-- -- ** GooglePrivacyDlpV2OutputStorageConfig- , GooglePrivacyDlpV2OutputStorageConfig- , googlePrivacyDlpV2OutputStorageConfig- , gpdvoscOutputSchema- , gpdvoscTable-- -- ** GooglePrivacyDlpV2CloudStorageFileSet- , GooglePrivacyDlpV2CloudStorageFileSet- , googlePrivacyDlpV2CloudStorageFileSet- , gpdvcsfsURL-- -- ** GooglePrivacyDlpV2InfoTypeTransformations- , GooglePrivacyDlpV2InfoTypeTransformations- , googlePrivacyDlpV2InfoTypeTransformations- , gpdvittTransformations-- -- ** GooglePrivacyDlpV2KmsWrAppedCryptoKey- , GooglePrivacyDlpV2KmsWrAppedCryptoKey- , googlePrivacyDlpV2KmsWrAppedCryptoKey- , gpdvkwackWrAppedKey- , gpdvkwackCryptoKeyName-- -- ** GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet- , GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet (..)-- -- ** GooglePrivacyDlpV2InspectContentResponse- , GooglePrivacyDlpV2InspectContentResponse- , googlePrivacyDlpV2InspectContentResponse- , gpdvicrResult-- -- ** GooglePrivacyDlpV2LDiversityHistogramBucket- , GooglePrivacyDlpV2LDiversityHistogramBucket- , googlePrivacyDlpV2LDiversityHistogramBucket- , gpdvldhbBucketValues- , gpdvldhbSensitiveValueFrequencyLowerBound- , gpdvldhbSensitiveValueFrequencyUpperBound- , gpdvldhbBucketSize- , gpdvldhbBucketValueCount-- -- ** GooglePrivacyDlpV2ReidentifyContentResponse- , GooglePrivacyDlpV2ReidentifyContentResponse- , googlePrivacyDlpV2ReidentifyContentResponse- , gpdvrcrOverview- , gpdvrcrItem-- -- ** GooglePrivacyDlpV2Expressions- , GooglePrivacyDlpV2Expressions- , googlePrivacyDlpV2Expressions- , gpdveLogicalOperator- , gpdveConditions-- -- ** GooglePrivacyDlpV2CloudStorageOptionsSampleMethod- , GooglePrivacyDlpV2CloudStorageOptionsSampleMethod (..)-- -- ** Xgafv- , Xgafv (..)-- -- ** GooglePrivacyDlpV2DateTime- , GooglePrivacyDlpV2DateTime- , googlePrivacyDlpV2DateTime- , gpdvdtTime- , gpdvdtDate- , gpdvdtTimeZone- , gpdvdtDayOfWeek-- -- ** GooglePrivacyDlpV2CloudStorageRegexFileSet- , GooglePrivacyDlpV2CloudStorageRegexFileSet- , googlePrivacyDlpV2CloudStorageRegexFileSet- , gpdvcsrfsExcludeRegex- , gpdvcsrfsBucketName- , gpdvcsrfsIncludeRegex-- -- ** GooglePrivacyDlpV2ExclusionRuleMatchingType- , GooglePrivacyDlpV2ExclusionRuleMatchingType (..)-- -- ** GooglePrivacyDlpV2ValueDayOfWeekValue- , GooglePrivacyDlpV2ValueDayOfWeekValue (..)-- -- ** GooglePrivacyDlpV2Bucket- , GooglePrivacyDlpV2Bucket- , googlePrivacyDlpV2Bucket- , gpdvbMax- , gpdvbReplacementValue- , gpdvbMin-- -- ** GooglePrivacyDlpV2Action- , GooglePrivacyDlpV2Action- , googlePrivacyDlpV2Action- , gpdvaJobNotificationEmails- , gpdvaPubSub- , gpdvaSaveFindings- , gpdvaPublishSummaryToCscc-- -- ** GoogleTypeDate- , GoogleTypeDate- , googleTypeDate- , gtdDay- , gtdYear- , gtdMonth-- -- ** GooglePrivacyDlpV2SurrogateType- , GooglePrivacyDlpV2SurrogateType- , googlePrivacyDlpV2SurrogateType-- -- ** GooglePrivacyDlpV2ByteContentItemType- , GooglePrivacyDlpV2ByteContentItemType (..)-- -- ** GooglePrivacyDlpV2Table- , GooglePrivacyDlpV2Table- , googlePrivacyDlpV2Table- , gpdvtRows- , gpdvtHeaders-- -- ** GooglePrivacyDlpV2LDiversityResult- , GooglePrivacyDlpV2LDiversityResult- , googlePrivacyDlpV2LDiversityResult- , gpdvldrSensitiveValueFrequencyHistogramBuckets-- -- ** GooglePrivacyDlpV2KMapEstimationConfig- , GooglePrivacyDlpV2KMapEstimationConfig- , googlePrivacyDlpV2KMapEstimationConfig- , gpdvkmecAuxiliaryTables- , gpdvkmecRegionCode- , gpdvkmecQuasiIds-- -- ** GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig- , GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig- , googlePrivacyDlpV2CryptoReplaceFfxFpeConfig- , gpdvcrffcContext- , gpdvcrffcCommonAlphabet- , gpdvcrffcSurrogateInfoType- , gpdvcrffcCustomAlphabet- , gpdvcrffcCryptoKey- , gpdvcrffcRadix-- -- ** GooglePrivacyDlpV2QuasiIdentifierField- , GooglePrivacyDlpV2QuasiIdentifierField- , googlePrivacyDlpV2QuasiIdentifierField- , gField- , gCustomTag-- -- ** GooglePrivacyDlpV2InfoType- , GooglePrivacyDlpV2InfoType- , googlePrivacyDlpV2InfoType- , gpdvitName-- -- ** GooglePrivacyDlpV2InspectTemplate- , GooglePrivacyDlpV2InspectTemplate- , googlePrivacyDlpV2InspectTemplate- , gInspectConfig- , gUpdateTime- , gName- , gDisplayName- , gDescription- , gCreateTime-- -- ** GooglePrivacyDlpV2KAnonymityHistogramBucket- , GooglePrivacyDlpV2KAnonymityHistogramBucket- , googlePrivacyDlpV2KAnonymityHistogramBucket- , gpdvkahbEquivalenceClassSizeLowerBound- , gpdvkahbEquivalenceClassSizeUpperBound- , gpdvkahbBucketValues- , gpdvkahbBucketSize- , gpdvkahbBucketValueCount-- -- ** GooglePrivacyDlpV2ReidentifyContentRequest- , GooglePrivacyDlpV2ReidentifyContentRequest- , googlePrivacyDlpV2ReidentifyContentRequest- , gooInspectConfig- , gooReidentifyTemplateName- , gooItem- , gooInspectTemplateName- , gooReidentifyConfig-- -- ** GooglePrivacyDlpV2CryptoHashConfig- , GooglePrivacyDlpV2CryptoHashConfig- , googlePrivacyDlpV2CryptoHashConfig- , gpdvchcCryptoKey-- -- ** GooglePrivacyDlpV2InfoTypeLimit- , GooglePrivacyDlpV2InfoTypeLimit- , googlePrivacyDlpV2InfoTypeLimit- , gpdvitlMaxFindings- , gpdvitlInfoType-- -- ** GooglePrivacyDlpV2TableLocation- , GooglePrivacyDlpV2TableLocation- , googlePrivacyDlpV2TableLocation- , gpdvtlRowIndex-- -- ** GooglePrivacyDlpV2TimeZone- , GooglePrivacyDlpV2TimeZone- , googlePrivacyDlpV2TimeZone- , gpdvtzOffSetMinutes-- -- ** GooglePrivacyDlpV2JobTriggerStatus- , GooglePrivacyDlpV2JobTriggerStatus (..)-- -- ** GooglePrivacyDlpV2StorageConfig- , GooglePrivacyDlpV2StorageConfig- , googlePrivacyDlpV2StorageConfig- , gpdvscTimespanConfig- , gpdvscBigQueryOptions- , gpdvscDatastoreOptions- , gpdvscCloudStorageOptions-- -- ** GooglePrivacyDlpV2Value- , GooglePrivacyDlpV2Value- , googlePrivacyDlpV2Value- , gpdvvDayOfWeekValue- , gpdvvIntegerValue- , gpdvvTimestampValue- , gpdvvTimeValue- , gpdvvStringValue- , gpdvvDateValue- , gpdvvBooleanValue- , gpdvvFloatValue-- -- ** GooglePrivacyDlpV2Dictionary- , GooglePrivacyDlpV2Dictionary- , googlePrivacyDlpV2Dictionary- , gpdvdWordList- , gpdvdCloudStoragePath-- -- ** GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails- , GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails- , googlePrivacyDlpV2AnalyzeDataSourceRiskDetails- , gpdvadsrdRequestedPrivacyMetric- , gpdvadsrdRequestedSourceTable- , gpdvadsrdLDiversityResult- , gpdvadsrdKAnonymityResult- , gpdvadsrdKMapEstimationResult- , gpdvadsrdDeltaPresenceEstimationResult- , gpdvadsrdNumericalStatsResult- , gpdvadsrdCategoricalStatsResult-- -- ** GooglePrivacyDlpV2Conditions- , GooglePrivacyDlpV2Conditions- , googlePrivacyDlpV2Conditions- , gpdvcConditions-- -- ** GooglePrivacyDlpV2DatastoreKey- , GooglePrivacyDlpV2DatastoreKey- , googlePrivacyDlpV2DatastoreKey- , gpdvdkEntityKey-- -- ** GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues- , GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues- , googlePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues- , gpdvdpeqivEstimatedProbability- , gpdvdpeqivQuasiIdsValues-- -- ** GooglePrivacyDlpV2CharsToIgnore- , GooglePrivacyDlpV2CharsToIgnore- , googlePrivacyDlpV2CharsToIgnore- , gpdvctiCommonCharactersToIgnore- , gpdvctiCharactersToSkip-- -- ** GooglePrivacyDlpV2BigQueryTable- , GooglePrivacyDlpV2BigQueryTable- , googlePrivacyDlpV2BigQueryTable- , gpdvbqtDataSetId- , gpdvbqtProjectId- , gpdvbqtTableId-- -- ** GooglePrivacyDlpV2RequestedOptions- , GooglePrivacyDlpV2RequestedOptions- , googlePrivacyDlpV2RequestedOptions- , gpdvroSnapshotInspectTemplate- , gpdvroJobConfig-- -- ** GooglePrivacyDlpV2PrimitiveTransformation- , GooglePrivacyDlpV2PrimitiveTransformation- , googlePrivacyDlpV2PrimitiveTransformation- , gpdvptFixedSizeBucketingConfig- , gpdvptRedactConfig- , gpdvptCharacterMaskConfig- , gpdvptTimePartConfig- , gpdvptDateShiftConfig- , gpdvptBucketingConfig- , gpdvptReplaceWithInfoTypeConfig- , gpdvptCryptoDeterministicConfig- , gpdvptCryptoHashConfig- , gpdvptReplaceConfig- , gpdvptCryptoReplaceFfxFpeConfig-- -- ** GooglePrivacyDlpV2CancelDlpJobRequest- , GooglePrivacyDlpV2CancelDlpJobRequest- , googlePrivacyDlpV2CancelDlpJobRequest-- -- ** GooglePrivacyDlpV2RecordLocation- , GooglePrivacyDlpV2RecordLocation- , googlePrivacyDlpV2RecordLocation- , gpdvrlTableLocation- , gpdvrlFieldId- , gpdvrlRecordKey-- -- ** GooglePrivacyDlpV2StoredInfoTypeVersionState- , GooglePrivacyDlpV2StoredInfoTypeVersionState (..)-- -- ** GooglePrivacyDlpV2Error- , GooglePrivacyDlpV2Error- , googlePrivacyDlpV2Error- , gpdveDetails- , gpdveTimestamps-- -- ** GooglePrivacyDlpV2StoredInfoType- , GooglePrivacyDlpV2StoredInfoType- , googlePrivacyDlpV2StoredInfoType- , gpdvsitCurrentVersion- , gpdvsitName- , gpdvsitPendingVersions-- -- ** GooglePrivacyDlpV2CryptoDeterministicConfig- , GooglePrivacyDlpV2CryptoDeterministicConfig- , googlePrivacyDlpV2CryptoDeterministicConfig- , gpdvcdcContext- , gpdvcdcSurrogateInfoType- , gpdvcdcCryptoKey-- -- ** GooglePrivacyDlpV2StatisticalTable- , GooglePrivacyDlpV2StatisticalTable- , googlePrivacyDlpV2StatisticalTable- , gpdvstRelativeFrequency- , gpdvstTable- , gpdvstQuasiIds-- -- ** GooglePrivacyDlpV2DeidentifyTemplate- , GooglePrivacyDlpV2DeidentifyTemplate- , googlePrivacyDlpV2DeidentifyTemplate- , gpdvdtUpdateTime- , gpdvdtName- , gpdvdtDeidentifyConfig- , gpdvdtDisplayName- , gpdvdtDescription- , gpdvdtCreateTime-- -- ** GooglePrivacyDlpV2ReplaceValueConfig- , GooglePrivacyDlpV2ReplaceValueConfig- , googlePrivacyDlpV2ReplaceValueConfig- , gpdvrvcNewValue-- -- ** GooglePrivacyDlpV2CategoricalStatsConfig- , GooglePrivacyDlpV2CategoricalStatsConfig- , googlePrivacyDlpV2CategoricalStatsConfig- , gpdvcscField-- -- ** GooglePrivacyDlpV2NumericalStatsConfig- , GooglePrivacyDlpV2NumericalStatsConfig- , googlePrivacyDlpV2NumericalStatsConfig- , gpdvnscField-- -- ** GooglePrivacyDlpV2ListJobTriggersResponse- , GooglePrivacyDlpV2ListJobTriggersResponse- , googlePrivacyDlpV2ListJobTriggersResponse- , gpdvljtrNextPageToken- , gpdvljtrJobTriggers-- -- ** GooglePrivacyDlpV2CloudStoragePath- , GooglePrivacyDlpV2CloudStoragePath- , googlePrivacyDlpV2CloudStoragePath- , gpdvcspPath-- -- ** GooglePrivacyDlpV2Location- , GooglePrivacyDlpV2Location- , googlePrivacyDlpV2Location- , gpdvlCodepointRange- , gpdvlContentLocations- , gpdvlByteRange-- -- ** GooglePrivacyDlpV2Schedule- , GooglePrivacyDlpV2Schedule- , googlePrivacyDlpV2Schedule- , gpdvsRecurrencePeriodDuration-- -- ** GooglePrivacyDlpV2ExpressionsLogicalOperator- , GooglePrivacyDlpV2ExpressionsLogicalOperator (..)-- -- ** GooglePrivacyDlpV2CreateJobTriggerRequest- , GooglePrivacyDlpV2CreateJobTriggerRequest- , googlePrivacyDlpV2CreateJobTriggerRequest- , gpdvcjtrTriggerId- , gpdvcjtrJobTrigger-- -- ** GooglePrivacyDlpV2TransformationOverview- , GooglePrivacyDlpV2TransformationOverview- , googlePrivacyDlpV2TransformationOverview- , gpdvtoTransformedBytes- , gpdvtoTransformationSummaries-- -- ** GooglePrivacyDlpV2ImageLocation- , GooglePrivacyDlpV2ImageLocation- , googlePrivacyDlpV2ImageLocation- , gpdvilBoundingBoxes-- -- ** GooglePrivacyDlpV2KindExpression- , GooglePrivacyDlpV2KindExpression- , googlePrivacyDlpV2KindExpression- , gpdvkeName-- -- ** GooglePrivacyDlpV2PrivacyMetric- , GooglePrivacyDlpV2PrivacyMetric- , googlePrivacyDlpV2PrivacyMetric- , gpdvpmNumericalStatsConfig- , gpdvpmCategoricalStatsConfig- , gpdvpmKMapEstimationConfig- , gpdvpmKAnonymityConfig- , gpdvpmLDiversityConfig- , gpdvpmDeltaPresenceEstimationConfig-- -- ** GooglePrivacyDlpV2UnwrAppedCryptoKey- , GooglePrivacyDlpV2UnwrAppedCryptoKey- , googlePrivacyDlpV2UnwrAppedCryptoKey- , gpdvuackKey-- -- ** GooglePrivacyDlpV2InspectionRuleSet- , GooglePrivacyDlpV2InspectionRuleSet- , googlePrivacyDlpV2InspectionRuleSet- , gpdvirsRules- , gpdvirsInfoTypes-- -- ** GooglePrivacyDlpV2QuasiId- , GooglePrivacyDlpV2QuasiId- , googlePrivacyDlpV2QuasiId- , gpdvqiField- , gpdvqiInfoType- , gpdvqiInferred- , gpdvqiCustomTag-- -- ** GooglePrivacyDlpV2DocumentLocation- , GooglePrivacyDlpV2DocumentLocation- , googlePrivacyDlpV2DocumentLocation- , gpdvdlFileOffSet- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude-import Network.Google.Resource.DLP.InfoTypes.List-import Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Create-import Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Delete-import Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Get-import Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.List-import Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Patch-import Network.Google.Resource.DLP.Organizations.InspectTemplates.Create-import Network.Google.Resource.DLP.Organizations.InspectTemplates.Delete-import Network.Google.Resource.DLP.Organizations.InspectTemplates.Get-import Network.Google.Resource.DLP.Organizations.InspectTemplates.List-import Network.Google.Resource.DLP.Organizations.InspectTemplates.Patch-import Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Create-import Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Delete-import Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Get-import Network.Google.Resource.DLP.Organizations.StoredInfoTypes.List-import Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Patch-import Network.Google.Resource.DLP.Projects.Content.Deidentify-import Network.Google.Resource.DLP.Projects.Content.Inspect-import Network.Google.Resource.DLP.Projects.Content.Reidentify-import Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Create-import Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Delete-import Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Get-import Network.Google.Resource.DLP.Projects.DeidentifyTemplates.List-import Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Patch-import Network.Google.Resource.DLP.Projects.DlpJobs.Cancel-import Network.Google.Resource.DLP.Projects.DlpJobs.Create-import Network.Google.Resource.DLP.Projects.DlpJobs.Delete-import Network.Google.Resource.DLP.Projects.DlpJobs.Get-import Network.Google.Resource.DLP.Projects.DlpJobs.List-import Network.Google.Resource.DLP.Projects.Image.Redact-import Network.Google.Resource.DLP.Projects.InspectTemplates.Create-import Network.Google.Resource.DLP.Projects.InspectTemplates.Delete-import Network.Google.Resource.DLP.Projects.InspectTemplates.Get-import Network.Google.Resource.DLP.Projects.InspectTemplates.List-import Network.Google.Resource.DLP.Projects.InspectTemplates.Patch-import Network.Google.Resource.DLP.Projects.JobTriggers.Activate-import Network.Google.Resource.DLP.Projects.JobTriggers.Create-import Network.Google.Resource.DLP.Projects.JobTriggers.Delete-import Network.Google.Resource.DLP.Projects.JobTriggers.Get-import Network.Google.Resource.DLP.Projects.JobTriggers.List-import Network.Google.Resource.DLP.Projects.JobTriggers.Patch-import Network.Google.Resource.DLP.Projects.StoredInfoTypes.Create-import Network.Google.Resource.DLP.Projects.StoredInfoTypes.Delete-import Network.Google.Resource.DLP.Projects.StoredInfoTypes.Get-import Network.Google.Resource.DLP.Projects.StoredInfoTypes.List-import Network.Google.Resource.DLP.Projects.StoredInfoTypes.Patch--{- $resources-TODO--}---- | Represents the entirety of the methods and resources available for the Cloud Data Loss Prevention (DLP) API service.-type DLPAPI =- InfoTypesListResource :<|>- OrganizationsInspectTemplatesListResource- :<|> OrganizationsInspectTemplatesPatchResource- :<|> OrganizationsInspectTemplatesGetResource- :<|> OrganizationsInspectTemplatesCreateResource- :<|> OrganizationsInspectTemplatesDeleteResource- :<|> OrganizationsStoredInfoTypesListResource- :<|> OrganizationsStoredInfoTypesPatchResource- :<|> OrganizationsStoredInfoTypesGetResource- :<|> OrganizationsStoredInfoTypesCreateResource- :<|> OrganizationsStoredInfoTypesDeleteResource- :<|> OrganizationsDeidentifyTemplatesListResource- :<|> OrganizationsDeidentifyTemplatesPatchResource- :<|> OrganizationsDeidentifyTemplatesGetResource- :<|> OrganizationsDeidentifyTemplatesCreateResource- :<|> OrganizationsDeidentifyTemplatesDeleteResource- :<|> ProjectsDlpJobsListResource- :<|> ProjectsDlpJobsGetResource- :<|> ProjectsDlpJobsCreateResource- :<|> ProjectsDlpJobsCancelResource- :<|> ProjectsDlpJobsDeleteResource- :<|> ProjectsImageRedactResource- :<|> ProjectsContentInspectResource- :<|> ProjectsContentDeidentifyResource- :<|> ProjectsContentReidentifyResource- :<|> ProjectsJobTriggersListResource- :<|> ProjectsJobTriggersPatchResource- :<|> ProjectsJobTriggersGetResource- :<|> ProjectsJobTriggersActivateResource- :<|> ProjectsJobTriggersCreateResource- :<|> ProjectsJobTriggersDeleteResource- :<|> ProjectsInspectTemplatesListResource- :<|> ProjectsInspectTemplatesPatchResource- :<|> ProjectsInspectTemplatesGetResource- :<|> ProjectsInspectTemplatesCreateResource- :<|> ProjectsInspectTemplatesDeleteResource- :<|> ProjectsStoredInfoTypesListResource- :<|> ProjectsStoredInfoTypesPatchResource- :<|> ProjectsStoredInfoTypesGetResource- :<|> ProjectsStoredInfoTypesCreateResource- :<|> ProjectsStoredInfoTypesDeleteResource- :<|> ProjectsDeidentifyTemplatesListResource- :<|> ProjectsDeidentifyTemplatesPatchResource- :<|> ProjectsDeidentifyTemplatesGetResource- :<|> ProjectsDeidentifyTemplatesCreateResource- :<|> ProjectsDeidentifyTemplatesDeleteResource
− gen/Network/Google/DLP/Types.hs
@@ -1,1262 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.DLP.Types--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.Google.DLP.Types- (- -- * Service Configuration- dLPService-- -- * OAuth Scopes- , cloudPlatformScope-- -- * GooglePrivacyDlpV2InfoTypeStats- , GooglePrivacyDlpV2InfoTypeStats- , googlePrivacyDlpV2InfoTypeStats- , gpdvitsCount- , gpdvitsInfoType-- -- * GooglePrivacyDlpV2RedactConfig- , GooglePrivacyDlpV2RedactConfig- , googlePrivacyDlpV2RedactConfig-- -- * GooglePrivacyDlpV2UpdateJobTriggerRequest- , GooglePrivacyDlpV2UpdateJobTriggerRequest- , googlePrivacyDlpV2UpdateJobTriggerRequest- , gpdvujtrUpdateMask- , gpdvujtrJobTrigger-- -- * GooglePrivacyDlpV2Range- , GooglePrivacyDlpV2Range- , googlePrivacyDlpV2Range- , gpdvrStart- , gpdvrEnd-- -- * GoogleRpcStatus- , GoogleRpcStatus- , googleRpcStatus- , grsDetails- , grsCode- , grsMessage-- -- * GooglePrivacyDlpV2FixedSizeBucketingConfig- , GooglePrivacyDlpV2FixedSizeBucketingConfig- , googlePrivacyDlpV2FixedSizeBucketingConfig- , gpdvfsbcUpperBound- , gpdvfsbcLowerBound- , gpdvfsbcBucketSize-- -- * GooglePrivacyDlpV2InspectResult- , GooglePrivacyDlpV2InspectResult- , googlePrivacyDlpV2InspectResult- , gpdvirFindingsTruncated- , gpdvirFindings-- -- * GooglePrivacyDlpV2StoredInfoTypeConfig- , GooglePrivacyDlpV2StoredInfoTypeConfig- , googlePrivacyDlpV2StoredInfoTypeConfig- , gpdvsitcLargeCustomDictionary- , gpdvsitcDisplayName- , gpdvsitcDescription-- -- * GooglePrivacyDlpV2InfoTypeTransformation- , GooglePrivacyDlpV2InfoTypeTransformation- , googlePrivacyDlpV2InfoTypeTransformation- , gpdvittInfoTypes- , gpdvittPrimitiveTransformation-- -- * GooglePrivacyDlpV2FieldId- , GooglePrivacyDlpV2FieldId- , googlePrivacyDlpV2FieldId- , gpdvfiName-- -- * GooglePrivacyDlpV2DlpJob- , GooglePrivacyDlpV2DlpJob- , googlePrivacyDlpV2DlpJob- , gpdvdjInspectDetails- , gpdvdjState- , gpdvdjStartTime- , gpdvdjJobTriggerName- , gpdvdjRiskDetails- , gpdvdjName- , gpdvdjEndTime- , gpdvdjType- , gpdvdjErrors- , gpdvdjCreateTime-- -- * GooglePrivacyDlpV2RecordTransformations- , GooglePrivacyDlpV2RecordTransformations- , googlePrivacyDlpV2RecordTransformations- , gpdvrtRecordSuppressions- , gpdvrtFieldTransformations-- -- * GooglePrivacyDlpV2CustomInfoTypeLikelihood- , GooglePrivacyDlpV2CustomInfoTypeLikelihood (..)-- -- * GooglePrivacyDlpV2FindingLikelihood- , GooglePrivacyDlpV2FindingLikelihood (..)-- -- * GooglePrivacyDlpV2Key- , GooglePrivacyDlpV2Key- , googlePrivacyDlpV2Key- , gpdvkPartitionId- , gpdvkPath-- -- * GooglePrivacyDlpV2BucketingConfig- , GooglePrivacyDlpV2BucketingConfig- , googlePrivacyDlpV2BucketingConfig- , gpdvbcBuckets-- -- * GooglePrivacyDlpV2InspectConfig- , GooglePrivacyDlpV2InspectConfig- , googlePrivacyDlpV2InspectConfig- , gpdvicInfoTypes- , gpdvicMinLikelihood- , gpdvicExcludeInfoTypes- , gpdvicIncludeQuote- , gpdvicCustomInfoTypes- , gpdvicLimits- , gpdvicContentOptions- , gpdvicRuleSet-- -- * GooglePrivacyDlpV2RiskAnalysisJobConfig- , GooglePrivacyDlpV2RiskAnalysisJobConfig- , googlePrivacyDlpV2RiskAnalysisJobConfig- , gpdvrajcPrivacyMetric- , gpdvrajcActions- , gpdvrajcSourceTable-- -- * GooglePrivacyDlpV2QuoteInfo- , GooglePrivacyDlpV2QuoteInfo- , googlePrivacyDlpV2QuoteInfo- , gpdvqiDateTime-- -- * GooglePrivacyDlpV2RecordSuppression- , GooglePrivacyDlpV2RecordSuppression- , googlePrivacyDlpV2RecordSuppression- , gpdvrsCondition-- -- * GooglePrivacyDlpV2CryptoKey- , GooglePrivacyDlpV2CryptoKey- , googlePrivacyDlpV2CryptoKey- , gpdvckTransient- , gpdvckKmsWrApped- , gpdvckUnwrApped-- -- * GooglePrivacyDlpV2LargeCustomDictionaryConfig- , GooglePrivacyDlpV2LargeCustomDictionaryConfig- , googlePrivacyDlpV2LargeCustomDictionaryConfig- , gpdvlcdcBigQueryField- , gpdvlcdcCloudStorageFileSet- , gpdvlcdcOutputPath-- -- * GooglePrivacyDlpV2WordList- , GooglePrivacyDlpV2WordList- , googlePrivacyDlpV2WordList- , gpdvwlWords-- -- * GooglePrivacyDlpV2ContentItem- , GooglePrivacyDlpV2ContentItem- , googlePrivacyDlpV2ContentItem- , gpdvciValue- , gpdvciByteItem- , gpdvciTable-- -- * GooglePrivacyDlpV2CategoricalStatsHistogramBucket- , GooglePrivacyDlpV2CategoricalStatsHistogramBucket- , googlePrivacyDlpV2CategoricalStatsHistogramBucket- , gpdvcshbValueFrequencyLowerBound- , gpdvcshbBucketValues- , gpdvcshbValueFrequencyUpperBound- , gpdvcshbBucketSize- , gpdvcshbBucketValueCount-- -- * GooglePrivacyDlpV2Result- , GooglePrivacyDlpV2Result- , googlePrivacyDlpV2Result- , gpdvrProcessedBytes- , gpdvrInfoTypeStats- , gpdvrTotalEstimatedBytes-- -- * GooglePrivacyDlpV2InspectDataSourceDetails- , GooglePrivacyDlpV2InspectDataSourceDetails- , googlePrivacyDlpV2InspectDataSourceDetails- , gpdvidsdResult- , gpdvidsdRequestedOptions-- -- * GooglePrivacyDlpV2RedactImageResponse- , GooglePrivacyDlpV2RedactImageResponse- , googlePrivacyDlpV2RedactImageResponse- , gpdvrirExtractedText- , gpdvrirInspectResult- , gpdvrirRedactedImage-- -- * GooglePrivacyDlpV2PublishToPubSub- , GooglePrivacyDlpV2PublishToPubSub- , googlePrivacyDlpV2PublishToPubSub- , gpdvptpsTopic-- -- * GooglePrivacyDlpV2CustomInfoTypeExclusionType- , GooglePrivacyDlpV2CustomInfoTypeExclusionType (..)-- -- * GooglePrivacyDlpV2BigQueryKey- , GooglePrivacyDlpV2BigQueryKey- , googlePrivacyDlpV2BigQueryKey- , gpdvbqkTableReference- , gpdvbqkRowNumber-- -- * GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood- , GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood (..)-- -- * GooglePrivacyDlpV2DetectionRule- , GooglePrivacyDlpV2DetectionRule- , googlePrivacyDlpV2DetectionRule- , gpdvdrHotwordRule-- -- * GooglePrivacyDlpV2TimePartConfigPartToExtract- , GooglePrivacyDlpV2TimePartConfigPartToExtract (..)-- -- * GooglePrivacyDlpV2RecordCondition- , GooglePrivacyDlpV2RecordCondition- , googlePrivacyDlpV2RecordCondition- , gpdvrcExpressions-- -- * GooglePrivacyDlpV2DateShiftConfig- , GooglePrivacyDlpV2DateShiftConfig- , googlePrivacyDlpV2DateShiftConfig- , gpdvdscContext- , gpdvdscUpperBoundDays- , gpdvdscCryptoKey- , gpdvdscLowerBoundDays-- -- * GooglePrivacyDlpV2InspectContentRequest- , GooglePrivacyDlpV2InspectContentRequest- , googlePrivacyDlpV2InspectContentRequest- , gpdvicrInspectConfig- , gpdvicrItem- , gpdvicrInspectTemplateName-- -- * GooglePrivacyDlpV2CategoricalStatsResult- , GooglePrivacyDlpV2CategoricalStatsResult- , googlePrivacyDlpV2CategoricalStatsResult- , gpdvcsrValueFrequencyHistogramBuckets-- -- * GooglePrivacyDlpV2NumericalStatsResult- , GooglePrivacyDlpV2NumericalStatsResult- , googlePrivacyDlpV2NumericalStatsResult- , gpdvnsrMaxValue- , gpdvnsrQuantileValues- , gpdvnsrMinValue-- -- * GooglePrivacyDlpV2PublishSummaryToCscc- , GooglePrivacyDlpV2PublishSummaryToCscc- , googlePrivacyDlpV2PublishSummaryToCscc-- -- * GooglePrivacyDlpV2UpdateInspectTemplateRequest- , GooglePrivacyDlpV2UpdateInspectTemplateRequest- , googlePrivacyDlpV2UpdateInspectTemplateRequest- , gpdvuitrUpdateMask- , gpdvuitrInspectTemplate-- -- * GooglePrivacyDlpV2EntityId- , GooglePrivacyDlpV2EntityId- , googlePrivacyDlpV2EntityId- , gpdveiField-- -- * GooglePrivacyDlpV2ByteContentItem- , GooglePrivacyDlpV2ByteContentItem- , googlePrivacyDlpV2ByteContentItem- , gpdvbciData- , gpdvbciType-- -- * GooglePrivacyDlpV2TaggedField- , GooglePrivacyDlpV2TaggedField- , googlePrivacyDlpV2TaggedField- , gpdvtfField- , gpdvtfInfoType- , gpdvtfInferred- , gpdvtfCustomTag-- -- * GooglePrivacyDlpV2BigQueryOptions- , GooglePrivacyDlpV2BigQueryOptions- , googlePrivacyDlpV2BigQueryOptions- , gpdvbqoRowsLimit- , gpdvbqoRowsLimitPercent- , gpdvbqoTableReference- , gpdvbqoIdentifyingFields- , gpdvbqoExcludedFields- , gpdvbqoSampleMethod-- -- * GooglePrivacyDlpV2KMapEstimationQuasiIdValues- , GooglePrivacyDlpV2KMapEstimationQuasiIdValues- , googlePrivacyDlpV2KMapEstimationQuasiIdValues- , gpdvkmeqivEstimatedAnonymity- , gpdvkmeqivQuasiIdsValues-- -- * GooglePrivacyDlpV2ExcludeInfoTypes- , GooglePrivacyDlpV2ExcludeInfoTypes- , googlePrivacyDlpV2ExcludeInfoTypes- , gpdveitInfoTypes-- -- * GooglePrivacyDlpV2CreateInspectTemplateRequest- , GooglePrivacyDlpV2CreateInspectTemplateRequest- , googlePrivacyDlpV2CreateInspectTemplateRequest- , gpdvcitrTemplateId- , gpdvcitrInspectTemplate-- -- * GooglePrivacyDlpV2PathElement- , GooglePrivacyDlpV2PathElement- , googlePrivacyDlpV2PathElement- , gpdvpeKind- , gpdvpeName- , gpdvpeId-- -- * GooglePrivacyDlpV2DeltaPresenceEstimationResult- , GooglePrivacyDlpV2DeltaPresenceEstimationResult- , googlePrivacyDlpV2DeltaPresenceEstimationResult- , gpdvdperDeltaPresenceEstimationHistogram-- -- * GooglePrivacyDlpV2ConditionOperator- , GooglePrivacyDlpV2ConditionOperator (..)-- -- * GooglePrivacyDlpV2InspectJobConfig- , GooglePrivacyDlpV2InspectJobConfig- , googlePrivacyDlpV2InspectJobConfig- , gpdvijcActions- , gpdvijcStorageConfig- , gpdvijcInspectConfig- , gpdvijcInspectTemplateName-- -- * GooglePrivacyDlpV2StoredType- , GooglePrivacyDlpV2StoredType- , googlePrivacyDlpV2StoredType- , gpdvstName- , gpdvstCreateTime-- -- * GooglePrivacyDlpV2FieldTransformation- , GooglePrivacyDlpV2FieldTransformation- , googlePrivacyDlpV2FieldTransformation- , gpdvftInfoTypeTransformations- , gpdvftPrimitiveTransformation- , gpdvftCondition- , gpdvftFields-- -- * GooglePrivacyDlpV2HotwordRule- , GooglePrivacyDlpV2HotwordRule- , googlePrivacyDlpV2HotwordRule- , gpdvhrProximity- , gpdvhrLikelihoodAdjustment- , gpdvhrHotwordRegex-- -- * GooglePrivacyDlpV2RedactImageRequest- , GooglePrivacyDlpV2RedactImageRequest- , googlePrivacyDlpV2RedactImageRequest- , gpdvrirIncludeFindings- , gpdvrirInspectConfig- , gpdvrirByteItem- , gpdvrirImageRedactionConfigs-- -- * GooglePrivacyDlpV2FindingLimits- , GooglePrivacyDlpV2FindingLimits- , googlePrivacyDlpV2FindingLimits- , gpdvflMaxFindingsPerItem- , gpdvflMaxFindingsPerInfoType- , gpdvflMaxFindingsPerRequest-- -- * GooglePrivacyDlpV2Condition- , GooglePrivacyDlpV2Condition- , googlePrivacyDlpV2Condition- , gpdvcField- , gpdvcOperator- , gpdvcValue-- -- * GooglePrivacyDlpV2TimespanConfig- , GooglePrivacyDlpV2TimespanConfig- , googlePrivacyDlpV2TimespanConfig- , gpdvtcTimestampField- , gpdvtcStartTime- , gpdvtcEnableAutoPopulationOfTimespanConfig- , gpdvtcEndTime-- -- * GooglePrivacyDlpV2DateTimeDayOfWeek- , GooglePrivacyDlpV2DateTimeDayOfWeek (..)-- -- * GooglePrivacyDlpV2CreateDeidentifyTemplateRequest- , GooglePrivacyDlpV2CreateDeidentifyTemplateRequest- , googlePrivacyDlpV2CreateDeidentifyTemplateRequest- , gpdvcdtrTemplateId- , gpdvcdtrDeidentifyTemplate-- -- * GooglePrivacyDlpV2TransientCryptoKey- , GooglePrivacyDlpV2TransientCryptoKey- , googlePrivacyDlpV2TransientCryptoKey- , gpdvtckName-- -- * GooglePrivacyDlpV2DlpJobState- , GooglePrivacyDlpV2DlpJobState (..)-- -- * GooglePrivacyDlpV2InfoTypeDescription- , GooglePrivacyDlpV2InfoTypeDescription- , googlePrivacyDlpV2InfoTypeDescription- , gpdvitdName- , gpdvitdDisplayName- , gpdvitdSupportedBy- , gpdvitdDescription-- -- * GoogleProtobufEmpty- , GoogleProtobufEmpty- , googleProtobufEmpty-- -- * GoogleRpcStatusDetailsItem- , GoogleRpcStatusDetailsItem- , googleRpcStatusDetailsItem- , grsdiAddtional-- -- * GooglePrivacyDlpV2ImageRedactionConfig- , GooglePrivacyDlpV2ImageRedactionConfig- , googlePrivacyDlpV2ImageRedactionConfig- , gpdvircRedactionColor- , gpdvircInfoType- , gpdvircRedactAllText-- -- * GooglePrivacyDlpV2Trigger- , GooglePrivacyDlpV2Trigger- , googlePrivacyDlpV2Trigger- , gpdvtSchedule-- -- * GooglePrivacyDlpV2CloudStorageOptions- , GooglePrivacyDlpV2CloudStorageOptions- , googlePrivacyDlpV2CloudStorageOptions- , gpdvcsoFileSet- , gpdvcsoBytesLimitPerFile- , gpdvcsoFileTypes- , gpdvcsoBytesLimitPerFilePercent- , gpdvcsoFilesLimitPercent- , gpdvcsoSampleMethod-- -- * GooglePrivacyDlpV2SummaryResultCode- , GooglePrivacyDlpV2SummaryResultCode (..)-- -- * GooglePrivacyDlpV2DeltaPresenceEstimationConfig- , GooglePrivacyDlpV2DeltaPresenceEstimationConfig- , googlePrivacyDlpV2DeltaPresenceEstimationConfig- , gpdvdpecAuxiliaryTables- , gpdvdpecRegionCode- , gpdvdpecQuasiIds-- -- * GooglePrivacyDlpV2CreateStoredInfoTypeRequest- , GooglePrivacyDlpV2CreateStoredInfoTypeRequest- , googlePrivacyDlpV2CreateStoredInfoTypeRequest- , gpdvcsitrConfig- , gpdvcsitrStoredInfoTypeId-- -- * GooglePrivacyDlpV2QuasiIdField- , GooglePrivacyDlpV2QuasiIdField- , googlePrivacyDlpV2QuasiIdField- , gpdvqifField- , gpdvqifCustomTag-- -- * GooglePrivacyDlpV2TimePartConfig- , GooglePrivacyDlpV2TimePartConfig- , googlePrivacyDlpV2TimePartConfig- , gpdvtpcPartToExtract-- -- * GooglePrivacyDlpV2InspectionRule- , GooglePrivacyDlpV2InspectionRule- , googlePrivacyDlpV2InspectionRule- , gpdvirExclusionRule- , gpdvirHotwordRule-- -- * GooglePrivacyDlpV2CustomInfoType- , GooglePrivacyDlpV2CustomInfoType- , googlePrivacyDlpV2CustomInfoType- , gpdvcitRegex- , gpdvcitStoredType- , gpdvcitInfoType- , gpdvcitExclusionType- , gpdvcitLikelihood- , gpdvcitDetectionRules- , gpdvcitDictionary- , gpdvcitSurrogateType-- -- * GooglePrivacyDlpV2KMapEstimationResult- , GooglePrivacyDlpV2KMapEstimationResult- , googlePrivacyDlpV2KMapEstimationResult- , gpdvkmerKMapEstimationHistogram-- -- * GooglePrivacyDlpV2TransformationSummary- , GooglePrivacyDlpV2TransformationSummary- , googlePrivacyDlpV2TransformationSummary- , gpdvtsResults- , gpdvtsField- , gpdvtsInfoType- , gpdvtsRecordSuppress- , gpdvtsTransformedBytes- , gpdvtsFieldTransformations- , gpdvtsTransformation-- -- * GooglePrivacyDlpV2LikelihoodAdjustment- , GooglePrivacyDlpV2LikelihoodAdjustment- , googlePrivacyDlpV2LikelihoodAdjustment- , gpdvlaFixedLikelihood- , gpdvlaRelativeLikelihood-- -- * GooglePrivacyDlpV2Regex- , GooglePrivacyDlpV2Regex- , googlePrivacyDlpV2Regex- , gpdvrGroupIndexes- , gpdvrPattern-- -- * GooglePrivacyDlpV2UpdateStoredInfoTypeRequest- , GooglePrivacyDlpV2UpdateStoredInfoTypeRequest- , googlePrivacyDlpV2UpdateStoredInfoTypeRequest- , gpdvusitrConfig- , gpdvusitrUpdateMask-- -- * GooglePrivacyDlpV2KAnonymityEquivalenceClass- , GooglePrivacyDlpV2KAnonymityEquivalenceClass- , googlePrivacyDlpV2KAnonymityEquivalenceClass- , gpdvkaecEquivalenceClassSize- , gpdvkaecQuasiIdsValues-- -- * GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest- , GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest- , googlePrivacyDlpV2UpdateDeidentifyTemplateRequest- , gpdvudtrUpdateMask- , gpdvudtrDeidentifyTemplate-- -- * GooglePrivacyDlpV2LDiversityConfig- , GooglePrivacyDlpV2LDiversityConfig- , googlePrivacyDlpV2LDiversityConfig- , gpdvldcSensitiveAttribute- , gpdvldcQuasiIds-- -- * GooglePrivacyDlpV2JobNotificationEmails- , GooglePrivacyDlpV2JobNotificationEmails- , googlePrivacyDlpV2JobNotificationEmails-- -- * GooglePrivacyDlpV2DeidentifyContentRequest- , GooglePrivacyDlpV2DeidentifyContentRequest- , googlePrivacyDlpV2DeidentifyContentRequest- , gpdvdcrInspectConfig- , gpdvdcrDeidentifyConfig- , gpdvdcrDeidentifyTemplateName- , gpdvdcrItem- , gpdvdcrInspectTemplateName-- -- * GooglePrivacyDlpV2Color- , GooglePrivacyDlpV2Color- , googlePrivacyDlpV2Color- , gpdvcRed- , gpdvcGreen- , gpdvcBlue-- -- * GooglePrivacyDlpV2ListDlpJobsResponse- , GooglePrivacyDlpV2ListDlpJobsResponse- , googlePrivacyDlpV2ListDlpJobsResponse- , gpdvldjrNextPageToken- , gpdvldjrJobs-- -- * GooglePrivacyDlpV2Proximity- , GooglePrivacyDlpV2Proximity- , googlePrivacyDlpV2Proximity- , gpdvpWindowAfter- , gpdvpWindowBefore-- -- * GooglePrivacyDlpV2Finding- , GooglePrivacyDlpV2Finding- , googlePrivacyDlpV2Finding- , gpdvfLocation- , gpdvfInfoType- , gpdvfQuoteInfo- , gpdvfLikelihood- , gpdvfQuote- , gpdvfCreateTime-- -- * GooglePrivacyDlpV2SummaryResult- , GooglePrivacyDlpV2SummaryResult- , googlePrivacyDlpV2SummaryResult- , gpdvsrCount- , gpdvsrDetails- , gpdvsrCode-- -- * GooglePrivacyDlpV2Row- , GooglePrivacyDlpV2Row- , googlePrivacyDlpV2Row- , gpdvrValues-- -- * GooglePrivacyDlpV2ReplaceWithInfoTypeConfig- , GooglePrivacyDlpV2ReplaceWithInfoTypeConfig- , googlePrivacyDlpV2ReplaceWithInfoTypeConfig-- -- * GoogleTypeTimeOfDay- , GoogleTypeTimeOfDay- , googleTypeTimeOfDay- , gttodNanos- , gttodHours- , gttodMinutes- , gttodSeconds-- -- * GooglePrivacyDlpV2OutputStorageConfigOutputSchema- , GooglePrivacyDlpV2OutputStorageConfigOutputSchema (..)-- -- * GooglePrivacyDlpV2ExclusionRule- , GooglePrivacyDlpV2ExclusionRule- , googlePrivacyDlpV2ExclusionRule- , gpdverRegex- , gpdverExcludeInfoTypes- , gpdverDictionary- , gpdverMatchingType-- -- * GooglePrivacyDlpV2CreateDlpJobRequest- , GooglePrivacyDlpV2CreateDlpJobRequest- , googlePrivacyDlpV2CreateDlpJobRequest- , gpdvcdjrRiskJob- , gpdvcdjrJobId- , gpdvcdjrInspectJob-- -- * GooglePrivacyDlpV2RecordKey- , GooglePrivacyDlpV2RecordKey- , googlePrivacyDlpV2RecordKey- , gpdvrkIdValues- , gpdvrkDatastoreKey- , gpdvrkBigQueryKey-- -- * GooglePrivacyDlpV2KMapEstimationHistogramBucket- , GooglePrivacyDlpV2KMapEstimationHistogramBucket- , googlePrivacyDlpV2KMapEstimationHistogramBucket- , gpdvkmehbMaxAnonymity- , gpdvkmehbBucketValues- , gpdvkmehbMinAnonymity- , gpdvkmehbBucketSize- , gpdvkmehbBucketValueCount-- -- * GooglePrivacyDlpV2ListDeidentifyTemplatesResponse- , GooglePrivacyDlpV2ListDeidentifyTemplatesResponse- , googlePrivacyDlpV2ListDeidentifyTemplatesResponse- , gpdvldtrNextPageToken- , gpdvldtrDeidentifyTemplates-- -- * GooglePrivacyDlpV2BigQueryOptionsSampleMethod- , GooglePrivacyDlpV2BigQueryOptionsSampleMethod (..)-- -- * GooglePrivacyDlpV2DlpJobType- , GooglePrivacyDlpV2DlpJobType (..)-- -- * GooglePrivacyDlpV2KAnonymityConfig- , GooglePrivacyDlpV2KAnonymityConfig- , googlePrivacyDlpV2KAnonymityConfig- , gpdvkacEntityId- , gpdvkacQuasiIds-- -- * GooglePrivacyDlpV2DeidentifyContentResponse- , GooglePrivacyDlpV2DeidentifyContentResponse- , googlePrivacyDlpV2DeidentifyContentResponse- , gOverview- , gItem-- -- * GooglePrivacyDlpV2JobTrigger- , GooglePrivacyDlpV2JobTrigger- , googlePrivacyDlpV2JobTrigger- , gpdvjtStatus- , gpdvjtTriggers- , gpdvjtLastRunTime- , gpdvjtInspectJob- , gpdvjtUpdateTime- , gpdvjtName- , gpdvjtDisplayName- , gpdvjtErrors- , gpdvjtDescription- , gpdvjtCreateTime-- -- * GooglePrivacyDlpV2ListStoredInfoTypesResponse- , GooglePrivacyDlpV2ListStoredInfoTypesResponse- , googlePrivacyDlpV2ListStoredInfoTypesResponse- , gpdvlsitrNextPageToken- , gpdvlsitrStoredInfoTypes-- -- * GooglePrivacyDlpV2LDiversityEquivalenceClass- , GooglePrivacyDlpV2LDiversityEquivalenceClass- , googlePrivacyDlpV2LDiversityEquivalenceClass- , gpdvldecTopSensitiveValues- , gpdvldecEquivalenceClassSize- , gpdvldecNumDistinctSensitiveValues- , gpdvldecQuasiIdsValues-- -- * GooglePrivacyDlpV2ActivateJobTriggerRequest- , GooglePrivacyDlpV2ActivateJobTriggerRequest- , googlePrivacyDlpV2ActivateJobTriggerRequest-- -- * GooglePrivacyDlpV2DeidentifyConfig- , GooglePrivacyDlpV2DeidentifyConfig- , googlePrivacyDlpV2DeidentifyConfig- , gpdvdcInfoTypeTransformations- , gpdvdcRecordTransformations-- -- * GooglePrivacyDlpV2CharacterMaskConfig- , GooglePrivacyDlpV2CharacterMaskConfig- , googlePrivacyDlpV2CharacterMaskConfig- , gpdvcmcNumberToMask- , gpdvcmcMaskingCharacter- , gpdvcmcReverseOrder- , gpdvcmcCharactersToIgnore-- -- * GooglePrivacyDlpV2DatastoreOptions- , GooglePrivacyDlpV2DatastoreOptions- , googlePrivacyDlpV2DatastoreOptions- , gpdvdoPartitionId- , gpdvdoKind-- -- * GooglePrivacyDlpV2ValueFrequency- , GooglePrivacyDlpV2ValueFrequency- , googlePrivacyDlpV2ValueFrequency- , gpdvvfValue- , gpdvvfCount-- -- * GooglePrivacyDlpV2BoundingBox- , GooglePrivacyDlpV2BoundingBox- , googlePrivacyDlpV2BoundingBox- , gpdvbbHeight- , gpdvbbLeft- , gpdvbbWidth- , gpdvbbTop-- -- * GooglePrivacyDlpV2PartitionId- , GooglePrivacyDlpV2PartitionId- , googlePrivacyDlpV2PartitionId- , gpdvpiNamespaceId- , gpdvpiProjectId-- -- * GooglePrivacyDlpV2SaveFindings- , GooglePrivacyDlpV2SaveFindings- , googlePrivacyDlpV2SaveFindings- , gpdvsfOutputConfig-- -- * GooglePrivacyDlpV2StoredInfoTypeVersion- , GooglePrivacyDlpV2StoredInfoTypeVersion- , googlePrivacyDlpV2StoredInfoTypeVersion- , gpdvsitvState- , gpdvsitvConfig- , gpdvsitvErrors- , gpdvsitvCreateTime-- -- * GooglePrivacyDlpV2ListInfoTypesResponse- , GooglePrivacyDlpV2ListInfoTypesResponse- , googlePrivacyDlpV2ListInfoTypesResponse- , gpdvlitrInfoTypes-- -- * GooglePrivacyDlpV2ContentLocation- , GooglePrivacyDlpV2ContentLocation- , googlePrivacyDlpV2ContentLocation- , gpdvclImageLocation- , gpdvclContainerName- , gpdvclContainerTimestamp- , gpdvclDocumentLocation- , gpdvclContainerVersion- , gpdvclRecordLocation-- -- * GooglePrivacyDlpV2AuxiliaryTable- , GooglePrivacyDlpV2AuxiliaryTable- , googlePrivacyDlpV2AuxiliaryTable- , gpdvatRelativeFrequency- , gpdvatTable- , gpdvatQuasiIds-- -- * GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket- , GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket- , googlePrivacyDlpV2DeltaPresenceEstimationHistogramBucket- , gpdvdpehbBucketValues- , gpdvdpehbMaxProbability- , gpdvdpehbMinProbability- , gpdvdpehbBucketSize- , gpdvdpehbBucketValueCount-- -- * GooglePrivacyDlpV2InspectConfigMinLikelihood- , GooglePrivacyDlpV2InspectConfigMinLikelihood (..)-- -- * GooglePrivacyDlpV2FileSet- , GooglePrivacyDlpV2FileSet- , googlePrivacyDlpV2FileSet- , gpdvfsURL- , gpdvfsRegexFileSet-- -- * GooglePrivacyDlpV2ListInspectTemplatesResponse- , GooglePrivacyDlpV2ListInspectTemplatesResponse- , googlePrivacyDlpV2ListInspectTemplatesResponse- , gpdvlitrNextPageToken- , gpdvlitrInspectTemplates-- -- * GooglePrivacyDlpV2KAnonymityResult- , GooglePrivacyDlpV2KAnonymityResult- , googlePrivacyDlpV2KAnonymityResult- , gpdvkarEquivalenceClassHistogramBuckets-- -- * GooglePrivacyDlpV2BigQueryField- , GooglePrivacyDlpV2BigQueryField- , googlePrivacyDlpV2BigQueryField- , gpdvbqfField- , gpdvbqfTable-- -- * GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore- , GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore (..)-- -- * GooglePrivacyDlpV2OutputStorageConfig- , GooglePrivacyDlpV2OutputStorageConfig- , googlePrivacyDlpV2OutputStorageConfig- , gpdvoscOutputSchema- , gpdvoscTable-- -- * GooglePrivacyDlpV2CloudStorageFileSet- , GooglePrivacyDlpV2CloudStorageFileSet- , googlePrivacyDlpV2CloudStorageFileSet- , gpdvcsfsURL-- -- * GooglePrivacyDlpV2InfoTypeTransformations- , GooglePrivacyDlpV2InfoTypeTransformations- , googlePrivacyDlpV2InfoTypeTransformations- , gpdvittTransformations-- -- * GooglePrivacyDlpV2KmsWrAppedCryptoKey- , GooglePrivacyDlpV2KmsWrAppedCryptoKey- , googlePrivacyDlpV2KmsWrAppedCryptoKey- , gpdvkwackWrAppedKey- , gpdvkwackCryptoKeyName-- -- * GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet- , GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet (..)-- -- * GooglePrivacyDlpV2InspectContentResponse- , GooglePrivacyDlpV2InspectContentResponse- , googlePrivacyDlpV2InspectContentResponse- , gpdvicrResult-- -- * GooglePrivacyDlpV2LDiversityHistogramBucket- , GooglePrivacyDlpV2LDiversityHistogramBucket- , googlePrivacyDlpV2LDiversityHistogramBucket- , gpdvldhbBucketValues- , gpdvldhbSensitiveValueFrequencyLowerBound- , gpdvldhbSensitiveValueFrequencyUpperBound- , gpdvldhbBucketSize- , gpdvldhbBucketValueCount-- -- * GooglePrivacyDlpV2ReidentifyContentResponse- , GooglePrivacyDlpV2ReidentifyContentResponse- , googlePrivacyDlpV2ReidentifyContentResponse- , gpdvrcrOverview- , gpdvrcrItem-- -- * GooglePrivacyDlpV2Expressions- , GooglePrivacyDlpV2Expressions- , googlePrivacyDlpV2Expressions- , gpdveLogicalOperator- , gpdveConditions-- -- * GooglePrivacyDlpV2CloudStorageOptionsSampleMethod- , GooglePrivacyDlpV2CloudStorageOptionsSampleMethod (..)-- -- * Xgafv- , Xgafv (..)-- -- * GooglePrivacyDlpV2DateTime- , GooglePrivacyDlpV2DateTime- , googlePrivacyDlpV2DateTime- , gpdvdtTime- , gpdvdtDate- , gpdvdtTimeZone- , gpdvdtDayOfWeek-- -- * GooglePrivacyDlpV2CloudStorageRegexFileSet- , GooglePrivacyDlpV2CloudStorageRegexFileSet- , googlePrivacyDlpV2CloudStorageRegexFileSet- , gpdvcsrfsExcludeRegex- , gpdvcsrfsBucketName- , gpdvcsrfsIncludeRegex-- -- * GooglePrivacyDlpV2ExclusionRuleMatchingType- , GooglePrivacyDlpV2ExclusionRuleMatchingType (..)-- -- * GooglePrivacyDlpV2ValueDayOfWeekValue- , GooglePrivacyDlpV2ValueDayOfWeekValue (..)-- -- * GooglePrivacyDlpV2Bucket- , GooglePrivacyDlpV2Bucket- , googlePrivacyDlpV2Bucket- , gpdvbMax- , gpdvbReplacementValue- , gpdvbMin-- -- * GooglePrivacyDlpV2Action- , GooglePrivacyDlpV2Action- , googlePrivacyDlpV2Action- , gpdvaJobNotificationEmails- , gpdvaPubSub- , gpdvaSaveFindings- , gpdvaPublishSummaryToCscc-- -- * GoogleTypeDate- , GoogleTypeDate- , googleTypeDate- , gtdDay- , gtdYear- , gtdMonth-- -- * GooglePrivacyDlpV2SurrogateType- , GooglePrivacyDlpV2SurrogateType- , googlePrivacyDlpV2SurrogateType-- -- * GooglePrivacyDlpV2ByteContentItemType- , GooglePrivacyDlpV2ByteContentItemType (..)-- -- * GooglePrivacyDlpV2Table- , GooglePrivacyDlpV2Table- , googlePrivacyDlpV2Table- , gpdvtRows- , gpdvtHeaders-- -- * GooglePrivacyDlpV2LDiversityResult- , GooglePrivacyDlpV2LDiversityResult- , googlePrivacyDlpV2LDiversityResult- , gpdvldrSensitiveValueFrequencyHistogramBuckets-- -- * GooglePrivacyDlpV2KMapEstimationConfig- , GooglePrivacyDlpV2KMapEstimationConfig- , googlePrivacyDlpV2KMapEstimationConfig- , gpdvkmecAuxiliaryTables- , gpdvkmecRegionCode- , gpdvkmecQuasiIds-- -- * GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig- , GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig- , googlePrivacyDlpV2CryptoReplaceFfxFpeConfig- , gpdvcrffcContext- , gpdvcrffcCommonAlphabet- , gpdvcrffcSurrogateInfoType- , gpdvcrffcCustomAlphabet- , gpdvcrffcCryptoKey- , gpdvcrffcRadix-- -- * GooglePrivacyDlpV2QuasiIdentifierField- , GooglePrivacyDlpV2QuasiIdentifierField- , googlePrivacyDlpV2QuasiIdentifierField- , gField- , gCustomTag-- -- * GooglePrivacyDlpV2InfoType- , GooglePrivacyDlpV2InfoType- , googlePrivacyDlpV2InfoType- , gpdvitName-- -- * GooglePrivacyDlpV2InspectTemplate- , GooglePrivacyDlpV2InspectTemplate- , googlePrivacyDlpV2InspectTemplate- , gInspectConfig- , gUpdateTime- , gName- , gDisplayName- , gDescription- , gCreateTime-- -- * GooglePrivacyDlpV2KAnonymityHistogramBucket- , GooglePrivacyDlpV2KAnonymityHistogramBucket- , googlePrivacyDlpV2KAnonymityHistogramBucket- , gpdvkahbEquivalenceClassSizeLowerBound- , gpdvkahbEquivalenceClassSizeUpperBound- , gpdvkahbBucketValues- , gpdvkahbBucketSize- , gpdvkahbBucketValueCount-- -- * GooglePrivacyDlpV2ReidentifyContentRequest- , GooglePrivacyDlpV2ReidentifyContentRequest- , googlePrivacyDlpV2ReidentifyContentRequest- , gooInspectConfig- , gooReidentifyTemplateName- , gooItem- , gooInspectTemplateName- , gooReidentifyConfig-- -- * GooglePrivacyDlpV2CryptoHashConfig- , GooglePrivacyDlpV2CryptoHashConfig- , googlePrivacyDlpV2CryptoHashConfig- , gpdvchcCryptoKey-- -- * GooglePrivacyDlpV2InfoTypeLimit- , GooglePrivacyDlpV2InfoTypeLimit- , googlePrivacyDlpV2InfoTypeLimit- , gpdvitlMaxFindings- , gpdvitlInfoType-- -- * GooglePrivacyDlpV2TableLocation- , GooglePrivacyDlpV2TableLocation- , googlePrivacyDlpV2TableLocation- , gpdvtlRowIndex-- -- * GooglePrivacyDlpV2TimeZone- , GooglePrivacyDlpV2TimeZone- , googlePrivacyDlpV2TimeZone- , gpdvtzOffSetMinutes-- -- * GooglePrivacyDlpV2JobTriggerStatus- , GooglePrivacyDlpV2JobTriggerStatus (..)-- -- * GooglePrivacyDlpV2StorageConfig- , GooglePrivacyDlpV2StorageConfig- , googlePrivacyDlpV2StorageConfig- , gpdvscTimespanConfig- , gpdvscBigQueryOptions- , gpdvscDatastoreOptions- , gpdvscCloudStorageOptions-- -- * GooglePrivacyDlpV2Value- , GooglePrivacyDlpV2Value- , googlePrivacyDlpV2Value- , gpdvvDayOfWeekValue- , gpdvvIntegerValue- , gpdvvTimestampValue- , gpdvvTimeValue- , gpdvvStringValue- , gpdvvDateValue- , gpdvvBooleanValue- , gpdvvFloatValue-- -- * GooglePrivacyDlpV2Dictionary- , GooglePrivacyDlpV2Dictionary- , googlePrivacyDlpV2Dictionary- , gpdvdWordList- , gpdvdCloudStoragePath-- -- * GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails- , GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails- , googlePrivacyDlpV2AnalyzeDataSourceRiskDetails- , gpdvadsrdRequestedPrivacyMetric- , gpdvadsrdRequestedSourceTable- , gpdvadsrdLDiversityResult- , gpdvadsrdKAnonymityResult- , gpdvadsrdKMapEstimationResult- , gpdvadsrdDeltaPresenceEstimationResult- , gpdvadsrdNumericalStatsResult- , gpdvadsrdCategoricalStatsResult-- -- * GooglePrivacyDlpV2Conditions- , GooglePrivacyDlpV2Conditions- , googlePrivacyDlpV2Conditions- , gpdvcConditions-- -- * GooglePrivacyDlpV2DatastoreKey- , GooglePrivacyDlpV2DatastoreKey- , googlePrivacyDlpV2DatastoreKey- , gpdvdkEntityKey-- -- * GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues- , GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues- , googlePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues- , gpdvdpeqivEstimatedProbability- , gpdvdpeqivQuasiIdsValues-- -- * GooglePrivacyDlpV2CharsToIgnore- , GooglePrivacyDlpV2CharsToIgnore- , googlePrivacyDlpV2CharsToIgnore- , gpdvctiCommonCharactersToIgnore- , gpdvctiCharactersToSkip-- -- * GooglePrivacyDlpV2BigQueryTable- , GooglePrivacyDlpV2BigQueryTable- , googlePrivacyDlpV2BigQueryTable- , gpdvbqtDataSetId- , gpdvbqtProjectId- , gpdvbqtTableId-- -- * GooglePrivacyDlpV2RequestedOptions- , GooglePrivacyDlpV2RequestedOptions- , googlePrivacyDlpV2RequestedOptions- , gpdvroSnapshotInspectTemplate- , gpdvroJobConfig-- -- * GooglePrivacyDlpV2PrimitiveTransformation- , GooglePrivacyDlpV2PrimitiveTransformation- , googlePrivacyDlpV2PrimitiveTransformation- , gpdvptFixedSizeBucketingConfig- , gpdvptRedactConfig- , gpdvptCharacterMaskConfig- , gpdvptTimePartConfig- , gpdvptDateShiftConfig- , gpdvptBucketingConfig- , gpdvptReplaceWithInfoTypeConfig- , gpdvptCryptoDeterministicConfig- , gpdvptCryptoHashConfig- , gpdvptReplaceConfig- , gpdvptCryptoReplaceFfxFpeConfig-- -- * GooglePrivacyDlpV2CancelDlpJobRequest- , GooglePrivacyDlpV2CancelDlpJobRequest- , googlePrivacyDlpV2CancelDlpJobRequest-- -- * GooglePrivacyDlpV2RecordLocation- , GooglePrivacyDlpV2RecordLocation- , googlePrivacyDlpV2RecordLocation- , gpdvrlTableLocation- , gpdvrlFieldId- , gpdvrlRecordKey-- -- * GooglePrivacyDlpV2StoredInfoTypeVersionState- , GooglePrivacyDlpV2StoredInfoTypeVersionState (..)-- -- * GooglePrivacyDlpV2Error- , GooglePrivacyDlpV2Error- , googlePrivacyDlpV2Error- , gpdveDetails- , gpdveTimestamps-- -- * GooglePrivacyDlpV2StoredInfoType- , GooglePrivacyDlpV2StoredInfoType- , googlePrivacyDlpV2StoredInfoType- , gpdvsitCurrentVersion- , gpdvsitName- , gpdvsitPendingVersions-- -- * GooglePrivacyDlpV2CryptoDeterministicConfig- , GooglePrivacyDlpV2CryptoDeterministicConfig- , googlePrivacyDlpV2CryptoDeterministicConfig- , gpdvcdcContext- , gpdvcdcSurrogateInfoType- , gpdvcdcCryptoKey-- -- * GooglePrivacyDlpV2StatisticalTable- , GooglePrivacyDlpV2StatisticalTable- , googlePrivacyDlpV2StatisticalTable- , gpdvstRelativeFrequency- , gpdvstTable- , gpdvstQuasiIds-- -- * GooglePrivacyDlpV2DeidentifyTemplate- , GooglePrivacyDlpV2DeidentifyTemplate- , googlePrivacyDlpV2DeidentifyTemplate- , gpdvdtUpdateTime- , gpdvdtName- , gpdvdtDeidentifyConfig- , gpdvdtDisplayName- , gpdvdtDescription- , gpdvdtCreateTime-- -- * GooglePrivacyDlpV2ReplaceValueConfig- , GooglePrivacyDlpV2ReplaceValueConfig- , googlePrivacyDlpV2ReplaceValueConfig- , gpdvrvcNewValue-- -- * GooglePrivacyDlpV2CategoricalStatsConfig- , GooglePrivacyDlpV2CategoricalStatsConfig- , googlePrivacyDlpV2CategoricalStatsConfig- , gpdvcscField-- -- * GooglePrivacyDlpV2NumericalStatsConfig- , GooglePrivacyDlpV2NumericalStatsConfig- , googlePrivacyDlpV2NumericalStatsConfig- , gpdvnscField-- -- * GooglePrivacyDlpV2ListJobTriggersResponse- , GooglePrivacyDlpV2ListJobTriggersResponse- , googlePrivacyDlpV2ListJobTriggersResponse- , gpdvljtrNextPageToken- , gpdvljtrJobTriggers-- -- * GooglePrivacyDlpV2CloudStoragePath- , GooglePrivacyDlpV2CloudStoragePath- , googlePrivacyDlpV2CloudStoragePath- , gpdvcspPath-- -- * GooglePrivacyDlpV2Location- , GooglePrivacyDlpV2Location- , googlePrivacyDlpV2Location- , gpdvlCodepointRange- , gpdvlContentLocations- , gpdvlByteRange-- -- * GooglePrivacyDlpV2Schedule- , GooglePrivacyDlpV2Schedule- , googlePrivacyDlpV2Schedule- , gpdvsRecurrencePeriodDuration-- -- * GooglePrivacyDlpV2ExpressionsLogicalOperator- , GooglePrivacyDlpV2ExpressionsLogicalOperator (..)-- -- * GooglePrivacyDlpV2CreateJobTriggerRequest- , GooglePrivacyDlpV2CreateJobTriggerRequest- , googlePrivacyDlpV2CreateJobTriggerRequest- , gpdvcjtrTriggerId- , gpdvcjtrJobTrigger-- -- * GooglePrivacyDlpV2TransformationOverview- , GooglePrivacyDlpV2TransformationOverview- , googlePrivacyDlpV2TransformationOverview- , gpdvtoTransformedBytes- , gpdvtoTransformationSummaries-- -- * GooglePrivacyDlpV2ImageLocation- , GooglePrivacyDlpV2ImageLocation- , googlePrivacyDlpV2ImageLocation- , gpdvilBoundingBoxes-- -- * GooglePrivacyDlpV2KindExpression- , GooglePrivacyDlpV2KindExpression- , googlePrivacyDlpV2KindExpression- , gpdvkeName-- -- * GooglePrivacyDlpV2PrivacyMetric- , GooglePrivacyDlpV2PrivacyMetric- , googlePrivacyDlpV2PrivacyMetric- , gpdvpmNumericalStatsConfig- , gpdvpmCategoricalStatsConfig- , gpdvpmKMapEstimationConfig- , gpdvpmKAnonymityConfig- , gpdvpmLDiversityConfig- , gpdvpmDeltaPresenceEstimationConfig-- -- * GooglePrivacyDlpV2UnwrAppedCryptoKey- , GooglePrivacyDlpV2UnwrAppedCryptoKey- , googlePrivacyDlpV2UnwrAppedCryptoKey- , gpdvuackKey-- -- * GooglePrivacyDlpV2InspectionRuleSet- , GooglePrivacyDlpV2InspectionRuleSet- , googlePrivacyDlpV2InspectionRuleSet- , gpdvirsRules- , gpdvirsInfoTypes-- -- * GooglePrivacyDlpV2QuasiId- , GooglePrivacyDlpV2QuasiId- , googlePrivacyDlpV2QuasiId- , gpdvqiField- , gpdvqiInfoType- , gpdvqiInferred- , gpdvqiCustomTag-- -- * GooglePrivacyDlpV2DocumentLocation- , GooglePrivacyDlpV2DocumentLocation- , googlePrivacyDlpV2DocumentLocation- , gpdvdlFileOffSet- ) where--import Network.Google.DLP.Types.Product-import Network.Google.DLP.Types.Sum-import Network.Google.Prelude---- | Default request referring to version 'v2' of the Cloud Data Loss Prevention (DLP) API. This contains the host and root path used as a starting point for constructing service requests.-dLPService :: ServiceConfig-dLPService- = defaultService (ServiceId "dlp:v2")- "dlp.googleapis.com"---- | View and manage your data across Google Cloud Platform services-cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]-cloudPlatformScope = Proxy
− gen/Network/Google/DLP/Types/Product.hs
@@ -1,11808 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}--{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.DLP.Types.Product--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.Google.DLP.Types.Product where--import Network.Google.DLP.Types.Sum-import Network.Google.Prelude---- | Statistics regarding a specific InfoType.------ /See:/ 'googlePrivacyDlpV2InfoTypeStats' smart constructor.-data GooglePrivacyDlpV2InfoTypeStats =- GooglePrivacyDlpV2InfoTypeStats'- { _gpdvitsCount :: !(Maybe (Textual Int64))- , _gpdvitsInfoType :: !(Maybe GooglePrivacyDlpV2InfoType)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2InfoTypeStats' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvitsCount'------ * 'gpdvitsInfoType'-googlePrivacyDlpV2InfoTypeStats- :: GooglePrivacyDlpV2InfoTypeStats-googlePrivacyDlpV2InfoTypeStats =- GooglePrivacyDlpV2InfoTypeStats'- {_gpdvitsCount = Nothing, _gpdvitsInfoType = Nothing}----- | Number of findings for this infoType.-gpdvitsCount :: Lens' GooglePrivacyDlpV2InfoTypeStats (Maybe Int64)-gpdvitsCount- = lens _gpdvitsCount (\ s a -> s{_gpdvitsCount = a})- . mapping _Coerce---- | The type of finding this stat is for.-gpdvitsInfoType :: Lens' GooglePrivacyDlpV2InfoTypeStats (Maybe GooglePrivacyDlpV2InfoType)-gpdvitsInfoType- = lens _gpdvitsInfoType- (\ s a -> s{_gpdvitsInfoType = a})--instance FromJSON GooglePrivacyDlpV2InfoTypeStats- where- parseJSON- = withObject "GooglePrivacyDlpV2InfoTypeStats"- (\ o ->- GooglePrivacyDlpV2InfoTypeStats' <$>- (o .:? "count") <*> (o .:? "infoType"))--instance ToJSON GooglePrivacyDlpV2InfoTypeStats where- toJSON GooglePrivacyDlpV2InfoTypeStats'{..}- = object- (catMaybes- [("count" .=) <$> _gpdvitsCount,- ("infoType" .=) <$> _gpdvitsInfoType])---- | Redact a given value. For example, if used with an--- \`InfoTypeTransformation\` transforming PHONE_NUMBER, and input \'My--- phone number is 206-555-0123\', the output would be \'My phone number is--- \'.------ /See:/ 'googlePrivacyDlpV2RedactConfig' smart constructor.-data GooglePrivacyDlpV2RedactConfig =- GooglePrivacyDlpV2RedactConfig'- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2RedactConfig' with the minimum fields required to make a request.----googlePrivacyDlpV2RedactConfig- :: GooglePrivacyDlpV2RedactConfig-googlePrivacyDlpV2RedactConfig = GooglePrivacyDlpV2RedactConfig'---instance FromJSON GooglePrivacyDlpV2RedactConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2RedactConfig"- (\ o -> pure GooglePrivacyDlpV2RedactConfig')--instance ToJSON GooglePrivacyDlpV2RedactConfig where- toJSON = const emptyObject---- | Request message for UpdateJobTrigger.------ /See:/ 'googlePrivacyDlpV2UpdateJobTriggerRequest' smart constructor.-data GooglePrivacyDlpV2UpdateJobTriggerRequest =- GooglePrivacyDlpV2UpdateJobTriggerRequest'- { _gpdvujtrUpdateMask :: !(Maybe GFieldMask)- , _gpdvujtrJobTrigger :: !(Maybe GooglePrivacyDlpV2JobTrigger)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2UpdateJobTriggerRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvujtrUpdateMask'------ * 'gpdvujtrJobTrigger'-googlePrivacyDlpV2UpdateJobTriggerRequest- :: GooglePrivacyDlpV2UpdateJobTriggerRequest-googlePrivacyDlpV2UpdateJobTriggerRequest =- GooglePrivacyDlpV2UpdateJobTriggerRequest'- {_gpdvujtrUpdateMask = Nothing, _gpdvujtrJobTrigger = Nothing}----- | Mask to control which fields get updated.-gpdvujtrUpdateMask :: Lens' GooglePrivacyDlpV2UpdateJobTriggerRequest (Maybe GFieldMask)-gpdvujtrUpdateMask- = lens _gpdvujtrUpdateMask- (\ s a -> s{_gpdvujtrUpdateMask = a})---- | New JobTrigger value.-gpdvujtrJobTrigger :: Lens' GooglePrivacyDlpV2UpdateJobTriggerRequest (Maybe GooglePrivacyDlpV2JobTrigger)-gpdvujtrJobTrigger- = lens _gpdvujtrJobTrigger- (\ s a -> s{_gpdvujtrJobTrigger = a})--instance FromJSON- GooglePrivacyDlpV2UpdateJobTriggerRequest- where- parseJSON- = withObject- "GooglePrivacyDlpV2UpdateJobTriggerRequest"- (\ o ->- GooglePrivacyDlpV2UpdateJobTriggerRequest' <$>- (o .:? "updateMask") <*> (o .:? "jobTrigger"))--instance ToJSON- GooglePrivacyDlpV2UpdateJobTriggerRequest- where- toJSON GooglePrivacyDlpV2UpdateJobTriggerRequest'{..}- = object- (catMaybes- [("updateMask" .=) <$> _gpdvujtrUpdateMask,- ("jobTrigger" .=) <$> _gpdvujtrJobTrigger])---- | Generic half-open interval [start, end)------ /See:/ 'googlePrivacyDlpV2Range' smart constructor.-data GooglePrivacyDlpV2Range =- GooglePrivacyDlpV2Range'- { _gpdvrStart :: !(Maybe (Textual Int64))- , _gpdvrEnd :: !(Maybe (Textual Int64))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Range' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvrStart'------ * 'gpdvrEnd'-googlePrivacyDlpV2Range- :: GooglePrivacyDlpV2Range-googlePrivacyDlpV2Range =- GooglePrivacyDlpV2Range' {_gpdvrStart = Nothing, _gpdvrEnd = Nothing}----- | Index of the first character of the range (inclusive).-gpdvrStart :: Lens' GooglePrivacyDlpV2Range (Maybe Int64)-gpdvrStart- = lens _gpdvrStart (\ s a -> s{_gpdvrStart = a}) .- mapping _Coerce---- | Index of the last character of the range (exclusive).-gpdvrEnd :: Lens' GooglePrivacyDlpV2Range (Maybe Int64)-gpdvrEnd- = lens _gpdvrEnd (\ s a -> s{_gpdvrEnd = a}) .- mapping _Coerce--instance FromJSON GooglePrivacyDlpV2Range where- parseJSON- = withObject "GooglePrivacyDlpV2Range"- (\ o ->- GooglePrivacyDlpV2Range' <$>- (o .:? "start") <*> (o .:? "end"))--instance ToJSON GooglePrivacyDlpV2Range where- toJSON GooglePrivacyDlpV2Range'{..}- = object- (catMaybes- [("start" .=) <$> _gpdvrStart,- ("end" .=) <$> _gpdvrEnd])---- | The \`Status\` type defines a logical error model that is suitable for--- different programming environments, including REST APIs and RPC APIs. It--- is used by [gRPC](https:\/\/github.com\/grpc). The error model is--- designed to be: - Simple to use and understand for most users - Flexible--- enough to meet unexpected needs # Overview The \`Status\` message--- contains three pieces of data: error code, error message, and error--- details. The error code should be an enum value of google.rpc.Code, but--- it may accept additional error codes if needed. The error message should--- be a developer-facing English message that helps developers *understand*--- and *resolve* the error. If a localized user-facing error message is--- needed, put the localized message in the error details or localize it in--- the client. The optional error details may contain arbitrary information--- about the error. There is a predefined set of error detail types in the--- package \`google.rpc\` that can be used for common error conditions. #--- Language mapping The \`Status\` message is the logical representation of--- the error model, but it is not necessarily the actual wire format. When--- the \`Status\` message is exposed in different client libraries and--- different wire protocols, it can be mapped differently. For example, it--- will likely be mapped to some exceptions in Java, but more likely mapped--- to some error codes in C. # Other uses The error model and the--- \`Status\` message can be used in a variety of environments, either with--- or without APIs, to provide a consistent developer experience across--- different environments. Example uses of this error model include: ---- Partial errors. If a service needs to return partial errors to the--- client, it may embed the \`Status\` in the normal response to indicate--- the partial errors. - Workflow errors. A typical workflow has multiple--- steps. Each step may have a \`Status\` message for error reporting. ---- Batch operations. If a client uses batch request and batch response, the--- \`Status\` message should be used directly inside batch response, one--- for each error sub-response. - Asynchronous operations. If an API call--- embeds asynchronous operation results in its response, the status of--- those operations should be represented directly using the \`Status\`--- message. - Logging. If some API errors are stored in logs, the message--- \`Status\` could be used directly after any stripping needed for--- security\/privacy reasons.------ /See:/ 'googleRpcStatus' smart constructor.-data GoogleRpcStatus =- GoogleRpcStatus'- { _grsDetails :: !(Maybe [GoogleRpcStatusDetailsItem])- , _grsCode :: !(Maybe (Textual Int32))- , _grsMessage :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GoogleRpcStatus' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'grsDetails'------ * 'grsCode'------ * 'grsMessage'-googleRpcStatus- :: GoogleRpcStatus-googleRpcStatus =- GoogleRpcStatus'- {_grsDetails = Nothing, _grsCode = Nothing, _grsMessage = Nothing}----- | A list of messages that carry the error details. There is a common set--- of message types for APIs to use.-grsDetails :: Lens' GoogleRpcStatus [GoogleRpcStatusDetailsItem]-grsDetails- = lens _grsDetails (\ s a -> s{_grsDetails = a}) .- _Default- . _Coerce---- | The status code, which should be an enum value of google.rpc.Code.-grsCode :: Lens' GoogleRpcStatus (Maybe Int32)-grsCode- = lens _grsCode (\ s a -> s{_grsCode = a}) .- mapping _Coerce---- | A developer-facing error message, which should be in English. Any--- user-facing error message should be localized and sent in the--- google.rpc.Status.details field, or localized by the client.-grsMessage :: Lens' GoogleRpcStatus (Maybe Text)-grsMessage- = lens _grsMessage (\ s a -> s{_grsMessage = a})--instance FromJSON GoogleRpcStatus where- parseJSON- = withObject "GoogleRpcStatus"- (\ o ->- GoogleRpcStatus' <$>- (o .:? "details" .!= mempty) <*> (o .:? "code") <*>- (o .:? "message"))--instance ToJSON GoogleRpcStatus where- toJSON GoogleRpcStatus'{..}- = object- (catMaybes- [("details" .=) <$> _grsDetails,- ("code" .=) <$> _grsCode,- ("message" .=) <$> _grsMessage])---- | Buckets values based on fixed size ranges. The Bucketing transformation--- can provide all of this functionality, but requires more configuration.--- This message is provided as a convenience to the user for simple--- bucketing strategies. The transformed value will be a hyphenated string--- of -, i.e if lower_bound = 10 and upper_bound = 20 all values that are--- within this bucket will be replaced with \"10-20\". This can be used on--- data of type: double, long. If the bound Value type differs from the--- type of data being transformed, we will first attempt converting the--- type of the data to be transformed to match the type of the bound before--- comparing. See https:\/\/cloud.google.com\/dlp\/docs\/concepts-bucketing--- to learn more.------ /See:/ 'googlePrivacyDlpV2FixedSizeBucketingConfig' smart constructor.-data GooglePrivacyDlpV2FixedSizeBucketingConfig =- GooglePrivacyDlpV2FixedSizeBucketingConfig'- { _gpdvfsbcUpperBound :: !(Maybe GooglePrivacyDlpV2Value)- , _gpdvfsbcLowerBound :: !(Maybe GooglePrivacyDlpV2Value)- , _gpdvfsbcBucketSize :: !(Maybe (Textual Double))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2FixedSizeBucketingConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvfsbcUpperBound'------ * 'gpdvfsbcLowerBound'------ * 'gpdvfsbcBucketSize'-googlePrivacyDlpV2FixedSizeBucketingConfig- :: GooglePrivacyDlpV2FixedSizeBucketingConfig-googlePrivacyDlpV2FixedSizeBucketingConfig =- GooglePrivacyDlpV2FixedSizeBucketingConfig'- { _gpdvfsbcUpperBound = Nothing- , _gpdvfsbcLowerBound = Nothing- , _gpdvfsbcBucketSize = Nothing- }----- | Upper bound value of buckets. All values greater than upper_bound are--- grouped together into a single bucket; for example if \`upper_bound\` =--- 89, then all values greater than 89 are replaced with the value “89+”.--- [Required].-gpdvfsbcUpperBound :: Lens' GooglePrivacyDlpV2FixedSizeBucketingConfig (Maybe GooglePrivacyDlpV2Value)-gpdvfsbcUpperBound- = lens _gpdvfsbcUpperBound- (\ s a -> s{_gpdvfsbcUpperBound = a})---- | Lower bound value of buckets. All values less than \`lower_bound\` are--- grouped together into a single bucket; for example if \`lower_bound\` =--- 10, then all values less than 10 are replaced with the value “-10”.--- [Required].-gpdvfsbcLowerBound :: Lens' GooglePrivacyDlpV2FixedSizeBucketingConfig (Maybe GooglePrivacyDlpV2Value)-gpdvfsbcLowerBound- = lens _gpdvfsbcLowerBound- (\ s a -> s{_gpdvfsbcLowerBound = a})---- | Size of each bucket (except for minimum and maximum buckets). So if--- \`lower_bound\` = 10, \`upper_bound\` = 89, and \`bucket_size\` = 10,--- then the following buckets would be used: -10, 10-20, 20-30, 30-40,--- 40-50, 50-60, 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals--- works. [Required].-gpdvfsbcBucketSize :: Lens' GooglePrivacyDlpV2FixedSizeBucketingConfig (Maybe Double)-gpdvfsbcBucketSize- = lens _gpdvfsbcBucketSize- (\ s a -> s{_gpdvfsbcBucketSize = a})- . mapping _Coerce--instance FromJSON- GooglePrivacyDlpV2FixedSizeBucketingConfig- where- parseJSON- = withObject- "GooglePrivacyDlpV2FixedSizeBucketingConfig"- (\ o ->- GooglePrivacyDlpV2FixedSizeBucketingConfig' <$>- (o .:? "upperBound") <*> (o .:? "lowerBound") <*>- (o .:? "bucketSize"))--instance ToJSON- GooglePrivacyDlpV2FixedSizeBucketingConfig- where- toJSON- GooglePrivacyDlpV2FixedSizeBucketingConfig'{..}- = object- (catMaybes- [("upperBound" .=) <$> _gpdvfsbcUpperBound,- ("lowerBound" .=) <$> _gpdvfsbcLowerBound,- ("bucketSize" .=) <$> _gpdvfsbcBucketSize])---- | All the findings for a single scanned item.------ /See:/ 'googlePrivacyDlpV2InspectResult' smart constructor.-data GooglePrivacyDlpV2InspectResult =- GooglePrivacyDlpV2InspectResult'- { _gpdvirFindingsTruncated :: !(Maybe Bool)- , _gpdvirFindings :: !(Maybe [GooglePrivacyDlpV2Finding])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2InspectResult' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvirFindingsTruncated'------ * 'gpdvirFindings'-googlePrivacyDlpV2InspectResult- :: GooglePrivacyDlpV2InspectResult-googlePrivacyDlpV2InspectResult =- GooglePrivacyDlpV2InspectResult'- {_gpdvirFindingsTruncated = Nothing, _gpdvirFindings = Nothing}----- | If true, then this item might have more findings than were returned, and--- the findings returned are an arbitrary subset of all findings. The--- findings list might be truncated because the input items were too large,--- or because the server reached the maximum amount of resources allowed--- for a single API call. For best results, divide the input into smaller--- batches.-gpdvirFindingsTruncated :: Lens' GooglePrivacyDlpV2InspectResult (Maybe Bool)-gpdvirFindingsTruncated- = lens _gpdvirFindingsTruncated- (\ s a -> s{_gpdvirFindingsTruncated = a})---- | List of findings for an item.-gpdvirFindings :: Lens' GooglePrivacyDlpV2InspectResult [GooglePrivacyDlpV2Finding]-gpdvirFindings- = lens _gpdvirFindings- (\ s a -> s{_gpdvirFindings = a})- . _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2InspectResult- where- parseJSON- = withObject "GooglePrivacyDlpV2InspectResult"- (\ o ->- GooglePrivacyDlpV2InspectResult' <$>- (o .:? "findingsTruncated") <*>- (o .:? "findings" .!= mempty))--instance ToJSON GooglePrivacyDlpV2InspectResult where- toJSON GooglePrivacyDlpV2InspectResult'{..}- = object- (catMaybes- [("findingsTruncated" .=) <$>- _gpdvirFindingsTruncated,- ("findings" .=) <$> _gpdvirFindings])---- | Configuration for a StoredInfoType.------ /See:/ 'googlePrivacyDlpV2StoredInfoTypeConfig' smart constructor.-data GooglePrivacyDlpV2StoredInfoTypeConfig =- GooglePrivacyDlpV2StoredInfoTypeConfig'- { _gpdvsitcLargeCustomDictionary :: !(Maybe GooglePrivacyDlpV2LargeCustomDictionaryConfig)- , _gpdvsitcDisplayName :: !(Maybe Text)- , _gpdvsitcDescription :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2StoredInfoTypeConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvsitcLargeCustomDictionary'------ * 'gpdvsitcDisplayName'------ * 'gpdvsitcDescription'-googlePrivacyDlpV2StoredInfoTypeConfig- :: GooglePrivacyDlpV2StoredInfoTypeConfig-googlePrivacyDlpV2StoredInfoTypeConfig =- GooglePrivacyDlpV2StoredInfoTypeConfig'- { _gpdvsitcLargeCustomDictionary = Nothing- , _gpdvsitcDisplayName = Nothing- , _gpdvsitcDescription = Nothing- }----- | StoredInfoType where findings are defined by a dictionary of phrases.-gpdvsitcLargeCustomDictionary :: Lens' GooglePrivacyDlpV2StoredInfoTypeConfig (Maybe GooglePrivacyDlpV2LargeCustomDictionaryConfig)-gpdvsitcLargeCustomDictionary- = lens _gpdvsitcLargeCustomDictionary- (\ s a -> s{_gpdvsitcLargeCustomDictionary = a})---- | Display name of the StoredInfoType (max 256 characters).-gpdvsitcDisplayName :: Lens' GooglePrivacyDlpV2StoredInfoTypeConfig (Maybe Text)-gpdvsitcDisplayName- = lens _gpdvsitcDisplayName- (\ s a -> s{_gpdvsitcDisplayName = a})---- | Description of the StoredInfoType (max 256 characters).-gpdvsitcDescription :: Lens' GooglePrivacyDlpV2StoredInfoTypeConfig (Maybe Text)-gpdvsitcDescription- = lens _gpdvsitcDescription- (\ s a -> s{_gpdvsitcDescription = a})--instance FromJSON- GooglePrivacyDlpV2StoredInfoTypeConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2StoredInfoTypeConfig"- (\ o ->- GooglePrivacyDlpV2StoredInfoTypeConfig' <$>- (o .:? "largeCustomDictionary") <*>- (o .:? "displayName")- <*> (o .:? "description"))--instance ToJSON- GooglePrivacyDlpV2StoredInfoTypeConfig- where- toJSON GooglePrivacyDlpV2StoredInfoTypeConfig'{..}- = object- (catMaybes- [("largeCustomDictionary" .=) <$>- _gpdvsitcLargeCustomDictionary,- ("displayName" .=) <$> _gpdvsitcDisplayName,- ("description" .=) <$> _gpdvsitcDescription])---- | A transformation to apply to text that is identified as a specific--- info_type.------ /See:/ 'googlePrivacyDlpV2InfoTypeTransformation' smart constructor.-data GooglePrivacyDlpV2InfoTypeTransformation =- GooglePrivacyDlpV2InfoTypeTransformation'- { _gpdvittInfoTypes :: !(Maybe [GooglePrivacyDlpV2InfoType])- , _gpdvittPrimitiveTransformation :: !(Maybe GooglePrivacyDlpV2PrimitiveTransformation)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2InfoTypeTransformation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvittInfoTypes'------ * 'gpdvittPrimitiveTransformation'-googlePrivacyDlpV2InfoTypeTransformation- :: GooglePrivacyDlpV2InfoTypeTransformation-googlePrivacyDlpV2InfoTypeTransformation =- GooglePrivacyDlpV2InfoTypeTransformation'- {_gpdvittInfoTypes = Nothing, _gpdvittPrimitiveTransformation = Nothing}----- | InfoTypes to apply the transformation to. An empty list will cause this--- transformation to apply to all findings that correspond to infoTypes--- that were requested in \`InspectConfig\`.-gpdvittInfoTypes :: Lens' GooglePrivacyDlpV2InfoTypeTransformation [GooglePrivacyDlpV2InfoType]-gpdvittInfoTypes- = lens _gpdvittInfoTypes- (\ s a -> s{_gpdvittInfoTypes = a})- . _Default- . _Coerce---- | Primitive transformation to apply to the infoType. [required]-gpdvittPrimitiveTransformation :: Lens' GooglePrivacyDlpV2InfoTypeTransformation (Maybe GooglePrivacyDlpV2PrimitiveTransformation)-gpdvittPrimitiveTransformation- = lens _gpdvittPrimitiveTransformation- (\ s a -> s{_gpdvittPrimitiveTransformation = a})--instance FromJSON- GooglePrivacyDlpV2InfoTypeTransformation- where- parseJSON- = withObject- "GooglePrivacyDlpV2InfoTypeTransformation"- (\ o ->- GooglePrivacyDlpV2InfoTypeTransformation' <$>- (o .:? "infoTypes" .!= mempty) <*>- (o .:? "primitiveTransformation"))--instance ToJSON- GooglePrivacyDlpV2InfoTypeTransformation- where- toJSON GooglePrivacyDlpV2InfoTypeTransformation'{..}- = object- (catMaybes- [("infoTypes" .=) <$> _gpdvittInfoTypes,- ("primitiveTransformation" .=) <$>- _gpdvittPrimitiveTransformation])---- | General identifier of a data field in a storage service.------ /See:/ 'googlePrivacyDlpV2FieldId' smart constructor.-newtype GooglePrivacyDlpV2FieldId =- GooglePrivacyDlpV2FieldId'- { _gpdvfiName :: Maybe Text- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2FieldId' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvfiName'-googlePrivacyDlpV2FieldId- :: GooglePrivacyDlpV2FieldId-googlePrivacyDlpV2FieldId = GooglePrivacyDlpV2FieldId' {_gpdvfiName = Nothing}----- | Name describing the field.-gpdvfiName :: Lens' GooglePrivacyDlpV2FieldId (Maybe Text)-gpdvfiName- = lens _gpdvfiName (\ s a -> s{_gpdvfiName = a})--instance FromJSON GooglePrivacyDlpV2FieldId where- parseJSON- = withObject "GooglePrivacyDlpV2FieldId"- (\ o ->- GooglePrivacyDlpV2FieldId' <$> (o .:? "name"))--instance ToJSON GooglePrivacyDlpV2FieldId where- toJSON GooglePrivacyDlpV2FieldId'{..}- = object (catMaybes [("name" .=) <$> _gpdvfiName])---- | Combines all of the information about a DLP job.------ /See:/ 'googlePrivacyDlpV2DlpJob' smart constructor.-data GooglePrivacyDlpV2DlpJob =- GooglePrivacyDlpV2DlpJob'- { _gpdvdjInspectDetails :: !(Maybe GooglePrivacyDlpV2InspectDataSourceDetails)- , _gpdvdjState :: !(Maybe GooglePrivacyDlpV2DlpJobState)- , _gpdvdjStartTime :: !(Maybe DateTime')- , _gpdvdjJobTriggerName :: !(Maybe Text)- , _gpdvdjRiskDetails :: !(Maybe GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails)- , _gpdvdjName :: !(Maybe Text)- , _gpdvdjEndTime :: !(Maybe DateTime')- , _gpdvdjType :: !(Maybe GooglePrivacyDlpV2DlpJobType)- , _gpdvdjErrors :: !(Maybe [GooglePrivacyDlpV2Error])- , _gpdvdjCreateTime :: !(Maybe DateTime')- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2DlpJob' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvdjInspectDetails'------ * 'gpdvdjState'------ * 'gpdvdjStartTime'------ * 'gpdvdjJobTriggerName'------ * 'gpdvdjRiskDetails'------ * 'gpdvdjName'------ * 'gpdvdjEndTime'------ * 'gpdvdjType'------ * 'gpdvdjErrors'------ * 'gpdvdjCreateTime'-googlePrivacyDlpV2DlpJob- :: GooglePrivacyDlpV2DlpJob-googlePrivacyDlpV2DlpJob =- GooglePrivacyDlpV2DlpJob'- { _gpdvdjInspectDetails = Nothing- , _gpdvdjState = Nothing- , _gpdvdjStartTime = Nothing- , _gpdvdjJobTriggerName = Nothing- , _gpdvdjRiskDetails = Nothing- , _gpdvdjName = Nothing- , _gpdvdjEndTime = Nothing- , _gpdvdjType = Nothing- , _gpdvdjErrors = Nothing- , _gpdvdjCreateTime = Nothing- }----- | Results from inspecting a data source.-gpdvdjInspectDetails :: Lens' GooglePrivacyDlpV2DlpJob (Maybe GooglePrivacyDlpV2InspectDataSourceDetails)-gpdvdjInspectDetails- = lens _gpdvdjInspectDetails- (\ s a -> s{_gpdvdjInspectDetails = a})---- | State of a job.-gpdvdjState :: Lens' GooglePrivacyDlpV2DlpJob (Maybe GooglePrivacyDlpV2DlpJobState)-gpdvdjState- = lens _gpdvdjState (\ s a -> s{_gpdvdjState = a})---- | Time when the job started.-gpdvdjStartTime :: Lens' GooglePrivacyDlpV2DlpJob (Maybe UTCTime)-gpdvdjStartTime- = lens _gpdvdjStartTime- (\ s a -> s{_gpdvdjStartTime = a})- . mapping _DateTime---- | If created by a job trigger, the resource name of the trigger that--- instantiated the job.-gpdvdjJobTriggerName :: Lens' GooglePrivacyDlpV2DlpJob (Maybe Text)-gpdvdjJobTriggerName- = lens _gpdvdjJobTriggerName- (\ s a -> s{_gpdvdjJobTriggerName = a})---- | Results from analyzing risk of a data source.-gpdvdjRiskDetails :: Lens' GooglePrivacyDlpV2DlpJob (Maybe GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails)-gpdvdjRiskDetails- = lens _gpdvdjRiskDetails- (\ s a -> s{_gpdvdjRiskDetails = a})---- | The server-assigned name.-gpdvdjName :: Lens' GooglePrivacyDlpV2DlpJob (Maybe Text)-gpdvdjName- = lens _gpdvdjName (\ s a -> s{_gpdvdjName = a})---- | Time when the job finished.-gpdvdjEndTime :: Lens' GooglePrivacyDlpV2DlpJob (Maybe UTCTime)-gpdvdjEndTime- = lens _gpdvdjEndTime- (\ s a -> s{_gpdvdjEndTime = a})- . mapping _DateTime---- | The type of job.-gpdvdjType :: Lens' GooglePrivacyDlpV2DlpJob (Maybe GooglePrivacyDlpV2DlpJobType)-gpdvdjType- = lens _gpdvdjType (\ s a -> s{_gpdvdjType = a})---- | A stream of errors encountered running the job.-gpdvdjErrors :: Lens' GooglePrivacyDlpV2DlpJob [GooglePrivacyDlpV2Error]-gpdvdjErrors- = lens _gpdvdjErrors (\ s a -> s{_gpdvdjErrors = a})- . _Default- . _Coerce---- | Time when the job was created.-gpdvdjCreateTime :: Lens' GooglePrivacyDlpV2DlpJob (Maybe UTCTime)-gpdvdjCreateTime- = lens _gpdvdjCreateTime- (\ s a -> s{_gpdvdjCreateTime = a})- . mapping _DateTime--instance FromJSON GooglePrivacyDlpV2DlpJob where- parseJSON- = withObject "GooglePrivacyDlpV2DlpJob"- (\ o ->- GooglePrivacyDlpV2DlpJob' <$>- (o .:? "inspectDetails") <*> (o .:? "state") <*>- (o .:? "startTime")- <*> (o .:? "jobTriggerName")- <*> (o .:? "riskDetails")- <*> (o .:? "name")- <*> (o .:? "endTime")- <*> (o .:? "type")- <*> (o .:? "errors" .!= mempty)- <*> (o .:? "createTime"))--instance ToJSON GooglePrivacyDlpV2DlpJob where- toJSON GooglePrivacyDlpV2DlpJob'{..}- = object- (catMaybes- [("inspectDetails" .=) <$> _gpdvdjInspectDetails,- ("state" .=) <$> _gpdvdjState,- ("startTime" .=) <$> _gpdvdjStartTime,- ("jobTriggerName" .=) <$> _gpdvdjJobTriggerName,- ("riskDetails" .=) <$> _gpdvdjRiskDetails,- ("name" .=) <$> _gpdvdjName,- ("endTime" .=) <$> _gpdvdjEndTime,- ("type" .=) <$> _gpdvdjType,- ("errors" .=) <$> _gpdvdjErrors,- ("createTime" .=) <$> _gpdvdjCreateTime])---- | A type of transformation that is applied over structured data such as a--- table.------ /See:/ 'googlePrivacyDlpV2RecordTransformations' smart constructor.-data GooglePrivacyDlpV2RecordTransformations =- GooglePrivacyDlpV2RecordTransformations'- { _gpdvrtRecordSuppressions :: !(Maybe [GooglePrivacyDlpV2RecordSuppression])- , _gpdvrtFieldTransformations :: !(Maybe [GooglePrivacyDlpV2FieldTransformation])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2RecordTransformations' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvrtRecordSuppressions'------ * 'gpdvrtFieldTransformations'-googlePrivacyDlpV2RecordTransformations- :: GooglePrivacyDlpV2RecordTransformations-googlePrivacyDlpV2RecordTransformations =- GooglePrivacyDlpV2RecordTransformations'- {_gpdvrtRecordSuppressions = Nothing, _gpdvrtFieldTransformations = Nothing}----- | Configuration defining which records get suppressed entirely. Records--- that match any suppression rule are omitted from the output [optional].-gpdvrtRecordSuppressions :: Lens' GooglePrivacyDlpV2RecordTransformations [GooglePrivacyDlpV2RecordSuppression]-gpdvrtRecordSuppressions- = lens _gpdvrtRecordSuppressions- (\ s a -> s{_gpdvrtRecordSuppressions = a})- . _Default- . _Coerce---- | Transform the record by applying various field transformations.-gpdvrtFieldTransformations :: Lens' GooglePrivacyDlpV2RecordTransformations [GooglePrivacyDlpV2FieldTransformation]-gpdvrtFieldTransformations- = lens _gpdvrtFieldTransformations- (\ s a -> s{_gpdvrtFieldTransformations = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2RecordTransformations- where- parseJSON- = withObject- "GooglePrivacyDlpV2RecordTransformations"- (\ o ->- GooglePrivacyDlpV2RecordTransformations' <$>- (o .:? "recordSuppressions" .!= mempty) <*>- (o .:? "fieldTransformations" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2RecordTransformations- where- toJSON GooglePrivacyDlpV2RecordTransformations'{..}- = object- (catMaybes- [("recordSuppressions" .=) <$>- _gpdvrtRecordSuppressions,- ("fieldTransformations" .=) <$>- _gpdvrtFieldTransformations])---- | A unique identifier for a Datastore entity. If a key\'s partition ID or--- any of its path kinds or names are reserved\/read-only, the key is--- reserved\/read-only. A reserved\/read-only key is forbidden in certain--- documented contexts.------ /See:/ 'googlePrivacyDlpV2Key' smart constructor.-data GooglePrivacyDlpV2Key =- GooglePrivacyDlpV2Key'- { _gpdvkPartitionId :: !(Maybe GooglePrivacyDlpV2PartitionId)- , _gpdvkPath :: !(Maybe [GooglePrivacyDlpV2PathElement])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Key' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvkPartitionId'------ * 'gpdvkPath'-googlePrivacyDlpV2Key- :: GooglePrivacyDlpV2Key-googlePrivacyDlpV2Key =- GooglePrivacyDlpV2Key' {_gpdvkPartitionId = Nothing, _gpdvkPath = Nothing}----- | Entities are partitioned into subsets, currently identified by a project--- ID and namespace ID. Queries are scoped to a single partition.-gpdvkPartitionId :: Lens' GooglePrivacyDlpV2Key (Maybe GooglePrivacyDlpV2PartitionId)-gpdvkPartitionId- = lens _gpdvkPartitionId- (\ s a -> s{_gpdvkPartitionId = a})---- | The entity path. An entity path consists of one or more elements--- composed of a kind and a string or numerical identifier, which identify--- entities. The first element identifies a _root entity_, the second--- element identifies a _child_ of the root entity, the third element--- identifies a child of the second entity, and so forth. The entities--- identified by all prefixes of the path are called the element\'s--- _ancestors_. A path can never be empty, and a path can have at most 100--- elements.-gpdvkPath :: Lens' GooglePrivacyDlpV2Key [GooglePrivacyDlpV2PathElement]-gpdvkPath- = lens _gpdvkPath (\ s a -> s{_gpdvkPath = a}) .- _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2Key where- parseJSON- = withObject "GooglePrivacyDlpV2Key"- (\ o ->- GooglePrivacyDlpV2Key' <$>- (o .:? "partitionId") <*> (o .:? "path" .!= mempty))--instance ToJSON GooglePrivacyDlpV2Key where- toJSON GooglePrivacyDlpV2Key'{..}- = object- (catMaybes- [("partitionId" .=) <$> _gpdvkPartitionId,- ("path" .=) <$> _gpdvkPath])---- | Generalization function that buckets values based on ranges. The ranges--- and replacement values are dynamically provided by the user for custom--- behavior, such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be--- used on data of type: number, long, string, timestamp. If the bound--- \`Value\` type differs from the type of data being transformed, we will--- first attempt converting the type of the data to be transformed to match--- the type of the bound before comparing. See--- https:\/\/cloud.google.com\/dlp\/docs\/concepts-bucketing to learn more.------ /See:/ 'googlePrivacyDlpV2BucketingConfig' smart constructor.-newtype GooglePrivacyDlpV2BucketingConfig =- GooglePrivacyDlpV2BucketingConfig'- { _gpdvbcBuckets :: Maybe [GooglePrivacyDlpV2Bucket]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2BucketingConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvbcBuckets'-googlePrivacyDlpV2BucketingConfig- :: GooglePrivacyDlpV2BucketingConfig-googlePrivacyDlpV2BucketingConfig =- GooglePrivacyDlpV2BucketingConfig' {_gpdvbcBuckets = Nothing}----- | Set of buckets. Ranges must be non-overlapping.-gpdvbcBuckets :: Lens' GooglePrivacyDlpV2BucketingConfig [GooglePrivacyDlpV2Bucket]-gpdvbcBuckets- = lens _gpdvbcBuckets- (\ s a -> s{_gpdvbcBuckets = a})- . _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2BucketingConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2BucketingConfig"- (\ o ->- GooglePrivacyDlpV2BucketingConfig' <$>- (o .:? "buckets" .!= mempty))--instance ToJSON GooglePrivacyDlpV2BucketingConfig- where- toJSON GooglePrivacyDlpV2BucketingConfig'{..}- = object- (catMaybes [("buckets" .=) <$> _gpdvbcBuckets])---- | Configuration description of the scanning process. When used with--- redactContent only info_types and min_likelihood are currently used.------ /See:/ 'googlePrivacyDlpV2InspectConfig' smart constructor.-data GooglePrivacyDlpV2InspectConfig =- GooglePrivacyDlpV2InspectConfig'- { _gpdvicInfoTypes :: !(Maybe [GooglePrivacyDlpV2InfoType])- , _gpdvicMinLikelihood :: !(Maybe GooglePrivacyDlpV2InspectConfigMinLikelihood)- , _gpdvicExcludeInfoTypes :: !(Maybe Bool)- , _gpdvicIncludeQuote :: !(Maybe Bool)- , _gpdvicCustomInfoTypes :: !(Maybe [GooglePrivacyDlpV2CustomInfoType])- , _gpdvicLimits :: !(Maybe GooglePrivacyDlpV2FindingLimits)- , _gpdvicContentOptions :: !(Maybe [Text])- , _gpdvicRuleSet :: !(Maybe [GooglePrivacyDlpV2InspectionRuleSet])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2InspectConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvicInfoTypes'------ * 'gpdvicMinLikelihood'------ * 'gpdvicExcludeInfoTypes'------ * 'gpdvicIncludeQuote'------ * 'gpdvicCustomInfoTypes'------ * 'gpdvicLimits'------ * 'gpdvicContentOptions'------ * 'gpdvicRuleSet'-googlePrivacyDlpV2InspectConfig- :: GooglePrivacyDlpV2InspectConfig-googlePrivacyDlpV2InspectConfig =- GooglePrivacyDlpV2InspectConfig'- { _gpdvicInfoTypes = Nothing- , _gpdvicMinLikelihood = Nothing- , _gpdvicExcludeInfoTypes = Nothing- , _gpdvicIncludeQuote = Nothing- , _gpdvicCustomInfoTypes = Nothing- , _gpdvicLimits = Nothing- , _gpdvicContentOptions = Nothing- , _gpdvicRuleSet = Nothing- }----- | Restricts what info_types to look for. The values must correspond to--- InfoType values returned by ListInfoTypes or listed at--- https:\/\/cloud.google.com\/dlp\/docs\/infotypes-reference. When no--- InfoTypes or CustomInfoTypes are specified in a request, the system may--- automatically choose what detectors to run. By default this may be all--- types, but may change over time as detectors are updated. The special--- InfoType name \"ALL_BASIC\" can be used to trigger all detectors, but--- may change over time as new InfoTypes are added. If you need precise--- control and predictability as to what detectors are run you should--- specify specific InfoTypes listed in the reference.-gpdvicInfoTypes :: Lens' GooglePrivacyDlpV2InspectConfig [GooglePrivacyDlpV2InfoType]-gpdvicInfoTypes- = lens _gpdvicInfoTypes- (\ s a -> s{_gpdvicInfoTypes = a})- . _Default- . _Coerce---- | Only returns findings equal or above this threshold. The default is--- POSSIBLE. See https:\/\/cloud.google.com\/dlp\/docs\/likelihood to learn--- more.-gpdvicMinLikelihood :: Lens' GooglePrivacyDlpV2InspectConfig (Maybe GooglePrivacyDlpV2InspectConfigMinLikelihood)-gpdvicMinLikelihood- = lens _gpdvicMinLikelihood- (\ s a -> s{_gpdvicMinLikelihood = a})---- | When true, excludes type information of the findings.-gpdvicExcludeInfoTypes :: Lens' GooglePrivacyDlpV2InspectConfig (Maybe Bool)-gpdvicExcludeInfoTypes- = lens _gpdvicExcludeInfoTypes- (\ s a -> s{_gpdvicExcludeInfoTypes = a})---- | When true, a contextual quote from the data that triggered a finding is--- included in the response; see Finding.quote.-gpdvicIncludeQuote :: Lens' GooglePrivacyDlpV2InspectConfig (Maybe Bool)-gpdvicIncludeQuote- = lens _gpdvicIncludeQuote- (\ s a -> s{_gpdvicIncludeQuote = a})---- | CustomInfoTypes provided by the user. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-custom-infotypes to--- learn more.-gpdvicCustomInfoTypes :: Lens' GooglePrivacyDlpV2InspectConfig [GooglePrivacyDlpV2CustomInfoType]-gpdvicCustomInfoTypes- = lens _gpdvicCustomInfoTypes- (\ s a -> s{_gpdvicCustomInfoTypes = a})- . _Default- . _Coerce--gpdvicLimits :: Lens' GooglePrivacyDlpV2InspectConfig (Maybe GooglePrivacyDlpV2FindingLimits)-gpdvicLimits- = lens _gpdvicLimits (\ s a -> s{_gpdvicLimits = a})---- | List of options defining data content to scan. If empty, text, images,--- and other content will be included.-gpdvicContentOptions :: Lens' GooglePrivacyDlpV2InspectConfig [Text]-gpdvicContentOptions- = lens _gpdvicContentOptions- (\ s a -> s{_gpdvicContentOptions = a})- . _Default- . _Coerce---- | Set of rules to apply to the findings for this InspectConfig. Exclusion--- rules, contained in the set are executed in the end, other rules are--- executed in the order they are specified for each info type.-gpdvicRuleSet :: Lens' GooglePrivacyDlpV2InspectConfig [GooglePrivacyDlpV2InspectionRuleSet]-gpdvicRuleSet- = lens _gpdvicRuleSet- (\ s a -> s{_gpdvicRuleSet = a})- . _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2InspectConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2InspectConfig"- (\ o ->- GooglePrivacyDlpV2InspectConfig' <$>- (o .:? "infoTypes" .!= mempty) <*>- (o .:? "minLikelihood")- <*> (o .:? "excludeInfoTypes")- <*> (o .:? "includeQuote")- <*> (o .:? "customInfoTypes" .!= mempty)- <*> (o .:? "limits")- <*> (o .:? "contentOptions" .!= mempty)- <*> (o .:? "ruleSet" .!= mempty))--instance ToJSON GooglePrivacyDlpV2InspectConfig where- toJSON GooglePrivacyDlpV2InspectConfig'{..}- = object- (catMaybes- [("infoTypes" .=) <$> _gpdvicInfoTypes,- ("minLikelihood" .=) <$> _gpdvicMinLikelihood,- ("excludeInfoTypes" .=) <$> _gpdvicExcludeInfoTypes,- ("includeQuote" .=) <$> _gpdvicIncludeQuote,- ("customInfoTypes" .=) <$> _gpdvicCustomInfoTypes,- ("limits" .=) <$> _gpdvicLimits,- ("contentOptions" .=) <$> _gpdvicContentOptions,- ("ruleSet" .=) <$> _gpdvicRuleSet])---- | Configuration for a risk analysis job. See--- https:\/\/cloud.google.com\/dlp\/docs\/concepts-risk-analysis to learn--- more.------ /See:/ 'googlePrivacyDlpV2RiskAnalysisJobConfig' smart constructor.-data GooglePrivacyDlpV2RiskAnalysisJobConfig =- GooglePrivacyDlpV2RiskAnalysisJobConfig'- { _gpdvrajcPrivacyMetric :: !(Maybe GooglePrivacyDlpV2PrivacyMetric)- , _gpdvrajcActions :: !(Maybe [GooglePrivacyDlpV2Action])- , _gpdvrajcSourceTable :: !(Maybe GooglePrivacyDlpV2BigQueryTable)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2RiskAnalysisJobConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvrajcPrivacyMetric'------ * 'gpdvrajcActions'------ * 'gpdvrajcSourceTable'-googlePrivacyDlpV2RiskAnalysisJobConfig- :: GooglePrivacyDlpV2RiskAnalysisJobConfig-googlePrivacyDlpV2RiskAnalysisJobConfig =- GooglePrivacyDlpV2RiskAnalysisJobConfig'- { _gpdvrajcPrivacyMetric = Nothing- , _gpdvrajcActions = Nothing- , _gpdvrajcSourceTable = Nothing- }----- | Privacy metric to compute.-gpdvrajcPrivacyMetric :: Lens' GooglePrivacyDlpV2RiskAnalysisJobConfig (Maybe GooglePrivacyDlpV2PrivacyMetric)-gpdvrajcPrivacyMetric- = lens _gpdvrajcPrivacyMetric- (\ s a -> s{_gpdvrajcPrivacyMetric = a})---- | Actions to execute at the completion of the job. Are executed in the--- order provided.-gpdvrajcActions :: Lens' GooglePrivacyDlpV2RiskAnalysisJobConfig [GooglePrivacyDlpV2Action]-gpdvrajcActions- = lens _gpdvrajcActions- (\ s a -> s{_gpdvrajcActions = a})- . _Default- . _Coerce---- | Input dataset to compute metrics over.-gpdvrajcSourceTable :: Lens' GooglePrivacyDlpV2RiskAnalysisJobConfig (Maybe GooglePrivacyDlpV2BigQueryTable)-gpdvrajcSourceTable- = lens _gpdvrajcSourceTable- (\ s a -> s{_gpdvrajcSourceTable = a})--instance FromJSON- GooglePrivacyDlpV2RiskAnalysisJobConfig- where- parseJSON- = withObject- "GooglePrivacyDlpV2RiskAnalysisJobConfig"- (\ o ->- GooglePrivacyDlpV2RiskAnalysisJobConfig' <$>- (o .:? "privacyMetric") <*>- (o .:? "actions" .!= mempty)- <*> (o .:? "sourceTable"))--instance ToJSON- GooglePrivacyDlpV2RiskAnalysisJobConfig- where- toJSON GooglePrivacyDlpV2RiskAnalysisJobConfig'{..}- = object- (catMaybes- [("privacyMetric" .=) <$> _gpdvrajcPrivacyMetric,- ("actions" .=) <$> _gpdvrajcActions,- ("sourceTable" .=) <$> _gpdvrajcSourceTable])---- | Message for infoType-dependent details parsed from quote.------ /See:/ 'googlePrivacyDlpV2QuoteInfo' smart constructor.-newtype GooglePrivacyDlpV2QuoteInfo =- GooglePrivacyDlpV2QuoteInfo'- { _gpdvqiDateTime :: Maybe GooglePrivacyDlpV2DateTime- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2QuoteInfo' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvqiDateTime'-googlePrivacyDlpV2QuoteInfo- :: GooglePrivacyDlpV2QuoteInfo-googlePrivacyDlpV2QuoteInfo =- GooglePrivacyDlpV2QuoteInfo' {_gpdvqiDateTime = Nothing}----- | The date time indicated by the quote.-gpdvqiDateTime :: Lens' GooglePrivacyDlpV2QuoteInfo (Maybe GooglePrivacyDlpV2DateTime)-gpdvqiDateTime- = lens _gpdvqiDateTime- (\ s a -> s{_gpdvqiDateTime = a})--instance FromJSON GooglePrivacyDlpV2QuoteInfo where- parseJSON- = withObject "GooglePrivacyDlpV2QuoteInfo"- (\ o ->- GooglePrivacyDlpV2QuoteInfo' <$> (o .:? "dateTime"))--instance ToJSON GooglePrivacyDlpV2QuoteInfo where- toJSON GooglePrivacyDlpV2QuoteInfo'{..}- = object- (catMaybes [("dateTime" .=) <$> _gpdvqiDateTime])---- | Configuration to suppress records whose suppression conditions evaluate--- to true.------ /See:/ 'googlePrivacyDlpV2RecordSuppression' smart constructor.-newtype GooglePrivacyDlpV2RecordSuppression =- GooglePrivacyDlpV2RecordSuppression'- { _gpdvrsCondition :: Maybe GooglePrivacyDlpV2RecordCondition- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2RecordSuppression' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvrsCondition'-googlePrivacyDlpV2RecordSuppression- :: GooglePrivacyDlpV2RecordSuppression-googlePrivacyDlpV2RecordSuppression =- GooglePrivacyDlpV2RecordSuppression' {_gpdvrsCondition = Nothing}----- | A condition that when it evaluates to true will result in the record--- being evaluated to be suppressed from the transformed content.-gpdvrsCondition :: Lens' GooglePrivacyDlpV2RecordSuppression (Maybe GooglePrivacyDlpV2RecordCondition)-gpdvrsCondition- = lens _gpdvrsCondition- (\ s a -> s{_gpdvrsCondition = a})--instance FromJSON GooglePrivacyDlpV2RecordSuppression- where- parseJSON- = withObject "GooglePrivacyDlpV2RecordSuppression"- (\ o ->- GooglePrivacyDlpV2RecordSuppression' <$>- (o .:? "condition"))--instance ToJSON GooglePrivacyDlpV2RecordSuppression- where- toJSON GooglePrivacyDlpV2RecordSuppression'{..}- = object- (catMaybes [("condition" .=) <$> _gpdvrsCondition])---- | This is a data encryption key (DEK) (as opposed to a key encryption key--- (KEK) stored by KMS). When using KMS to wrap\/unwrap DEKs, be sure to--- set an appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an--- attacker cannot unwrap the data crypto key.------ /See:/ 'googlePrivacyDlpV2CryptoKey' smart constructor.-data GooglePrivacyDlpV2CryptoKey =- GooglePrivacyDlpV2CryptoKey'- { _gpdvckTransient :: !(Maybe GooglePrivacyDlpV2TransientCryptoKey)- , _gpdvckKmsWrApped :: !(Maybe GooglePrivacyDlpV2KmsWrAppedCryptoKey)- , _gpdvckUnwrApped :: !(Maybe GooglePrivacyDlpV2UnwrAppedCryptoKey)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CryptoKey' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvckTransient'------ * 'gpdvckKmsWrApped'------ * 'gpdvckUnwrApped'-googlePrivacyDlpV2CryptoKey- :: GooglePrivacyDlpV2CryptoKey-googlePrivacyDlpV2CryptoKey =- GooglePrivacyDlpV2CryptoKey'- { _gpdvckTransient = Nothing- , _gpdvckKmsWrApped = Nothing- , _gpdvckUnwrApped = Nothing- }---gpdvckTransient :: Lens' GooglePrivacyDlpV2CryptoKey (Maybe GooglePrivacyDlpV2TransientCryptoKey)-gpdvckTransient- = lens _gpdvckTransient- (\ s a -> s{_gpdvckTransient = a})--gpdvckKmsWrApped :: Lens' GooglePrivacyDlpV2CryptoKey (Maybe GooglePrivacyDlpV2KmsWrAppedCryptoKey)-gpdvckKmsWrApped- = lens _gpdvckKmsWrApped- (\ s a -> s{_gpdvckKmsWrApped = a})--gpdvckUnwrApped :: Lens' GooglePrivacyDlpV2CryptoKey (Maybe GooglePrivacyDlpV2UnwrAppedCryptoKey)-gpdvckUnwrApped- = lens _gpdvckUnwrApped- (\ s a -> s{_gpdvckUnwrApped = a})--instance FromJSON GooglePrivacyDlpV2CryptoKey where- parseJSON- = withObject "GooglePrivacyDlpV2CryptoKey"- (\ o ->- GooglePrivacyDlpV2CryptoKey' <$>- (o .:? "transient") <*> (o .:? "kmsWrapped") <*>- (o .:? "unwrapped"))--instance ToJSON GooglePrivacyDlpV2CryptoKey where- toJSON GooglePrivacyDlpV2CryptoKey'{..}- = object- (catMaybes- [("transient" .=) <$> _gpdvckTransient,- ("kmsWrapped" .=) <$> _gpdvckKmsWrApped,- ("unwrapped" .=) <$> _gpdvckUnwrApped])---- | Configuration for a custom dictionary created from a data source of any--- size up to the maximum size defined in the--- [limits](https:\/\/cloud.google.com\/dlp\/limits) page. The artifacts of--- dictionary creation are stored in the specified Google Cloud Storage--- location. Consider using \`CustomInfoType.Dictionary\` for smaller--- dictionaries that satisfy the size requirements.------ /See:/ 'googlePrivacyDlpV2LargeCustomDictionaryConfig' smart constructor.-data GooglePrivacyDlpV2LargeCustomDictionaryConfig =- GooglePrivacyDlpV2LargeCustomDictionaryConfig'- { _gpdvlcdcBigQueryField :: !(Maybe GooglePrivacyDlpV2BigQueryField)- , _gpdvlcdcCloudStorageFileSet :: !(Maybe GooglePrivacyDlpV2CloudStorageFileSet)- , _gpdvlcdcOutputPath :: !(Maybe GooglePrivacyDlpV2CloudStoragePath)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2LargeCustomDictionaryConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvlcdcBigQueryField'------ * 'gpdvlcdcCloudStorageFileSet'------ * 'gpdvlcdcOutputPath'-googlePrivacyDlpV2LargeCustomDictionaryConfig- :: GooglePrivacyDlpV2LargeCustomDictionaryConfig-googlePrivacyDlpV2LargeCustomDictionaryConfig =- GooglePrivacyDlpV2LargeCustomDictionaryConfig'- { _gpdvlcdcBigQueryField = Nothing- , _gpdvlcdcCloudStorageFileSet = Nothing- , _gpdvlcdcOutputPath = Nothing- }----- | Field in a BigQuery table where each cell represents a dictionary--- phrase.-gpdvlcdcBigQueryField :: Lens' GooglePrivacyDlpV2LargeCustomDictionaryConfig (Maybe GooglePrivacyDlpV2BigQueryField)-gpdvlcdcBigQueryField- = lens _gpdvlcdcBigQueryField- (\ s a -> s{_gpdvlcdcBigQueryField = a})---- | Set of files containing newline-delimited lists of dictionary phrases.-gpdvlcdcCloudStorageFileSet :: Lens' GooglePrivacyDlpV2LargeCustomDictionaryConfig (Maybe GooglePrivacyDlpV2CloudStorageFileSet)-gpdvlcdcCloudStorageFileSet- = lens _gpdvlcdcCloudStorageFileSet- (\ s a -> s{_gpdvlcdcCloudStorageFileSet = a})---- | Location to store dictionary artifacts in Google Cloud Storage. These--- files will only be accessible by project owners and the DLP API. If any--- of these artifacts are modified, the dictionary is considered invalid--- and can no longer be used.-gpdvlcdcOutputPath :: Lens' GooglePrivacyDlpV2LargeCustomDictionaryConfig (Maybe GooglePrivacyDlpV2CloudStoragePath)-gpdvlcdcOutputPath- = lens _gpdvlcdcOutputPath- (\ s a -> s{_gpdvlcdcOutputPath = a})--instance FromJSON- GooglePrivacyDlpV2LargeCustomDictionaryConfig- where- parseJSON- = withObject- "GooglePrivacyDlpV2LargeCustomDictionaryConfig"- (\ o ->- GooglePrivacyDlpV2LargeCustomDictionaryConfig' <$>- (o .:? "bigQueryField") <*>- (o .:? "cloudStorageFileSet")- <*> (o .:? "outputPath"))--instance ToJSON- GooglePrivacyDlpV2LargeCustomDictionaryConfig- where- toJSON- GooglePrivacyDlpV2LargeCustomDictionaryConfig'{..}- = object- (catMaybes- [("bigQueryField" .=) <$> _gpdvlcdcBigQueryField,- ("cloudStorageFileSet" .=) <$>- _gpdvlcdcCloudStorageFileSet,- ("outputPath" .=) <$> _gpdvlcdcOutputPath])---- | Message defining a list of words or phrases to search for in the data.------ /See:/ 'googlePrivacyDlpV2WordList' smart constructor.-newtype GooglePrivacyDlpV2WordList =- GooglePrivacyDlpV2WordList'- { _gpdvwlWords :: Maybe [Text]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2WordList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvwlWords'-googlePrivacyDlpV2WordList- :: GooglePrivacyDlpV2WordList-googlePrivacyDlpV2WordList =- GooglePrivacyDlpV2WordList' {_gpdvwlWords = Nothing}----- | Words or phrases defining the dictionary. The dictionary must contain at--- least one phrase and every phrase must contain at least 2 characters--- that are letters or digits. [required]-gpdvwlWords :: Lens' GooglePrivacyDlpV2WordList [Text]-gpdvwlWords- = lens _gpdvwlWords (\ s a -> s{_gpdvwlWords = a}) .- _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2WordList where- parseJSON- = withObject "GooglePrivacyDlpV2WordList"- (\ o ->- GooglePrivacyDlpV2WordList' <$>- (o .:? "words" .!= mempty))--instance ToJSON GooglePrivacyDlpV2WordList where- toJSON GooglePrivacyDlpV2WordList'{..}- = object (catMaybes [("words" .=) <$> _gpdvwlWords])---- | Container structure for the content to inspect.------ /See:/ 'googlePrivacyDlpV2ContentItem' smart constructor.-data GooglePrivacyDlpV2ContentItem =- GooglePrivacyDlpV2ContentItem'- { _gpdvciValue :: !(Maybe Text)- , _gpdvciByteItem :: !(Maybe GooglePrivacyDlpV2ByteContentItem)- , _gpdvciTable :: !(Maybe GooglePrivacyDlpV2Table)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ContentItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvciValue'------ * 'gpdvciByteItem'------ * 'gpdvciTable'-googlePrivacyDlpV2ContentItem- :: GooglePrivacyDlpV2ContentItem-googlePrivacyDlpV2ContentItem =- GooglePrivacyDlpV2ContentItem'- {_gpdvciValue = Nothing, _gpdvciByteItem = Nothing, _gpdvciTable = Nothing}----- | String data to inspect or redact.-gpdvciValue :: Lens' GooglePrivacyDlpV2ContentItem (Maybe Text)-gpdvciValue- = lens _gpdvciValue (\ s a -> s{_gpdvciValue = a})---- | Content data to inspect or redact. Replaces \`type\` and \`data\`.-gpdvciByteItem :: Lens' GooglePrivacyDlpV2ContentItem (Maybe GooglePrivacyDlpV2ByteContentItem)-gpdvciByteItem- = lens _gpdvciByteItem- (\ s a -> s{_gpdvciByteItem = a})---- | Structured content for inspection. See--- https:\/\/cloud.google.com\/dlp\/docs\/inspecting-text#inspecting_a_table--- to learn more.-gpdvciTable :: Lens' GooglePrivacyDlpV2ContentItem (Maybe GooglePrivacyDlpV2Table)-gpdvciTable- = lens _gpdvciTable (\ s a -> s{_gpdvciTable = a})--instance FromJSON GooglePrivacyDlpV2ContentItem where- parseJSON- = withObject "GooglePrivacyDlpV2ContentItem"- (\ o ->- GooglePrivacyDlpV2ContentItem' <$>- (o .:? "value") <*> (o .:? "byteItem") <*>- (o .:? "table"))--instance ToJSON GooglePrivacyDlpV2ContentItem where- toJSON GooglePrivacyDlpV2ContentItem'{..}- = object- (catMaybes- [("value" .=) <$> _gpdvciValue,- ("byteItem" .=) <$> _gpdvciByteItem,- ("table" .=) <$> _gpdvciTable])------- /See:/ 'googlePrivacyDlpV2CategoricalStatsHistogramBucket' smart constructor.-data GooglePrivacyDlpV2CategoricalStatsHistogramBucket =- GooglePrivacyDlpV2CategoricalStatsHistogramBucket'- { _gpdvcshbValueFrequencyLowerBound :: !(Maybe (Textual Int64))- , _gpdvcshbBucketValues :: !(Maybe [GooglePrivacyDlpV2ValueFrequency])- , _gpdvcshbValueFrequencyUpperBound :: !(Maybe (Textual Int64))- , _gpdvcshbBucketSize :: !(Maybe (Textual Int64))- , _gpdvcshbBucketValueCount :: !(Maybe (Textual Int64))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CategoricalStatsHistogramBucket' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcshbValueFrequencyLowerBound'------ * 'gpdvcshbBucketValues'------ * 'gpdvcshbValueFrequencyUpperBound'------ * 'gpdvcshbBucketSize'------ * 'gpdvcshbBucketValueCount'-googlePrivacyDlpV2CategoricalStatsHistogramBucket- :: GooglePrivacyDlpV2CategoricalStatsHistogramBucket-googlePrivacyDlpV2CategoricalStatsHistogramBucket =- GooglePrivacyDlpV2CategoricalStatsHistogramBucket'- { _gpdvcshbValueFrequencyLowerBound = Nothing- , _gpdvcshbBucketValues = Nothing- , _gpdvcshbValueFrequencyUpperBound = Nothing- , _gpdvcshbBucketSize = Nothing- , _gpdvcshbBucketValueCount = Nothing- }----- | Lower bound on the value frequency of the values in this bucket.-gpdvcshbValueFrequencyLowerBound :: Lens' GooglePrivacyDlpV2CategoricalStatsHistogramBucket (Maybe Int64)-gpdvcshbValueFrequencyLowerBound- = lens _gpdvcshbValueFrequencyLowerBound- (\ s a -> s{_gpdvcshbValueFrequencyLowerBound = a})- . mapping _Coerce---- | Sample of value frequencies in this bucket. The total number of values--- returned per bucket is capped at 20.-gpdvcshbBucketValues :: Lens' GooglePrivacyDlpV2CategoricalStatsHistogramBucket [GooglePrivacyDlpV2ValueFrequency]-gpdvcshbBucketValues- = lens _gpdvcshbBucketValues- (\ s a -> s{_gpdvcshbBucketValues = a})- . _Default- . _Coerce---- | Upper bound on the value frequency of the values in this bucket.-gpdvcshbValueFrequencyUpperBound :: Lens' GooglePrivacyDlpV2CategoricalStatsHistogramBucket (Maybe Int64)-gpdvcshbValueFrequencyUpperBound- = lens _gpdvcshbValueFrequencyUpperBound- (\ s a -> s{_gpdvcshbValueFrequencyUpperBound = a})- . mapping _Coerce---- | Total number of values in this bucket.-gpdvcshbBucketSize :: Lens' GooglePrivacyDlpV2CategoricalStatsHistogramBucket (Maybe Int64)-gpdvcshbBucketSize- = lens _gpdvcshbBucketSize- (\ s a -> s{_gpdvcshbBucketSize = a})- . mapping _Coerce---- | Total number of distinct values in this bucket.-gpdvcshbBucketValueCount :: Lens' GooglePrivacyDlpV2CategoricalStatsHistogramBucket (Maybe Int64)-gpdvcshbBucketValueCount- = lens _gpdvcshbBucketValueCount- (\ s a -> s{_gpdvcshbBucketValueCount = a})- . mapping _Coerce--instance FromJSON- GooglePrivacyDlpV2CategoricalStatsHistogramBucket- where- parseJSON- = withObject- "GooglePrivacyDlpV2CategoricalStatsHistogramBucket"- (\ o ->- GooglePrivacyDlpV2CategoricalStatsHistogramBucket'- <$>- (o .:? "valueFrequencyLowerBound") <*>- (o .:? "bucketValues" .!= mempty)- <*> (o .:? "valueFrequencyUpperBound")- <*> (o .:? "bucketSize")- <*> (o .:? "bucketValueCount"))--instance ToJSON- GooglePrivacyDlpV2CategoricalStatsHistogramBucket- where- toJSON- GooglePrivacyDlpV2CategoricalStatsHistogramBucket'{..}- = object- (catMaybes- [("valueFrequencyLowerBound" .=) <$>- _gpdvcshbValueFrequencyLowerBound,- ("bucketValues" .=) <$> _gpdvcshbBucketValues,- ("valueFrequencyUpperBound" .=) <$>- _gpdvcshbValueFrequencyUpperBound,- ("bucketSize" .=) <$> _gpdvcshbBucketSize,- ("bucketValueCount" .=) <$>- _gpdvcshbBucketValueCount])---- | All result fields mentioned below are updated while the job is--- processing.------ /See:/ 'googlePrivacyDlpV2Result' smart constructor.-data GooglePrivacyDlpV2Result =- GooglePrivacyDlpV2Result'- { _gpdvrProcessedBytes :: !(Maybe (Textual Int64))- , _gpdvrInfoTypeStats :: !(Maybe [GooglePrivacyDlpV2InfoTypeStats])- , _gpdvrTotalEstimatedBytes :: !(Maybe (Textual Int64))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Result' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvrProcessedBytes'------ * 'gpdvrInfoTypeStats'------ * 'gpdvrTotalEstimatedBytes'-googlePrivacyDlpV2Result- :: GooglePrivacyDlpV2Result-googlePrivacyDlpV2Result =- GooglePrivacyDlpV2Result'- { _gpdvrProcessedBytes = Nothing- , _gpdvrInfoTypeStats = Nothing- , _gpdvrTotalEstimatedBytes = Nothing- }----- | Total size in bytes that were processed.-gpdvrProcessedBytes :: Lens' GooglePrivacyDlpV2Result (Maybe Int64)-gpdvrProcessedBytes- = lens _gpdvrProcessedBytes- (\ s a -> s{_gpdvrProcessedBytes = a})- . mapping _Coerce---- | Statistics of how many instances of each info type were found during--- inspect job.-gpdvrInfoTypeStats :: Lens' GooglePrivacyDlpV2Result [GooglePrivacyDlpV2InfoTypeStats]-gpdvrInfoTypeStats- = lens _gpdvrInfoTypeStats- (\ s a -> s{_gpdvrInfoTypeStats = a})- . _Default- . _Coerce---- | Estimate of the number of bytes to process.-gpdvrTotalEstimatedBytes :: Lens' GooglePrivacyDlpV2Result (Maybe Int64)-gpdvrTotalEstimatedBytes- = lens _gpdvrTotalEstimatedBytes- (\ s a -> s{_gpdvrTotalEstimatedBytes = a})- . mapping _Coerce--instance FromJSON GooglePrivacyDlpV2Result where- parseJSON- = withObject "GooglePrivacyDlpV2Result"- (\ o ->- GooglePrivacyDlpV2Result' <$>- (o .:? "processedBytes") <*>- (o .:? "infoTypeStats" .!= mempty)- <*> (o .:? "totalEstimatedBytes"))--instance ToJSON GooglePrivacyDlpV2Result where- toJSON GooglePrivacyDlpV2Result'{..}- = object- (catMaybes- [("processedBytes" .=) <$> _gpdvrProcessedBytes,- ("infoTypeStats" .=) <$> _gpdvrInfoTypeStats,- ("totalEstimatedBytes" .=) <$>- _gpdvrTotalEstimatedBytes])---- | The results of an inspect DataSource job.------ /See:/ 'googlePrivacyDlpV2InspectDataSourceDetails' smart constructor.-data GooglePrivacyDlpV2InspectDataSourceDetails =- GooglePrivacyDlpV2InspectDataSourceDetails'- { _gpdvidsdResult :: !(Maybe GooglePrivacyDlpV2Result)- , _gpdvidsdRequestedOptions :: !(Maybe GooglePrivacyDlpV2RequestedOptions)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2InspectDataSourceDetails' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvidsdResult'------ * 'gpdvidsdRequestedOptions'-googlePrivacyDlpV2InspectDataSourceDetails- :: GooglePrivacyDlpV2InspectDataSourceDetails-googlePrivacyDlpV2InspectDataSourceDetails =- GooglePrivacyDlpV2InspectDataSourceDetails'- {_gpdvidsdResult = Nothing, _gpdvidsdRequestedOptions = Nothing}----- | A summary of the outcome of this inspect job.-gpdvidsdResult :: Lens' GooglePrivacyDlpV2InspectDataSourceDetails (Maybe GooglePrivacyDlpV2Result)-gpdvidsdResult- = lens _gpdvidsdResult- (\ s a -> s{_gpdvidsdResult = a})---- | The configuration used for this job.-gpdvidsdRequestedOptions :: Lens' GooglePrivacyDlpV2InspectDataSourceDetails (Maybe GooglePrivacyDlpV2RequestedOptions)-gpdvidsdRequestedOptions- = lens _gpdvidsdRequestedOptions- (\ s a -> s{_gpdvidsdRequestedOptions = a})--instance FromJSON- GooglePrivacyDlpV2InspectDataSourceDetails- where- parseJSON- = withObject- "GooglePrivacyDlpV2InspectDataSourceDetails"- (\ o ->- GooglePrivacyDlpV2InspectDataSourceDetails' <$>- (o .:? "result") <*> (o .:? "requestedOptions"))--instance ToJSON- GooglePrivacyDlpV2InspectDataSourceDetails- where- toJSON- GooglePrivacyDlpV2InspectDataSourceDetails'{..}- = object- (catMaybes- [("result" .=) <$> _gpdvidsdResult,- ("requestedOptions" .=) <$>- _gpdvidsdRequestedOptions])---- | Results of redacting an image.------ /See:/ 'googlePrivacyDlpV2RedactImageResponse' smart constructor.-data GooglePrivacyDlpV2RedactImageResponse =- GooglePrivacyDlpV2RedactImageResponse'- { _gpdvrirExtractedText :: !(Maybe Text)- , _gpdvrirInspectResult :: !(Maybe GooglePrivacyDlpV2InspectResult)- , _gpdvrirRedactedImage :: !(Maybe Bytes)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2RedactImageResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvrirExtractedText'------ * 'gpdvrirInspectResult'------ * 'gpdvrirRedactedImage'-googlePrivacyDlpV2RedactImageResponse- :: GooglePrivacyDlpV2RedactImageResponse-googlePrivacyDlpV2RedactImageResponse =- GooglePrivacyDlpV2RedactImageResponse'- { _gpdvrirExtractedText = Nothing- , _gpdvrirInspectResult = Nothing- , _gpdvrirRedactedImage = Nothing- }----- | If an image was being inspected and the InspectConfig\'s include_quote--- was set to true, then this field will include all text, if any, that was--- found in the image.-gpdvrirExtractedText :: Lens' GooglePrivacyDlpV2RedactImageResponse (Maybe Text)-gpdvrirExtractedText- = lens _gpdvrirExtractedText- (\ s a -> s{_gpdvrirExtractedText = a})---- | The findings. Populated when include_findings in the request is true.-gpdvrirInspectResult :: Lens' GooglePrivacyDlpV2RedactImageResponse (Maybe GooglePrivacyDlpV2InspectResult)-gpdvrirInspectResult- = lens _gpdvrirInspectResult- (\ s a -> s{_gpdvrirInspectResult = a})---- | The redacted image. The type will be the same as the original image.-gpdvrirRedactedImage :: Lens' GooglePrivacyDlpV2RedactImageResponse (Maybe ByteString)-gpdvrirRedactedImage- = lens _gpdvrirRedactedImage- (\ s a -> s{_gpdvrirRedactedImage = a})- . mapping _Bytes--instance FromJSON- GooglePrivacyDlpV2RedactImageResponse- where- parseJSON- = withObject "GooglePrivacyDlpV2RedactImageResponse"- (\ o ->- GooglePrivacyDlpV2RedactImageResponse' <$>- (o .:? "extractedText") <*> (o .:? "inspectResult")- <*> (o .:? "redactedImage"))--instance ToJSON GooglePrivacyDlpV2RedactImageResponse- where- toJSON GooglePrivacyDlpV2RedactImageResponse'{..}- = object- (catMaybes- [("extractedText" .=) <$> _gpdvrirExtractedText,- ("inspectResult" .=) <$> _gpdvrirInspectResult,- ("redactedImage" .=) <$> _gpdvrirRedactedImage])---- | Publish the results of a DlpJob to a pub sub channel. Compatible with:--- Inspect, Risk------ /See:/ 'googlePrivacyDlpV2PublishToPubSub' smart constructor.-newtype GooglePrivacyDlpV2PublishToPubSub =- GooglePrivacyDlpV2PublishToPubSub'- { _gpdvptpsTopic :: Maybe Text- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2PublishToPubSub' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvptpsTopic'-googlePrivacyDlpV2PublishToPubSub- :: GooglePrivacyDlpV2PublishToPubSub-googlePrivacyDlpV2PublishToPubSub =- GooglePrivacyDlpV2PublishToPubSub' {_gpdvptpsTopic = Nothing}----- | Cloud Pub\/Sub topic to send notifications to. The topic must have given--- publishing access rights to the DLP API service account executing the--- long running DlpJob sending the notifications. Format is--- projects\/{project}\/topics\/{topic}.-gpdvptpsTopic :: Lens' GooglePrivacyDlpV2PublishToPubSub (Maybe Text)-gpdvptpsTopic- = lens _gpdvptpsTopic- (\ s a -> s{_gpdvptpsTopic = a})--instance FromJSON GooglePrivacyDlpV2PublishToPubSub- where- parseJSON- = withObject "GooglePrivacyDlpV2PublishToPubSub"- (\ o ->- GooglePrivacyDlpV2PublishToPubSub' <$>- (o .:? "topic"))--instance ToJSON GooglePrivacyDlpV2PublishToPubSub- where- toJSON GooglePrivacyDlpV2PublishToPubSub'{..}- = object- (catMaybes [("topic" .=) <$> _gpdvptpsTopic])---- | Row key for identifying a record in BigQuery table.------ /See:/ 'googlePrivacyDlpV2BigQueryKey' smart constructor.-data GooglePrivacyDlpV2BigQueryKey =- GooglePrivacyDlpV2BigQueryKey'- { _gpdvbqkTableReference :: !(Maybe GooglePrivacyDlpV2BigQueryTable)- , _gpdvbqkRowNumber :: !(Maybe (Textual Int64))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2BigQueryKey' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvbqkTableReference'------ * 'gpdvbqkRowNumber'-googlePrivacyDlpV2BigQueryKey- :: GooglePrivacyDlpV2BigQueryKey-googlePrivacyDlpV2BigQueryKey =- GooglePrivacyDlpV2BigQueryKey'- {_gpdvbqkTableReference = Nothing, _gpdvbqkRowNumber = Nothing}----- | Complete BigQuery table reference.-gpdvbqkTableReference :: Lens' GooglePrivacyDlpV2BigQueryKey (Maybe GooglePrivacyDlpV2BigQueryTable)-gpdvbqkTableReference- = lens _gpdvbqkTableReference- (\ s a -> s{_gpdvbqkTableReference = a})---- | Absolute number of the row from the beginning of the table at the time--- of scanning.-gpdvbqkRowNumber :: Lens' GooglePrivacyDlpV2BigQueryKey (Maybe Int64)-gpdvbqkRowNumber- = lens _gpdvbqkRowNumber- (\ s a -> s{_gpdvbqkRowNumber = a})- . mapping _Coerce--instance FromJSON GooglePrivacyDlpV2BigQueryKey where- parseJSON- = withObject "GooglePrivacyDlpV2BigQueryKey"- (\ o ->- GooglePrivacyDlpV2BigQueryKey' <$>- (o .:? "tableReference") <*> (o .:? "rowNumber"))--instance ToJSON GooglePrivacyDlpV2BigQueryKey where- toJSON GooglePrivacyDlpV2BigQueryKey'{..}- = object- (catMaybes- [("tableReference" .=) <$> _gpdvbqkTableReference,- ("rowNumber" .=) <$> _gpdvbqkRowNumber])---- | Rule for modifying a CustomInfoType to alter behavior under certain--- circumstances, depending on the specific details of the rule. Not--- supported for the \`surrogate_type\` custom info type.------ /See:/ 'googlePrivacyDlpV2DetectionRule' smart constructor.-newtype GooglePrivacyDlpV2DetectionRule =- GooglePrivacyDlpV2DetectionRule'- { _gpdvdrHotwordRule :: Maybe GooglePrivacyDlpV2HotwordRule- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2DetectionRule' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvdrHotwordRule'-googlePrivacyDlpV2DetectionRule- :: GooglePrivacyDlpV2DetectionRule-googlePrivacyDlpV2DetectionRule =- GooglePrivacyDlpV2DetectionRule' {_gpdvdrHotwordRule = Nothing}----- | Hotword-based detection rule.-gpdvdrHotwordRule :: Lens' GooglePrivacyDlpV2DetectionRule (Maybe GooglePrivacyDlpV2HotwordRule)-gpdvdrHotwordRule- = lens _gpdvdrHotwordRule- (\ s a -> s{_gpdvdrHotwordRule = a})--instance FromJSON GooglePrivacyDlpV2DetectionRule- where- parseJSON- = withObject "GooglePrivacyDlpV2DetectionRule"- (\ o ->- GooglePrivacyDlpV2DetectionRule' <$>- (o .:? "hotwordRule"))--instance ToJSON GooglePrivacyDlpV2DetectionRule where- toJSON GooglePrivacyDlpV2DetectionRule'{..}- = object- (catMaybes- [("hotwordRule" .=) <$> _gpdvdrHotwordRule])---- | A condition for determining whether a transformation should be applied--- to a field.------ /See:/ 'googlePrivacyDlpV2RecordCondition' smart constructor.-newtype GooglePrivacyDlpV2RecordCondition =- GooglePrivacyDlpV2RecordCondition'- { _gpdvrcExpressions :: Maybe GooglePrivacyDlpV2Expressions- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2RecordCondition' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvrcExpressions'-googlePrivacyDlpV2RecordCondition- :: GooglePrivacyDlpV2RecordCondition-googlePrivacyDlpV2RecordCondition =- GooglePrivacyDlpV2RecordCondition' {_gpdvrcExpressions = Nothing}----- | An expression.-gpdvrcExpressions :: Lens' GooglePrivacyDlpV2RecordCondition (Maybe GooglePrivacyDlpV2Expressions)-gpdvrcExpressions- = lens _gpdvrcExpressions- (\ s a -> s{_gpdvrcExpressions = a})--instance FromJSON GooglePrivacyDlpV2RecordCondition- where- parseJSON- = withObject "GooglePrivacyDlpV2RecordCondition"- (\ o ->- GooglePrivacyDlpV2RecordCondition' <$>- (o .:? "expressions"))--instance ToJSON GooglePrivacyDlpV2RecordCondition- where- toJSON GooglePrivacyDlpV2RecordCondition'{..}- = object- (catMaybes- [("expressions" .=) <$> _gpdvrcExpressions])---- | Shifts dates by random number of days, with option to be consistent for--- the same context. See--- https:\/\/cloud.google.com\/dlp\/docs\/concepts-date-shifting to learn--- more.------ /See:/ 'googlePrivacyDlpV2DateShiftConfig' smart constructor.-data GooglePrivacyDlpV2DateShiftConfig =- GooglePrivacyDlpV2DateShiftConfig'- { _gpdvdscContext :: !(Maybe GooglePrivacyDlpV2FieldId)- , _gpdvdscUpperBoundDays :: !(Maybe (Textual Int32))- , _gpdvdscCryptoKey :: !(Maybe GooglePrivacyDlpV2CryptoKey)- , _gpdvdscLowerBoundDays :: !(Maybe (Textual Int32))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2DateShiftConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvdscContext'------ * 'gpdvdscUpperBoundDays'------ * 'gpdvdscCryptoKey'------ * 'gpdvdscLowerBoundDays'-googlePrivacyDlpV2DateShiftConfig- :: GooglePrivacyDlpV2DateShiftConfig-googlePrivacyDlpV2DateShiftConfig =- GooglePrivacyDlpV2DateShiftConfig'- { _gpdvdscContext = Nothing- , _gpdvdscUpperBoundDays = Nothing- , _gpdvdscCryptoKey = Nothing- , _gpdvdscLowerBoundDays = Nothing- }----- | Points to the field that contains the context, for example, an entity--- id. If set, must also set method. If set, shift will be consistent for--- the given context.-gpdvdscContext :: Lens' GooglePrivacyDlpV2DateShiftConfig (Maybe GooglePrivacyDlpV2FieldId)-gpdvdscContext- = lens _gpdvdscContext- (\ s a -> s{_gpdvdscContext = a})---- | Range of shift in days. Actual shift will be selected at random within--- this range (inclusive ends). Negative means shift to earlier in time.--- Must not be more than 365250 days (1000 years) each direction. For--- example, 3 means shift date to at most 3 days into the future.--- [Required]-gpdvdscUpperBoundDays :: Lens' GooglePrivacyDlpV2DateShiftConfig (Maybe Int32)-gpdvdscUpperBoundDays- = lens _gpdvdscUpperBoundDays- (\ s a -> s{_gpdvdscUpperBoundDays = a})- . mapping _Coerce---- | Causes the shift to be computed based on this key and the context. This--- results in the same shift for the same context and crypto_key.-gpdvdscCryptoKey :: Lens' GooglePrivacyDlpV2DateShiftConfig (Maybe GooglePrivacyDlpV2CryptoKey)-gpdvdscCryptoKey- = lens _gpdvdscCryptoKey- (\ s a -> s{_gpdvdscCryptoKey = a})---- | For example, -5 means shift date to at most 5 days back in the past.--- [Required]-gpdvdscLowerBoundDays :: Lens' GooglePrivacyDlpV2DateShiftConfig (Maybe Int32)-gpdvdscLowerBoundDays- = lens _gpdvdscLowerBoundDays- (\ s a -> s{_gpdvdscLowerBoundDays = a})- . mapping _Coerce--instance FromJSON GooglePrivacyDlpV2DateShiftConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2DateShiftConfig"- (\ o ->- GooglePrivacyDlpV2DateShiftConfig' <$>- (o .:? "context") <*> (o .:? "upperBoundDays") <*>- (o .:? "cryptoKey")- <*> (o .:? "lowerBoundDays"))--instance ToJSON GooglePrivacyDlpV2DateShiftConfig- where- toJSON GooglePrivacyDlpV2DateShiftConfig'{..}- = object- (catMaybes- [("context" .=) <$> _gpdvdscContext,- ("upperBoundDays" .=) <$> _gpdvdscUpperBoundDays,- ("cryptoKey" .=) <$> _gpdvdscCryptoKey,- ("lowerBoundDays" .=) <$> _gpdvdscLowerBoundDays])---- | Request to search for potentially sensitive info in a ContentItem.------ /See:/ 'googlePrivacyDlpV2InspectContentRequest' smart constructor.-data GooglePrivacyDlpV2InspectContentRequest =- GooglePrivacyDlpV2InspectContentRequest'- { _gpdvicrInspectConfig :: !(Maybe GooglePrivacyDlpV2InspectConfig)- , _gpdvicrItem :: !(Maybe GooglePrivacyDlpV2ContentItem)- , _gpdvicrInspectTemplateName :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2InspectContentRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvicrInspectConfig'------ * 'gpdvicrItem'------ * 'gpdvicrInspectTemplateName'-googlePrivacyDlpV2InspectContentRequest- :: GooglePrivacyDlpV2InspectContentRequest-googlePrivacyDlpV2InspectContentRequest =- GooglePrivacyDlpV2InspectContentRequest'- { _gpdvicrInspectConfig = Nothing- , _gpdvicrItem = Nothing- , _gpdvicrInspectTemplateName = Nothing- }----- | Configuration for the inspector. What specified here will override the--- template referenced by the inspect_template_name argument.-gpdvicrInspectConfig :: Lens' GooglePrivacyDlpV2InspectContentRequest (Maybe GooglePrivacyDlpV2InspectConfig)-gpdvicrInspectConfig- = lens _gpdvicrInspectConfig- (\ s a -> s{_gpdvicrInspectConfig = a})---- | The item to inspect.-gpdvicrItem :: Lens' GooglePrivacyDlpV2InspectContentRequest (Maybe GooglePrivacyDlpV2ContentItem)-gpdvicrItem- = lens _gpdvicrItem (\ s a -> s{_gpdvicrItem = a})---- | Optional template to use. Any configuration directly specified in--- inspect_config will override those set in the template. Singular fields--- that are set in this request will replace their corresponding fields in--- the template. Repeated fields are appended. Singular sub-messages and--- groups are recursively merged.-gpdvicrInspectTemplateName :: Lens' GooglePrivacyDlpV2InspectContentRequest (Maybe Text)-gpdvicrInspectTemplateName- = lens _gpdvicrInspectTemplateName- (\ s a -> s{_gpdvicrInspectTemplateName = a})--instance FromJSON- GooglePrivacyDlpV2InspectContentRequest- where- parseJSON- = withObject- "GooglePrivacyDlpV2InspectContentRequest"- (\ o ->- GooglePrivacyDlpV2InspectContentRequest' <$>- (o .:? "inspectConfig") <*> (o .:? "item") <*>- (o .:? "inspectTemplateName"))--instance ToJSON- GooglePrivacyDlpV2InspectContentRequest- where- toJSON GooglePrivacyDlpV2InspectContentRequest'{..}- = object- (catMaybes- [("inspectConfig" .=) <$> _gpdvicrInspectConfig,- ("item" .=) <$> _gpdvicrItem,- ("inspectTemplateName" .=) <$>- _gpdvicrInspectTemplateName])---- | Result of the categorical stats computation.------ /See:/ 'googlePrivacyDlpV2CategoricalStatsResult' smart constructor.-newtype GooglePrivacyDlpV2CategoricalStatsResult =- GooglePrivacyDlpV2CategoricalStatsResult'- { _gpdvcsrValueFrequencyHistogramBuckets :: Maybe [GooglePrivacyDlpV2CategoricalStatsHistogramBucket]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CategoricalStatsResult' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcsrValueFrequencyHistogramBuckets'-googlePrivacyDlpV2CategoricalStatsResult- :: GooglePrivacyDlpV2CategoricalStatsResult-googlePrivacyDlpV2CategoricalStatsResult =- GooglePrivacyDlpV2CategoricalStatsResult'- {_gpdvcsrValueFrequencyHistogramBuckets = Nothing}----- | Histogram of value frequencies in the column.-gpdvcsrValueFrequencyHistogramBuckets :: Lens' GooglePrivacyDlpV2CategoricalStatsResult [GooglePrivacyDlpV2CategoricalStatsHistogramBucket]-gpdvcsrValueFrequencyHistogramBuckets- = lens _gpdvcsrValueFrequencyHistogramBuckets- (\ s a ->- s{_gpdvcsrValueFrequencyHistogramBuckets = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2CategoricalStatsResult- where- parseJSON- = withObject- "GooglePrivacyDlpV2CategoricalStatsResult"- (\ o ->- GooglePrivacyDlpV2CategoricalStatsResult' <$>- (o .:? "valueFrequencyHistogramBuckets" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2CategoricalStatsResult- where- toJSON GooglePrivacyDlpV2CategoricalStatsResult'{..}- = object- (catMaybes- [("valueFrequencyHistogramBuckets" .=) <$>- _gpdvcsrValueFrequencyHistogramBuckets])---- | Result of the numerical stats computation.------ /See:/ 'googlePrivacyDlpV2NumericalStatsResult' smart constructor.-data GooglePrivacyDlpV2NumericalStatsResult =- GooglePrivacyDlpV2NumericalStatsResult'- { _gpdvnsrMaxValue :: !(Maybe GooglePrivacyDlpV2Value)- , _gpdvnsrQuantileValues :: !(Maybe [GooglePrivacyDlpV2Value])- , _gpdvnsrMinValue :: !(Maybe GooglePrivacyDlpV2Value)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2NumericalStatsResult' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvnsrMaxValue'------ * 'gpdvnsrQuantileValues'------ * 'gpdvnsrMinValue'-googlePrivacyDlpV2NumericalStatsResult- :: GooglePrivacyDlpV2NumericalStatsResult-googlePrivacyDlpV2NumericalStatsResult =- GooglePrivacyDlpV2NumericalStatsResult'- { _gpdvnsrMaxValue = Nothing- , _gpdvnsrQuantileValues = Nothing- , _gpdvnsrMinValue = Nothing- }----- | Maximum value appearing in the column.-gpdvnsrMaxValue :: Lens' GooglePrivacyDlpV2NumericalStatsResult (Maybe GooglePrivacyDlpV2Value)-gpdvnsrMaxValue- = lens _gpdvnsrMaxValue- (\ s a -> s{_gpdvnsrMaxValue = a})---- | List of 99 values that partition the set of field values into 100 equal--- sized buckets.-gpdvnsrQuantileValues :: Lens' GooglePrivacyDlpV2NumericalStatsResult [GooglePrivacyDlpV2Value]-gpdvnsrQuantileValues- = lens _gpdvnsrQuantileValues- (\ s a -> s{_gpdvnsrQuantileValues = a})- . _Default- . _Coerce---- | Minimum value appearing in the column.-gpdvnsrMinValue :: Lens' GooglePrivacyDlpV2NumericalStatsResult (Maybe GooglePrivacyDlpV2Value)-gpdvnsrMinValue- = lens _gpdvnsrMinValue- (\ s a -> s{_gpdvnsrMinValue = a})--instance FromJSON- GooglePrivacyDlpV2NumericalStatsResult- where- parseJSON- = withObject "GooglePrivacyDlpV2NumericalStatsResult"- (\ o ->- GooglePrivacyDlpV2NumericalStatsResult' <$>- (o .:? "maxValue") <*>- (o .:? "quantileValues" .!= mempty)- <*> (o .:? "minValue"))--instance ToJSON- GooglePrivacyDlpV2NumericalStatsResult- where- toJSON GooglePrivacyDlpV2NumericalStatsResult'{..}- = object- (catMaybes- [("maxValue" .=) <$> _gpdvnsrMaxValue,- ("quantileValues" .=) <$> _gpdvnsrQuantileValues,- ("minValue" .=) <$> _gpdvnsrMinValue])---- | Publish the result summary of a DlpJob to the Cloud Security Command--- Center (CSCC Alpha). This action is only available for projects which--- are parts of an organization and whitelisted for the alpha Cloud--- Security Command Center. The action will publish count of finding--- instances and their info types. The summary of findings will be--- persisted in CSCC and are governed by CSCC service-specific policy, see--- https:\/\/cloud.google.com\/terms\/service-terms Only a single instance--- of this action can be specified. Compatible with: Inspect------ /See:/ 'googlePrivacyDlpV2PublishSummaryToCscc' smart constructor.-data GooglePrivacyDlpV2PublishSummaryToCscc =- GooglePrivacyDlpV2PublishSummaryToCscc'- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2PublishSummaryToCscc' with the minimum fields required to make a request.----googlePrivacyDlpV2PublishSummaryToCscc- :: GooglePrivacyDlpV2PublishSummaryToCscc-googlePrivacyDlpV2PublishSummaryToCscc = GooglePrivacyDlpV2PublishSummaryToCscc'---instance FromJSON- GooglePrivacyDlpV2PublishSummaryToCscc- where- parseJSON- = withObject "GooglePrivacyDlpV2PublishSummaryToCscc"- (\ o -> pure GooglePrivacyDlpV2PublishSummaryToCscc')--instance ToJSON- GooglePrivacyDlpV2PublishSummaryToCscc- where- toJSON = const emptyObject---- | Request message for UpdateInspectTemplate.------ /See:/ 'googlePrivacyDlpV2UpdateInspectTemplateRequest' smart constructor.-data GooglePrivacyDlpV2UpdateInspectTemplateRequest =- GooglePrivacyDlpV2UpdateInspectTemplateRequest'- { _gpdvuitrUpdateMask :: !(Maybe GFieldMask)- , _gpdvuitrInspectTemplate :: !(Maybe GooglePrivacyDlpV2InspectTemplate)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2UpdateInspectTemplateRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvuitrUpdateMask'------ * 'gpdvuitrInspectTemplate'-googlePrivacyDlpV2UpdateInspectTemplateRequest- :: GooglePrivacyDlpV2UpdateInspectTemplateRequest-googlePrivacyDlpV2UpdateInspectTemplateRequest =- GooglePrivacyDlpV2UpdateInspectTemplateRequest'- {_gpdvuitrUpdateMask = Nothing, _gpdvuitrInspectTemplate = Nothing}----- | Mask to control which fields get updated.-gpdvuitrUpdateMask :: Lens' GooglePrivacyDlpV2UpdateInspectTemplateRequest (Maybe GFieldMask)-gpdvuitrUpdateMask- = lens _gpdvuitrUpdateMask- (\ s a -> s{_gpdvuitrUpdateMask = a})---- | New InspectTemplate value.-gpdvuitrInspectTemplate :: Lens' GooglePrivacyDlpV2UpdateInspectTemplateRequest (Maybe GooglePrivacyDlpV2InspectTemplate)-gpdvuitrInspectTemplate- = lens _gpdvuitrInspectTemplate- (\ s a -> s{_gpdvuitrInspectTemplate = a})--instance FromJSON- GooglePrivacyDlpV2UpdateInspectTemplateRequest- where- parseJSON- = withObject- "GooglePrivacyDlpV2UpdateInspectTemplateRequest"- (\ o ->- GooglePrivacyDlpV2UpdateInspectTemplateRequest' <$>- (o .:? "updateMask") <*> (o .:? "inspectTemplate"))--instance ToJSON- GooglePrivacyDlpV2UpdateInspectTemplateRequest- where- toJSON- GooglePrivacyDlpV2UpdateInspectTemplateRequest'{..}- = object- (catMaybes- [("updateMask" .=) <$> _gpdvuitrUpdateMask,- ("inspectTemplate" .=) <$> _gpdvuitrInspectTemplate])---- | An entity in a dataset is a field or set of fields that correspond to a--- single person. For example, in medical records the \`EntityId\` might be--- a patient identifier, or for financial records it might be an account--- identifier. This message is used when generalizations or analysis must--- take into account that multiple rows correspond to the same entity.------ /See:/ 'googlePrivacyDlpV2EntityId' smart constructor.-newtype GooglePrivacyDlpV2EntityId =- GooglePrivacyDlpV2EntityId'- { _gpdveiField :: Maybe GooglePrivacyDlpV2FieldId- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2EntityId' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdveiField'-googlePrivacyDlpV2EntityId- :: GooglePrivacyDlpV2EntityId-googlePrivacyDlpV2EntityId =- GooglePrivacyDlpV2EntityId' {_gpdveiField = Nothing}----- | Composite key indicating which field contains the entity identifier.-gpdveiField :: Lens' GooglePrivacyDlpV2EntityId (Maybe GooglePrivacyDlpV2FieldId)-gpdveiField- = lens _gpdveiField (\ s a -> s{_gpdveiField = a})--instance FromJSON GooglePrivacyDlpV2EntityId where- parseJSON- = withObject "GooglePrivacyDlpV2EntityId"- (\ o ->- GooglePrivacyDlpV2EntityId' <$> (o .:? "field"))--instance ToJSON GooglePrivacyDlpV2EntityId where- toJSON GooglePrivacyDlpV2EntityId'{..}- = object (catMaybes [("field" .=) <$> _gpdveiField])---- | Container for bytes to inspect or redact.------ /See:/ 'googlePrivacyDlpV2ByteContentItem' smart constructor.-data GooglePrivacyDlpV2ByteContentItem =- GooglePrivacyDlpV2ByteContentItem'- { _gpdvbciData :: !(Maybe Bytes)- , _gpdvbciType :: !(Maybe GooglePrivacyDlpV2ByteContentItemType)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ByteContentItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvbciData'------ * 'gpdvbciType'-googlePrivacyDlpV2ByteContentItem- :: GooglePrivacyDlpV2ByteContentItem-googlePrivacyDlpV2ByteContentItem =- GooglePrivacyDlpV2ByteContentItem'- {_gpdvbciData = Nothing, _gpdvbciType = Nothing}----- | Content data to inspect or redact.-gpdvbciData :: Lens' GooglePrivacyDlpV2ByteContentItem (Maybe ByteString)-gpdvbciData- = lens _gpdvbciData (\ s a -> s{_gpdvbciData = a}) .- mapping _Bytes---- | The type of data stored in the bytes string. Default will be TEXT_UTF8.-gpdvbciType :: Lens' GooglePrivacyDlpV2ByteContentItem (Maybe GooglePrivacyDlpV2ByteContentItemType)-gpdvbciType- = lens _gpdvbciType (\ s a -> s{_gpdvbciType = a})--instance FromJSON GooglePrivacyDlpV2ByteContentItem- where- parseJSON- = withObject "GooglePrivacyDlpV2ByteContentItem"- (\ o ->- GooglePrivacyDlpV2ByteContentItem' <$>- (o .:? "data") <*> (o .:? "type"))--instance ToJSON GooglePrivacyDlpV2ByteContentItem- where- toJSON GooglePrivacyDlpV2ByteContentItem'{..}- = object- (catMaybes- [("data" .=) <$> _gpdvbciData,- ("type" .=) <$> _gpdvbciType])------- /See:/ 'googlePrivacyDlpV2TaggedField' smart constructor.-data GooglePrivacyDlpV2TaggedField =- GooglePrivacyDlpV2TaggedField'- { _gpdvtfField :: !(Maybe GooglePrivacyDlpV2FieldId)- , _gpdvtfInfoType :: !(Maybe GooglePrivacyDlpV2InfoType)- , _gpdvtfInferred :: !(Maybe GoogleProtobufEmpty)- , _gpdvtfCustomTag :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2TaggedField' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvtfField'------ * 'gpdvtfInfoType'------ * 'gpdvtfInferred'------ * 'gpdvtfCustomTag'-googlePrivacyDlpV2TaggedField- :: GooglePrivacyDlpV2TaggedField-googlePrivacyDlpV2TaggedField =- GooglePrivacyDlpV2TaggedField'- { _gpdvtfField = Nothing- , _gpdvtfInfoType = Nothing- , _gpdvtfInferred = Nothing- , _gpdvtfCustomTag = Nothing- }----- | Identifies the column. [required]-gpdvtfField :: Lens' GooglePrivacyDlpV2TaggedField (Maybe GooglePrivacyDlpV2FieldId)-gpdvtfField- = lens _gpdvtfField (\ s a -> s{_gpdvtfField = a})---- | A column can be tagged with a InfoType to use the relevant public--- dataset as a statistical model of population, if available. We currently--- support US ZIP codes, region codes, ages and genders. To--- programmatically obtain the list of supported InfoTypes, use--- ListInfoTypes with the supported_by=RISK_ANALYSIS filter.-gpdvtfInfoType :: Lens' GooglePrivacyDlpV2TaggedField (Maybe GooglePrivacyDlpV2InfoType)-gpdvtfInfoType- = lens _gpdvtfInfoType- (\ s a -> s{_gpdvtfInfoType = a})---- | If no semantic tag is indicated, we infer the statistical model from the--- distribution of values in the input data-gpdvtfInferred :: Lens' GooglePrivacyDlpV2TaggedField (Maybe GoogleProtobufEmpty)-gpdvtfInferred- = lens _gpdvtfInferred- (\ s a -> s{_gpdvtfInferred = a})---- | A column can be tagged with a custom tag. In this case, the user must--- indicate an auxiliary table that contains statistical information on the--- possible values of this column (below).-gpdvtfCustomTag :: Lens' GooglePrivacyDlpV2TaggedField (Maybe Text)-gpdvtfCustomTag- = lens _gpdvtfCustomTag- (\ s a -> s{_gpdvtfCustomTag = a})--instance FromJSON GooglePrivacyDlpV2TaggedField where- parseJSON- = withObject "GooglePrivacyDlpV2TaggedField"- (\ o ->- GooglePrivacyDlpV2TaggedField' <$>- (o .:? "field") <*> (o .:? "infoType") <*>- (o .:? "inferred")- <*> (o .:? "customTag"))--instance ToJSON GooglePrivacyDlpV2TaggedField where- toJSON GooglePrivacyDlpV2TaggedField'{..}- = object- (catMaybes- [("field" .=) <$> _gpdvtfField,- ("infoType" .=) <$> _gpdvtfInfoType,- ("inferred" .=) <$> _gpdvtfInferred,- ("customTag" .=) <$> _gpdvtfCustomTag])---- | Options defining BigQuery table and row identifiers.------ /See:/ 'googlePrivacyDlpV2BigQueryOptions' smart constructor.-data GooglePrivacyDlpV2BigQueryOptions =- GooglePrivacyDlpV2BigQueryOptions'- { _gpdvbqoRowsLimit :: !(Maybe (Textual Int64))- , _gpdvbqoRowsLimitPercent :: !(Maybe (Textual Int32))- , _gpdvbqoTableReference :: !(Maybe GooglePrivacyDlpV2BigQueryTable)- , _gpdvbqoIdentifyingFields :: !(Maybe [GooglePrivacyDlpV2FieldId])- , _gpdvbqoExcludedFields :: !(Maybe [GooglePrivacyDlpV2FieldId])- , _gpdvbqoSampleMethod :: !(Maybe GooglePrivacyDlpV2BigQueryOptionsSampleMethod)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2BigQueryOptions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvbqoRowsLimit'------ * 'gpdvbqoRowsLimitPercent'------ * 'gpdvbqoTableReference'------ * 'gpdvbqoIdentifyingFields'------ * 'gpdvbqoExcludedFields'------ * 'gpdvbqoSampleMethod'-googlePrivacyDlpV2BigQueryOptions- :: GooglePrivacyDlpV2BigQueryOptions-googlePrivacyDlpV2BigQueryOptions =- GooglePrivacyDlpV2BigQueryOptions'- { _gpdvbqoRowsLimit = Nothing- , _gpdvbqoRowsLimitPercent = Nothing- , _gpdvbqoTableReference = Nothing- , _gpdvbqoIdentifyingFields = Nothing- , _gpdvbqoExcludedFields = Nothing- , _gpdvbqoSampleMethod = Nothing- }----- | Max number of rows to scan. If the table has more rows than this value,--- the rest of the rows are omitted. If not set, or if set to 0, all rows--- will be scanned. Only one of rows_limit and rows_limit_percent can be--- specified. Cannot be used in conjunction with TimespanConfig.-gpdvbqoRowsLimit :: Lens' GooglePrivacyDlpV2BigQueryOptions (Maybe Int64)-gpdvbqoRowsLimit- = lens _gpdvbqoRowsLimit- (\ s a -> s{_gpdvbqoRowsLimit = a})- . mapping _Coerce---- | Max percentage of rows to scan. The rest are omitted. The number of rows--- scanned is rounded down. Must be between 0 and 100, inclusively. Both 0--- and 100 means no limit. Defaults to 0. Only one of rows_limit and--- rows_limit_percent can be specified. Cannot be used in conjunction with--- TimespanConfig.-gpdvbqoRowsLimitPercent :: Lens' GooglePrivacyDlpV2BigQueryOptions (Maybe Int32)-gpdvbqoRowsLimitPercent- = lens _gpdvbqoRowsLimitPercent- (\ s a -> s{_gpdvbqoRowsLimitPercent = a})- . mapping _Coerce---- | Complete BigQuery table reference.-gpdvbqoTableReference :: Lens' GooglePrivacyDlpV2BigQueryOptions (Maybe GooglePrivacyDlpV2BigQueryTable)-gpdvbqoTableReference- = lens _gpdvbqoTableReference- (\ s a -> s{_gpdvbqoTableReference = a})---- | References to fields uniquely identifying rows within the table. Nested--- fields in the format, like \`person.birthdate.year\`, are allowed.-gpdvbqoIdentifyingFields :: Lens' GooglePrivacyDlpV2BigQueryOptions [GooglePrivacyDlpV2FieldId]-gpdvbqoIdentifyingFields- = lens _gpdvbqoIdentifyingFields- (\ s a -> s{_gpdvbqoIdentifyingFields = a})- . _Default- . _Coerce---- | References to fields excluded from scanning. This allows you to skip--- inspection of entire columns which you know have no findings.-gpdvbqoExcludedFields :: Lens' GooglePrivacyDlpV2BigQueryOptions [GooglePrivacyDlpV2FieldId]-gpdvbqoExcludedFields- = lens _gpdvbqoExcludedFields- (\ s a -> s{_gpdvbqoExcludedFields = a})- . _Default- . _Coerce--gpdvbqoSampleMethod :: Lens' GooglePrivacyDlpV2BigQueryOptions (Maybe GooglePrivacyDlpV2BigQueryOptionsSampleMethod)-gpdvbqoSampleMethod- = lens _gpdvbqoSampleMethod- (\ s a -> s{_gpdvbqoSampleMethod = a})--instance FromJSON GooglePrivacyDlpV2BigQueryOptions- where- parseJSON- = withObject "GooglePrivacyDlpV2BigQueryOptions"- (\ o ->- GooglePrivacyDlpV2BigQueryOptions' <$>- (o .:? "rowsLimit") <*> (o .:? "rowsLimitPercent")- <*> (o .:? "tableReference")- <*> (o .:? "identifyingFields" .!= mempty)- <*> (o .:? "excludedFields" .!= mempty)- <*> (o .:? "sampleMethod"))--instance ToJSON GooglePrivacyDlpV2BigQueryOptions- where- toJSON GooglePrivacyDlpV2BigQueryOptions'{..}- = object- (catMaybes- [("rowsLimit" .=) <$> _gpdvbqoRowsLimit,- ("rowsLimitPercent" .=) <$> _gpdvbqoRowsLimitPercent,- ("tableReference" .=) <$> _gpdvbqoTableReference,- ("identifyingFields" .=) <$>- _gpdvbqoIdentifyingFields,- ("excludedFields" .=) <$> _gpdvbqoExcludedFields,- ("sampleMethod" .=) <$> _gpdvbqoSampleMethod])---- | A tuple of values for the quasi-identifier columns.------ /See:/ 'googlePrivacyDlpV2KMapEstimationQuasiIdValues' smart constructor.-data GooglePrivacyDlpV2KMapEstimationQuasiIdValues =- GooglePrivacyDlpV2KMapEstimationQuasiIdValues'- { _gpdvkmeqivEstimatedAnonymity :: !(Maybe (Textual Int64))- , _gpdvkmeqivQuasiIdsValues :: !(Maybe [GooglePrivacyDlpV2Value])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2KMapEstimationQuasiIdValues' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvkmeqivEstimatedAnonymity'------ * 'gpdvkmeqivQuasiIdsValues'-googlePrivacyDlpV2KMapEstimationQuasiIdValues- :: GooglePrivacyDlpV2KMapEstimationQuasiIdValues-googlePrivacyDlpV2KMapEstimationQuasiIdValues =- GooglePrivacyDlpV2KMapEstimationQuasiIdValues'- { _gpdvkmeqivEstimatedAnonymity = Nothing- , _gpdvkmeqivQuasiIdsValues = Nothing- }----- | The estimated anonymity for these quasi-identifier values.-gpdvkmeqivEstimatedAnonymity :: Lens' GooglePrivacyDlpV2KMapEstimationQuasiIdValues (Maybe Int64)-gpdvkmeqivEstimatedAnonymity- = lens _gpdvkmeqivEstimatedAnonymity- (\ s a -> s{_gpdvkmeqivEstimatedAnonymity = a})- . mapping _Coerce---- | The quasi-identifier values.-gpdvkmeqivQuasiIdsValues :: Lens' GooglePrivacyDlpV2KMapEstimationQuasiIdValues [GooglePrivacyDlpV2Value]-gpdvkmeqivQuasiIdsValues- = lens _gpdvkmeqivQuasiIdsValues- (\ s a -> s{_gpdvkmeqivQuasiIdsValues = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2KMapEstimationQuasiIdValues- where- parseJSON- = withObject- "GooglePrivacyDlpV2KMapEstimationQuasiIdValues"- (\ o ->- GooglePrivacyDlpV2KMapEstimationQuasiIdValues' <$>- (o .:? "estimatedAnonymity") <*>- (o .:? "quasiIdsValues" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2KMapEstimationQuasiIdValues- where- toJSON- GooglePrivacyDlpV2KMapEstimationQuasiIdValues'{..}- = object- (catMaybes- [("estimatedAnonymity" .=) <$>- _gpdvkmeqivEstimatedAnonymity,- ("quasiIdsValues" .=) <$> _gpdvkmeqivQuasiIdsValues])---- | List of exclude infoTypes.------ /See:/ 'googlePrivacyDlpV2ExcludeInfoTypes' smart constructor.-newtype GooglePrivacyDlpV2ExcludeInfoTypes =- GooglePrivacyDlpV2ExcludeInfoTypes'- { _gpdveitInfoTypes :: Maybe [GooglePrivacyDlpV2InfoType]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ExcludeInfoTypes' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdveitInfoTypes'-googlePrivacyDlpV2ExcludeInfoTypes- :: GooglePrivacyDlpV2ExcludeInfoTypes-googlePrivacyDlpV2ExcludeInfoTypes =- GooglePrivacyDlpV2ExcludeInfoTypes' {_gpdveitInfoTypes = Nothing}----- | InfoType list in ExclusionRule rule drops a finding when it overlaps or--- contained within with a finding of an infoType from this list. For--- example, for \`InspectionRuleSet.info_types\` containing--- \"PHONE_NUMBER\"\` and \`exclusion_rule\` containing--- \`exclude_info_types.info_types\` with \"EMAIL_ADDRESS\" the phone--- number findings are dropped if they overlap with EMAIL_ADDRESS finding.--- That leads to \"555-222-2222\'example.org\" to generate only a single--- finding, namely email address.-gpdveitInfoTypes :: Lens' GooglePrivacyDlpV2ExcludeInfoTypes [GooglePrivacyDlpV2InfoType]-gpdveitInfoTypes- = lens _gpdveitInfoTypes- (\ s a -> s{_gpdveitInfoTypes = a})- . _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2ExcludeInfoTypes- where- parseJSON- = withObject "GooglePrivacyDlpV2ExcludeInfoTypes"- (\ o ->- GooglePrivacyDlpV2ExcludeInfoTypes' <$>- (o .:? "infoTypes" .!= mempty))--instance ToJSON GooglePrivacyDlpV2ExcludeInfoTypes- where- toJSON GooglePrivacyDlpV2ExcludeInfoTypes'{..}- = object- (catMaybes [("infoTypes" .=) <$> _gpdveitInfoTypes])---- | Request message for CreateInspectTemplate.------ /See:/ 'googlePrivacyDlpV2CreateInspectTemplateRequest' smart constructor.-data GooglePrivacyDlpV2CreateInspectTemplateRequest =- GooglePrivacyDlpV2CreateInspectTemplateRequest'- { _gpdvcitrTemplateId :: !(Maybe Text)- , _gpdvcitrInspectTemplate :: !(Maybe GooglePrivacyDlpV2InspectTemplate)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CreateInspectTemplateRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcitrTemplateId'------ * 'gpdvcitrInspectTemplate'-googlePrivacyDlpV2CreateInspectTemplateRequest- :: GooglePrivacyDlpV2CreateInspectTemplateRequest-googlePrivacyDlpV2CreateInspectTemplateRequest =- GooglePrivacyDlpV2CreateInspectTemplateRequest'- {_gpdvcitrTemplateId = Nothing, _gpdvcitrInspectTemplate = Nothing}----- | The template id can contain uppercase and lowercase letters, numbers,--- and hyphens; that is, it must match the regular expression:--- \`[a-zA-Z\\\\d-_]+\`. The maximum length is 100 characters. Can be empty--- to allow the system to generate one.-gpdvcitrTemplateId :: Lens' GooglePrivacyDlpV2CreateInspectTemplateRequest (Maybe Text)-gpdvcitrTemplateId- = lens _gpdvcitrTemplateId- (\ s a -> s{_gpdvcitrTemplateId = a})---- | The InspectTemplate to create.-gpdvcitrInspectTemplate :: Lens' GooglePrivacyDlpV2CreateInspectTemplateRequest (Maybe GooglePrivacyDlpV2InspectTemplate)-gpdvcitrInspectTemplate- = lens _gpdvcitrInspectTemplate- (\ s a -> s{_gpdvcitrInspectTemplate = a})--instance FromJSON- GooglePrivacyDlpV2CreateInspectTemplateRequest- where- parseJSON- = withObject- "GooglePrivacyDlpV2CreateInspectTemplateRequest"- (\ o ->- GooglePrivacyDlpV2CreateInspectTemplateRequest' <$>- (o .:? "templateId") <*> (o .:? "inspectTemplate"))--instance ToJSON- GooglePrivacyDlpV2CreateInspectTemplateRequest- where- toJSON- GooglePrivacyDlpV2CreateInspectTemplateRequest'{..}- = object- (catMaybes- [("templateId" .=) <$> _gpdvcitrTemplateId,- ("inspectTemplate" .=) <$> _gpdvcitrInspectTemplate])---- | A (kind, ID\/name) pair used to construct a key path. If either name or--- ID is set, the element is complete. If neither is set, the element is--- incomplete.------ /See:/ 'googlePrivacyDlpV2PathElement' smart constructor.-data GooglePrivacyDlpV2PathElement =- GooglePrivacyDlpV2PathElement'- { _gpdvpeKind :: !(Maybe Text)- , _gpdvpeName :: !(Maybe Text)- , _gpdvpeId :: !(Maybe (Textual Int64))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2PathElement' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvpeKind'------ * 'gpdvpeName'------ * 'gpdvpeId'-googlePrivacyDlpV2PathElement- :: GooglePrivacyDlpV2PathElement-googlePrivacyDlpV2PathElement =- GooglePrivacyDlpV2PathElement'- {_gpdvpeKind = Nothing, _gpdvpeName = Nothing, _gpdvpeId = Nothing}----- | The kind of the entity. A kind matching regex \`__.*__\` is--- reserved\/read-only. A kind must not contain more than 1500 bytes when--- UTF-8 encoded. Cannot be \`\"\"\`.-gpdvpeKind :: Lens' GooglePrivacyDlpV2PathElement (Maybe Text)-gpdvpeKind- = lens _gpdvpeKind (\ s a -> s{_gpdvpeKind = a})---- | The name of the entity. A name matching regex \`__.*__\` is--- reserved\/read-only. A name must not be more than 1500 bytes when UTF-8--- encoded. Cannot be \`\"\"\`.-gpdvpeName :: Lens' GooglePrivacyDlpV2PathElement (Maybe Text)-gpdvpeName- = lens _gpdvpeName (\ s a -> s{_gpdvpeName = a})---- | The auto-allocated ID of the entity. Never equal to zero. Values less--- than zero are discouraged and may not be supported in the future.-gpdvpeId :: Lens' GooglePrivacyDlpV2PathElement (Maybe Int64)-gpdvpeId- = lens _gpdvpeId (\ s a -> s{_gpdvpeId = a}) .- mapping _Coerce--instance FromJSON GooglePrivacyDlpV2PathElement where- parseJSON- = withObject "GooglePrivacyDlpV2PathElement"- (\ o ->- GooglePrivacyDlpV2PathElement' <$>- (o .:? "kind") <*> (o .:? "name") <*> (o .:? "id"))--instance ToJSON GooglePrivacyDlpV2PathElement where- toJSON GooglePrivacyDlpV2PathElement'{..}- = object- (catMaybes- [("kind" .=) <$> _gpdvpeKind,- ("name" .=) <$> _gpdvpeName,- ("id" .=) <$> _gpdvpeId])---- | Result of the δ-presence computation. Note that these results are an--- estimation, not exact values.------ /See:/ 'googlePrivacyDlpV2DeltaPresenceEstimationResult' smart constructor.-newtype GooglePrivacyDlpV2DeltaPresenceEstimationResult =- GooglePrivacyDlpV2DeltaPresenceEstimationResult'- { _gpdvdperDeltaPresenceEstimationHistogram :: Maybe [GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2DeltaPresenceEstimationResult' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvdperDeltaPresenceEstimationHistogram'-googlePrivacyDlpV2DeltaPresenceEstimationResult- :: GooglePrivacyDlpV2DeltaPresenceEstimationResult-googlePrivacyDlpV2DeltaPresenceEstimationResult =- GooglePrivacyDlpV2DeltaPresenceEstimationResult'- {_gpdvdperDeltaPresenceEstimationHistogram = Nothing}----- | The intervals [min_probability, max_probability) do not overlap. If a--- value doesn\'t correspond to any such interval, the associated frequency--- is zero. For example, the following records: {min_probability: 0,--- max_probability: 0.1, frequency: 17} {min_probability: 0.2,--- max_probability: 0.3, frequency: 42} {min_probability: 0.3,--- max_probability: 0.4, frequency: 99} mean that there are no record with--- an estimated probability in [0.1, 0.2) nor larger or equal to 0.4.-gpdvdperDeltaPresenceEstimationHistogram :: Lens' GooglePrivacyDlpV2DeltaPresenceEstimationResult [GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket]-gpdvdperDeltaPresenceEstimationHistogram- = lens _gpdvdperDeltaPresenceEstimationHistogram- (\ s a ->- s{_gpdvdperDeltaPresenceEstimationHistogram = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2DeltaPresenceEstimationResult- where- parseJSON- = withObject- "GooglePrivacyDlpV2DeltaPresenceEstimationResult"- (\ o ->- GooglePrivacyDlpV2DeltaPresenceEstimationResult' <$>- (o .:? "deltaPresenceEstimationHistogram" .!=- mempty))--instance ToJSON- GooglePrivacyDlpV2DeltaPresenceEstimationResult- where- toJSON- GooglePrivacyDlpV2DeltaPresenceEstimationResult'{..}- = object- (catMaybes- [("deltaPresenceEstimationHistogram" .=) <$>- _gpdvdperDeltaPresenceEstimationHistogram])------- /See:/ 'googlePrivacyDlpV2InspectJobConfig' smart constructor.-data GooglePrivacyDlpV2InspectJobConfig =- GooglePrivacyDlpV2InspectJobConfig'- { _gpdvijcActions :: !(Maybe [GooglePrivacyDlpV2Action])- , _gpdvijcStorageConfig :: !(Maybe GooglePrivacyDlpV2StorageConfig)- , _gpdvijcInspectConfig :: !(Maybe GooglePrivacyDlpV2InspectConfig)- , _gpdvijcInspectTemplateName :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2InspectJobConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvijcActions'------ * 'gpdvijcStorageConfig'------ * 'gpdvijcInspectConfig'------ * 'gpdvijcInspectTemplateName'-googlePrivacyDlpV2InspectJobConfig- :: GooglePrivacyDlpV2InspectJobConfig-googlePrivacyDlpV2InspectJobConfig =- GooglePrivacyDlpV2InspectJobConfig'- { _gpdvijcActions = Nothing- , _gpdvijcStorageConfig = Nothing- , _gpdvijcInspectConfig = Nothing- , _gpdvijcInspectTemplateName = Nothing- }----- | Actions to execute at the completion of the job.-gpdvijcActions :: Lens' GooglePrivacyDlpV2InspectJobConfig [GooglePrivacyDlpV2Action]-gpdvijcActions- = lens _gpdvijcActions- (\ s a -> s{_gpdvijcActions = a})- . _Default- . _Coerce---- | The data to scan.-gpdvijcStorageConfig :: Lens' GooglePrivacyDlpV2InspectJobConfig (Maybe GooglePrivacyDlpV2StorageConfig)-gpdvijcStorageConfig- = lens _gpdvijcStorageConfig- (\ s a -> s{_gpdvijcStorageConfig = a})---- | How and what to scan for.-gpdvijcInspectConfig :: Lens' GooglePrivacyDlpV2InspectJobConfig (Maybe GooglePrivacyDlpV2InspectConfig)-gpdvijcInspectConfig- = lens _gpdvijcInspectConfig- (\ s a -> s{_gpdvijcInspectConfig = a})---- | If provided, will be used as the default for all values in--- InspectConfig. \`inspect_config\` will be merged into the values--- persisted as part of the template.-gpdvijcInspectTemplateName :: Lens' GooglePrivacyDlpV2InspectJobConfig (Maybe Text)-gpdvijcInspectTemplateName- = lens _gpdvijcInspectTemplateName- (\ s a -> s{_gpdvijcInspectTemplateName = a})--instance FromJSON GooglePrivacyDlpV2InspectJobConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2InspectJobConfig"- (\ o ->- GooglePrivacyDlpV2InspectJobConfig' <$>- (o .:? "actions" .!= mempty) <*>- (o .:? "storageConfig")- <*> (o .:? "inspectConfig")- <*> (o .:? "inspectTemplateName"))--instance ToJSON GooglePrivacyDlpV2InspectJobConfig- where- toJSON GooglePrivacyDlpV2InspectJobConfig'{..}- = object- (catMaybes- [("actions" .=) <$> _gpdvijcActions,- ("storageConfig" .=) <$> _gpdvijcStorageConfig,- ("inspectConfig" .=) <$> _gpdvijcInspectConfig,- ("inspectTemplateName" .=) <$>- _gpdvijcInspectTemplateName])---- | A reference to a StoredInfoType to use with scanning.------ /See:/ 'googlePrivacyDlpV2StoredType' smart constructor.-data GooglePrivacyDlpV2StoredType =- GooglePrivacyDlpV2StoredType'- { _gpdvstName :: !(Maybe Text)- , _gpdvstCreateTime :: !(Maybe DateTime')- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2StoredType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvstName'------ * 'gpdvstCreateTime'-googlePrivacyDlpV2StoredType- :: GooglePrivacyDlpV2StoredType-googlePrivacyDlpV2StoredType =- GooglePrivacyDlpV2StoredType'- {_gpdvstName = Nothing, _gpdvstCreateTime = Nothing}----- | Resource name of the requested \`StoredInfoType\`, for example--- \`organizations\/433245324\/storedInfoTypes\/432452342\` or--- \`projects\/project-id\/storedInfoTypes\/432452342\`.-gpdvstName :: Lens' GooglePrivacyDlpV2StoredType (Maybe Text)-gpdvstName- = lens _gpdvstName (\ s a -> s{_gpdvstName = a})---- | Timestamp indicating when the version of the \`StoredInfoType\` used for--- inspection was created. Output-only field, populated by the system.-gpdvstCreateTime :: Lens' GooglePrivacyDlpV2StoredType (Maybe UTCTime)-gpdvstCreateTime- = lens _gpdvstCreateTime- (\ s a -> s{_gpdvstCreateTime = a})- . mapping _DateTime--instance FromJSON GooglePrivacyDlpV2StoredType where- parseJSON- = withObject "GooglePrivacyDlpV2StoredType"- (\ o ->- GooglePrivacyDlpV2StoredType' <$>- (o .:? "name") <*> (o .:? "createTime"))--instance ToJSON GooglePrivacyDlpV2StoredType where- toJSON GooglePrivacyDlpV2StoredType'{..}- = object- (catMaybes- [("name" .=) <$> _gpdvstName,- ("createTime" .=) <$> _gpdvstCreateTime])---- | The transformation to apply to the field.------ /See:/ 'googlePrivacyDlpV2FieldTransformation' smart constructor.-data GooglePrivacyDlpV2FieldTransformation =- GooglePrivacyDlpV2FieldTransformation'- { _gpdvftInfoTypeTransformations :: !(Maybe GooglePrivacyDlpV2InfoTypeTransformations)- , _gpdvftPrimitiveTransformation :: !(Maybe GooglePrivacyDlpV2PrimitiveTransformation)- , _gpdvftCondition :: !(Maybe GooglePrivacyDlpV2RecordCondition)- , _gpdvftFields :: !(Maybe [GooglePrivacyDlpV2FieldId])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2FieldTransformation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvftInfoTypeTransformations'------ * 'gpdvftPrimitiveTransformation'------ * 'gpdvftCondition'------ * 'gpdvftFields'-googlePrivacyDlpV2FieldTransformation- :: GooglePrivacyDlpV2FieldTransformation-googlePrivacyDlpV2FieldTransformation =- GooglePrivacyDlpV2FieldTransformation'- { _gpdvftInfoTypeTransformations = Nothing- , _gpdvftPrimitiveTransformation = Nothing- , _gpdvftCondition = Nothing- , _gpdvftFields = Nothing- }----- | Treat the contents of the field as free text, and selectively transform--- content that matches an \`InfoType\`.-gpdvftInfoTypeTransformations :: Lens' GooglePrivacyDlpV2FieldTransformation (Maybe GooglePrivacyDlpV2InfoTypeTransformations)-gpdvftInfoTypeTransformations- = lens _gpdvftInfoTypeTransformations- (\ s a -> s{_gpdvftInfoTypeTransformations = a})---- | Apply the transformation to the entire field.-gpdvftPrimitiveTransformation :: Lens' GooglePrivacyDlpV2FieldTransformation (Maybe GooglePrivacyDlpV2PrimitiveTransformation)-gpdvftPrimitiveTransformation- = lens _gpdvftPrimitiveTransformation- (\ s a -> s{_gpdvftPrimitiveTransformation = a})---- | Only apply the transformation if the condition evaluates to true for the--- given \`RecordCondition\`. The conditions are allowed to reference--- fields that are not used in the actual transformation. [optional]--- Example Use Cases: - Apply a different bucket transformation to an age--- column if the zip code column for the same record is within a specific--- range. - Redact a field if the date of birth field is greater than 85.-gpdvftCondition :: Lens' GooglePrivacyDlpV2FieldTransformation (Maybe GooglePrivacyDlpV2RecordCondition)-gpdvftCondition- = lens _gpdvftCondition- (\ s a -> s{_gpdvftCondition = a})---- | Input field(s) to apply the transformation to. [required]-gpdvftFields :: Lens' GooglePrivacyDlpV2FieldTransformation [GooglePrivacyDlpV2FieldId]-gpdvftFields- = lens _gpdvftFields (\ s a -> s{_gpdvftFields = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2FieldTransformation- where- parseJSON- = withObject "GooglePrivacyDlpV2FieldTransformation"- (\ o ->- GooglePrivacyDlpV2FieldTransformation' <$>- (o .:? "infoTypeTransformations") <*>- (o .:? "primitiveTransformation")- <*> (o .:? "condition")- <*> (o .:? "fields" .!= mempty))--instance ToJSON GooglePrivacyDlpV2FieldTransformation- where- toJSON GooglePrivacyDlpV2FieldTransformation'{..}- = object- (catMaybes- [("infoTypeTransformations" .=) <$>- _gpdvftInfoTypeTransformations,- ("primitiveTransformation" .=) <$>- _gpdvftPrimitiveTransformation,- ("condition" .=) <$> _gpdvftCondition,- ("fields" .=) <$> _gpdvftFields])---- | The rule that adjusts the likelihood of findings within a certain--- proximity of hotwords.------ /See:/ 'googlePrivacyDlpV2HotwordRule' smart constructor.-data GooglePrivacyDlpV2HotwordRule =- GooglePrivacyDlpV2HotwordRule'- { _gpdvhrProximity :: !(Maybe GooglePrivacyDlpV2Proximity)- , _gpdvhrLikelihoodAdjustment :: !(Maybe GooglePrivacyDlpV2LikelihoodAdjustment)- , _gpdvhrHotwordRegex :: !(Maybe GooglePrivacyDlpV2Regex)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2HotwordRule' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvhrProximity'------ * 'gpdvhrLikelihoodAdjustment'------ * 'gpdvhrHotwordRegex'-googlePrivacyDlpV2HotwordRule- :: GooglePrivacyDlpV2HotwordRule-googlePrivacyDlpV2HotwordRule =- GooglePrivacyDlpV2HotwordRule'- { _gpdvhrProximity = Nothing- , _gpdvhrLikelihoodAdjustment = Nothing- , _gpdvhrHotwordRegex = Nothing- }----- | Proximity of the finding within which the entire hotword must reside.--- The total length of the window cannot exceed 1000 characters. Note that--- the finding itself will be included in the window, so that hotwords may--- be used to match substrings of the finding itself. For example, the--- certainty of a phone number regex \"\\(\\d{3}\\) \\d{3}-\\d{4}\" could--- be adjusted upwards if the area code is known to be the local area code--- of a company office using the hotword regex \"\\(xxx\\)\", where \"xxx\"--- is the area code in question.-gpdvhrProximity :: Lens' GooglePrivacyDlpV2HotwordRule (Maybe GooglePrivacyDlpV2Proximity)-gpdvhrProximity- = lens _gpdvhrProximity- (\ s a -> s{_gpdvhrProximity = a})---- | Likelihood adjustment to apply to all matching findings.-gpdvhrLikelihoodAdjustment :: Lens' GooglePrivacyDlpV2HotwordRule (Maybe GooglePrivacyDlpV2LikelihoodAdjustment)-gpdvhrLikelihoodAdjustment- = lens _gpdvhrLikelihoodAdjustment- (\ s a -> s{_gpdvhrLikelihoodAdjustment = a})---- | Regular expression pattern defining what qualifies as a hotword.-gpdvhrHotwordRegex :: Lens' GooglePrivacyDlpV2HotwordRule (Maybe GooglePrivacyDlpV2Regex)-gpdvhrHotwordRegex- = lens _gpdvhrHotwordRegex- (\ s a -> s{_gpdvhrHotwordRegex = a})--instance FromJSON GooglePrivacyDlpV2HotwordRule where- parseJSON- = withObject "GooglePrivacyDlpV2HotwordRule"- (\ o ->- GooglePrivacyDlpV2HotwordRule' <$>- (o .:? "proximity") <*>- (o .:? "likelihoodAdjustment")- <*> (o .:? "hotwordRegex"))--instance ToJSON GooglePrivacyDlpV2HotwordRule where- toJSON GooglePrivacyDlpV2HotwordRule'{..}- = object- (catMaybes- [("proximity" .=) <$> _gpdvhrProximity,- ("likelihoodAdjustment" .=) <$>- _gpdvhrLikelihoodAdjustment,- ("hotwordRegex" .=) <$> _gpdvhrHotwordRegex])---- | Request to search for potentially sensitive info in an image and redact--- it by covering it with a colored rectangle.------ /See:/ 'googlePrivacyDlpV2RedactImageRequest' smart constructor.-data GooglePrivacyDlpV2RedactImageRequest =- GooglePrivacyDlpV2RedactImageRequest'- { _gpdvrirIncludeFindings :: !(Maybe Bool)- , _gpdvrirInspectConfig :: !(Maybe GooglePrivacyDlpV2InspectConfig)- , _gpdvrirByteItem :: !(Maybe GooglePrivacyDlpV2ByteContentItem)- , _gpdvrirImageRedactionConfigs :: !(Maybe [GooglePrivacyDlpV2ImageRedactionConfig])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2RedactImageRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvrirIncludeFindings'------ * 'gpdvrirInspectConfig'------ * 'gpdvrirByteItem'------ * 'gpdvrirImageRedactionConfigs'-googlePrivacyDlpV2RedactImageRequest- :: GooglePrivacyDlpV2RedactImageRequest-googlePrivacyDlpV2RedactImageRequest =- GooglePrivacyDlpV2RedactImageRequest'- { _gpdvrirIncludeFindings = Nothing- , _gpdvrirInspectConfig = Nothing- , _gpdvrirByteItem = Nothing- , _gpdvrirImageRedactionConfigs = Nothing- }----- | Whether the response should include findings along with the redacted--- image.-gpdvrirIncludeFindings :: Lens' GooglePrivacyDlpV2RedactImageRequest (Maybe Bool)-gpdvrirIncludeFindings- = lens _gpdvrirIncludeFindings- (\ s a -> s{_gpdvrirIncludeFindings = a})---- | Configuration for the inspector.-gpdvrirInspectConfig :: Lens' GooglePrivacyDlpV2RedactImageRequest (Maybe GooglePrivacyDlpV2InspectConfig)-gpdvrirInspectConfig- = lens _gpdvrirInspectConfig- (\ s a -> s{_gpdvrirInspectConfig = a})---- | The content must be PNG, JPEG, SVG or BMP.-gpdvrirByteItem :: Lens' GooglePrivacyDlpV2RedactImageRequest (Maybe GooglePrivacyDlpV2ByteContentItem)-gpdvrirByteItem- = lens _gpdvrirByteItem- (\ s a -> s{_gpdvrirByteItem = a})---- | The configuration for specifying what content to redact from images.-gpdvrirImageRedactionConfigs :: Lens' GooglePrivacyDlpV2RedactImageRequest [GooglePrivacyDlpV2ImageRedactionConfig]-gpdvrirImageRedactionConfigs- = lens _gpdvrirImageRedactionConfigs- (\ s a -> s{_gpdvrirImageRedactionConfigs = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2RedactImageRequest- where- parseJSON- = withObject "GooglePrivacyDlpV2RedactImageRequest"- (\ o ->- GooglePrivacyDlpV2RedactImageRequest' <$>- (o .:? "includeFindings") <*> (o .:? "inspectConfig")- <*> (o .:? "byteItem")- <*> (o .:? "imageRedactionConfigs" .!= mempty))--instance ToJSON GooglePrivacyDlpV2RedactImageRequest- where- toJSON GooglePrivacyDlpV2RedactImageRequest'{..}- = object- (catMaybes- [("includeFindings" .=) <$> _gpdvrirIncludeFindings,- ("inspectConfig" .=) <$> _gpdvrirInspectConfig,- ("byteItem" .=) <$> _gpdvrirByteItem,- ("imageRedactionConfigs" .=) <$>- _gpdvrirImageRedactionConfigs])------- /See:/ 'googlePrivacyDlpV2FindingLimits' smart constructor.-data GooglePrivacyDlpV2FindingLimits =- GooglePrivacyDlpV2FindingLimits'- { _gpdvflMaxFindingsPerItem :: !(Maybe (Textual Int32))- , _gpdvflMaxFindingsPerInfoType :: !(Maybe [GooglePrivacyDlpV2InfoTypeLimit])- , _gpdvflMaxFindingsPerRequest :: !(Maybe (Textual Int32))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2FindingLimits' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvflMaxFindingsPerItem'------ * 'gpdvflMaxFindingsPerInfoType'------ * 'gpdvflMaxFindingsPerRequest'-googlePrivacyDlpV2FindingLimits- :: GooglePrivacyDlpV2FindingLimits-googlePrivacyDlpV2FindingLimits =- GooglePrivacyDlpV2FindingLimits'- { _gpdvflMaxFindingsPerItem = Nothing- , _gpdvflMaxFindingsPerInfoType = Nothing- , _gpdvflMaxFindingsPerRequest = Nothing- }----- | Max number of findings that will be returned for each item scanned. When--- set within \`InspectDataSourceRequest\`, the maximum returned is 2000--- regardless if this is set higher. When set within--- \`InspectContentRequest\`, this field is ignored.-gpdvflMaxFindingsPerItem :: Lens' GooglePrivacyDlpV2FindingLimits (Maybe Int32)-gpdvflMaxFindingsPerItem- = lens _gpdvflMaxFindingsPerItem- (\ s a -> s{_gpdvflMaxFindingsPerItem = a})- . mapping _Coerce---- | Configuration of findings limit given for specified infoTypes.-gpdvflMaxFindingsPerInfoType :: Lens' GooglePrivacyDlpV2FindingLimits [GooglePrivacyDlpV2InfoTypeLimit]-gpdvflMaxFindingsPerInfoType- = lens _gpdvflMaxFindingsPerInfoType- (\ s a -> s{_gpdvflMaxFindingsPerInfoType = a})- . _Default- . _Coerce---- | Max number of findings that will be returned per request\/job. When set--- within \`InspectContentRequest\`, the maximum returned is 2000--- regardless if this is set higher.-gpdvflMaxFindingsPerRequest :: Lens' GooglePrivacyDlpV2FindingLimits (Maybe Int32)-gpdvflMaxFindingsPerRequest- = lens _gpdvflMaxFindingsPerRequest- (\ s a -> s{_gpdvflMaxFindingsPerRequest = a})- . mapping _Coerce--instance FromJSON GooglePrivacyDlpV2FindingLimits- where- parseJSON- = withObject "GooglePrivacyDlpV2FindingLimits"- (\ o ->- GooglePrivacyDlpV2FindingLimits' <$>- (o .:? "maxFindingsPerItem") <*>- (o .:? "maxFindingsPerInfoType" .!= mempty)- <*> (o .:? "maxFindingsPerRequest"))--instance ToJSON GooglePrivacyDlpV2FindingLimits where- toJSON GooglePrivacyDlpV2FindingLimits'{..}- = object- (catMaybes- [("maxFindingsPerItem" .=) <$>- _gpdvflMaxFindingsPerItem,- ("maxFindingsPerInfoType" .=) <$>- _gpdvflMaxFindingsPerInfoType,- ("maxFindingsPerRequest" .=) <$>- _gpdvflMaxFindingsPerRequest])---- | The field type of \`value\` and \`field\` do not need to match to be--- considered equal, but not all comparisons are possible. EQUAL_TO and--- NOT_EQUAL_TO attempt to compare even with incompatible types, but all--- other comparisons are invalid with incompatible types. A \`value\` of--- type: - \`string\` can be compared against all other types - \`boolean\`--- can only be compared against other booleans - \`integer\` can be--- compared against doubles or a string if the string value can be parsed--- as an integer. - \`double\` can be compared against integers or a string--- if the string can be parsed as a double. - \`Timestamp\` can be compared--- against strings in RFC 3339 date string format. - \`TimeOfDay\` can be--- compared against timestamps and strings in the format of \'HH:mm:ss\'.--- If we fail to compare do to type mismatch, a warning will be given and--- the condition will evaluate to false.------ /See:/ 'googlePrivacyDlpV2Condition' smart constructor.-data GooglePrivacyDlpV2Condition =- GooglePrivacyDlpV2Condition'- { _gpdvcField :: !(Maybe GooglePrivacyDlpV2FieldId)- , _gpdvcOperator :: !(Maybe GooglePrivacyDlpV2ConditionOperator)- , _gpdvcValue :: !(Maybe GooglePrivacyDlpV2Value)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Condition' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcField'------ * 'gpdvcOperator'------ * 'gpdvcValue'-googlePrivacyDlpV2Condition- :: GooglePrivacyDlpV2Condition-googlePrivacyDlpV2Condition =- GooglePrivacyDlpV2Condition'- {_gpdvcField = Nothing, _gpdvcOperator = Nothing, _gpdvcValue = Nothing}----- | Field within the record this condition is evaluated against. [required]-gpdvcField :: Lens' GooglePrivacyDlpV2Condition (Maybe GooglePrivacyDlpV2FieldId)-gpdvcField- = lens _gpdvcField (\ s a -> s{_gpdvcField = a})---- | Operator used to compare the field or infoType to the value. [required]-gpdvcOperator :: Lens' GooglePrivacyDlpV2Condition (Maybe GooglePrivacyDlpV2ConditionOperator)-gpdvcOperator- = lens _gpdvcOperator- (\ s a -> s{_gpdvcOperator = a})---- | Value to compare against. [Required, except for \`EXISTS\` tests.]-gpdvcValue :: Lens' GooglePrivacyDlpV2Condition (Maybe GooglePrivacyDlpV2Value)-gpdvcValue- = lens _gpdvcValue (\ s a -> s{_gpdvcValue = a})--instance FromJSON GooglePrivacyDlpV2Condition where- parseJSON- = withObject "GooglePrivacyDlpV2Condition"- (\ o ->- GooglePrivacyDlpV2Condition' <$>- (o .:? "field") <*> (o .:? "operator") <*>- (o .:? "value"))--instance ToJSON GooglePrivacyDlpV2Condition where- toJSON GooglePrivacyDlpV2Condition'{..}- = object- (catMaybes- [("field" .=) <$> _gpdvcField,- ("operator" .=) <$> _gpdvcOperator,- ("value" .=) <$> _gpdvcValue])---- | Configuration of the timespan of the items to include in scanning.--- Currently only supported when inspecting Google Cloud Storage and--- BigQuery.------ /See:/ 'googlePrivacyDlpV2TimespanConfig' smart constructor.-data GooglePrivacyDlpV2TimespanConfig =- GooglePrivacyDlpV2TimespanConfig'- { _gpdvtcTimestampField :: !(Maybe GooglePrivacyDlpV2FieldId)- , _gpdvtcStartTime :: !(Maybe DateTime')- , _gpdvtcEnableAutoPopulationOfTimespanConfig :: !(Maybe Bool)- , _gpdvtcEndTime :: !(Maybe DateTime')- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2TimespanConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvtcTimestampField'------ * 'gpdvtcStartTime'------ * 'gpdvtcEnableAutoPopulationOfTimespanConfig'------ * 'gpdvtcEndTime'-googlePrivacyDlpV2TimespanConfig- :: GooglePrivacyDlpV2TimespanConfig-googlePrivacyDlpV2TimespanConfig =- GooglePrivacyDlpV2TimespanConfig'- { _gpdvtcTimestampField = Nothing- , _gpdvtcStartTime = Nothing- , _gpdvtcEnableAutoPopulationOfTimespanConfig = Nothing- , _gpdvtcEndTime = Nothing- }----- | Specification of the field containing the timestamp of scanned items.--- Used for data sources like Datastore or BigQuery. If not specified for--- BigQuery, table last modification timestamp is checked against given--- time span. The valid data types of the timestamp field are: for BigQuery--- - timestamp, date, datetime; for Datastore - timestamp. Datastore entity--- will be scanned if the timestamp property does not exist or its value is--- empty or invalid.-gpdvtcTimestampField :: Lens' GooglePrivacyDlpV2TimespanConfig (Maybe GooglePrivacyDlpV2FieldId)-gpdvtcTimestampField- = lens _gpdvtcTimestampField- (\ s a -> s{_gpdvtcTimestampField = a})---- | Exclude files or rows older than this value.-gpdvtcStartTime :: Lens' GooglePrivacyDlpV2TimespanConfig (Maybe UTCTime)-gpdvtcStartTime- = lens _gpdvtcStartTime- (\ s a -> s{_gpdvtcStartTime = a})- . mapping _DateTime---- | When the job is started by a JobTrigger we will automatically figure out--- a valid start_time to avoid scanning files that have not been modified--- since the last time the JobTrigger executed. This will be based on the--- time of the execution of the last run of the JobTrigger.-gpdvtcEnableAutoPopulationOfTimespanConfig :: Lens' GooglePrivacyDlpV2TimespanConfig (Maybe Bool)-gpdvtcEnableAutoPopulationOfTimespanConfig- = lens _gpdvtcEnableAutoPopulationOfTimespanConfig- (\ s a ->- s{_gpdvtcEnableAutoPopulationOfTimespanConfig = a})---- | Exclude files or rows newer than this value. If set to zero, no upper--- time limit is applied.-gpdvtcEndTime :: Lens' GooglePrivacyDlpV2TimespanConfig (Maybe UTCTime)-gpdvtcEndTime- = lens _gpdvtcEndTime- (\ s a -> s{_gpdvtcEndTime = a})- . mapping _DateTime--instance FromJSON GooglePrivacyDlpV2TimespanConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2TimespanConfig"- (\ o ->- GooglePrivacyDlpV2TimespanConfig' <$>- (o .:? "timestampField") <*> (o .:? "startTime") <*>- (o .:? "enableAutoPopulationOfTimespanConfig")- <*> (o .:? "endTime"))--instance ToJSON GooglePrivacyDlpV2TimespanConfig- where- toJSON GooglePrivacyDlpV2TimespanConfig'{..}- = object- (catMaybes- [("timestampField" .=) <$> _gpdvtcTimestampField,- ("startTime" .=) <$> _gpdvtcStartTime,- ("enableAutoPopulationOfTimespanConfig" .=) <$>- _gpdvtcEnableAutoPopulationOfTimespanConfig,- ("endTime" .=) <$> _gpdvtcEndTime])---- | Request message for CreateDeidentifyTemplate.------ /See:/ 'googlePrivacyDlpV2CreateDeidentifyTemplateRequest' smart constructor.-data GooglePrivacyDlpV2CreateDeidentifyTemplateRequest =- GooglePrivacyDlpV2CreateDeidentifyTemplateRequest'- { _gpdvcdtrTemplateId :: !(Maybe Text)- , _gpdvcdtrDeidentifyTemplate :: !(Maybe GooglePrivacyDlpV2DeidentifyTemplate)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CreateDeidentifyTemplateRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcdtrTemplateId'------ * 'gpdvcdtrDeidentifyTemplate'-googlePrivacyDlpV2CreateDeidentifyTemplateRequest- :: GooglePrivacyDlpV2CreateDeidentifyTemplateRequest-googlePrivacyDlpV2CreateDeidentifyTemplateRequest =- GooglePrivacyDlpV2CreateDeidentifyTemplateRequest'- {_gpdvcdtrTemplateId = Nothing, _gpdvcdtrDeidentifyTemplate = Nothing}----- | The template id can contain uppercase and lowercase letters, numbers,--- and hyphens; that is, it must match the regular expression:--- \`[a-zA-Z\\\\d-_]+\`. The maximum length is 100 characters. Can be empty--- to allow the system to generate one.-gpdvcdtrTemplateId :: Lens' GooglePrivacyDlpV2CreateDeidentifyTemplateRequest (Maybe Text)-gpdvcdtrTemplateId- = lens _gpdvcdtrTemplateId- (\ s a -> s{_gpdvcdtrTemplateId = a})---- | The DeidentifyTemplate to create.-gpdvcdtrDeidentifyTemplate :: Lens' GooglePrivacyDlpV2CreateDeidentifyTemplateRequest (Maybe GooglePrivacyDlpV2DeidentifyTemplate)-gpdvcdtrDeidentifyTemplate- = lens _gpdvcdtrDeidentifyTemplate- (\ s a -> s{_gpdvcdtrDeidentifyTemplate = a})--instance FromJSON- GooglePrivacyDlpV2CreateDeidentifyTemplateRequest- where- parseJSON- = withObject- "GooglePrivacyDlpV2CreateDeidentifyTemplateRequest"- (\ o ->- GooglePrivacyDlpV2CreateDeidentifyTemplateRequest'- <$>- (o .:? "templateId") <*>- (o .:? "deidentifyTemplate"))--instance ToJSON- GooglePrivacyDlpV2CreateDeidentifyTemplateRequest- where- toJSON- GooglePrivacyDlpV2CreateDeidentifyTemplateRequest'{..}- = object- (catMaybes- [("templateId" .=) <$> _gpdvcdtrTemplateId,- ("deidentifyTemplate" .=) <$>- _gpdvcdtrDeidentifyTemplate])---- | Use this to have a random data crypto key generated. It will be--- discarded after the request finishes.------ /See:/ 'googlePrivacyDlpV2TransientCryptoKey' smart constructor.-newtype GooglePrivacyDlpV2TransientCryptoKey =- GooglePrivacyDlpV2TransientCryptoKey'- { _gpdvtckName :: Maybe Text- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2TransientCryptoKey' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvtckName'-googlePrivacyDlpV2TransientCryptoKey- :: GooglePrivacyDlpV2TransientCryptoKey-googlePrivacyDlpV2TransientCryptoKey =- GooglePrivacyDlpV2TransientCryptoKey' {_gpdvtckName = Nothing}----- | Name of the key. [required] This is an arbitrary string used to--- differentiate different keys. A unique key is generated per name: two--- separate \`TransientCryptoKey\` protos share the same generated key if--- their names are the same. When the data crypto key is generated, this--- name is not used in any way (repeating the api call will result in a--- different key being generated).-gpdvtckName :: Lens' GooglePrivacyDlpV2TransientCryptoKey (Maybe Text)-gpdvtckName- = lens _gpdvtckName (\ s a -> s{_gpdvtckName = a})--instance FromJSON- GooglePrivacyDlpV2TransientCryptoKey- where- parseJSON- = withObject "GooglePrivacyDlpV2TransientCryptoKey"- (\ o ->- GooglePrivacyDlpV2TransientCryptoKey' <$>- (o .:? "name"))--instance ToJSON GooglePrivacyDlpV2TransientCryptoKey- where- toJSON GooglePrivacyDlpV2TransientCryptoKey'{..}- = object (catMaybes [("name" .=) <$> _gpdvtckName])---- | InfoType description.------ /See:/ 'googlePrivacyDlpV2InfoTypeDescription' smart constructor.-data GooglePrivacyDlpV2InfoTypeDescription =- GooglePrivacyDlpV2InfoTypeDescription'- { _gpdvitdName :: !(Maybe Text)- , _gpdvitdDisplayName :: !(Maybe Text)- , _gpdvitdSupportedBy :: !(Maybe [Text])- , _gpdvitdDescription :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2InfoTypeDescription' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvitdName'------ * 'gpdvitdDisplayName'------ * 'gpdvitdSupportedBy'------ * 'gpdvitdDescription'-googlePrivacyDlpV2InfoTypeDescription- :: GooglePrivacyDlpV2InfoTypeDescription-googlePrivacyDlpV2InfoTypeDescription =- GooglePrivacyDlpV2InfoTypeDescription'- { _gpdvitdName = Nothing- , _gpdvitdDisplayName = Nothing- , _gpdvitdSupportedBy = Nothing- , _gpdvitdDescription = Nothing- }----- | Internal name of the infoType.-gpdvitdName :: Lens' GooglePrivacyDlpV2InfoTypeDescription (Maybe Text)-gpdvitdName- = lens _gpdvitdName (\ s a -> s{_gpdvitdName = a})---- | Human readable form of the infoType name.-gpdvitdDisplayName :: Lens' GooglePrivacyDlpV2InfoTypeDescription (Maybe Text)-gpdvitdDisplayName- = lens _gpdvitdDisplayName- (\ s a -> s{_gpdvitdDisplayName = a})---- | Which parts of the API supports this InfoType.-gpdvitdSupportedBy :: Lens' GooglePrivacyDlpV2InfoTypeDescription [Text]-gpdvitdSupportedBy- = lens _gpdvitdSupportedBy- (\ s a -> s{_gpdvitdSupportedBy = a})- . _Default- . _Coerce---- | Description of the infotype. Translated when language is provided in the--- request.-gpdvitdDescription :: Lens' GooglePrivacyDlpV2InfoTypeDescription (Maybe Text)-gpdvitdDescription- = lens _gpdvitdDescription- (\ s a -> s{_gpdvitdDescription = a})--instance FromJSON- GooglePrivacyDlpV2InfoTypeDescription- where- parseJSON- = withObject "GooglePrivacyDlpV2InfoTypeDescription"- (\ o ->- GooglePrivacyDlpV2InfoTypeDescription' <$>- (o .:? "name") <*> (o .:? "displayName") <*>- (o .:? "supportedBy" .!= mempty)- <*> (o .:? "description"))--instance ToJSON GooglePrivacyDlpV2InfoTypeDescription- where- toJSON GooglePrivacyDlpV2InfoTypeDescription'{..}- = object- (catMaybes- [("name" .=) <$> _gpdvitdName,- ("displayName" .=) <$> _gpdvitdDisplayName,- ("supportedBy" .=) <$> _gpdvitdSupportedBy,- ("description" .=) <$> _gpdvitdDescription])---- | A generic empty message that you can re-use to avoid defining duplicated--- empty messages in your APIs. A typical example is to use it as the--- request or the response type of an API method. For instance: service Foo--- { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The--- JSON representation for \`Empty\` is empty JSON object \`{}\`.------ /See:/ 'googleProtobufEmpty' smart constructor.-data GoogleProtobufEmpty =- GoogleProtobufEmpty'- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GoogleProtobufEmpty' with the minimum fields required to make a request.----googleProtobufEmpty- :: GoogleProtobufEmpty-googleProtobufEmpty = GoogleProtobufEmpty'---instance FromJSON GoogleProtobufEmpty where- parseJSON- = withObject "GoogleProtobufEmpty"- (\ o -> pure GoogleProtobufEmpty')--instance ToJSON GoogleProtobufEmpty where- toJSON = const emptyObject------- /See:/ 'googleRpcStatusDetailsItem' smart constructor.-newtype GoogleRpcStatusDetailsItem =- GoogleRpcStatusDetailsItem'- { _grsdiAddtional :: HashMap Text JSONValue- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GoogleRpcStatusDetailsItem' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'grsdiAddtional'-googleRpcStatusDetailsItem- :: HashMap Text JSONValue -- ^ 'grsdiAddtional'- -> GoogleRpcStatusDetailsItem-googleRpcStatusDetailsItem pGrsdiAddtional_ =- GoogleRpcStatusDetailsItem' {_grsdiAddtional = _Coerce # pGrsdiAddtional_}----- | Properties of the object. Contains field \'type with type URL.-grsdiAddtional :: Lens' GoogleRpcStatusDetailsItem (HashMap Text JSONValue)-grsdiAddtional- = lens _grsdiAddtional- (\ s a -> s{_grsdiAddtional = a})- . _Coerce--instance FromJSON GoogleRpcStatusDetailsItem where- parseJSON- = withObject "GoogleRpcStatusDetailsItem"- (\ o ->- GoogleRpcStatusDetailsItem' <$> (parseJSONObject o))--instance ToJSON GoogleRpcStatusDetailsItem where- toJSON = toJSON . _grsdiAddtional---- | Configuration for determining how redaction of images should occur.------ /See:/ 'googlePrivacyDlpV2ImageRedactionConfig' smart constructor.-data GooglePrivacyDlpV2ImageRedactionConfig =- GooglePrivacyDlpV2ImageRedactionConfig'- { _gpdvircRedactionColor :: !(Maybe GooglePrivacyDlpV2Color)- , _gpdvircInfoType :: !(Maybe GooglePrivacyDlpV2InfoType)- , _gpdvircRedactAllText :: !(Maybe Bool)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ImageRedactionConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvircRedactionColor'------ * 'gpdvircInfoType'------ * 'gpdvircRedactAllText'-googlePrivacyDlpV2ImageRedactionConfig- :: GooglePrivacyDlpV2ImageRedactionConfig-googlePrivacyDlpV2ImageRedactionConfig =- GooglePrivacyDlpV2ImageRedactionConfig'- { _gpdvircRedactionColor = Nothing- , _gpdvircInfoType = Nothing- , _gpdvircRedactAllText = Nothing- }----- | The color to use when redacting content from an image. If not specified,--- the default is black.-gpdvircRedactionColor :: Lens' GooglePrivacyDlpV2ImageRedactionConfig (Maybe GooglePrivacyDlpV2Color)-gpdvircRedactionColor- = lens _gpdvircRedactionColor- (\ s a -> s{_gpdvircRedactionColor = a})---- | Only one per info_type should be provided per request. If not specified,--- and redact_all_text is false, the DLP API will redact all text that it--- matches against all info_types that are found, but not specified in--- another ImageRedactionConfig.-gpdvircInfoType :: Lens' GooglePrivacyDlpV2ImageRedactionConfig (Maybe GooglePrivacyDlpV2InfoType)-gpdvircInfoType- = lens _gpdvircInfoType- (\ s a -> s{_gpdvircInfoType = a})---- | If true, all text found in the image, regardless whether it matches an--- info_type, is redacted. Only one should be provided.-gpdvircRedactAllText :: Lens' GooglePrivacyDlpV2ImageRedactionConfig (Maybe Bool)-gpdvircRedactAllText- = lens _gpdvircRedactAllText- (\ s a -> s{_gpdvircRedactAllText = a})--instance FromJSON- GooglePrivacyDlpV2ImageRedactionConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2ImageRedactionConfig"- (\ o ->- GooglePrivacyDlpV2ImageRedactionConfig' <$>- (o .:? "redactionColor") <*> (o .:? "infoType") <*>- (o .:? "redactAllText"))--instance ToJSON- GooglePrivacyDlpV2ImageRedactionConfig- where- toJSON GooglePrivacyDlpV2ImageRedactionConfig'{..}- = object- (catMaybes- [("redactionColor" .=) <$> _gpdvircRedactionColor,- ("infoType" .=) <$> _gpdvircInfoType,- ("redactAllText" .=) <$> _gpdvircRedactAllText])---- | What event needs to occur for a new job to be started.------ /See:/ 'googlePrivacyDlpV2Trigger' smart constructor.-newtype GooglePrivacyDlpV2Trigger =- GooglePrivacyDlpV2Trigger'- { _gpdvtSchedule :: Maybe GooglePrivacyDlpV2Schedule- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Trigger' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvtSchedule'-googlePrivacyDlpV2Trigger- :: GooglePrivacyDlpV2Trigger-googlePrivacyDlpV2Trigger =- GooglePrivacyDlpV2Trigger' {_gpdvtSchedule = Nothing}----- | Create a job on a repeating basis based on the elapse of time.-gpdvtSchedule :: Lens' GooglePrivacyDlpV2Trigger (Maybe GooglePrivacyDlpV2Schedule)-gpdvtSchedule- = lens _gpdvtSchedule- (\ s a -> s{_gpdvtSchedule = a})--instance FromJSON GooglePrivacyDlpV2Trigger where- parseJSON- = withObject "GooglePrivacyDlpV2Trigger"- (\ o ->- GooglePrivacyDlpV2Trigger' <$> (o .:? "schedule"))--instance ToJSON GooglePrivacyDlpV2Trigger where- toJSON GooglePrivacyDlpV2Trigger'{..}- = object- (catMaybes [("schedule" .=) <$> _gpdvtSchedule])---- | Options defining a file or a set of files within a Google Cloud Storage--- bucket.------ /See:/ 'googlePrivacyDlpV2CloudStorageOptions' smart constructor.-data GooglePrivacyDlpV2CloudStorageOptions =- GooglePrivacyDlpV2CloudStorageOptions'- { _gpdvcsoFileSet :: !(Maybe GooglePrivacyDlpV2FileSet)- , _gpdvcsoBytesLimitPerFile :: !(Maybe (Textual Int64))- , _gpdvcsoFileTypes :: !(Maybe [Text])- , _gpdvcsoBytesLimitPerFilePercent :: !(Maybe (Textual Int32))- , _gpdvcsoFilesLimitPercent :: !(Maybe (Textual Int32))- , _gpdvcsoSampleMethod :: !(Maybe GooglePrivacyDlpV2CloudStorageOptionsSampleMethod)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CloudStorageOptions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcsoFileSet'------ * 'gpdvcsoBytesLimitPerFile'------ * 'gpdvcsoFileTypes'------ * 'gpdvcsoBytesLimitPerFilePercent'------ * 'gpdvcsoFilesLimitPercent'------ * 'gpdvcsoSampleMethod'-googlePrivacyDlpV2CloudStorageOptions- :: GooglePrivacyDlpV2CloudStorageOptions-googlePrivacyDlpV2CloudStorageOptions =- GooglePrivacyDlpV2CloudStorageOptions'- { _gpdvcsoFileSet = Nothing- , _gpdvcsoBytesLimitPerFile = Nothing- , _gpdvcsoFileTypes = Nothing- , _gpdvcsoBytesLimitPerFilePercent = Nothing- , _gpdvcsoFilesLimitPercent = Nothing- , _gpdvcsoSampleMethod = Nothing- }----- | The set of one or more files to scan.-gpdvcsoFileSet :: Lens' GooglePrivacyDlpV2CloudStorageOptions (Maybe GooglePrivacyDlpV2FileSet)-gpdvcsoFileSet- = lens _gpdvcsoFileSet- (\ s a -> s{_gpdvcsoFileSet = a})---- | Max number of bytes to scan from a file. If a scanned file\'s size is--- bigger than this value then the rest of the bytes are omitted. Only one--- of bytes_limit_per_file and bytes_limit_per_file_percent can be--- specified.-gpdvcsoBytesLimitPerFile :: Lens' GooglePrivacyDlpV2CloudStorageOptions (Maybe Int64)-gpdvcsoBytesLimitPerFile- = lens _gpdvcsoBytesLimitPerFile- (\ s a -> s{_gpdvcsoBytesLimitPerFile = a})- . mapping _Coerce---- | List of file type groups to include in the scan. If empty, all files are--- scanned and available data format processors are applied. In addition,--- the binary content of the selected files is always scanned as well.-gpdvcsoFileTypes :: Lens' GooglePrivacyDlpV2CloudStorageOptions [Text]-gpdvcsoFileTypes- = lens _gpdvcsoFileTypes- (\ s a -> s{_gpdvcsoFileTypes = a})- . _Default- . _Coerce---- | Max percentage of bytes to scan from a file. The rest are omitted. The--- number of bytes scanned is rounded down. Must be between 0 and 100,--- inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of--- bytes_limit_per_file and bytes_limit_per_file_percent can be specified.-gpdvcsoBytesLimitPerFilePercent :: Lens' GooglePrivacyDlpV2CloudStorageOptions (Maybe Int32)-gpdvcsoBytesLimitPerFilePercent- = lens _gpdvcsoBytesLimitPerFilePercent- (\ s a -> s{_gpdvcsoBytesLimitPerFilePercent = a})- . mapping _Coerce---- | Limits the number of files to scan to this percentage of the input--- FileSet. Number of files scanned is rounded down. Must be between 0 and--- 100, inclusively. Both 0 and 100 means no limit. Defaults to 0.-gpdvcsoFilesLimitPercent :: Lens' GooglePrivacyDlpV2CloudStorageOptions (Maybe Int32)-gpdvcsoFilesLimitPercent- = lens _gpdvcsoFilesLimitPercent- (\ s a -> s{_gpdvcsoFilesLimitPercent = a})- . mapping _Coerce--gpdvcsoSampleMethod :: Lens' GooglePrivacyDlpV2CloudStorageOptions (Maybe GooglePrivacyDlpV2CloudStorageOptionsSampleMethod)-gpdvcsoSampleMethod- = lens _gpdvcsoSampleMethod- (\ s a -> s{_gpdvcsoSampleMethod = a})--instance FromJSON- GooglePrivacyDlpV2CloudStorageOptions- where- parseJSON- = withObject "GooglePrivacyDlpV2CloudStorageOptions"- (\ o ->- GooglePrivacyDlpV2CloudStorageOptions' <$>- (o .:? "fileSet") <*> (o .:? "bytesLimitPerFile") <*>- (o .:? "fileTypes" .!= mempty)- <*> (o .:? "bytesLimitPerFilePercent")- <*> (o .:? "filesLimitPercent")- <*> (o .:? "sampleMethod"))--instance ToJSON GooglePrivacyDlpV2CloudStorageOptions- where- toJSON GooglePrivacyDlpV2CloudStorageOptions'{..}- = object- (catMaybes- [("fileSet" .=) <$> _gpdvcsoFileSet,- ("bytesLimitPerFile" .=) <$>- _gpdvcsoBytesLimitPerFile,- ("fileTypes" .=) <$> _gpdvcsoFileTypes,- ("bytesLimitPerFilePercent" .=) <$>- _gpdvcsoBytesLimitPerFilePercent,- ("filesLimitPercent" .=) <$>- _gpdvcsoFilesLimitPercent,- ("sampleMethod" .=) <$> _gpdvcsoSampleMethod])---- | δ-presence metric, used to estimate how likely it is for an attacker to--- figure out that one given individual appears in a de-identified dataset.--- Similarly to the k-map metric, we cannot compute δ-presence exactly--- without knowing the attack dataset, so we use a statistical model--- instead.------ /See:/ 'googlePrivacyDlpV2DeltaPresenceEstimationConfig' smart constructor.-data GooglePrivacyDlpV2DeltaPresenceEstimationConfig =- GooglePrivacyDlpV2DeltaPresenceEstimationConfig'- { _gpdvdpecAuxiliaryTables :: !(Maybe [GooglePrivacyDlpV2StatisticalTable])- , _gpdvdpecRegionCode :: !(Maybe Text)- , _gpdvdpecQuasiIds :: !(Maybe [GooglePrivacyDlpV2QuasiId])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2DeltaPresenceEstimationConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvdpecAuxiliaryTables'------ * 'gpdvdpecRegionCode'------ * 'gpdvdpecQuasiIds'-googlePrivacyDlpV2DeltaPresenceEstimationConfig- :: GooglePrivacyDlpV2DeltaPresenceEstimationConfig-googlePrivacyDlpV2DeltaPresenceEstimationConfig =- GooglePrivacyDlpV2DeltaPresenceEstimationConfig'- { _gpdvdpecAuxiliaryTables = Nothing- , _gpdvdpecRegionCode = Nothing- , _gpdvdpecQuasiIds = Nothing- }----- | Several auxiliary tables can be used in the analysis. Each custom_tag--- used to tag a quasi-identifiers field must appear in exactly one field--- of one auxiliary table.-gpdvdpecAuxiliaryTables :: Lens' GooglePrivacyDlpV2DeltaPresenceEstimationConfig [GooglePrivacyDlpV2StatisticalTable]-gpdvdpecAuxiliaryTables- = lens _gpdvdpecAuxiliaryTables- (\ s a -> s{_gpdvdpecAuxiliaryTables = a})- . _Default- . _Coerce---- | ISO 3166-1 alpha-2 region code to use in the statistical modeling.--- Required if no column is tagged with a region-specific InfoType (like--- US_ZIP_5) or a region code.-gpdvdpecRegionCode :: Lens' GooglePrivacyDlpV2DeltaPresenceEstimationConfig (Maybe Text)-gpdvdpecRegionCode- = lens _gpdvdpecRegionCode- (\ s a -> s{_gpdvdpecRegionCode = a})---- | Fields considered to be quasi-identifiers. No two fields can have the--- same tag. [required]-gpdvdpecQuasiIds :: Lens' GooglePrivacyDlpV2DeltaPresenceEstimationConfig [GooglePrivacyDlpV2QuasiId]-gpdvdpecQuasiIds- = lens _gpdvdpecQuasiIds- (\ s a -> s{_gpdvdpecQuasiIds = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2DeltaPresenceEstimationConfig- where- parseJSON- = withObject- "GooglePrivacyDlpV2DeltaPresenceEstimationConfig"- (\ o ->- GooglePrivacyDlpV2DeltaPresenceEstimationConfig' <$>- (o .:? "auxiliaryTables" .!= mempty) <*>- (o .:? "regionCode")- <*> (o .:? "quasiIds" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2DeltaPresenceEstimationConfig- where- toJSON- GooglePrivacyDlpV2DeltaPresenceEstimationConfig'{..}- = object- (catMaybes- [("auxiliaryTables" .=) <$> _gpdvdpecAuxiliaryTables,- ("regionCode" .=) <$> _gpdvdpecRegionCode,- ("quasiIds" .=) <$> _gpdvdpecQuasiIds])---- | Request message for CreateStoredInfoType.------ /See:/ 'googlePrivacyDlpV2CreateStoredInfoTypeRequest' smart constructor.-data GooglePrivacyDlpV2CreateStoredInfoTypeRequest =- GooglePrivacyDlpV2CreateStoredInfoTypeRequest'- { _gpdvcsitrConfig :: !(Maybe GooglePrivacyDlpV2StoredInfoTypeConfig)- , _gpdvcsitrStoredInfoTypeId :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CreateStoredInfoTypeRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcsitrConfig'------ * 'gpdvcsitrStoredInfoTypeId'-googlePrivacyDlpV2CreateStoredInfoTypeRequest- :: GooglePrivacyDlpV2CreateStoredInfoTypeRequest-googlePrivacyDlpV2CreateStoredInfoTypeRequest =- GooglePrivacyDlpV2CreateStoredInfoTypeRequest'- {_gpdvcsitrConfig = Nothing, _gpdvcsitrStoredInfoTypeId = Nothing}----- | Configuration of the storedInfoType to create.-gpdvcsitrConfig :: Lens' GooglePrivacyDlpV2CreateStoredInfoTypeRequest (Maybe GooglePrivacyDlpV2StoredInfoTypeConfig)-gpdvcsitrConfig- = lens _gpdvcsitrConfig- (\ s a -> s{_gpdvcsitrConfig = a})---- | The storedInfoType ID can contain uppercase and lowercase letters,--- numbers, and hyphens; that is, it must match the regular expression:--- \`[a-zA-Z\\\\d-_]+\`. The maximum length is 100 characters. Can be empty--- to allow the system to generate one.-gpdvcsitrStoredInfoTypeId :: Lens' GooglePrivacyDlpV2CreateStoredInfoTypeRequest (Maybe Text)-gpdvcsitrStoredInfoTypeId- = lens _gpdvcsitrStoredInfoTypeId- (\ s a -> s{_gpdvcsitrStoredInfoTypeId = a})--instance FromJSON- GooglePrivacyDlpV2CreateStoredInfoTypeRequest- where- parseJSON- = withObject- "GooglePrivacyDlpV2CreateStoredInfoTypeRequest"- (\ o ->- GooglePrivacyDlpV2CreateStoredInfoTypeRequest' <$>- (o .:? "config") <*> (o .:? "storedInfoTypeId"))--instance ToJSON- GooglePrivacyDlpV2CreateStoredInfoTypeRequest- where- toJSON- GooglePrivacyDlpV2CreateStoredInfoTypeRequest'{..}- = object- (catMaybes- [("config" .=) <$> _gpdvcsitrConfig,- ("storedInfoTypeId" .=) <$>- _gpdvcsitrStoredInfoTypeId])---- | A quasi-identifier column has a custom_tag, used to know which column in--- the data corresponds to which column in the statistical model.------ /See:/ 'googlePrivacyDlpV2QuasiIdField' smart constructor.-data GooglePrivacyDlpV2QuasiIdField =- GooglePrivacyDlpV2QuasiIdField'- { _gpdvqifField :: !(Maybe GooglePrivacyDlpV2FieldId)- , _gpdvqifCustomTag :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2QuasiIdField' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvqifField'------ * 'gpdvqifCustomTag'-googlePrivacyDlpV2QuasiIdField- :: GooglePrivacyDlpV2QuasiIdField-googlePrivacyDlpV2QuasiIdField =- GooglePrivacyDlpV2QuasiIdField'- {_gpdvqifField = Nothing, _gpdvqifCustomTag = Nothing}---gpdvqifField :: Lens' GooglePrivacyDlpV2QuasiIdField (Maybe GooglePrivacyDlpV2FieldId)-gpdvqifField- = lens _gpdvqifField (\ s a -> s{_gpdvqifField = a})--gpdvqifCustomTag :: Lens' GooglePrivacyDlpV2QuasiIdField (Maybe Text)-gpdvqifCustomTag- = lens _gpdvqifCustomTag- (\ s a -> s{_gpdvqifCustomTag = a})--instance FromJSON GooglePrivacyDlpV2QuasiIdField- where- parseJSON- = withObject "GooglePrivacyDlpV2QuasiIdField"- (\ o ->- GooglePrivacyDlpV2QuasiIdField' <$>- (o .:? "field") <*> (o .:? "customTag"))--instance ToJSON GooglePrivacyDlpV2QuasiIdField where- toJSON GooglePrivacyDlpV2QuasiIdField'{..}- = object- (catMaybes- [("field" .=) <$> _gpdvqifField,- ("customTag" .=) <$> _gpdvqifCustomTag])---- | For use with \`Date\`, \`Timestamp\`, and \`TimeOfDay\`, extract or--- preserve a portion of the value.------ /See:/ 'googlePrivacyDlpV2TimePartConfig' smart constructor.-newtype GooglePrivacyDlpV2TimePartConfig =- GooglePrivacyDlpV2TimePartConfig'- { _gpdvtpcPartToExtract :: Maybe GooglePrivacyDlpV2TimePartConfigPartToExtract- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2TimePartConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvtpcPartToExtract'-googlePrivacyDlpV2TimePartConfig- :: GooglePrivacyDlpV2TimePartConfig-googlePrivacyDlpV2TimePartConfig =- GooglePrivacyDlpV2TimePartConfig' {_gpdvtpcPartToExtract = Nothing}---gpdvtpcPartToExtract :: Lens' GooglePrivacyDlpV2TimePartConfig (Maybe GooglePrivacyDlpV2TimePartConfigPartToExtract)-gpdvtpcPartToExtract- = lens _gpdvtpcPartToExtract- (\ s a -> s{_gpdvtpcPartToExtract = a})--instance FromJSON GooglePrivacyDlpV2TimePartConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2TimePartConfig"- (\ o ->- GooglePrivacyDlpV2TimePartConfig' <$>- (o .:? "partToExtract"))--instance ToJSON GooglePrivacyDlpV2TimePartConfig- where- toJSON GooglePrivacyDlpV2TimePartConfig'{..}- = object- (catMaybes- [("partToExtract" .=) <$> _gpdvtpcPartToExtract])---- | A single inspection rule to be applied to infoTypes, specified in--- \`InspectionRuleSet\`.------ /See:/ 'googlePrivacyDlpV2InspectionRule' smart constructor.-data GooglePrivacyDlpV2InspectionRule =- GooglePrivacyDlpV2InspectionRule'- { _gpdvirExclusionRule :: !(Maybe GooglePrivacyDlpV2ExclusionRule)- , _gpdvirHotwordRule :: !(Maybe GooglePrivacyDlpV2HotwordRule)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2InspectionRule' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvirExclusionRule'------ * 'gpdvirHotwordRule'-googlePrivacyDlpV2InspectionRule- :: GooglePrivacyDlpV2InspectionRule-googlePrivacyDlpV2InspectionRule =- GooglePrivacyDlpV2InspectionRule'- {_gpdvirExclusionRule = Nothing, _gpdvirHotwordRule = Nothing}----- | Exclusion rule.-gpdvirExclusionRule :: Lens' GooglePrivacyDlpV2InspectionRule (Maybe GooglePrivacyDlpV2ExclusionRule)-gpdvirExclusionRule- = lens _gpdvirExclusionRule- (\ s a -> s{_gpdvirExclusionRule = a})---- | Hotword-based detection rule.-gpdvirHotwordRule :: Lens' GooglePrivacyDlpV2InspectionRule (Maybe GooglePrivacyDlpV2HotwordRule)-gpdvirHotwordRule- = lens _gpdvirHotwordRule- (\ s a -> s{_gpdvirHotwordRule = a})--instance FromJSON GooglePrivacyDlpV2InspectionRule- where- parseJSON- = withObject "GooglePrivacyDlpV2InspectionRule"- (\ o ->- GooglePrivacyDlpV2InspectionRule' <$>- (o .:? "exclusionRule") <*> (o .:? "hotwordRule"))--instance ToJSON GooglePrivacyDlpV2InspectionRule- where- toJSON GooglePrivacyDlpV2InspectionRule'{..}- = object- (catMaybes- [("exclusionRule" .=) <$> _gpdvirExclusionRule,- ("hotwordRule" .=) <$> _gpdvirHotwordRule])---- | Custom information type provided by the user. Used to find--- domain-specific sensitive information configurable to the data in--- question.------ /See:/ 'googlePrivacyDlpV2CustomInfoType' smart constructor.-data GooglePrivacyDlpV2CustomInfoType =- GooglePrivacyDlpV2CustomInfoType'- { _gpdvcitRegex :: !(Maybe GooglePrivacyDlpV2Regex)- , _gpdvcitStoredType :: !(Maybe GooglePrivacyDlpV2StoredType)- , _gpdvcitInfoType :: !(Maybe GooglePrivacyDlpV2InfoType)- , _gpdvcitExclusionType :: !(Maybe GooglePrivacyDlpV2CustomInfoTypeExclusionType)- , _gpdvcitLikelihood :: !(Maybe GooglePrivacyDlpV2CustomInfoTypeLikelihood)- , _gpdvcitDetectionRules :: !(Maybe [GooglePrivacyDlpV2DetectionRule])- , _gpdvcitDictionary :: !(Maybe GooglePrivacyDlpV2Dictionary)- , _gpdvcitSurrogateType :: !(Maybe GooglePrivacyDlpV2SurrogateType)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CustomInfoType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcitRegex'------ * 'gpdvcitStoredType'------ * 'gpdvcitInfoType'------ * 'gpdvcitExclusionType'------ * 'gpdvcitLikelihood'------ * 'gpdvcitDetectionRules'------ * 'gpdvcitDictionary'------ * 'gpdvcitSurrogateType'-googlePrivacyDlpV2CustomInfoType- :: GooglePrivacyDlpV2CustomInfoType-googlePrivacyDlpV2CustomInfoType =- GooglePrivacyDlpV2CustomInfoType'- { _gpdvcitRegex = Nothing- , _gpdvcitStoredType = Nothing- , _gpdvcitInfoType = Nothing- , _gpdvcitExclusionType = Nothing- , _gpdvcitLikelihood = Nothing- , _gpdvcitDetectionRules = Nothing- , _gpdvcitDictionary = Nothing- , _gpdvcitSurrogateType = Nothing- }----- | Regular expression based CustomInfoType.-gpdvcitRegex :: Lens' GooglePrivacyDlpV2CustomInfoType (Maybe GooglePrivacyDlpV2Regex)-gpdvcitRegex- = lens _gpdvcitRegex (\ s a -> s{_gpdvcitRegex = a})---- | Load an existing \`StoredInfoType\` resource for use in--- \`InspectDataSource\`. Not currently supported in \`InspectContent\`.-gpdvcitStoredType :: Lens' GooglePrivacyDlpV2CustomInfoType (Maybe GooglePrivacyDlpV2StoredType)-gpdvcitStoredType- = lens _gpdvcitStoredType- (\ s a -> s{_gpdvcitStoredType = a})---- | CustomInfoType can either be a new infoType, or an extension of built-in--- infoType, when the name matches one of existing infoTypes and that--- infoType is specified in \`InspectContent.info_types\` field. Specifying--- the latter adds findings to the one detected by the system. If built-in--- info type is not specified in \`InspectContent.info_types\` list then--- the name is treated as a custom info type.-gpdvcitInfoType :: Lens' GooglePrivacyDlpV2CustomInfoType (Maybe GooglePrivacyDlpV2InfoType)-gpdvcitInfoType- = lens _gpdvcitInfoType- (\ s a -> s{_gpdvcitInfoType = a})---- | If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding--- to be returned. It still can be used for rules matching.-gpdvcitExclusionType :: Lens' GooglePrivacyDlpV2CustomInfoType (Maybe GooglePrivacyDlpV2CustomInfoTypeExclusionType)-gpdvcitExclusionType- = lens _gpdvcitExclusionType- (\ s a -> s{_gpdvcitExclusionType = a})---- | Likelihood to return for this CustomInfoType. This base value can be--- altered by a detection rule if the finding meets the criteria specified--- by the rule. Defaults to \`VERY_LIKELY\` if not specified.-gpdvcitLikelihood :: Lens' GooglePrivacyDlpV2CustomInfoType (Maybe GooglePrivacyDlpV2CustomInfoTypeLikelihood)-gpdvcitLikelihood- = lens _gpdvcitLikelihood- (\ s a -> s{_gpdvcitLikelihood = a})---- | Set of detection rules to apply to all findings of this CustomInfoType.--- Rules are applied in order that they are specified. Not supported for--- the \`surrogate_type\` CustomInfoType.-gpdvcitDetectionRules :: Lens' GooglePrivacyDlpV2CustomInfoType [GooglePrivacyDlpV2DetectionRule]-gpdvcitDetectionRules- = lens _gpdvcitDetectionRules- (\ s a -> s{_gpdvcitDetectionRules = a})- . _Default- . _Coerce---- | A list of phrases to detect as a CustomInfoType.-gpdvcitDictionary :: Lens' GooglePrivacyDlpV2CustomInfoType (Maybe GooglePrivacyDlpV2Dictionary)-gpdvcitDictionary- = lens _gpdvcitDictionary- (\ s a -> s{_gpdvcitDictionary = a})---- | Message for detecting output from deidentification transformations that--- support reversing.-gpdvcitSurrogateType :: Lens' GooglePrivacyDlpV2CustomInfoType (Maybe GooglePrivacyDlpV2SurrogateType)-gpdvcitSurrogateType- = lens _gpdvcitSurrogateType- (\ s a -> s{_gpdvcitSurrogateType = a})--instance FromJSON GooglePrivacyDlpV2CustomInfoType- where- parseJSON- = withObject "GooglePrivacyDlpV2CustomInfoType"- (\ o ->- GooglePrivacyDlpV2CustomInfoType' <$>- (o .:? "regex") <*> (o .:? "storedType") <*>- (o .:? "infoType")- <*> (o .:? "exclusionType")- <*> (o .:? "likelihood")- <*> (o .:? "detectionRules" .!= mempty)- <*> (o .:? "dictionary")- <*> (o .:? "surrogateType"))--instance ToJSON GooglePrivacyDlpV2CustomInfoType- where- toJSON GooglePrivacyDlpV2CustomInfoType'{..}- = object- (catMaybes- [("regex" .=) <$> _gpdvcitRegex,- ("storedType" .=) <$> _gpdvcitStoredType,- ("infoType" .=) <$> _gpdvcitInfoType,- ("exclusionType" .=) <$> _gpdvcitExclusionType,- ("likelihood" .=) <$> _gpdvcitLikelihood,- ("detectionRules" .=) <$> _gpdvcitDetectionRules,- ("dictionary" .=) <$> _gpdvcitDictionary,- ("surrogateType" .=) <$> _gpdvcitSurrogateType])---- | Result of the reidentifiability analysis. Note that these results are an--- estimation, not exact values.------ /See:/ 'googlePrivacyDlpV2KMapEstimationResult' smart constructor.-newtype GooglePrivacyDlpV2KMapEstimationResult =- GooglePrivacyDlpV2KMapEstimationResult'- { _gpdvkmerKMapEstimationHistogram :: Maybe [GooglePrivacyDlpV2KMapEstimationHistogramBucket]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2KMapEstimationResult' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvkmerKMapEstimationHistogram'-googlePrivacyDlpV2KMapEstimationResult- :: GooglePrivacyDlpV2KMapEstimationResult-googlePrivacyDlpV2KMapEstimationResult =- GooglePrivacyDlpV2KMapEstimationResult'- {_gpdvkmerKMapEstimationHistogram = Nothing}----- | The intervals [min_anonymity, max_anonymity] do not overlap. If a value--- doesn\'t correspond to any such interval, the associated frequency is--- zero. For example, the following records: {min_anonymity: 1,--- max_anonymity: 1, frequency: 17} {min_anonymity: 2, max_anonymity: 3,--- frequency: 42} {min_anonymity: 5, max_anonymity: 10, frequency: 99} mean--- that there are no record with an estimated anonymity of 4, 5, or larger--- than 10.-gpdvkmerKMapEstimationHistogram :: Lens' GooglePrivacyDlpV2KMapEstimationResult [GooglePrivacyDlpV2KMapEstimationHistogramBucket]-gpdvkmerKMapEstimationHistogram- = lens _gpdvkmerKMapEstimationHistogram- (\ s a -> s{_gpdvkmerKMapEstimationHistogram = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2KMapEstimationResult- where- parseJSON- = withObject "GooglePrivacyDlpV2KMapEstimationResult"- (\ o ->- GooglePrivacyDlpV2KMapEstimationResult' <$>- (o .:? "kMapEstimationHistogram" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2KMapEstimationResult- where- toJSON GooglePrivacyDlpV2KMapEstimationResult'{..}- = object- (catMaybes- [("kMapEstimationHistogram" .=) <$>- _gpdvkmerKMapEstimationHistogram])---- | Summary of a single transformation. Only one of \'transformation\',--- \'field_transformation\', or \'record_suppress\' will be set.------ /See:/ 'googlePrivacyDlpV2TransformationSummary' smart constructor.-data GooglePrivacyDlpV2TransformationSummary =- GooglePrivacyDlpV2TransformationSummary'- { _gpdvtsResults :: !(Maybe [GooglePrivacyDlpV2SummaryResult])- , _gpdvtsField :: !(Maybe GooglePrivacyDlpV2FieldId)- , _gpdvtsInfoType :: !(Maybe GooglePrivacyDlpV2InfoType)- , _gpdvtsRecordSuppress :: !(Maybe GooglePrivacyDlpV2RecordSuppression)- , _gpdvtsTransformedBytes :: !(Maybe (Textual Int64))- , _gpdvtsFieldTransformations :: !(Maybe [GooglePrivacyDlpV2FieldTransformation])- , _gpdvtsTransformation :: !(Maybe GooglePrivacyDlpV2PrimitiveTransformation)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2TransformationSummary' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvtsResults'------ * 'gpdvtsField'------ * 'gpdvtsInfoType'------ * 'gpdvtsRecordSuppress'------ * 'gpdvtsTransformedBytes'------ * 'gpdvtsFieldTransformations'------ * 'gpdvtsTransformation'-googlePrivacyDlpV2TransformationSummary- :: GooglePrivacyDlpV2TransformationSummary-googlePrivacyDlpV2TransformationSummary =- GooglePrivacyDlpV2TransformationSummary'- { _gpdvtsResults = Nothing- , _gpdvtsField = Nothing- , _gpdvtsInfoType = Nothing- , _gpdvtsRecordSuppress = Nothing- , _gpdvtsTransformedBytes = Nothing- , _gpdvtsFieldTransformations = Nothing- , _gpdvtsTransformation = Nothing- }---gpdvtsResults :: Lens' GooglePrivacyDlpV2TransformationSummary [GooglePrivacyDlpV2SummaryResult]-gpdvtsResults- = lens _gpdvtsResults- (\ s a -> s{_gpdvtsResults = a})- . _Default- . _Coerce---- | Set if the transformation was limited to a specific FieldId.-gpdvtsField :: Lens' GooglePrivacyDlpV2TransformationSummary (Maybe GooglePrivacyDlpV2FieldId)-gpdvtsField- = lens _gpdvtsField (\ s a -> s{_gpdvtsField = a})---- | Set if the transformation was limited to a specific InfoType.-gpdvtsInfoType :: Lens' GooglePrivacyDlpV2TransformationSummary (Maybe GooglePrivacyDlpV2InfoType)-gpdvtsInfoType- = lens _gpdvtsInfoType- (\ s a -> s{_gpdvtsInfoType = a})---- | The specific suppression option these stats apply to.-gpdvtsRecordSuppress :: Lens' GooglePrivacyDlpV2TransformationSummary (Maybe GooglePrivacyDlpV2RecordSuppression)-gpdvtsRecordSuppress- = lens _gpdvtsRecordSuppress- (\ s a -> s{_gpdvtsRecordSuppress = a})---- | Total size in bytes that were transformed in some way.-gpdvtsTransformedBytes :: Lens' GooglePrivacyDlpV2TransformationSummary (Maybe Int64)-gpdvtsTransformedBytes- = lens _gpdvtsTransformedBytes- (\ s a -> s{_gpdvtsTransformedBytes = a})- . mapping _Coerce---- | The field transformation that was applied. If multiple field--- transformations are requested for a single field, this list will contain--- all of them; otherwise, only one is supplied.-gpdvtsFieldTransformations :: Lens' GooglePrivacyDlpV2TransformationSummary [GooglePrivacyDlpV2FieldTransformation]-gpdvtsFieldTransformations- = lens _gpdvtsFieldTransformations- (\ s a -> s{_gpdvtsFieldTransformations = a})- . _Default- . _Coerce---- | The specific transformation these stats apply to.-gpdvtsTransformation :: Lens' GooglePrivacyDlpV2TransformationSummary (Maybe GooglePrivacyDlpV2PrimitiveTransformation)-gpdvtsTransformation- = lens _gpdvtsTransformation- (\ s a -> s{_gpdvtsTransformation = a})--instance FromJSON- GooglePrivacyDlpV2TransformationSummary- where- parseJSON- = withObject- "GooglePrivacyDlpV2TransformationSummary"- (\ o ->- GooglePrivacyDlpV2TransformationSummary' <$>- (o .:? "results" .!= mempty) <*> (o .:? "field") <*>- (o .:? "infoType")- <*> (o .:? "recordSuppress")- <*> (o .:? "transformedBytes")- <*> (o .:? "fieldTransformations" .!= mempty)- <*> (o .:? "transformation"))--instance ToJSON- GooglePrivacyDlpV2TransformationSummary- where- toJSON GooglePrivacyDlpV2TransformationSummary'{..}- = object- (catMaybes- [("results" .=) <$> _gpdvtsResults,- ("field" .=) <$> _gpdvtsField,- ("infoType" .=) <$> _gpdvtsInfoType,- ("recordSuppress" .=) <$> _gpdvtsRecordSuppress,- ("transformedBytes" .=) <$> _gpdvtsTransformedBytes,- ("fieldTransformations" .=) <$>- _gpdvtsFieldTransformations,- ("transformation" .=) <$> _gpdvtsTransformation])---- | Message for specifying an adjustment to the likelihood of a finding as--- part of a detection rule.------ /See:/ 'googlePrivacyDlpV2LikelihoodAdjustment' smart constructor.-data GooglePrivacyDlpV2LikelihoodAdjustment =- GooglePrivacyDlpV2LikelihoodAdjustment'- { _gpdvlaFixedLikelihood :: !(Maybe GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood)- , _gpdvlaRelativeLikelihood :: !(Maybe (Textual Int32))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2LikelihoodAdjustment' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvlaFixedLikelihood'------ * 'gpdvlaRelativeLikelihood'-googlePrivacyDlpV2LikelihoodAdjustment- :: GooglePrivacyDlpV2LikelihoodAdjustment-googlePrivacyDlpV2LikelihoodAdjustment =- GooglePrivacyDlpV2LikelihoodAdjustment'- {_gpdvlaFixedLikelihood = Nothing, _gpdvlaRelativeLikelihood = Nothing}----- | Set the likelihood of a finding to a fixed value.-gpdvlaFixedLikelihood :: Lens' GooglePrivacyDlpV2LikelihoodAdjustment (Maybe GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood)-gpdvlaFixedLikelihood- = lens _gpdvlaFixedLikelihood- (\ s a -> s{_gpdvlaFixedLikelihood = a})---- | Increase or decrease the likelihood by the specified number of levels.--- For example, if a finding would be \`POSSIBLE\` without the detection--- rule and \`relative_likelihood\` is 1, then it is upgraded to--- \`LIKELY\`, while a value of -1 would downgrade it to \`UNLIKELY\`.--- Likelihood may never drop below \`VERY_UNLIKELY\` or exceed--- \`VERY_LIKELY\`, so applying an adjustment of 1 followed by an--- adjustment of -1 when base likelihood is \`VERY_LIKELY\` will result in--- a final likelihood of \`LIKELY\`.-gpdvlaRelativeLikelihood :: Lens' GooglePrivacyDlpV2LikelihoodAdjustment (Maybe Int32)-gpdvlaRelativeLikelihood- = lens _gpdvlaRelativeLikelihood- (\ s a -> s{_gpdvlaRelativeLikelihood = a})- . mapping _Coerce--instance FromJSON- GooglePrivacyDlpV2LikelihoodAdjustment- where- parseJSON- = withObject "GooglePrivacyDlpV2LikelihoodAdjustment"- (\ o ->- GooglePrivacyDlpV2LikelihoodAdjustment' <$>- (o .:? "fixedLikelihood") <*>- (o .:? "relativeLikelihood"))--instance ToJSON- GooglePrivacyDlpV2LikelihoodAdjustment- where- toJSON GooglePrivacyDlpV2LikelihoodAdjustment'{..}- = object- (catMaybes- [("fixedLikelihood" .=) <$> _gpdvlaFixedLikelihood,- ("relativeLikelihood" .=) <$>- _gpdvlaRelativeLikelihood])---- | Message defining a custom regular expression.------ /See:/ 'googlePrivacyDlpV2Regex' smart constructor.-data GooglePrivacyDlpV2Regex =- GooglePrivacyDlpV2Regex'- { _gpdvrGroupIndexes :: !(Maybe [Textual Int32])- , _gpdvrPattern :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Regex' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvrGroupIndexes'------ * 'gpdvrPattern'-googlePrivacyDlpV2Regex- :: GooglePrivacyDlpV2Regex-googlePrivacyDlpV2Regex =- GooglePrivacyDlpV2Regex'- {_gpdvrGroupIndexes = Nothing, _gpdvrPattern = Nothing}----- | The index of the submatch to extract as findings. When not specified,--- the entire match is returned. No more than 3 may be included.-gpdvrGroupIndexes :: Lens' GooglePrivacyDlpV2Regex [Int32]-gpdvrGroupIndexes- = lens _gpdvrGroupIndexes- (\ s a -> s{_gpdvrGroupIndexes = a})- . _Default- . _Coerce---- | Pattern defining the regular expression. Its syntax--- (https:\/\/github.com\/google\/re2\/wiki\/Syntax) can be found under the--- google\/re2 repository on GitHub.-gpdvrPattern :: Lens' GooglePrivacyDlpV2Regex (Maybe Text)-gpdvrPattern- = lens _gpdvrPattern (\ s a -> s{_gpdvrPattern = a})--instance FromJSON GooglePrivacyDlpV2Regex where- parseJSON- = withObject "GooglePrivacyDlpV2Regex"- (\ o ->- GooglePrivacyDlpV2Regex' <$>- (o .:? "groupIndexes" .!= mempty) <*>- (o .:? "pattern"))--instance ToJSON GooglePrivacyDlpV2Regex where- toJSON GooglePrivacyDlpV2Regex'{..}- = object- (catMaybes- [("groupIndexes" .=) <$> _gpdvrGroupIndexes,- ("pattern" .=) <$> _gpdvrPattern])---- | Request message for UpdateStoredInfoType.------ /See:/ 'googlePrivacyDlpV2UpdateStoredInfoTypeRequest' smart constructor.-data GooglePrivacyDlpV2UpdateStoredInfoTypeRequest =- GooglePrivacyDlpV2UpdateStoredInfoTypeRequest'- { _gpdvusitrConfig :: !(Maybe GooglePrivacyDlpV2StoredInfoTypeConfig)- , _gpdvusitrUpdateMask :: !(Maybe GFieldMask)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2UpdateStoredInfoTypeRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvusitrConfig'------ * 'gpdvusitrUpdateMask'-googlePrivacyDlpV2UpdateStoredInfoTypeRequest- :: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest-googlePrivacyDlpV2UpdateStoredInfoTypeRequest =- GooglePrivacyDlpV2UpdateStoredInfoTypeRequest'- {_gpdvusitrConfig = Nothing, _gpdvusitrUpdateMask = Nothing}----- | Updated configuration for the storedInfoType. If not provided, a new--- version of the storedInfoType will be created with the existing--- configuration.-gpdvusitrConfig :: Lens' GooglePrivacyDlpV2UpdateStoredInfoTypeRequest (Maybe GooglePrivacyDlpV2StoredInfoTypeConfig)-gpdvusitrConfig- = lens _gpdvusitrConfig- (\ s a -> s{_gpdvusitrConfig = a})---- | Mask to control which fields get updated.-gpdvusitrUpdateMask :: Lens' GooglePrivacyDlpV2UpdateStoredInfoTypeRequest (Maybe GFieldMask)-gpdvusitrUpdateMask- = lens _gpdvusitrUpdateMask- (\ s a -> s{_gpdvusitrUpdateMask = a})--instance FromJSON- GooglePrivacyDlpV2UpdateStoredInfoTypeRequest- where- parseJSON- = withObject- "GooglePrivacyDlpV2UpdateStoredInfoTypeRequest"- (\ o ->- GooglePrivacyDlpV2UpdateStoredInfoTypeRequest' <$>- (o .:? "config") <*> (o .:? "updateMask"))--instance ToJSON- GooglePrivacyDlpV2UpdateStoredInfoTypeRequest- where- toJSON- GooglePrivacyDlpV2UpdateStoredInfoTypeRequest'{..}- = object- (catMaybes- [("config" .=) <$> _gpdvusitrConfig,- ("updateMask" .=) <$> _gpdvusitrUpdateMask])---- | The set of columns\' values that share the same ldiversity value------ /See:/ 'googlePrivacyDlpV2KAnonymityEquivalenceClass' smart constructor.-data GooglePrivacyDlpV2KAnonymityEquivalenceClass =- GooglePrivacyDlpV2KAnonymityEquivalenceClass'- { _gpdvkaecEquivalenceClassSize :: !(Maybe (Textual Int64))- , _gpdvkaecQuasiIdsValues :: !(Maybe [GooglePrivacyDlpV2Value])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2KAnonymityEquivalenceClass' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvkaecEquivalenceClassSize'------ * 'gpdvkaecQuasiIdsValues'-googlePrivacyDlpV2KAnonymityEquivalenceClass- :: GooglePrivacyDlpV2KAnonymityEquivalenceClass-googlePrivacyDlpV2KAnonymityEquivalenceClass =- GooglePrivacyDlpV2KAnonymityEquivalenceClass'- {_gpdvkaecEquivalenceClassSize = Nothing, _gpdvkaecQuasiIdsValues = Nothing}----- | Size of the equivalence class, for example number of rows with the above--- set of values.-gpdvkaecEquivalenceClassSize :: Lens' GooglePrivacyDlpV2KAnonymityEquivalenceClass (Maybe Int64)-gpdvkaecEquivalenceClassSize- = lens _gpdvkaecEquivalenceClassSize- (\ s a -> s{_gpdvkaecEquivalenceClassSize = a})- . mapping _Coerce---- | Set of values defining the equivalence class. One value per--- quasi-identifier column in the original KAnonymity metric message. The--- order is always the same as the original request.-gpdvkaecQuasiIdsValues :: Lens' GooglePrivacyDlpV2KAnonymityEquivalenceClass [GooglePrivacyDlpV2Value]-gpdvkaecQuasiIdsValues- = lens _gpdvkaecQuasiIdsValues- (\ s a -> s{_gpdvkaecQuasiIdsValues = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2KAnonymityEquivalenceClass- where- parseJSON- = withObject- "GooglePrivacyDlpV2KAnonymityEquivalenceClass"- (\ o ->- GooglePrivacyDlpV2KAnonymityEquivalenceClass' <$>- (o .:? "equivalenceClassSize") <*>- (o .:? "quasiIdsValues" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2KAnonymityEquivalenceClass- where- toJSON- GooglePrivacyDlpV2KAnonymityEquivalenceClass'{..}- = object- (catMaybes- [("equivalenceClassSize" .=) <$>- _gpdvkaecEquivalenceClassSize,- ("quasiIdsValues" .=) <$> _gpdvkaecQuasiIdsValues])---- | Request message for UpdateDeidentifyTemplate.------ /See:/ 'googlePrivacyDlpV2UpdateDeidentifyTemplateRequest' smart constructor.-data GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest =- GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest'- { _gpdvudtrUpdateMask :: !(Maybe GFieldMask)- , _gpdvudtrDeidentifyTemplate :: !(Maybe GooglePrivacyDlpV2DeidentifyTemplate)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvudtrUpdateMask'------ * 'gpdvudtrDeidentifyTemplate'-googlePrivacyDlpV2UpdateDeidentifyTemplateRequest- :: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest-googlePrivacyDlpV2UpdateDeidentifyTemplateRequest =- GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest'- {_gpdvudtrUpdateMask = Nothing, _gpdvudtrDeidentifyTemplate = Nothing}----- | Mask to control which fields get updated.-gpdvudtrUpdateMask :: Lens' GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest (Maybe GFieldMask)-gpdvudtrUpdateMask- = lens _gpdvudtrUpdateMask- (\ s a -> s{_gpdvudtrUpdateMask = a})---- | New DeidentifyTemplate value.-gpdvudtrDeidentifyTemplate :: Lens' GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest (Maybe GooglePrivacyDlpV2DeidentifyTemplate)-gpdvudtrDeidentifyTemplate- = lens _gpdvudtrDeidentifyTemplate- (\ s a -> s{_gpdvudtrDeidentifyTemplate = a})--instance FromJSON- GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest- where- parseJSON- = withObject- "GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest"- (\ o ->- GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest'- <$>- (o .:? "updateMask") <*>- (o .:? "deidentifyTemplate"))--instance ToJSON- GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest- where- toJSON- GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest'{..}- = object- (catMaybes- [("updateMask" .=) <$> _gpdvudtrUpdateMask,- ("deidentifyTemplate" .=) <$>- _gpdvudtrDeidentifyTemplate])---- | l-diversity metric, used for analysis of reidentification risk.------ /See:/ 'googlePrivacyDlpV2LDiversityConfig' smart constructor.-data GooglePrivacyDlpV2LDiversityConfig =- GooglePrivacyDlpV2LDiversityConfig'- { _gpdvldcSensitiveAttribute :: !(Maybe GooglePrivacyDlpV2FieldId)- , _gpdvldcQuasiIds :: !(Maybe [GooglePrivacyDlpV2FieldId])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2LDiversityConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvldcSensitiveAttribute'------ * 'gpdvldcQuasiIds'-googlePrivacyDlpV2LDiversityConfig- :: GooglePrivacyDlpV2LDiversityConfig-googlePrivacyDlpV2LDiversityConfig =- GooglePrivacyDlpV2LDiversityConfig'- {_gpdvldcSensitiveAttribute = Nothing, _gpdvldcQuasiIds = Nothing}----- | Sensitive field for computing the l-value.-gpdvldcSensitiveAttribute :: Lens' GooglePrivacyDlpV2LDiversityConfig (Maybe GooglePrivacyDlpV2FieldId)-gpdvldcSensitiveAttribute- = lens _gpdvldcSensitiveAttribute- (\ s a -> s{_gpdvldcSensitiveAttribute = a})---- | Set of quasi-identifiers indicating how equivalence classes are defined--- for the l-diversity computation. When multiple fields are specified,--- they are considered a single composite key.-gpdvldcQuasiIds :: Lens' GooglePrivacyDlpV2LDiversityConfig [GooglePrivacyDlpV2FieldId]-gpdvldcQuasiIds- = lens _gpdvldcQuasiIds- (\ s a -> s{_gpdvldcQuasiIds = a})- . _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2LDiversityConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2LDiversityConfig"- (\ o ->- GooglePrivacyDlpV2LDiversityConfig' <$>- (o .:? "sensitiveAttribute") <*>- (o .:? "quasiIds" .!= mempty))--instance ToJSON GooglePrivacyDlpV2LDiversityConfig- where- toJSON GooglePrivacyDlpV2LDiversityConfig'{..}- = object- (catMaybes- [("sensitiveAttribute" .=) <$>- _gpdvldcSensitiveAttribute,- ("quasiIds" .=) <$> _gpdvldcQuasiIds])---- | Enable email notification to project owners and editors on jobs\'s--- completion\/failure.------ /See:/ 'googlePrivacyDlpV2JobNotificationEmails' smart constructor.-data GooglePrivacyDlpV2JobNotificationEmails =- GooglePrivacyDlpV2JobNotificationEmails'- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2JobNotificationEmails' with the minimum fields required to make a request.----googlePrivacyDlpV2JobNotificationEmails- :: GooglePrivacyDlpV2JobNotificationEmails-googlePrivacyDlpV2JobNotificationEmails =- GooglePrivacyDlpV2JobNotificationEmails'---instance FromJSON- GooglePrivacyDlpV2JobNotificationEmails- where- parseJSON- = withObject- "GooglePrivacyDlpV2JobNotificationEmails"- (\ o ->- pure GooglePrivacyDlpV2JobNotificationEmails')--instance ToJSON- GooglePrivacyDlpV2JobNotificationEmails- where- toJSON = const emptyObject---- | Request to de-identify a list of items.------ /See:/ 'googlePrivacyDlpV2DeidentifyContentRequest' smart constructor.-data GooglePrivacyDlpV2DeidentifyContentRequest =- GooglePrivacyDlpV2DeidentifyContentRequest'- { _gpdvdcrInspectConfig :: !(Maybe GooglePrivacyDlpV2InspectConfig)- , _gpdvdcrDeidentifyConfig :: !(Maybe GooglePrivacyDlpV2DeidentifyConfig)- , _gpdvdcrDeidentifyTemplateName :: !(Maybe Text)- , _gpdvdcrItem :: !(Maybe GooglePrivacyDlpV2ContentItem)- , _gpdvdcrInspectTemplateName :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2DeidentifyContentRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvdcrInspectConfig'------ * 'gpdvdcrDeidentifyConfig'------ * 'gpdvdcrDeidentifyTemplateName'------ * 'gpdvdcrItem'------ * 'gpdvdcrInspectTemplateName'-googlePrivacyDlpV2DeidentifyContentRequest- :: GooglePrivacyDlpV2DeidentifyContentRequest-googlePrivacyDlpV2DeidentifyContentRequest =- GooglePrivacyDlpV2DeidentifyContentRequest'- { _gpdvdcrInspectConfig = Nothing- , _gpdvdcrDeidentifyConfig = Nothing- , _gpdvdcrDeidentifyTemplateName = Nothing- , _gpdvdcrItem = Nothing- , _gpdvdcrInspectTemplateName = Nothing- }----- | Configuration for the inspector. Items specified here will override the--- template referenced by the inspect_template_name argument.-gpdvdcrInspectConfig :: Lens' GooglePrivacyDlpV2DeidentifyContentRequest (Maybe GooglePrivacyDlpV2InspectConfig)-gpdvdcrInspectConfig- = lens _gpdvdcrInspectConfig- (\ s a -> s{_gpdvdcrInspectConfig = a})---- | Configuration for the de-identification of the content item. Items--- specified here will override the template referenced by the--- deidentify_template_name argument.-gpdvdcrDeidentifyConfig :: Lens' GooglePrivacyDlpV2DeidentifyContentRequest (Maybe GooglePrivacyDlpV2DeidentifyConfig)-gpdvdcrDeidentifyConfig- = lens _gpdvdcrDeidentifyConfig- (\ s a -> s{_gpdvdcrDeidentifyConfig = a})---- | Optional template to use. Any configuration directly specified in--- deidentify_config will override those set in the template. Singular--- fields that are set in this request will replace their corresponding--- fields in the template. Repeated fields are appended. Singular--- sub-messages and groups are recursively merged.-gpdvdcrDeidentifyTemplateName :: Lens' GooglePrivacyDlpV2DeidentifyContentRequest (Maybe Text)-gpdvdcrDeidentifyTemplateName- = lens _gpdvdcrDeidentifyTemplateName- (\ s a -> s{_gpdvdcrDeidentifyTemplateName = a})---- | The item to de-identify. Will be treated as text.-gpdvdcrItem :: Lens' GooglePrivacyDlpV2DeidentifyContentRequest (Maybe GooglePrivacyDlpV2ContentItem)-gpdvdcrItem- = lens _gpdvdcrItem (\ s a -> s{_gpdvdcrItem = a})---- | Optional template to use. Any configuration directly specified in--- inspect_config will override those set in the template. Singular fields--- that are set in this request will replace their corresponding fields in--- the template. Repeated fields are appended. Singular sub-messages and--- groups are recursively merged.-gpdvdcrInspectTemplateName :: Lens' GooglePrivacyDlpV2DeidentifyContentRequest (Maybe Text)-gpdvdcrInspectTemplateName- = lens _gpdvdcrInspectTemplateName- (\ s a -> s{_gpdvdcrInspectTemplateName = a})--instance FromJSON- GooglePrivacyDlpV2DeidentifyContentRequest- where- parseJSON- = withObject- "GooglePrivacyDlpV2DeidentifyContentRequest"- (\ o ->- GooglePrivacyDlpV2DeidentifyContentRequest' <$>- (o .:? "inspectConfig") <*>- (o .:? "deidentifyConfig")- <*> (o .:? "deidentifyTemplateName")- <*> (o .:? "item")- <*> (o .:? "inspectTemplateName"))--instance ToJSON- GooglePrivacyDlpV2DeidentifyContentRequest- where- toJSON- GooglePrivacyDlpV2DeidentifyContentRequest'{..}- = object- (catMaybes- [("inspectConfig" .=) <$> _gpdvdcrInspectConfig,- ("deidentifyConfig" .=) <$> _gpdvdcrDeidentifyConfig,- ("deidentifyTemplateName" .=) <$>- _gpdvdcrDeidentifyTemplateName,- ("item" .=) <$> _gpdvdcrItem,- ("inspectTemplateName" .=) <$>- _gpdvdcrInspectTemplateName])---- | Represents a color in the RGB color space.------ /See:/ 'googlePrivacyDlpV2Color' smart constructor.-data GooglePrivacyDlpV2Color =- GooglePrivacyDlpV2Color'- { _gpdvcRed :: !(Maybe (Textual Double))- , _gpdvcGreen :: !(Maybe (Textual Double))- , _gpdvcBlue :: !(Maybe (Textual Double))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Color' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcRed'------ * 'gpdvcGreen'------ * 'gpdvcBlue'-googlePrivacyDlpV2Color- :: GooglePrivacyDlpV2Color-googlePrivacyDlpV2Color =- GooglePrivacyDlpV2Color'- {_gpdvcRed = Nothing, _gpdvcGreen = Nothing, _gpdvcBlue = Nothing}----- | The amount of red in the color as a value in the interval [0, 1].-gpdvcRed :: Lens' GooglePrivacyDlpV2Color (Maybe Double)-gpdvcRed- = lens _gpdvcRed (\ s a -> s{_gpdvcRed = a}) .- mapping _Coerce---- | The amount of green in the color as a value in the interval [0, 1].-gpdvcGreen :: Lens' GooglePrivacyDlpV2Color (Maybe Double)-gpdvcGreen- = lens _gpdvcGreen (\ s a -> s{_gpdvcGreen = a}) .- mapping _Coerce---- | The amount of blue in the color as a value in the interval [0, 1].-gpdvcBlue :: Lens' GooglePrivacyDlpV2Color (Maybe Double)-gpdvcBlue- = lens _gpdvcBlue (\ s a -> s{_gpdvcBlue = a}) .- mapping _Coerce--instance FromJSON GooglePrivacyDlpV2Color where- parseJSON- = withObject "GooglePrivacyDlpV2Color"- (\ o ->- GooglePrivacyDlpV2Color' <$>- (o .:? "red") <*> (o .:? "green") <*> (o .:? "blue"))--instance ToJSON GooglePrivacyDlpV2Color where- toJSON GooglePrivacyDlpV2Color'{..}- = object- (catMaybes- [("red" .=) <$> _gpdvcRed,- ("green" .=) <$> _gpdvcGreen,- ("blue" .=) <$> _gpdvcBlue])---- | The response message for listing DLP jobs.------ /See:/ 'googlePrivacyDlpV2ListDlpJobsResponse' smart constructor.-data GooglePrivacyDlpV2ListDlpJobsResponse =- GooglePrivacyDlpV2ListDlpJobsResponse'- { _gpdvldjrNextPageToken :: !(Maybe Text)- , _gpdvldjrJobs :: !(Maybe [GooglePrivacyDlpV2DlpJob])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ListDlpJobsResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvldjrNextPageToken'------ * 'gpdvldjrJobs'-googlePrivacyDlpV2ListDlpJobsResponse- :: GooglePrivacyDlpV2ListDlpJobsResponse-googlePrivacyDlpV2ListDlpJobsResponse =- GooglePrivacyDlpV2ListDlpJobsResponse'- {_gpdvldjrNextPageToken = Nothing, _gpdvldjrJobs = Nothing}----- | The standard List next-page token.-gpdvldjrNextPageToken :: Lens' GooglePrivacyDlpV2ListDlpJobsResponse (Maybe Text)-gpdvldjrNextPageToken- = lens _gpdvldjrNextPageToken- (\ s a -> s{_gpdvldjrNextPageToken = a})---- | A list of DlpJobs that matches the specified filter in the request.-gpdvldjrJobs :: Lens' GooglePrivacyDlpV2ListDlpJobsResponse [GooglePrivacyDlpV2DlpJob]-gpdvldjrJobs- = lens _gpdvldjrJobs (\ s a -> s{_gpdvldjrJobs = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2ListDlpJobsResponse- where- parseJSON- = withObject "GooglePrivacyDlpV2ListDlpJobsResponse"- (\ o ->- GooglePrivacyDlpV2ListDlpJobsResponse' <$>- (o .:? "nextPageToken") <*>- (o .:? "jobs" .!= mempty))--instance ToJSON GooglePrivacyDlpV2ListDlpJobsResponse- where- toJSON GooglePrivacyDlpV2ListDlpJobsResponse'{..}- = object- (catMaybes- [("nextPageToken" .=) <$> _gpdvldjrNextPageToken,- ("jobs" .=) <$> _gpdvldjrJobs])---- | Message for specifying a window around a finding to apply a detection--- rule.------ /See:/ 'googlePrivacyDlpV2Proximity' smart constructor.-data GooglePrivacyDlpV2Proximity =- GooglePrivacyDlpV2Proximity'- { _gpdvpWindowAfter :: !(Maybe (Textual Int32))- , _gpdvpWindowBefore :: !(Maybe (Textual Int32))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Proximity' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvpWindowAfter'------ * 'gpdvpWindowBefore'-googlePrivacyDlpV2Proximity- :: GooglePrivacyDlpV2Proximity-googlePrivacyDlpV2Proximity =- GooglePrivacyDlpV2Proximity'- {_gpdvpWindowAfter = Nothing, _gpdvpWindowBefore = Nothing}----- | Number of characters after the finding to consider.-gpdvpWindowAfter :: Lens' GooglePrivacyDlpV2Proximity (Maybe Int32)-gpdvpWindowAfter- = lens _gpdvpWindowAfter- (\ s a -> s{_gpdvpWindowAfter = a})- . mapping _Coerce---- | Number of characters before the finding to consider.-gpdvpWindowBefore :: Lens' GooglePrivacyDlpV2Proximity (Maybe Int32)-gpdvpWindowBefore- = lens _gpdvpWindowBefore- (\ s a -> s{_gpdvpWindowBefore = a})- . mapping _Coerce--instance FromJSON GooglePrivacyDlpV2Proximity where- parseJSON- = withObject "GooglePrivacyDlpV2Proximity"- (\ o ->- GooglePrivacyDlpV2Proximity' <$>- (o .:? "windowAfter") <*> (o .:? "windowBefore"))--instance ToJSON GooglePrivacyDlpV2Proximity where- toJSON GooglePrivacyDlpV2Proximity'{..}- = object- (catMaybes- [("windowAfter" .=) <$> _gpdvpWindowAfter,- ("windowBefore" .=) <$> _gpdvpWindowBefore])---- | Represents a piece of potentially sensitive content.------ /See:/ 'googlePrivacyDlpV2Finding' smart constructor.-data GooglePrivacyDlpV2Finding =- GooglePrivacyDlpV2Finding'- { _gpdvfLocation :: !(Maybe GooglePrivacyDlpV2Location)- , _gpdvfInfoType :: !(Maybe GooglePrivacyDlpV2InfoType)- , _gpdvfQuoteInfo :: !(Maybe GooglePrivacyDlpV2QuoteInfo)- , _gpdvfLikelihood :: !(Maybe GooglePrivacyDlpV2FindingLikelihood)- , _gpdvfQuote :: !(Maybe Text)- , _gpdvfCreateTime :: !(Maybe DateTime')- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Finding' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvfLocation'------ * 'gpdvfInfoType'------ * 'gpdvfQuoteInfo'------ * 'gpdvfLikelihood'------ * 'gpdvfQuote'------ * 'gpdvfCreateTime'-googlePrivacyDlpV2Finding- :: GooglePrivacyDlpV2Finding-googlePrivacyDlpV2Finding =- GooglePrivacyDlpV2Finding'- { _gpdvfLocation = Nothing- , _gpdvfInfoType = Nothing- , _gpdvfQuoteInfo = Nothing- , _gpdvfLikelihood = Nothing- , _gpdvfQuote = Nothing- , _gpdvfCreateTime = Nothing- }----- | Where the content was found.-gpdvfLocation :: Lens' GooglePrivacyDlpV2Finding (Maybe GooglePrivacyDlpV2Location)-gpdvfLocation- = lens _gpdvfLocation- (\ s a -> s{_gpdvfLocation = a})---- | The type of content that might have been found. Provided if--- \`excluded_types\` is false.-gpdvfInfoType :: Lens' GooglePrivacyDlpV2Finding (Maybe GooglePrivacyDlpV2InfoType)-gpdvfInfoType- = lens _gpdvfInfoType- (\ s a -> s{_gpdvfInfoType = a})---- | Contains data parsed from quotes. Only populated if include_quote was--- set to true and a supported infoType was requested. Currently supported--- infoTypes: DATE, DATE_OF_BIRTH and TIME.-gpdvfQuoteInfo :: Lens' GooglePrivacyDlpV2Finding (Maybe GooglePrivacyDlpV2QuoteInfo)-gpdvfQuoteInfo- = lens _gpdvfQuoteInfo- (\ s a -> s{_gpdvfQuoteInfo = a})---- | Confidence of how likely it is that the \`info_type\` is correct.-gpdvfLikelihood :: Lens' GooglePrivacyDlpV2Finding (Maybe GooglePrivacyDlpV2FindingLikelihood)-gpdvfLikelihood- = lens _gpdvfLikelihood- (\ s a -> s{_gpdvfLikelihood = a})---- | The content that was found. Even if the content is not textual, it may--- be converted to a textual representation here. Provided if--- \`include_quote\` is true and the finding is less than or equal to 4096--- bytes long. If the finding exceeds 4096 bytes in length, the quote may--- be omitted.-gpdvfQuote :: Lens' GooglePrivacyDlpV2Finding (Maybe Text)-gpdvfQuote- = lens _gpdvfQuote (\ s a -> s{_gpdvfQuote = a})---- | Timestamp when finding was detected.-gpdvfCreateTime :: Lens' GooglePrivacyDlpV2Finding (Maybe UTCTime)-gpdvfCreateTime- = lens _gpdvfCreateTime- (\ s a -> s{_gpdvfCreateTime = a})- . mapping _DateTime--instance FromJSON GooglePrivacyDlpV2Finding where- parseJSON- = withObject "GooglePrivacyDlpV2Finding"- (\ o ->- GooglePrivacyDlpV2Finding' <$>- (o .:? "location") <*> (o .:? "infoType") <*>- (o .:? "quoteInfo")- <*> (o .:? "likelihood")- <*> (o .:? "quote")- <*> (o .:? "createTime"))--instance ToJSON GooglePrivacyDlpV2Finding where- toJSON GooglePrivacyDlpV2Finding'{..}- = object- (catMaybes- [("location" .=) <$> _gpdvfLocation,- ("infoType" .=) <$> _gpdvfInfoType,- ("quoteInfo" .=) <$> _gpdvfQuoteInfo,- ("likelihood" .=) <$> _gpdvfLikelihood,- ("quote" .=) <$> _gpdvfQuote,- ("createTime" .=) <$> _gpdvfCreateTime])---- | A collection that informs the user the number of times a particular--- \`TransformationResultCode\` and error details occurred.------ /See:/ 'googlePrivacyDlpV2SummaryResult' smart constructor.-data GooglePrivacyDlpV2SummaryResult =- GooglePrivacyDlpV2SummaryResult'- { _gpdvsrCount :: !(Maybe (Textual Int64))- , _gpdvsrDetails :: !(Maybe Text)- , _gpdvsrCode :: !(Maybe GooglePrivacyDlpV2SummaryResultCode)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2SummaryResult' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvsrCount'------ * 'gpdvsrDetails'------ * 'gpdvsrCode'-googlePrivacyDlpV2SummaryResult- :: GooglePrivacyDlpV2SummaryResult-googlePrivacyDlpV2SummaryResult =- GooglePrivacyDlpV2SummaryResult'- {_gpdvsrCount = Nothing, _gpdvsrDetails = Nothing, _gpdvsrCode = Nothing}---gpdvsrCount :: Lens' GooglePrivacyDlpV2SummaryResult (Maybe Int64)-gpdvsrCount- = lens _gpdvsrCount (\ s a -> s{_gpdvsrCount = a}) .- mapping _Coerce---- | A place for warnings or errors to show up if a transformation didn\'t--- work as expected.-gpdvsrDetails :: Lens' GooglePrivacyDlpV2SummaryResult (Maybe Text)-gpdvsrDetails- = lens _gpdvsrDetails- (\ s a -> s{_gpdvsrDetails = a})--gpdvsrCode :: Lens' GooglePrivacyDlpV2SummaryResult (Maybe GooglePrivacyDlpV2SummaryResultCode)-gpdvsrCode- = lens _gpdvsrCode (\ s a -> s{_gpdvsrCode = a})--instance FromJSON GooglePrivacyDlpV2SummaryResult- where- parseJSON- = withObject "GooglePrivacyDlpV2SummaryResult"- (\ o ->- GooglePrivacyDlpV2SummaryResult' <$>- (o .:? "count") <*> (o .:? "details") <*>- (o .:? "code"))--instance ToJSON GooglePrivacyDlpV2SummaryResult where- toJSON GooglePrivacyDlpV2SummaryResult'{..}- = object- (catMaybes- [("count" .=) <$> _gpdvsrCount,- ("details" .=) <$> _gpdvsrDetails,- ("code" .=) <$> _gpdvsrCode])------- /See:/ 'googlePrivacyDlpV2Row' smart constructor.-newtype GooglePrivacyDlpV2Row =- GooglePrivacyDlpV2Row'- { _gpdvrValues :: Maybe [GooglePrivacyDlpV2Value]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Row' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvrValues'-googlePrivacyDlpV2Row- :: GooglePrivacyDlpV2Row-googlePrivacyDlpV2Row = GooglePrivacyDlpV2Row' {_gpdvrValues = Nothing}---gpdvrValues :: Lens' GooglePrivacyDlpV2Row [GooglePrivacyDlpV2Value]-gpdvrValues- = lens _gpdvrValues (\ s a -> s{_gpdvrValues = a}) .- _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2Row where- parseJSON- = withObject "GooglePrivacyDlpV2Row"- (\ o ->- GooglePrivacyDlpV2Row' <$>- (o .:? "values" .!= mempty))--instance ToJSON GooglePrivacyDlpV2Row where- toJSON GooglePrivacyDlpV2Row'{..}- = object (catMaybes [("values" .=) <$> _gpdvrValues])---- | Replace each matching finding with the name of the info_type.------ /See:/ 'googlePrivacyDlpV2ReplaceWithInfoTypeConfig' smart constructor.-data GooglePrivacyDlpV2ReplaceWithInfoTypeConfig =- GooglePrivacyDlpV2ReplaceWithInfoTypeConfig'- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ReplaceWithInfoTypeConfig' with the minimum fields required to make a request.----googlePrivacyDlpV2ReplaceWithInfoTypeConfig- :: GooglePrivacyDlpV2ReplaceWithInfoTypeConfig-googlePrivacyDlpV2ReplaceWithInfoTypeConfig =- GooglePrivacyDlpV2ReplaceWithInfoTypeConfig'---instance FromJSON- GooglePrivacyDlpV2ReplaceWithInfoTypeConfig- where- parseJSON- = withObject- "GooglePrivacyDlpV2ReplaceWithInfoTypeConfig"- (\ o ->- pure GooglePrivacyDlpV2ReplaceWithInfoTypeConfig')--instance ToJSON- GooglePrivacyDlpV2ReplaceWithInfoTypeConfig- where- toJSON = const emptyObject---- | Represents a time of day. The date and time zone are either not--- significant or are specified elsewhere. An API may choose to allow leap--- seconds. Related types are google.type.Date and--- \`google.protobuf.Timestamp\`.------ /See:/ 'googleTypeTimeOfDay' smart constructor.-data GoogleTypeTimeOfDay =- GoogleTypeTimeOfDay'- { _gttodNanos :: !(Maybe (Textual Int32))- , _gttodHours :: !(Maybe (Textual Int32))- , _gttodMinutes :: !(Maybe (Textual Int32))- , _gttodSeconds :: !(Maybe (Textual Int32))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GoogleTypeTimeOfDay' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gttodNanos'------ * 'gttodHours'------ * 'gttodMinutes'------ * 'gttodSeconds'-googleTypeTimeOfDay- :: GoogleTypeTimeOfDay-googleTypeTimeOfDay =- GoogleTypeTimeOfDay'- { _gttodNanos = Nothing- , _gttodHours = Nothing- , _gttodMinutes = Nothing- , _gttodSeconds = Nothing- }----- | Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.-gttodNanos :: Lens' GoogleTypeTimeOfDay (Maybe Int32)-gttodNanos- = lens _gttodNanos (\ s a -> s{_gttodNanos = a}) .- mapping _Coerce---- | Hours of day in 24 hour format. Should be from 0 to 23. An API may--- choose to allow the value \"24:00:00\" for scenarios like business--- closing time.-gttodHours :: Lens' GoogleTypeTimeOfDay (Maybe Int32)-gttodHours- = lens _gttodHours (\ s a -> s{_gttodHours = a}) .- mapping _Coerce---- | Minutes of hour of day. Must be from 0 to 59.-gttodMinutes :: Lens' GoogleTypeTimeOfDay (Maybe Int32)-gttodMinutes- = lens _gttodMinutes (\ s a -> s{_gttodMinutes = a})- . mapping _Coerce---- | Seconds of minutes of the time. Must normally be from 0 to 59. An API--- may allow the value 60 if it allows leap-seconds.-gttodSeconds :: Lens' GoogleTypeTimeOfDay (Maybe Int32)-gttodSeconds- = lens _gttodSeconds (\ s a -> s{_gttodSeconds = a})- . mapping _Coerce--instance FromJSON GoogleTypeTimeOfDay where- parseJSON- = withObject "GoogleTypeTimeOfDay"- (\ o ->- GoogleTypeTimeOfDay' <$>- (o .:? "nanos") <*> (o .:? "hours") <*>- (o .:? "minutes")- <*> (o .:? "seconds"))--instance ToJSON GoogleTypeTimeOfDay where- toJSON GoogleTypeTimeOfDay'{..}- = object- (catMaybes- [("nanos" .=) <$> _gttodNanos,- ("hours" .=) <$> _gttodHours,- ("minutes" .=) <$> _gttodMinutes,- ("seconds" .=) <$> _gttodSeconds])---- | The rule that specifies conditions when findings of infoTypes specified--- in \`InspectionRuleSet\` are removed from results.------ /See:/ 'googlePrivacyDlpV2ExclusionRule' smart constructor.-data GooglePrivacyDlpV2ExclusionRule =- GooglePrivacyDlpV2ExclusionRule'- { _gpdverRegex :: !(Maybe GooglePrivacyDlpV2Regex)- , _gpdverExcludeInfoTypes :: !(Maybe GooglePrivacyDlpV2ExcludeInfoTypes)- , _gpdverDictionary :: !(Maybe GooglePrivacyDlpV2Dictionary)- , _gpdverMatchingType :: !(Maybe GooglePrivacyDlpV2ExclusionRuleMatchingType)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ExclusionRule' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdverRegex'------ * 'gpdverExcludeInfoTypes'------ * 'gpdverDictionary'------ * 'gpdverMatchingType'-googlePrivacyDlpV2ExclusionRule- :: GooglePrivacyDlpV2ExclusionRule-googlePrivacyDlpV2ExclusionRule =- GooglePrivacyDlpV2ExclusionRule'- { _gpdverRegex = Nothing- , _gpdverExcludeInfoTypes = Nothing- , _gpdverDictionary = Nothing- , _gpdverMatchingType = Nothing- }----- | Regular expression which defines the rule.-gpdverRegex :: Lens' GooglePrivacyDlpV2ExclusionRule (Maybe GooglePrivacyDlpV2Regex)-gpdverRegex- = lens _gpdverRegex (\ s a -> s{_gpdverRegex = a})---- | Set of infoTypes for which findings would affect this rule.-gpdverExcludeInfoTypes :: Lens' GooglePrivacyDlpV2ExclusionRule (Maybe GooglePrivacyDlpV2ExcludeInfoTypes)-gpdverExcludeInfoTypes- = lens _gpdverExcludeInfoTypes- (\ s a -> s{_gpdverExcludeInfoTypes = a})---- | Dictionary which defines the rule.-gpdverDictionary :: Lens' GooglePrivacyDlpV2ExclusionRule (Maybe GooglePrivacyDlpV2Dictionary)-gpdverDictionary- = lens _gpdverDictionary- (\ s a -> s{_gpdverDictionary = a})---- | How the rule is applied, see MatchingType documentation for details.-gpdverMatchingType :: Lens' GooglePrivacyDlpV2ExclusionRule (Maybe GooglePrivacyDlpV2ExclusionRuleMatchingType)-gpdverMatchingType- = lens _gpdverMatchingType- (\ s a -> s{_gpdverMatchingType = a})--instance FromJSON GooglePrivacyDlpV2ExclusionRule- where- parseJSON- = withObject "GooglePrivacyDlpV2ExclusionRule"- (\ o ->- GooglePrivacyDlpV2ExclusionRule' <$>- (o .:? "regex") <*> (o .:? "excludeInfoTypes") <*>- (o .:? "dictionary")- <*> (o .:? "matchingType"))--instance ToJSON GooglePrivacyDlpV2ExclusionRule where- toJSON GooglePrivacyDlpV2ExclusionRule'{..}- = object- (catMaybes- [("regex" .=) <$> _gpdverRegex,- ("excludeInfoTypes" .=) <$> _gpdverExcludeInfoTypes,- ("dictionary" .=) <$> _gpdverDictionary,- ("matchingType" .=) <$> _gpdverMatchingType])---- | Request message for CreateDlpJobRequest. Used to initiate long running--- jobs such as calculating risk metrics or inspecting Google Cloud--- Storage.------ /See:/ 'googlePrivacyDlpV2CreateDlpJobRequest' smart constructor.-data GooglePrivacyDlpV2CreateDlpJobRequest =- GooglePrivacyDlpV2CreateDlpJobRequest'- { _gpdvcdjrRiskJob :: !(Maybe GooglePrivacyDlpV2RiskAnalysisJobConfig)- , _gpdvcdjrJobId :: !(Maybe Text)- , _gpdvcdjrInspectJob :: !(Maybe GooglePrivacyDlpV2InspectJobConfig)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CreateDlpJobRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcdjrRiskJob'------ * 'gpdvcdjrJobId'------ * 'gpdvcdjrInspectJob'-googlePrivacyDlpV2CreateDlpJobRequest- :: GooglePrivacyDlpV2CreateDlpJobRequest-googlePrivacyDlpV2CreateDlpJobRequest =- GooglePrivacyDlpV2CreateDlpJobRequest'- { _gpdvcdjrRiskJob = Nothing- , _gpdvcdjrJobId = Nothing- , _gpdvcdjrInspectJob = Nothing- }---gpdvcdjrRiskJob :: Lens' GooglePrivacyDlpV2CreateDlpJobRequest (Maybe GooglePrivacyDlpV2RiskAnalysisJobConfig)-gpdvcdjrRiskJob- = lens _gpdvcdjrRiskJob- (\ s a -> s{_gpdvcdjrRiskJob = a})---- | The job id can contain uppercase and lowercase letters, numbers, and--- hyphens; that is, it must match the regular expression:--- \`[a-zA-Z\\\\d-_]+\`. The maximum length is 100 characters. Can be empty--- to allow the system to generate one.-gpdvcdjrJobId :: Lens' GooglePrivacyDlpV2CreateDlpJobRequest (Maybe Text)-gpdvcdjrJobId- = lens _gpdvcdjrJobId- (\ s a -> s{_gpdvcdjrJobId = a})--gpdvcdjrInspectJob :: Lens' GooglePrivacyDlpV2CreateDlpJobRequest (Maybe GooglePrivacyDlpV2InspectJobConfig)-gpdvcdjrInspectJob- = lens _gpdvcdjrInspectJob- (\ s a -> s{_gpdvcdjrInspectJob = a})--instance FromJSON- GooglePrivacyDlpV2CreateDlpJobRequest- where- parseJSON- = withObject "GooglePrivacyDlpV2CreateDlpJobRequest"- (\ o ->- GooglePrivacyDlpV2CreateDlpJobRequest' <$>- (o .:? "riskJob") <*> (o .:? "jobId") <*>- (o .:? "inspectJob"))--instance ToJSON GooglePrivacyDlpV2CreateDlpJobRequest- where- toJSON GooglePrivacyDlpV2CreateDlpJobRequest'{..}- = object- (catMaybes- [("riskJob" .=) <$> _gpdvcdjrRiskJob,- ("jobId" .=) <$> _gpdvcdjrJobId,- ("inspectJob" .=) <$> _gpdvcdjrInspectJob])---- | Message for a unique key indicating a record that contains a finding.------ /See:/ 'googlePrivacyDlpV2RecordKey' smart constructor.-data GooglePrivacyDlpV2RecordKey =- GooglePrivacyDlpV2RecordKey'- { _gpdvrkIdValues :: !(Maybe [Text])- , _gpdvrkDatastoreKey :: !(Maybe GooglePrivacyDlpV2DatastoreKey)- , _gpdvrkBigQueryKey :: !(Maybe GooglePrivacyDlpV2BigQueryKey)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2RecordKey' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvrkIdValues'------ * 'gpdvrkDatastoreKey'------ * 'gpdvrkBigQueryKey'-googlePrivacyDlpV2RecordKey- :: GooglePrivacyDlpV2RecordKey-googlePrivacyDlpV2RecordKey =- GooglePrivacyDlpV2RecordKey'- { _gpdvrkIdValues = Nothing- , _gpdvrkDatastoreKey = Nothing- , _gpdvrkBigQueryKey = Nothing- }----- | Values of identifying columns in the given row. Order of values matches--- the order of field identifiers specified in the scanning request.-gpdvrkIdValues :: Lens' GooglePrivacyDlpV2RecordKey [Text]-gpdvrkIdValues- = lens _gpdvrkIdValues- (\ s a -> s{_gpdvrkIdValues = a})- . _Default- . _Coerce--gpdvrkDatastoreKey :: Lens' GooglePrivacyDlpV2RecordKey (Maybe GooglePrivacyDlpV2DatastoreKey)-gpdvrkDatastoreKey- = lens _gpdvrkDatastoreKey- (\ s a -> s{_gpdvrkDatastoreKey = a})--gpdvrkBigQueryKey :: Lens' GooglePrivacyDlpV2RecordKey (Maybe GooglePrivacyDlpV2BigQueryKey)-gpdvrkBigQueryKey- = lens _gpdvrkBigQueryKey- (\ s a -> s{_gpdvrkBigQueryKey = a})--instance FromJSON GooglePrivacyDlpV2RecordKey where- parseJSON- = withObject "GooglePrivacyDlpV2RecordKey"- (\ o ->- GooglePrivacyDlpV2RecordKey' <$>- (o .:? "idValues" .!= mempty) <*>- (o .:? "datastoreKey")- <*> (o .:? "bigQueryKey"))--instance ToJSON GooglePrivacyDlpV2RecordKey where- toJSON GooglePrivacyDlpV2RecordKey'{..}- = object- (catMaybes- [("idValues" .=) <$> _gpdvrkIdValues,- ("datastoreKey" .=) <$> _gpdvrkDatastoreKey,- ("bigQueryKey" .=) <$> _gpdvrkBigQueryKey])---- | A KMapEstimationHistogramBucket message with the following values:--- min_anonymity: 3 max_anonymity: 5 frequency: 42 means that there are 42--- records whose quasi-identifier values correspond to 3, 4 or 5 people in--- the overlying population. An important particular case is when--- min_anonymity = max_anonymity = 1: the frequency field then corresponds--- to the number of uniquely identifiable records.------ /See:/ 'googlePrivacyDlpV2KMapEstimationHistogramBucket' smart constructor.-data GooglePrivacyDlpV2KMapEstimationHistogramBucket =- GooglePrivacyDlpV2KMapEstimationHistogramBucket'- { _gpdvkmehbMaxAnonymity :: !(Maybe (Textual Int64))- , _gpdvkmehbBucketValues :: !(Maybe [GooglePrivacyDlpV2KMapEstimationQuasiIdValues])- , _gpdvkmehbMinAnonymity :: !(Maybe (Textual Int64))- , _gpdvkmehbBucketSize :: !(Maybe (Textual Int64))- , _gpdvkmehbBucketValueCount :: !(Maybe (Textual Int64))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2KMapEstimationHistogramBucket' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvkmehbMaxAnonymity'------ * 'gpdvkmehbBucketValues'------ * 'gpdvkmehbMinAnonymity'------ * 'gpdvkmehbBucketSize'------ * 'gpdvkmehbBucketValueCount'-googlePrivacyDlpV2KMapEstimationHistogramBucket- :: GooglePrivacyDlpV2KMapEstimationHistogramBucket-googlePrivacyDlpV2KMapEstimationHistogramBucket =- GooglePrivacyDlpV2KMapEstimationHistogramBucket'- { _gpdvkmehbMaxAnonymity = Nothing- , _gpdvkmehbBucketValues = Nothing- , _gpdvkmehbMinAnonymity = Nothing- , _gpdvkmehbBucketSize = Nothing- , _gpdvkmehbBucketValueCount = Nothing- }----- | Always greater than or equal to min_anonymity.-gpdvkmehbMaxAnonymity :: Lens' GooglePrivacyDlpV2KMapEstimationHistogramBucket (Maybe Int64)-gpdvkmehbMaxAnonymity- = lens _gpdvkmehbMaxAnonymity- (\ s a -> s{_gpdvkmehbMaxAnonymity = a})- . mapping _Coerce---- | Sample of quasi-identifier tuple values in this bucket. The total number--- of classes returned per bucket is capped at 20.-gpdvkmehbBucketValues :: Lens' GooglePrivacyDlpV2KMapEstimationHistogramBucket [GooglePrivacyDlpV2KMapEstimationQuasiIdValues]-gpdvkmehbBucketValues- = lens _gpdvkmehbBucketValues- (\ s a -> s{_gpdvkmehbBucketValues = a})- . _Default- . _Coerce---- | Always positive.-gpdvkmehbMinAnonymity :: Lens' GooglePrivacyDlpV2KMapEstimationHistogramBucket (Maybe Int64)-gpdvkmehbMinAnonymity- = lens _gpdvkmehbMinAnonymity- (\ s a -> s{_gpdvkmehbMinAnonymity = a})- . mapping _Coerce---- | Number of records within these anonymity bounds.-gpdvkmehbBucketSize :: Lens' GooglePrivacyDlpV2KMapEstimationHistogramBucket (Maybe Int64)-gpdvkmehbBucketSize- = lens _gpdvkmehbBucketSize- (\ s a -> s{_gpdvkmehbBucketSize = a})- . mapping _Coerce---- | Total number of distinct quasi-identifier tuple values in this bucket.-gpdvkmehbBucketValueCount :: Lens' GooglePrivacyDlpV2KMapEstimationHistogramBucket (Maybe Int64)-gpdvkmehbBucketValueCount- = lens _gpdvkmehbBucketValueCount- (\ s a -> s{_gpdvkmehbBucketValueCount = a})- . mapping _Coerce--instance FromJSON- GooglePrivacyDlpV2KMapEstimationHistogramBucket- where- parseJSON- = withObject- "GooglePrivacyDlpV2KMapEstimationHistogramBucket"- (\ o ->- GooglePrivacyDlpV2KMapEstimationHistogramBucket' <$>- (o .:? "maxAnonymity") <*>- (o .:? "bucketValues" .!= mempty)- <*> (o .:? "minAnonymity")- <*> (o .:? "bucketSize")- <*> (o .:? "bucketValueCount"))--instance ToJSON- GooglePrivacyDlpV2KMapEstimationHistogramBucket- where- toJSON- GooglePrivacyDlpV2KMapEstimationHistogramBucket'{..}- = object- (catMaybes- [("maxAnonymity" .=) <$> _gpdvkmehbMaxAnonymity,- ("bucketValues" .=) <$> _gpdvkmehbBucketValues,- ("minAnonymity" .=) <$> _gpdvkmehbMinAnonymity,- ("bucketSize" .=) <$> _gpdvkmehbBucketSize,- ("bucketValueCount" .=) <$>- _gpdvkmehbBucketValueCount])---- | Response message for ListDeidentifyTemplates.------ /See:/ 'googlePrivacyDlpV2ListDeidentifyTemplatesResponse' smart constructor.-data GooglePrivacyDlpV2ListDeidentifyTemplatesResponse =- GooglePrivacyDlpV2ListDeidentifyTemplatesResponse'- { _gpdvldtrNextPageToken :: !(Maybe Text)- , _gpdvldtrDeidentifyTemplates :: !(Maybe [GooglePrivacyDlpV2DeidentifyTemplate])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ListDeidentifyTemplatesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvldtrNextPageToken'------ * 'gpdvldtrDeidentifyTemplates'-googlePrivacyDlpV2ListDeidentifyTemplatesResponse- :: GooglePrivacyDlpV2ListDeidentifyTemplatesResponse-googlePrivacyDlpV2ListDeidentifyTemplatesResponse =- GooglePrivacyDlpV2ListDeidentifyTemplatesResponse'- {_gpdvldtrNextPageToken = Nothing, _gpdvldtrDeidentifyTemplates = Nothing}----- | If the next page is available then the next page token to be used in--- following ListDeidentifyTemplates request.-gpdvldtrNextPageToken :: Lens' GooglePrivacyDlpV2ListDeidentifyTemplatesResponse (Maybe Text)-gpdvldtrNextPageToken- = lens _gpdvldtrNextPageToken- (\ s a -> s{_gpdvldtrNextPageToken = a})---- | List of deidentify templates, up to page_size in--- ListDeidentifyTemplatesRequest.-gpdvldtrDeidentifyTemplates :: Lens' GooglePrivacyDlpV2ListDeidentifyTemplatesResponse [GooglePrivacyDlpV2DeidentifyTemplate]-gpdvldtrDeidentifyTemplates- = lens _gpdvldtrDeidentifyTemplates- (\ s a -> s{_gpdvldtrDeidentifyTemplates = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2ListDeidentifyTemplatesResponse- where- parseJSON- = withObject- "GooglePrivacyDlpV2ListDeidentifyTemplatesResponse"- (\ o ->- GooglePrivacyDlpV2ListDeidentifyTemplatesResponse'- <$>- (o .:? "nextPageToken") <*>- (o .:? "deidentifyTemplates" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2ListDeidentifyTemplatesResponse- where- toJSON- GooglePrivacyDlpV2ListDeidentifyTemplatesResponse'{..}- = object- (catMaybes- [("nextPageToken" .=) <$> _gpdvldtrNextPageToken,- ("deidentifyTemplates" .=) <$>- _gpdvldtrDeidentifyTemplates])---- | k-anonymity metric, used for analysis of reidentification risk.------ /See:/ 'googlePrivacyDlpV2KAnonymityConfig' smart constructor.-data GooglePrivacyDlpV2KAnonymityConfig =- GooglePrivacyDlpV2KAnonymityConfig'- { _gpdvkacEntityId :: !(Maybe GooglePrivacyDlpV2EntityId)- , _gpdvkacQuasiIds :: !(Maybe [GooglePrivacyDlpV2FieldId])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2KAnonymityConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvkacEntityId'------ * 'gpdvkacQuasiIds'-googlePrivacyDlpV2KAnonymityConfig- :: GooglePrivacyDlpV2KAnonymityConfig-googlePrivacyDlpV2KAnonymityConfig =- GooglePrivacyDlpV2KAnonymityConfig'- {_gpdvkacEntityId = Nothing, _gpdvkacQuasiIds = Nothing}----- | Optional message indicating that multiple rows might be associated to a--- single individual. If the same entity_id is associated to multiple--- quasi-identifier tuples over distinct rows, we consider the entire--- collection of tuples as the composite quasi-identifier. This collection--- is a multiset: the order in which the different tuples appear in the--- dataset is ignored, but their frequency is taken into account. Important--- note: a maximum of 1000 rows can be associated to a single entity ID. If--- more rows are associated with the same entity ID, some might be ignored.-gpdvkacEntityId :: Lens' GooglePrivacyDlpV2KAnonymityConfig (Maybe GooglePrivacyDlpV2EntityId)-gpdvkacEntityId- = lens _gpdvkacEntityId- (\ s a -> s{_gpdvkacEntityId = a})---- | Set of fields to compute k-anonymity over. When multiple fields are--- specified, they are considered a single composite key. Structs and--- repeated data types are not supported; however, nested fields are--- supported so long as they are not structs themselves or nested within a--- repeated field.-gpdvkacQuasiIds :: Lens' GooglePrivacyDlpV2KAnonymityConfig [GooglePrivacyDlpV2FieldId]-gpdvkacQuasiIds- = lens _gpdvkacQuasiIds- (\ s a -> s{_gpdvkacQuasiIds = a})- . _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2KAnonymityConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2KAnonymityConfig"- (\ o ->- GooglePrivacyDlpV2KAnonymityConfig' <$>- (o .:? "entityId") <*> (o .:? "quasiIds" .!= mempty))--instance ToJSON GooglePrivacyDlpV2KAnonymityConfig- where- toJSON GooglePrivacyDlpV2KAnonymityConfig'{..}- = object- (catMaybes- [("entityId" .=) <$> _gpdvkacEntityId,- ("quasiIds" .=) <$> _gpdvkacQuasiIds])---- | Results of de-identifying a ContentItem.------ /See:/ 'googlePrivacyDlpV2DeidentifyContentResponse' smart constructor.-data GooglePrivacyDlpV2DeidentifyContentResponse =- GooglePrivacyDlpV2DeidentifyContentResponse'- { _gOverview :: !(Maybe GooglePrivacyDlpV2TransformationOverview)- , _gItem :: !(Maybe GooglePrivacyDlpV2ContentItem)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2DeidentifyContentResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gOverview'------ * 'gItem'-googlePrivacyDlpV2DeidentifyContentResponse- :: GooglePrivacyDlpV2DeidentifyContentResponse-googlePrivacyDlpV2DeidentifyContentResponse =- GooglePrivacyDlpV2DeidentifyContentResponse'- {_gOverview = Nothing, _gItem = Nothing}----- | An overview of the changes that were made on the \`item\`.-gOverview :: Lens' GooglePrivacyDlpV2DeidentifyContentResponse (Maybe GooglePrivacyDlpV2TransformationOverview)-gOverview- = lens _gOverview (\ s a -> s{_gOverview = a})---- | The de-identified item.-gItem :: Lens' GooglePrivacyDlpV2DeidentifyContentResponse (Maybe GooglePrivacyDlpV2ContentItem)-gItem = lens _gItem (\ s a -> s{_gItem = a})--instance FromJSON- GooglePrivacyDlpV2DeidentifyContentResponse- where- parseJSON- = withObject- "GooglePrivacyDlpV2DeidentifyContentResponse"- (\ o ->- GooglePrivacyDlpV2DeidentifyContentResponse' <$>- (o .:? "overview") <*> (o .:? "item"))--instance ToJSON- GooglePrivacyDlpV2DeidentifyContentResponse- where- toJSON- GooglePrivacyDlpV2DeidentifyContentResponse'{..}- = object- (catMaybes- [("overview" .=) <$> _gOverview,- ("item" .=) <$> _gItem])---- | Contains a configuration to make dlp api calls on a repeating basis. See--- https:\/\/cloud.google.com\/dlp\/docs\/concepts-job-triggers to learn--- more.------ /See:/ 'googlePrivacyDlpV2JobTrigger' smart constructor.-data GooglePrivacyDlpV2JobTrigger =- GooglePrivacyDlpV2JobTrigger'- { _gpdvjtStatus :: !(Maybe GooglePrivacyDlpV2JobTriggerStatus)- , _gpdvjtTriggers :: !(Maybe [GooglePrivacyDlpV2Trigger])- , _gpdvjtLastRunTime :: !(Maybe DateTime')- , _gpdvjtInspectJob :: !(Maybe GooglePrivacyDlpV2InspectJobConfig)- , _gpdvjtUpdateTime :: !(Maybe DateTime')- , _gpdvjtName :: !(Maybe Text)- , _gpdvjtDisplayName :: !(Maybe Text)- , _gpdvjtErrors :: !(Maybe [GooglePrivacyDlpV2Error])- , _gpdvjtDescription :: !(Maybe Text)- , _gpdvjtCreateTime :: !(Maybe DateTime')- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2JobTrigger' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvjtStatus'------ * 'gpdvjtTriggers'------ * 'gpdvjtLastRunTime'------ * 'gpdvjtInspectJob'------ * 'gpdvjtUpdateTime'------ * 'gpdvjtName'------ * 'gpdvjtDisplayName'------ * 'gpdvjtErrors'------ * 'gpdvjtDescription'------ * 'gpdvjtCreateTime'-googlePrivacyDlpV2JobTrigger- :: GooglePrivacyDlpV2JobTrigger-googlePrivacyDlpV2JobTrigger =- GooglePrivacyDlpV2JobTrigger'- { _gpdvjtStatus = Nothing- , _gpdvjtTriggers = Nothing- , _gpdvjtLastRunTime = Nothing- , _gpdvjtInspectJob = Nothing- , _gpdvjtUpdateTime = Nothing- , _gpdvjtName = Nothing- , _gpdvjtDisplayName = Nothing- , _gpdvjtErrors = Nothing- , _gpdvjtDescription = Nothing- , _gpdvjtCreateTime = Nothing- }----- | A status for this trigger. [required]-gpdvjtStatus :: Lens' GooglePrivacyDlpV2JobTrigger (Maybe GooglePrivacyDlpV2JobTriggerStatus)-gpdvjtStatus- = lens _gpdvjtStatus (\ s a -> s{_gpdvjtStatus = a})---- | A list of triggers which will be OR\'ed together. Only one in the list--- needs to trigger for a job to be started. The list may contain only a--- single Schedule trigger and must have at least one object.-gpdvjtTriggers :: Lens' GooglePrivacyDlpV2JobTrigger [GooglePrivacyDlpV2Trigger]-gpdvjtTriggers- = lens _gpdvjtTriggers- (\ s a -> s{_gpdvjtTriggers = a})- . _Default- . _Coerce---- | The timestamp of the last time this trigger executed, output only field.-gpdvjtLastRunTime :: Lens' GooglePrivacyDlpV2JobTrigger (Maybe UTCTime)-gpdvjtLastRunTime- = lens _gpdvjtLastRunTime- (\ s a -> s{_gpdvjtLastRunTime = a})- . mapping _DateTime--gpdvjtInspectJob :: Lens' GooglePrivacyDlpV2JobTrigger (Maybe GooglePrivacyDlpV2InspectJobConfig)-gpdvjtInspectJob- = lens _gpdvjtInspectJob- (\ s a -> s{_gpdvjtInspectJob = a})---- | The last update timestamp of a triggeredJob, output only field.-gpdvjtUpdateTime :: Lens' GooglePrivacyDlpV2JobTrigger (Maybe UTCTime)-gpdvjtUpdateTime- = lens _gpdvjtUpdateTime- (\ s a -> s{_gpdvjtUpdateTime = a})- . mapping _DateTime---- | Unique resource name for the triggeredJob, assigned by the service when--- the triggeredJob is created, for example--- \`projects\/dlp-test-project\/triggeredJobs\/53234423\`.-gpdvjtName :: Lens' GooglePrivacyDlpV2JobTrigger (Maybe Text)-gpdvjtName- = lens _gpdvjtName (\ s a -> s{_gpdvjtName = a})---- | Display name (max 100 chars)-gpdvjtDisplayName :: Lens' GooglePrivacyDlpV2JobTrigger (Maybe Text)-gpdvjtDisplayName- = lens _gpdvjtDisplayName- (\ s a -> s{_gpdvjtDisplayName = a})---- | A stream of errors encountered when the trigger was activated. Repeated--- errors may result in the JobTrigger automatically being paused. Will--- return the last 100 errors. Whenever the JobTrigger is modified this--- list will be cleared. Output only field.-gpdvjtErrors :: Lens' GooglePrivacyDlpV2JobTrigger [GooglePrivacyDlpV2Error]-gpdvjtErrors- = lens _gpdvjtErrors (\ s a -> s{_gpdvjtErrors = a})- . _Default- . _Coerce---- | User provided description (max 256 chars)-gpdvjtDescription :: Lens' GooglePrivacyDlpV2JobTrigger (Maybe Text)-gpdvjtDescription- = lens _gpdvjtDescription- (\ s a -> s{_gpdvjtDescription = a})---- | The creation timestamp of a triggeredJob, output only field.-gpdvjtCreateTime :: Lens' GooglePrivacyDlpV2JobTrigger (Maybe UTCTime)-gpdvjtCreateTime- = lens _gpdvjtCreateTime- (\ s a -> s{_gpdvjtCreateTime = a})- . mapping _DateTime--instance FromJSON GooglePrivacyDlpV2JobTrigger where- parseJSON- = withObject "GooglePrivacyDlpV2JobTrigger"- (\ o ->- GooglePrivacyDlpV2JobTrigger' <$>- (o .:? "status") <*> (o .:? "triggers" .!= mempty)- <*> (o .:? "lastRunTime")- <*> (o .:? "inspectJob")- <*> (o .:? "updateTime")- <*> (o .:? "name")- <*> (o .:? "displayName")- <*> (o .:? "errors" .!= mempty)- <*> (o .:? "description")- <*> (o .:? "createTime"))--instance ToJSON GooglePrivacyDlpV2JobTrigger where- toJSON GooglePrivacyDlpV2JobTrigger'{..}- = object- (catMaybes- [("status" .=) <$> _gpdvjtStatus,- ("triggers" .=) <$> _gpdvjtTriggers,- ("lastRunTime" .=) <$> _gpdvjtLastRunTime,- ("inspectJob" .=) <$> _gpdvjtInspectJob,- ("updateTime" .=) <$> _gpdvjtUpdateTime,- ("name" .=) <$> _gpdvjtName,- ("displayName" .=) <$> _gpdvjtDisplayName,- ("errors" .=) <$> _gpdvjtErrors,- ("description" .=) <$> _gpdvjtDescription,- ("createTime" .=) <$> _gpdvjtCreateTime])---- | Response message for ListStoredInfoTypes.------ /See:/ 'googlePrivacyDlpV2ListStoredInfoTypesResponse' smart constructor.-data GooglePrivacyDlpV2ListStoredInfoTypesResponse =- GooglePrivacyDlpV2ListStoredInfoTypesResponse'- { _gpdvlsitrNextPageToken :: !(Maybe Text)- , _gpdvlsitrStoredInfoTypes :: !(Maybe [GooglePrivacyDlpV2StoredInfoType])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ListStoredInfoTypesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvlsitrNextPageToken'------ * 'gpdvlsitrStoredInfoTypes'-googlePrivacyDlpV2ListStoredInfoTypesResponse- :: GooglePrivacyDlpV2ListStoredInfoTypesResponse-googlePrivacyDlpV2ListStoredInfoTypesResponse =- GooglePrivacyDlpV2ListStoredInfoTypesResponse'- {_gpdvlsitrNextPageToken = Nothing, _gpdvlsitrStoredInfoTypes = Nothing}----- | If the next page is available then the next page token to be used in--- following ListStoredInfoTypes request.-gpdvlsitrNextPageToken :: Lens' GooglePrivacyDlpV2ListStoredInfoTypesResponse (Maybe Text)-gpdvlsitrNextPageToken- = lens _gpdvlsitrNextPageToken- (\ s a -> s{_gpdvlsitrNextPageToken = a})---- | List of storedInfoTypes, up to page_size in ListStoredInfoTypesRequest.-gpdvlsitrStoredInfoTypes :: Lens' GooglePrivacyDlpV2ListStoredInfoTypesResponse [GooglePrivacyDlpV2StoredInfoType]-gpdvlsitrStoredInfoTypes- = lens _gpdvlsitrStoredInfoTypes- (\ s a -> s{_gpdvlsitrStoredInfoTypes = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2ListStoredInfoTypesResponse- where- parseJSON- = withObject- "GooglePrivacyDlpV2ListStoredInfoTypesResponse"- (\ o ->- GooglePrivacyDlpV2ListStoredInfoTypesResponse' <$>- (o .:? "nextPageToken") <*>- (o .:? "storedInfoTypes" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2ListStoredInfoTypesResponse- where- toJSON- GooglePrivacyDlpV2ListStoredInfoTypesResponse'{..}- = object- (catMaybes- [("nextPageToken" .=) <$> _gpdvlsitrNextPageToken,- ("storedInfoTypes" .=) <$>- _gpdvlsitrStoredInfoTypes])---- | The set of columns\' values that share the same ldiversity value.------ /See:/ 'googlePrivacyDlpV2LDiversityEquivalenceClass' smart constructor.-data GooglePrivacyDlpV2LDiversityEquivalenceClass =- GooglePrivacyDlpV2LDiversityEquivalenceClass'- { _gpdvldecTopSensitiveValues :: !(Maybe [GooglePrivacyDlpV2ValueFrequency])- , _gpdvldecEquivalenceClassSize :: !(Maybe (Textual Int64))- , _gpdvldecNumDistinctSensitiveValues :: !(Maybe (Textual Int64))- , _gpdvldecQuasiIdsValues :: !(Maybe [GooglePrivacyDlpV2Value])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2LDiversityEquivalenceClass' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvldecTopSensitiveValues'------ * 'gpdvldecEquivalenceClassSize'------ * 'gpdvldecNumDistinctSensitiveValues'------ * 'gpdvldecQuasiIdsValues'-googlePrivacyDlpV2LDiversityEquivalenceClass- :: GooglePrivacyDlpV2LDiversityEquivalenceClass-googlePrivacyDlpV2LDiversityEquivalenceClass =- GooglePrivacyDlpV2LDiversityEquivalenceClass'- { _gpdvldecTopSensitiveValues = Nothing- , _gpdvldecEquivalenceClassSize = Nothing- , _gpdvldecNumDistinctSensitiveValues = Nothing- , _gpdvldecQuasiIdsValues = Nothing- }----- | Estimated frequencies of top sensitive values.-gpdvldecTopSensitiveValues :: Lens' GooglePrivacyDlpV2LDiversityEquivalenceClass [GooglePrivacyDlpV2ValueFrequency]-gpdvldecTopSensitiveValues- = lens _gpdvldecTopSensitiveValues- (\ s a -> s{_gpdvldecTopSensitiveValues = a})- . _Default- . _Coerce---- | Size of the k-anonymity equivalence class.-gpdvldecEquivalenceClassSize :: Lens' GooglePrivacyDlpV2LDiversityEquivalenceClass (Maybe Int64)-gpdvldecEquivalenceClassSize- = lens _gpdvldecEquivalenceClassSize- (\ s a -> s{_gpdvldecEquivalenceClassSize = a})- . mapping _Coerce---- | Number of distinct sensitive values in this equivalence class.-gpdvldecNumDistinctSensitiveValues :: Lens' GooglePrivacyDlpV2LDiversityEquivalenceClass (Maybe Int64)-gpdvldecNumDistinctSensitiveValues- = lens _gpdvldecNumDistinctSensitiveValues- (\ s a -> s{_gpdvldecNumDistinctSensitiveValues = a})- . mapping _Coerce---- | Quasi-identifier values defining the k-anonymity equivalence class. The--- order is always the same as the original request.-gpdvldecQuasiIdsValues :: Lens' GooglePrivacyDlpV2LDiversityEquivalenceClass [GooglePrivacyDlpV2Value]-gpdvldecQuasiIdsValues- = lens _gpdvldecQuasiIdsValues- (\ s a -> s{_gpdvldecQuasiIdsValues = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2LDiversityEquivalenceClass- where- parseJSON- = withObject- "GooglePrivacyDlpV2LDiversityEquivalenceClass"- (\ o ->- GooglePrivacyDlpV2LDiversityEquivalenceClass' <$>- (o .:? "topSensitiveValues" .!= mempty) <*>- (o .:? "equivalenceClassSize")- <*> (o .:? "numDistinctSensitiveValues")- <*> (o .:? "quasiIdsValues" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2LDiversityEquivalenceClass- where- toJSON- GooglePrivacyDlpV2LDiversityEquivalenceClass'{..}- = object- (catMaybes- [("topSensitiveValues" .=) <$>- _gpdvldecTopSensitiveValues,- ("equivalenceClassSize" .=) <$>- _gpdvldecEquivalenceClassSize,- ("numDistinctSensitiveValues" .=) <$>- _gpdvldecNumDistinctSensitiveValues,- ("quasiIdsValues" .=) <$> _gpdvldecQuasiIdsValues])---- | Request message for ActivateJobTrigger.------ /See:/ 'googlePrivacyDlpV2ActivateJobTriggerRequest' smart constructor.-data GooglePrivacyDlpV2ActivateJobTriggerRequest =- GooglePrivacyDlpV2ActivateJobTriggerRequest'- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ActivateJobTriggerRequest' with the minimum fields required to make a request.----googlePrivacyDlpV2ActivateJobTriggerRequest- :: GooglePrivacyDlpV2ActivateJobTriggerRequest-googlePrivacyDlpV2ActivateJobTriggerRequest =- GooglePrivacyDlpV2ActivateJobTriggerRequest'---instance FromJSON- GooglePrivacyDlpV2ActivateJobTriggerRequest- where- parseJSON- = withObject- "GooglePrivacyDlpV2ActivateJobTriggerRequest"- (\ o ->- pure GooglePrivacyDlpV2ActivateJobTriggerRequest')--instance ToJSON- GooglePrivacyDlpV2ActivateJobTriggerRequest- where- toJSON = const emptyObject---- | The configuration that controls how the data will change.------ /See:/ 'googlePrivacyDlpV2DeidentifyConfig' smart constructor.-data GooglePrivacyDlpV2DeidentifyConfig =- GooglePrivacyDlpV2DeidentifyConfig'- { _gpdvdcInfoTypeTransformations :: !(Maybe GooglePrivacyDlpV2InfoTypeTransformations)- , _gpdvdcRecordTransformations :: !(Maybe GooglePrivacyDlpV2RecordTransformations)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2DeidentifyConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvdcInfoTypeTransformations'------ * 'gpdvdcRecordTransformations'-googlePrivacyDlpV2DeidentifyConfig- :: GooglePrivacyDlpV2DeidentifyConfig-googlePrivacyDlpV2DeidentifyConfig =- GooglePrivacyDlpV2DeidentifyConfig'- { _gpdvdcInfoTypeTransformations = Nothing- , _gpdvdcRecordTransformations = Nothing- }----- | Treat the dataset as free-form text and apply the same free text--- transformation everywhere.-gpdvdcInfoTypeTransformations :: Lens' GooglePrivacyDlpV2DeidentifyConfig (Maybe GooglePrivacyDlpV2InfoTypeTransformations)-gpdvdcInfoTypeTransformations- = lens _gpdvdcInfoTypeTransformations- (\ s a -> s{_gpdvdcInfoTypeTransformations = a})---- | Treat the dataset as structured. Transformations can be applied to--- specific locations within structured datasets, such as transforming a--- column within a table.-gpdvdcRecordTransformations :: Lens' GooglePrivacyDlpV2DeidentifyConfig (Maybe GooglePrivacyDlpV2RecordTransformations)-gpdvdcRecordTransformations- = lens _gpdvdcRecordTransformations- (\ s a -> s{_gpdvdcRecordTransformations = a})--instance FromJSON GooglePrivacyDlpV2DeidentifyConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2DeidentifyConfig"- (\ o ->- GooglePrivacyDlpV2DeidentifyConfig' <$>- (o .:? "infoTypeTransformations") <*>- (o .:? "recordTransformations"))--instance ToJSON GooglePrivacyDlpV2DeidentifyConfig- where- toJSON GooglePrivacyDlpV2DeidentifyConfig'{..}- = object- (catMaybes- [("infoTypeTransformations" .=) <$>- _gpdvdcInfoTypeTransformations,- ("recordTransformations" .=) <$>- _gpdvdcRecordTransformations])---- | Partially mask a string by replacing a given number of characters with a--- fixed character. Masking can start from the beginning or end of the--- string. This can be used on data of any type (numbers, longs, and so on)--- and when de-identifying structured data we\'ll attempt to preserve the--- original data\'s type. (This allows you to take a long like 123 and--- modify it to a string like **3.------ /See:/ 'googlePrivacyDlpV2CharacterMaskConfig' smart constructor.-data GooglePrivacyDlpV2CharacterMaskConfig =- GooglePrivacyDlpV2CharacterMaskConfig'- { _gpdvcmcNumberToMask :: !(Maybe (Textual Int32))- , _gpdvcmcMaskingCharacter :: !(Maybe Text)- , _gpdvcmcReverseOrder :: !(Maybe Bool)- , _gpdvcmcCharactersToIgnore :: !(Maybe [GooglePrivacyDlpV2CharsToIgnore])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CharacterMaskConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcmcNumberToMask'------ * 'gpdvcmcMaskingCharacter'------ * 'gpdvcmcReverseOrder'------ * 'gpdvcmcCharactersToIgnore'-googlePrivacyDlpV2CharacterMaskConfig- :: GooglePrivacyDlpV2CharacterMaskConfig-googlePrivacyDlpV2CharacterMaskConfig =- GooglePrivacyDlpV2CharacterMaskConfig'- { _gpdvcmcNumberToMask = Nothing- , _gpdvcmcMaskingCharacter = Nothing- , _gpdvcmcReverseOrder = Nothing- , _gpdvcmcCharactersToIgnore = Nothing- }----- | Number of characters to mask. If not set, all matching chars will be--- masked. Skipped characters do not count towards this tally.-gpdvcmcNumberToMask :: Lens' GooglePrivacyDlpV2CharacterMaskConfig (Maybe Int32)-gpdvcmcNumberToMask- = lens _gpdvcmcNumberToMask- (\ s a -> s{_gpdvcmcNumberToMask = a})- . mapping _Coerce---- | Character to mask the sensitive values—for example, \"*\" for an--- alphabetic string such as name, or \"0\" for a numeric string such as--- ZIP code or credit card number. String must have length 1. If not--- supplied, we will default to \"*\" for strings, 0 for digits.-gpdvcmcMaskingCharacter :: Lens' GooglePrivacyDlpV2CharacterMaskConfig (Maybe Text)-gpdvcmcMaskingCharacter- = lens _gpdvcmcMaskingCharacter- (\ s a -> s{_gpdvcmcMaskingCharacter = a})---- | Mask characters in reverse order. For example, if \`masking_character\`--- is \'0\', number_to_mask is 14, and \`reverse_order\` is false, then--- 1234-5678-9012-3456 -> 00000000000000-3456 If \`masking_character\` is--- \'*\', \`number_to_mask\` is 3, and \`reverse_order\` is true, then--- 12345 -> 12***-gpdvcmcReverseOrder :: Lens' GooglePrivacyDlpV2CharacterMaskConfig (Maybe Bool)-gpdvcmcReverseOrder- = lens _gpdvcmcReverseOrder- (\ s a -> s{_gpdvcmcReverseOrder = a})---- | When masking a string, items in this list will be skipped when--- replacing. For example, if your string is 555-555-5555 and you ask us to--- skip \`-\` and mask 5 chars with * we would produce ***-*55-5555.-gpdvcmcCharactersToIgnore :: Lens' GooglePrivacyDlpV2CharacterMaskConfig [GooglePrivacyDlpV2CharsToIgnore]-gpdvcmcCharactersToIgnore- = lens _gpdvcmcCharactersToIgnore- (\ s a -> s{_gpdvcmcCharactersToIgnore = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2CharacterMaskConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2CharacterMaskConfig"- (\ o ->- GooglePrivacyDlpV2CharacterMaskConfig' <$>- (o .:? "numberToMask") <*> (o .:? "maskingCharacter")- <*> (o .:? "reverseOrder")- <*> (o .:? "charactersToIgnore" .!= mempty))--instance ToJSON GooglePrivacyDlpV2CharacterMaskConfig- where- toJSON GooglePrivacyDlpV2CharacterMaskConfig'{..}- = object- (catMaybes- [("numberToMask" .=) <$> _gpdvcmcNumberToMask,- ("maskingCharacter" .=) <$> _gpdvcmcMaskingCharacter,- ("reverseOrder" .=) <$> _gpdvcmcReverseOrder,- ("charactersToIgnore" .=) <$>- _gpdvcmcCharactersToIgnore])---- | Options defining a data set within Google Cloud Datastore.------ /See:/ 'googlePrivacyDlpV2DatastoreOptions' smart constructor.-data GooglePrivacyDlpV2DatastoreOptions =- GooglePrivacyDlpV2DatastoreOptions'- { _gpdvdoPartitionId :: !(Maybe GooglePrivacyDlpV2PartitionId)- , _gpdvdoKind :: !(Maybe GooglePrivacyDlpV2KindExpression)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2DatastoreOptions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvdoPartitionId'------ * 'gpdvdoKind'-googlePrivacyDlpV2DatastoreOptions- :: GooglePrivacyDlpV2DatastoreOptions-googlePrivacyDlpV2DatastoreOptions =- GooglePrivacyDlpV2DatastoreOptions'- {_gpdvdoPartitionId = Nothing, _gpdvdoKind = Nothing}----- | A partition ID identifies a grouping of entities. The grouping is always--- by project and namespace, however the namespace ID may be empty.-gpdvdoPartitionId :: Lens' GooglePrivacyDlpV2DatastoreOptions (Maybe GooglePrivacyDlpV2PartitionId)-gpdvdoPartitionId- = lens _gpdvdoPartitionId- (\ s a -> s{_gpdvdoPartitionId = a})---- | The kind to process.-gpdvdoKind :: Lens' GooglePrivacyDlpV2DatastoreOptions (Maybe GooglePrivacyDlpV2KindExpression)-gpdvdoKind- = lens _gpdvdoKind (\ s a -> s{_gpdvdoKind = a})--instance FromJSON GooglePrivacyDlpV2DatastoreOptions- where- parseJSON- = withObject "GooglePrivacyDlpV2DatastoreOptions"- (\ o ->- GooglePrivacyDlpV2DatastoreOptions' <$>- (o .:? "partitionId") <*> (o .:? "kind"))--instance ToJSON GooglePrivacyDlpV2DatastoreOptions- where- toJSON GooglePrivacyDlpV2DatastoreOptions'{..}- = object- (catMaybes- [("partitionId" .=) <$> _gpdvdoPartitionId,- ("kind" .=) <$> _gpdvdoKind])---- | A value of a field, including its frequency.------ /See:/ 'googlePrivacyDlpV2ValueFrequency' smart constructor.-data GooglePrivacyDlpV2ValueFrequency =- GooglePrivacyDlpV2ValueFrequency'- { _gpdvvfValue :: !(Maybe GooglePrivacyDlpV2Value)- , _gpdvvfCount :: !(Maybe (Textual Int64))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ValueFrequency' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvvfValue'------ * 'gpdvvfCount'-googlePrivacyDlpV2ValueFrequency- :: GooglePrivacyDlpV2ValueFrequency-googlePrivacyDlpV2ValueFrequency =- GooglePrivacyDlpV2ValueFrequency'- {_gpdvvfValue = Nothing, _gpdvvfCount = Nothing}----- | A value contained in the field in question.-gpdvvfValue :: Lens' GooglePrivacyDlpV2ValueFrequency (Maybe GooglePrivacyDlpV2Value)-gpdvvfValue- = lens _gpdvvfValue (\ s a -> s{_gpdvvfValue = a})---- | How many times the value is contained in the field.-gpdvvfCount :: Lens' GooglePrivacyDlpV2ValueFrequency (Maybe Int64)-gpdvvfCount- = lens _gpdvvfCount (\ s a -> s{_gpdvvfCount = a}) .- mapping _Coerce--instance FromJSON GooglePrivacyDlpV2ValueFrequency- where- parseJSON- = withObject "GooglePrivacyDlpV2ValueFrequency"- (\ o ->- GooglePrivacyDlpV2ValueFrequency' <$>- (o .:? "value") <*> (o .:? "count"))--instance ToJSON GooglePrivacyDlpV2ValueFrequency- where- toJSON GooglePrivacyDlpV2ValueFrequency'{..}- = object- (catMaybes- [("value" .=) <$> _gpdvvfValue,- ("count" .=) <$> _gpdvvfCount])---- | Bounding box encompassing detected text within an image.------ /See:/ 'googlePrivacyDlpV2BoundingBox' smart constructor.-data GooglePrivacyDlpV2BoundingBox =- GooglePrivacyDlpV2BoundingBox'- { _gpdvbbHeight :: !(Maybe (Textual Int32))- , _gpdvbbLeft :: !(Maybe (Textual Int32))- , _gpdvbbWidth :: !(Maybe (Textual Int32))- , _gpdvbbTop :: !(Maybe (Textual Int32))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2BoundingBox' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvbbHeight'------ * 'gpdvbbLeft'------ * 'gpdvbbWidth'------ * 'gpdvbbTop'-googlePrivacyDlpV2BoundingBox- :: GooglePrivacyDlpV2BoundingBox-googlePrivacyDlpV2BoundingBox =- GooglePrivacyDlpV2BoundingBox'- { _gpdvbbHeight = Nothing- , _gpdvbbLeft = Nothing- , _gpdvbbWidth = Nothing- , _gpdvbbTop = Nothing- }----- | Height of the bounding box in pixels.-gpdvbbHeight :: Lens' GooglePrivacyDlpV2BoundingBox (Maybe Int32)-gpdvbbHeight- = lens _gpdvbbHeight (\ s a -> s{_gpdvbbHeight = a})- . mapping _Coerce---- | Left coordinate of the bounding box. (0,0) is upper left.-gpdvbbLeft :: Lens' GooglePrivacyDlpV2BoundingBox (Maybe Int32)-gpdvbbLeft- = lens _gpdvbbLeft (\ s a -> s{_gpdvbbLeft = a}) .- mapping _Coerce---- | Width of the bounding box in pixels.-gpdvbbWidth :: Lens' GooglePrivacyDlpV2BoundingBox (Maybe Int32)-gpdvbbWidth- = lens _gpdvbbWidth (\ s a -> s{_gpdvbbWidth = a}) .- mapping _Coerce---- | Top coordinate of the bounding box. (0,0) is upper left.-gpdvbbTop :: Lens' GooglePrivacyDlpV2BoundingBox (Maybe Int32)-gpdvbbTop- = lens _gpdvbbTop (\ s a -> s{_gpdvbbTop = a}) .- mapping _Coerce--instance FromJSON GooglePrivacyDlpV2BoundingBox where- parseJSON- = withObject "GooglePrivacyDlpV2BoundingBox"- (\ o ->- GooglePrivacyDlpV2BoundingBox' <$>- (o .:? "height") <*> (o .:? "left") <*>- (o .:? "width")- <*> (o .:? "top"))--instance ToJSON GooglePrivacyDlpV2BoundingBox where- toJSON GooglePrivacyDlpV2BoundingBox'{..}- = object- (catMaybes- [("height" .=) <$> _gpdvbbHeight,- ("left" .=) <$> _gpdvbbLeft,- ("width" .=) <$> _gpdvbbWidth,- ("top" .=) <$> _gpdvbbTop])---- | Datastore partition ID. A partition ID identifies a grouping of--- entities. The grouping is always by project and namespace, however the--- namespace ID may be empty. A partition ID contains several dimensions:--- project ID and namespace ID.------ /See:/ 'googlePrivacyDlpV2PartitionId' smart constructor.-data GooglePrivacyDlpV2PartitionId =- GooglePrivacyDlpV2PartitionId'- { _gpdvpiNamespaceId :: !(Maybe Text)- , _gpdvpiProjectId :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2PartitionId' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvpiNamespaceId'------ * 'gpdvpiProjectId'-googlePrivacyDlpV2PartitionId- :: GooglePrivacyDlpV2PartitionId-googlePrivacyDlpV2PartitionId =- GooglePrivacyDlpV2PartitionId'- {_gpdvpiNamespaceId = Nothing, _gpdvpiProjectId = Nothing}----- | If not empty, the ID of the namespace to which the entities belong.-gpdvpiNamespaceId :: Lens' GooglePrivacyDlpV2PartitionId (Maybe Text)-gpdvpiNamespaceId- = lens _gpdvpiNamespaceId- (\ s a -> s{_gpdvpiNamespaceId = a})---- | The ID of the project to which the entities belong.-gpdvpiProjectId :: Lens' GooglePrivacyDlpV2PartitionId (Maybe Text)-gpdvpiProjectId- = lens _gpdvpiProjectId- (\ s a -> s{_gpdvpiProjectId = a})--instance FromJSON GooglePrivacyDlpV2PartitionId where- parseJSON- = withObject "GooglePrivacyDlpV2PartitionId"- (\ o ->- GooglePrivacyDlpV2PartitionId' <$>- (o .:? "namespaceId") <*> (o .:? "projectId"))--instance ToJSON GooglePrivacyDlpV2PartitionId where- toJSON GooglePrivacyDlpV2PartitionId'{..}- = object- (catMaybes- [("namespaceId" .=) <$> _gpdvpiNamespaceId,- ("projectId" .=) <$> _gpdvpiProjectId])---- | If set, the detailed findings will be persisted to the specified--- OutputStorageConfig. Only a single instance of this action can be--- specified. Compatible with: Inspect, Risk------ /See:/ 'googlePrivacyDlpV2SaveFindings' smart constructor.-newtype GooglePrivacyDlpV2SaveFindings =- GooglePrivacyDlpV2SaveFindings'- { _gpdvsfOutputConfig :: Maybe GooglePrivacyDlpV2OutputStorageConfig- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2SaveFindings' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvsfOutputConfig'-googlePrivacyDlpV2SaveFindings- :: GooglePrivacyDlpV2SaveFindings-googlePrivacyDlpV2SaveFindings =- GooglePrivacyDlpV2SaveFindings' {_gpdvsfOutputConfig = Nothing}---gpdvsfOutputConfig :: Lens' GooglePrivacyDlpV2SaveFindings (Maybe GooglePrivacyDlpV2OutputStorageConfig)-gpdvsfOutputConfig- = lens _gpdvsfOutputConfig- (\ s a -> s{_gpdvsfOutputConfig = a})--instance FromJSON GooglePrivacyDlpV2SaveFindings- where- parseJSON- = withObject "GooglePrivacyDlpV2SaveFindings"- (\ o ->- GooglePrivacyDlpV2SaveFindings' <$>- (o .:? "outputConfig"))--instance ToJSON GooglePrivacyDlpV2SaveFindings where- toJSON GooglePrivacyDlpV2SaveFindings'{..}- = object- (catMaybes- [("outputConfig" .=) <$> _gpdvsfOutputConfig])---- | Version of a StoredInfoType, including the configuration used to build--- it, create timestamp, and current state.------ /See:/ 'googlePrivacyDlpV2StoredInfoTypeVersion' smart constructor.-data GooglePrivacyDlpV2StoredInfoTypeVersion =- GooglePrivacyDlpV2StoredInfoTypeVersion'- { _gpdvsitvState :: !(Maybe GooglePrivacyDlpV2StoredInfoTypeVersionState)- , _gpdvsitvConfig :: !(Maybe GooglePrivacyDlpV2StoredInfoTypeConfig)- , _gpdvsitvErrors :: !(Maybe [GooglePrivacyDlpV2Error])- , _gpdvsitvCreateTime :: !(Maybe DateTime')- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2StoredInfoTypeVersion' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvsitvState'------ * 'gpdvsitvConfig'------ * 'gpdvsitvErrors'------ * 'gpdvsitvCreateTime'-googlePrivacyDlpV2StoredInfoTypeVersion- :: GooglePrivacyDlpV2StoredInfoTypeVersion-googlePrivacyDlpV2StoredInfoTypeVersion =- GooglePrivacyDlpV2StoredInfoTypeVersion'- { _gpdvsitvState = Nothing- , _gpdvsitvConfig = Nothing- , _gpdvsitvErrors = Nothing- , _gpdvsitvCreateTime = Nothing- }----- | Stored info type version state. Read-only, updated by the system during--- dictionary creation.-gpdvsitvState :: Lens' GooglePrivacyDlpV2StoredInfoTypeVersion (Maybe GooglePrivacyDlpV2StoredInfoTypeVersionState)-gpdvsitvState- = lens _gpdvsitvState- (\ s a -> s{_gpdvsitvState = a})---- | StoredInfoType configuration.-gpdvsitvConfig :: Lens' GooglePrivacyDlpV2StoredInfoTypeVersion (Maybe GooglePrivacyDlpV2StoredInfoTypeConfig)-gpdvsitvConfig- = lens _gpdvsitvConfig- (\ s a -> s{_gpdvsitvConfig = a})---- | Errors that occurred when creating this storedInfoType version, or--- anomalies detected in the storedInfoType data that render it unusable.--- Only the five most recent errors will be displayed, with the most recent--- error appearing first.------ For example, some of the data for stored custom dictionaries is put in--- the user\'s Google Cloud Storage bucket, and if this data is modified or--- deleted by the user or another system, the dictionary becomes invalid.------ If any errors occur, fix the problem indicated by the error message and--- use the UpdateStoredInfoType API method to create another version of the--- storedInfoType to continue using it, reusing the same \`config\` if it--- was not the source of the error.-gpdvsitvErrors :: Lens' GooglePrivacyDlpV2StoredInfoTypeVersion [GooglePrivacyDlpV2Error]-gpdvsitvErrors- = lens _gpdvsitvErrors- (\ s a -> s{_gpdvsitvErrors = a})- . _Default- . _Coerce---- | Create timestamp of the version. Read-only, determined by the system--- when the version is created.-gpdvsitvCreateTime :: Lens' GooglePrivacyDlpV2StoredInfoTypeVersion (Maybe UTCTime)-gpdvsitvCreateTime- = lens _gpdvsitvCreateTime- (\ s a -> s{_gpdvsitvCreateTime = a})- . mapping _DateTime--instance FromJSON- GooglePrivacyDlpV2StoredInfoTypeVersion- where- parseJSON- = withObject- "GooglePrivacyDlpV2StoredInfoTypeVersion"- (\ o ->- GooglePrivacyDlpV2StoredInfoTypeVersion' <$>- (o .:? "state") <*> (o .:? "config") <*>- (o .:? "errors" .!= mempty)- <*> (o .:? "createTime"))--instance ToJSON- GooglePrivacyDlpV2StoredInfoTypeVersion- where- toJSON GooglePrivacyDlpV2StoredInfoTypeVersion'{..}- = object- (catMaybes- [("state" .=) <$> _gpdvsitvState,- ("config" .=) <$> _gpdvsitvConfig,- ("errors" .=) <$> _gpdvsitvErrors,- ("createTime" .=) <$> _gpdvsitvCreateTime])---- | Response to the ListInfoTypes request.------ /See:/ 'googlePrivacyDlpV2ListInfoTypesResponse' smart constructor.-newtype GooglePrivacyDlpV2ListInfoTypesResponse =- GooglePrivacyDlpV2ListInfoTypesResponse'- { _gpdvlitrInfoTypes :: Maybe [GooglePrivacyDlpV2InfoTypeDescription]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ListInfoTypesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvlitrInfoTypes'-googlePrivacyDlpV2ListInfoTypesResponse- :: GooglePrivacyDlpV2ListInfoTypesResponse-googlePrivacyDlpV2ListInfoTypesResponse =- GooglePrivacyDlpV2ListInfoTypesResponse' {_gpdvlitrInfoTypes = Nothing}----- | Set of sensitive infoTypes.-gpdvlitrInfoTypes :: Lens' GooglePrivacyDlpV2ListInfoTypesResponse [GooglePrivacyDlpV2InfoTypeDescription]-gpdvlitrInfoTypes- = lens _gpdvlitrInfoTypes- (\ s a -> s{_gpdvlitrInfoTypes = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2ListInfoTypesResponse- where- parseJSON- = withObject- "GooglePrivacyDlpV2ListInfoTypesResponse"- (\ o ->- GooglePrivacyDlpV2ListInfoTypesResponse' <$>- (o .:? "infoTypes" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2ListInfoTypesResponse- where- toJSON GooglePrivacyDlpV2ListInfoTypesResponse'{..}- = object- (catMaybes [("infoTypes" .=) <$> _gpdvlitrInfoTypes])---- | Findings container location data.------ /See:/ 'googlePrivacyDlpV2ContentLocation' smart constructor.-data GooglePrivacyDlpV2ContentLocation =- GooglePrivacyDlpV2ContentLocation'- { _gpdvclImageLocation :: !(Maybe GooglePrivacyDlpV2ImageLocation)- , _gpdvclContainerName :: !(Maybe Text)- , _gpdvclContainerTimestamp :: !(Maybe DateTime')- , _gpdvclDocumentLocation :: !(Maybe GooglePrivacyDlpV2DocumentLocation)- , _gpdvclContainerVersion :: !(Maybe Text)- , _gpdvclRecordLocation :: !(Maybe GooglePrivacyDlpV2RecordLocation)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ContentLocation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvclImageLocation'------ * 'gpdvclContainerName'------ * 'gpdvclContainerTimestamp'------ * 'gpdvclDocumentLocation'------ * 'gpdvclContainerVersion'------ * 'gpdvclRecordLocation'-googlePrivacyDlpV2ContentLocation- :: GooglePrivacyDlpV2ContentLocation-googlePrivacyDlpV2ContentLocation =- GooglePrivacyDlpV2ContentLocation'- { _gpdvclImageLocation = Nothing- , _gpdvclContainerName = Nothing- , _gpdvclContainerTimestamp = Nothing- , _gpdvclDocumentLocation = Nothing- , _gpdvclContainerVersion = Nothing- , _gpdvclRecordLocation = Nothing- }----- | Location within an image\'s pixels.-gpdvclImageLocation :: Lens' GooglePrivacyDlpV2ContentLocation (Maybe GooglePrivacyDlpV2ImageLocation)-gpdvclImageLocation- = lens _gpdvclImageLocation- (\ s a -> s{_gpdvclImageLocation = a})---- | Name of the container where the finding is located. The top level name--- is the source file name or table name. Names of some common storage--- containers are formatted as follows: * BigQuery tables: \`:.\` * Cloud--- Storage files: \`gs:\/\/\/\` * Datastore namespace: Nested names could--- be absent if the embedded object has no string identifier (for an--- example an image contained within a document).-gpdvclContainerName :: Lens' GooglePrivacyDlpV2ContentLocation (Maybe Text)-gpdvclContainerName- = lens _gpdvclContainerName- (\ s a -> s{_gpdvclContainerName = a})---- | Findings container modification timestamp, if applicable. For Google--- Cloud Storage contains last file modification timestamp. For BigQuery--- table contains last_modified_time property. For Datastore - not--- populated.-gpdvclContainerTimestamp :: Lens' GooglePrivacyDlpV2ContentLocation (Maybe UTCTime)-gpdvclContainerTimestamp- = lens _gpdvclContainerTimestamp- (\ s a -> s{_gpdvclContainerTimestamp = a})- . mapping _DateTime---- | Location data for document files.-gpdvclDocumentLocation :: Lens' GooglePrivacyDlpV2ContentLocation (Maybe GooglePrivacyDlpV2DocumentLocation)-gpdvclDocumentLocation- = lens _gpdvclDocumentLocation- (\ s a -> s{_gpdvclDocumentLocation = a})---- | Findings container version, if available (\"generation\" for Google--- Cloud Storage).-gpdvclContainerVersion :: Lens' GooglePrivacyDlpV2ContentLocation (Maybe Text)-gpdvclContainerVersion- = lens _gpdvclContainerVersion- (\ s a -> s{_gpdvclContainerVersion = a})---- | Location within a row or record of a database table.-gpdvclRecordLocation :: Lens' GooglePrivacyDlpV2ContentLocation (Maybe GooglePrivacyDlpV2RecordLocation)-gpdvclRecordLocation- = lens _gpdvclRecordLocation- (\ s a -> s{_gpdvclRecordLocation = a})--instance FromJSON GooglePrivacyDlpV2ContentLocation- where- parseJSON- = withObject "GooglePrivacyDlpV2ContentLocation"- (\ o ->- GooglePrivacyDlpV2ContentLocation' <$>- (o .:? "imageLocation") <*> (o .:? "containerName")- <*> (o .:? "containerTimestamp")- <*> (o .:? "documentLocation")- <*> (o .:? "containerVersion")- <*> (o .:? "recordLocation"))--instance ToJSON GooglePrivacyDlpV2ContentLocation- where- toJSON GooglePrivacyDlpV2ContentLocation'{..}- = object- (catMaybes- [("imageLocation" .=) <$> _gpdvclImageLocation,- ("containerName" .=) <$> _gpdvclContainerName,- ("containerTimestamp" .=) <$>- _gpdvclContainerTimestamp,- ("documentLocation" .=) <$> _gpdvclDocumentLocation,- ("containerVersion" .=) <$> _gpdvclContainerVersion,- ("recordLocation" .=) <$> _gpdvclRecordLocation])---- | An auxiliary table contains statistical information on the relative--- frequency of different quasi-identifiers values. It has one or several--- quasi-identifiers columns, and one column that indicates the relative--- frequency of each quasi-identifier tuple. If a tuple is present in the--- data but not in the auxiliary table, the corresponding relative--- frequency is assumed to be zero (and thus, the tuple is highly--- reidentifiable).------ /See:/ 'googlePrivacyDlpV2AuxiliaryTable' smart constructor.-data GooglePrivacyDlpV2AuxiliaryTable =- GooglePrivacyDlpV2AuxiliaryTable'- { _gpdvatRelativeFrequency :: !(Maybe GooglePrivacyDlpV2FieldId)- , _gpdvatTable :: !(Maybe GooglePrivacyDlpV2BigQueryTable)- , _gpdvatQuasiIds :: !(Maybe [GooglePrivacyDlpV2QuasiIdField])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2AuxiliaryTable' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvatRelativeFrequency'------ * 'gpdvatTable'------ * 'gpdvatQuasiIds'-googlePrivacyDlpV2AuxiliaryTable- :: GooglePrivacyDlpV2AuxiliaryTable-googlePrivacyDlpV2AuxiliaryTable =- GooglePrivacyDlpV2AuxiliaryTable'- { _gpdvatRelativeFrequency = Nothing- , _gpdvatTable = Nothing- , _gpdvatQuasiIds = Nothing- }----- | The relative frequency column must contain a floating-point number--- between 0 and 1 (inclusive). Null values are assumed to be zero.--- [required]-gpdvatRelativeFrequency :: Lens' GooglePrivacyDlpV2AuxiliaryTable (Maybe GooglePrivacyDlpV2FieldId)-gpdvatRelativeFrequency- = lens _gpdvatRelativeFrequency- (\ s a -> s{_gpdvatRelativeFrequency = a})---- | Auxiliary table location. [required]-gpdvatTable :: Lens' GooglePrivacyDlpV2AuxiliaryTable (Maybe GooglePrivacyDlpV2BigQueryTable)-gpdvatTable- = lens _gpdvatTable (\ s a -> s{_gpdvatTable = a})---- | Quasi-identifier columns. [required]-gpdvatQuasiIds :: Lens' GooglePrivacyDlpV2AuxiliaryTable [GooglePrivacyDlpV2QuasiIdField]-gpdvatQuasiIds- = lens _gpdvatQuasiIds- (\ s a -> s{_gpdvatQuasiIds = a})- . _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2AuxiliaryTable- where- parseJSON- = withObject "GooglePrivacyDlpV2AuxiliaryTable"- (\ o ->- GooglePrivacyDlpV2AuxiliaryTable' <$>- (o .:? "relativeFrequency") <*> (o .:? "table") <*>- (o .:? "quasiIds" .!= mempty))--instance ToJSON GooglePrivacyDlpV2AuxiliaryTable- where- toJSON GooglePrivacyDlpV2AuxiliaryTable'{..}- = object- (catMaybes- [("relativeFrequency" .=) <$>- _gpdvatRelativeFrequency,- ("table" .=) <$> _gpdvatTable,- ("quasiIds" .=) <$> _gpdvatQuasiIds])---- | A DeltaPresenceEstimationHistogramBucket message with the following--- values: min_probability: 0.1 max_probability: 0.2 frequency: 42 means--- that there are 42 records for which δ is in [0.1, 0.2). An important--- particular case is when min_probability = max_probability = 1: then,--- every individual who shares this quasi-identifier combination is in the--- dataset.------ /See:/ 'googlePrivacyDlpV2DeltaPresenceEstimationHistogramBucket' smart constructor.-data GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket =- GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket'- { _gpdvdpehbBucketValues :: !(Maybe [GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues])- , _gpdvdpehbMaxProbability :: !(Maybe (Textual Double))- , _gpdvdpehbMinProbability :: !(Maybe (Textual Double))- , _gpdvdpehbBucketSize :: !(Maybe (Textual Int64))- , _gpdvdpehbBucketValueCount :: !(Maybe (Textual Int64))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvdpehbBucketValues'------ * 'gpdvdpehbMaxProbability'------ * 'gpdvdpehbMinProbability'------ * 'gpdvdpehbBucketSize'------ * 'gpdvdpehbBucketValueCount'-googlePrivacyDlpV2DeltaPresenceEstimationHistogramBucket- :: GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket-googlePrivacyDlpV2DeltaPresenceEstimationHistogramBucket =- GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket'- { _gpdvdpehbBucketValues = Nothing- , _gpdvdpehbMaxProbability = Nothing- , _gpdvdpehbMinProbability = Nothing- , _gpdvdpehbBucketSize = Nothing- , _gpdvdpehbBucketValueCount = Nothing- }----- | Sample of quasi-identifier tuple values in this bucket. The total number--- of classes returned per bucket is capped at 20.-gpdvdpehbBucketValues :: Lens' GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket [GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues]-gpdvdpehbBucketValues- = lens _gpdvdpehbBucketValues- (\ s a -> s{_gpdvdpehbBucketValues = a})- . _Default- . _Coerce---- | Always greater than or equal to min_probability.-gpdvdpehbMaxProbability :: Lens' GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket (Maybe Double)-gpdvdpehbMaxProbability- = lens _gpdvdpehbMaxProbability- (\ s a -> s{_gpdvdpehbMaxProbability = a})- . mapping _Coerce---- | Between 0 and 1.-gpdvdpehbMinProbability :: Lens' GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket (Maybe Double)-gpdvdpehbMinProbability- = lens _gpdvdpehbMinProbability- (\ s a -> s{_gpdvdpehbMinProbability = a})- . mapping _Coerce---- | Number of records within these probability bounds.-gpdvdpehbBucketSize :: Lens' GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket (Maybe Int64)-gpdvdpehbBucketSize- = lens _gpdvdpehbBucketSize- (\ s a -> s{_gpdvdpehbBucketSize = a})- . mapping _Coerce---- | Total number of distinct quasi-identifier tuple values in this bucket.-gpdvdpehbBucketValueCount :: Lens' GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket (Maybe Int64)-gpdvdpehbBucketValueCount- = lens _gpdvdpehbBucketValueCount- (\ s a -> s{_gpdvdpehbBucketValueCount = a})- . mapping _Coerce--instance FromJSON- GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket- where- parseJSON- = withObject- "GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket"- (\ o ->- GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket'- <$>- (o .:? "bucketValues" .!= mempty) <*>- (o .:? "maxProbability")- <*> (o .:? "minProbability")- <*> (o .:? "bucketSize")- <*> (o .:? "bucketValueCount"))--instance ToJSON- GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket- where- toJSON- GooglePrivacyDlpV2DeltaPresenceEstimationHistogramBucket'{..}- = object- (catMaybes- [("bucketValues" .=) <$> _gpdvdpehbBucketValues,- ("maxProbability" .=) <$> _gpdvdpehbMaxProbability,- ("minProbability" .=) <$> _gpdvdpehbMinProbability,- ("bucketSize" .=) <$> _gpdvdpehbBucketSize,- ("bucketValueCount" .=) <$>- _gpdvdpehbBucketValueCount])---- | Set of files to scan.------ /See:/ 'googlePrivacyDlpV2FileSet' smart constructor.-data GooglePrivacyDlpV2FileSet =- GooglePrivacyDlpV2FileSet'- { _gpdvfsURL :: !(Maybe Text)- , _gpdvfsRegexFileSet :: !(Maybe GooglePrivacyDlpV2CloudStorageRegexFileSet)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2FileSet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvfsURL'------ * 'gpdvfsRegexFileSet'-googlePrivacyDlpV2FileSet- :: GooglePrivacyDlpV2FileSet-googlePrivacyDlpV2FileSet =- GooglePrivacyDlpV2FileSet'- {_gpdvfsURL = Nothing, _gpdvfsRegexFileSet = Nothing}----- | The Cloud Storage url of the file(s) to scan, in the format--- \`gs:\/\/\/\`. Trailing wildcard in the path is allowed. If the url ends--- in a trailing slash, the bucket or directory represented by the url will--- be scanned non-recursively (content in sub-directories will not be--- scanned). This means that \`gs:\/\/mybucket\/\` is equivalent to--- \`gs:\/\/mybucket\/*\`, and \`gs:\/\/mybucket\/directory\/\` is--- equivalent to \`gs:\/\/mybucket\/directory\/*\`. Exactly one of \`url\`--- or \`regex_file_set\` must be set.-gpdvfsURL :: Lens' GooglePrivacyDlpV2FileSet (Maybe Text)-gpdvfsURL- = lens _gpdvfsURL (\ s a -> s{_gpdvfsURL = a})---- | The regex-filtered set of files to scan. Exactly one of \`url\` or--- \`regex_file_set\` must be set.-gpdvfsRegexFileSet :: Lens' GooglePrivacyDlpV2FileSet (Maybe GooglePrivacyDlpV2CloudStorageRegexFileSet)-gpdvfsRegexFileSet- = lens _gpdvfsRegexFileSet- (\ s a -> s{_gpdvfsRegexFileSet = a})--instance FromJSON GooglePrivacyDlpV2FileSet where- parseJSON- = withObject "GooglePrivacyDlpV2FileSet"- (\ o ->- GooglePrivacyDlpV2FileSet' <$>- (o .:? "url") <*> (o .:? "regexFileSet"))--instance ToJSON GooglePrivacyDlpV2FileSet where- toJSON GooglePrivacyDlpV2FileSet'{..}- = object- (catMaybes- [("url" .=) <$> _gpdvfsURL,- ("regexFileSet" .=) <$> _gpdvfsRegexFileSet])---- | Response message for ListInspectTemplates.------ /See:/ 'googlePrivacyDlpV2ListInspectTemplatesResponse' smart constructor.-data GooglePrivacyDlpV2ListInspectTemplatesResponse =- GooglePrivacyDlpV2ListInspectTemplatesResponse'- { _gpdvlitrNextPageToken :: !(Maybe Text)- , _gpdvlitrInspectTemplates :: !(Maybe [GooglePrivacyDlpV2InspectTemplate])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ListInspectTemplatesResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvlitrNextPageToken'------ * 'gpdvlitrInspectTemplates'-googlePrivacyDlpV2ListInspectTemplatesResponse- :: GooglePrivacyDlpV2ListInspectTemplatesResponse-googlePrivacyDlpV2ListInspectTemplatesResponse =- GooglePrivacyDlpV2ListInspectTemplatesResponse'- {_gpdvlitrNextPageToken = Nothing, _gpdvlitrInspectTemplates = Nothing}----- | If the next page is available then the next page token to be used in--- following ListInspectTemplates request.-gpdvlitrNextPageToken :: Lens' GooglePrivacyDlpV2ListInspectTemplatesResponse (Maybe Text)-gpdvlitrNextPageToken- = lens _gpdvlitrNextPageToken- (\ s a -> s{_gpdvlitrNextPageToken = a})---- | List of inspectTemplates, up to page_size in--- ListInspectTemplatesRequest.-gpdvlitrInspectTemplates :: Lens' GooglePrivacyDlpV2ListInspectTemplatesResponse [GooglePrivacyDlpV2InspectTemplate]-gpdvlitrInspectTemplates- = lens _gpdvlitrInspectTemplates- (\ s a -> s{_gpdvlitrInspectTemplates = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2ListInspectTemplatesResponse- where- parseJSON- = withObject- "GooglePrivacyDlpV2ListInspectTemplatesResponse"- (\ o ->- GooglePrivacyDlpV2ListInspectTemplatesResponse' <$>- (o .:? "nextPageToken") <*>- (o .:? "inspectTemplates" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2ListInspectTemplatesResponse- where- toJSON- GooglePrivacyDlpV2ListInspectTemplatesResponse'{..}- = object- (catMaybes- [("nextPageToken" .=) <$> _gpdvlitrNextPageToken,- ("inspectTemplates" .=) <$>- _gpdvlitrInspectTemplates])---- | Result of the k-anonymity computation.------ /See:/ 'googlePrivacyDlpV2KAnonymityResult' smart constructor.-newtype GooglePrivacyDlpV2KAnonymityResult =- GooglePrivacyDlpV2KAnonymityResult'- { _gpdvkarEquivalenceClassHistogramBuckets :: Maybe [GooglePrivacyDlpV2KAnonymityHistogramBucket]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2KAnonymityResult' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvkarEquivalenceClassHistogramBuckets'-googlePrivacyDlpV2KAnonymityResult- :: GooglePrivacyDlpV2KAnonymityResult-googlePrivacyDlpV2KAnonymityResult =- GooglePrivacyDlpV2KAnonymityResult'- {_gpdvkarEquivalenceClassHistogramBuckets = Nothing}----- | Histogram of k-anonymity equivalence classes.-gpdvkarEquivalenceClassHistogramBuckets :: Lens' GooglePrivacyDlpV2KAnonymityResult [GooglePrivacyDlpV2KAnonymityHistogramBucket]-gpdvkarEquivalenceClassHistogramBuckets- = lens _gpdvkarEquivalenceClassHistogramBuckets- (\ s a ->- s{_gpdvkarEquivalenceClassHistogramBuckets = a})- . _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2KAnonymityResult- where- parseJSON- = withObject "GooglePrivacyDlpV2KAnonymityResult"- (\ o ->- GooglePrivacyDlpV2KAnonymityResult' <$>- (o .:? "equivalenceClassHistogramBuckets" .!=- mempty))--instance ToJSON GooglePrivacyDlpV2KAnonymityResult- where- toJSON GooglePrivacyDlpV2KAnonymityResult'{..}- = object- (catMaybes- [("equivalenceClassHistogramBuckets" .=) <$>- _gpdvkarEquivalenceClassHistogramBuckets])---- | Message defining a field of a BigQuery table.------ /See:/ 'googlePrivacyDlpV2BigQueryField' smart constructor.-data GooglePrivacyDlpV2BigQueryField =- GooglePrivacyDlpV2BigQueryField'- { _gpdvbqfField :: !(Maybe GooglePrivacyDlpV2FieldId)- , _gpdvbqfTable :: !(Maybe GooglePrivacyDlpV2BigQueryTable)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2BigQueryField' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvbqfField'------ * 'gpdvbqfTable'-googlePrivacyDlpV2BigQueryField- :: GooglePrivacyDlpV2BigQueryField-googlePrivacyDlpV2BigQueryField =- GooglePrivacyDlpV2BigQueryField'- {_gpdvbqfField = Nothing, _gpdvbqfTable = Nothing}----- | Designated field in the BigQuery table.-gpdvbqfField :: Lens' GooglePrivacyDlpV2BigQueryField (Maybe GooglePrivacyDlpV2FieldId)-gpdvbqfField- = lens _gpdvbqfField (\ s a -> s{_gpdvbqfField = a})---- | Source table of the field.-gpdvbqfTable :: Lens' GooglePrivacyDlpV2BigQueryField (Maybe GooglePrivacyDlpV2BigQueryTable)-gpdvbqfTable- = lens _gpdvbqfTable (\ s a -> s{_gpdvbqfTable = a})--instance FromJSON GooglePrivacyDlpV2BigQueryField- where- parseJSON- = withObject "GooglePrivacyDlpV2BigQueryField"- (\ o ->- GooglePrivacyDlpV2BigQueryField' <$>- (o .:? "field") <*> (o .:? "table"))--instance ToJSON GooglePrivacyDlpV2BigQueryField where- toJSON GooglePrivacyDlpV2BigQueryField'{..}- = object- (catMaybes- [("field" .=) <$> _gpdvbqfField,- ("table" .=) <$> _gpdvbqfTable])---- | Cloud repository for storing output.------ /See:/ 'googlePrivacyDlpV2OutputStorageConfig' smart constructor.-data GooglePrivacyDlpV2OutputStorageConfig =- GooglePrivacyDlpV2OutputStorageConfig'- { _gpdvoscOutputSchema :: !(Maybe GooglePrivacyDlpV2OutputStorageConfigOutputSchema)- , _gpdvoscTable :: !(Maybe GooglePrivacyDlpV2BigQueryTable)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2OutputStorageConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvoscOutputSchema'------ * 'gpdvoscTable'-googlePrivacyDlpV2OutputStorageConfig- :: GooglePrivacyDlpV2OutputStorageConfig-googlePrivacyDlpV2OutputStorageConfig =- GooglePrivacyDlpV2OutputStorageConfig'- {_gpdvoscOutputSchema = Nothing, _gpdvoscTable = Nothing}----- | Schema used for writing the findings for Inspect jobs. This field is--- only used for Inspect and must be unspecified for Risk jobs. Columns are--- derived from the \`Finding\` object. If appending to an existing table,--- any columns from the predefined schema that are missing will be added.--- No columns in the existing table will be deleted. If unspecified, then--- all available columns will be used for a new table or an (existing)--- table with no schema, and no changes will be made to an existing table--- that has a schema.-gpdvoscOutputSchema :: Lens' GooglePrivacyDlpV2OutputStorageConfig (Maybe GooglePrivacyDlpV2OutputStorageConfigOutputSchema)-gpdvoscOutputSchema- = lens _gpdvoscOutputSchema- (\ s a -> s{_gpdvoscOutputSchema = a})---- | Store findings in an existing table or a new table in an existing--- dataset. If table_id is not set a new one will be generated for you with--- the following format: dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific--- timezone will be used for generating the date details. For Inspect, each--- column in an existing output table must have the same name, type, and--- mode of a field in the \`Finding\` object. For Risk, an existing output--- table should be the output of a previous Risk analysis job run on the--- same source table, with the same privacy metric and quasi-identifiers.--- Risk jobs that analyze the same table but compute a different privacy--- metric, or use different sets of quasi-identifiers, cannot store their--- results in the same table.-gpdvoscTable :: Lens' GooglePrivacyDlpV2OutputStorageConfig (Maybe GooglePrivacyDlpV2BigQueryTable)-gpdvoscTable- = lens _gpdvoscTable (\ s a -> s{_gpdvoscTable = a})--instance FromJSON- GooglePrivacyDlpV2OutputStorageConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2OutputStorageConfig"- (\ o ->- GooglePrivacyDlpV2OutputStorageConfig' <$>- (o .:? "outputSchema") <*> (o .:? "table"))--instance ToJSON GooglePrivacyDlpV2OutputStorageConfig- where- toJSON GooglePrivacyDlpV2OutputStorageConfig'{..}- = object- (catMaybes- [("outputSchema" .=) <$> _gpdvoscOutputSchema,- ("table" .=) <$> _gpdvoscTable])---- | Message representing a set of files in Cloud Storage.------ /See:/ 'googlePrivacyDlpV2CloudStorageFileSet' smart constructor.-newtype GooglePrivacyDlpV2CloudStorageFileSet =- GooglePrivacyDlpV2CloudStorageFileSet'- { _gpdvcsfsURL :: Maybe Text- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CloudStorageFileSet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcsfsURL'-googlePrivacyDlpV2CloudStorageFileSet- :: GooglePrivacyDlpV2CloudStorageFileSet-googlePrivacyDlpV2CloudStorageFileSet =- GooglePrivacyDlpV2CloudStorageFileSet' {_gpdvcsfsURL = Nothing}----- | The url, in the format \`gs:\/\/\/\`. Trailing wildcard in the path is--- allowed.-gpdvcsfsURL :: Lens' GooglePrivacyDlpV2CloudStorageFileSet (Maybe Text)-gpdvcsfsURL- = lens _gpdvcsfsURL (\ s a -> s{_gpdvcsfsURL = a})--instance FromJSON- GooglePrivacyDlpV2CloudStorageFileSet- where- parseJSON- = withObject "GooglePrivacyDlpV2CloudStorageFileSet"- (\ o ->- GooglePrivacyDlpV2CloudStorageFileSet' <$>- (o .:? "url"))--instance ToJSON GooglePrivacyDlpV2CloudStorageFileSet- where- toJSON GooglePrivacyDlpV2CloudStorageFileSet'{..}- = object (catMaybes [("url" .=) <$> _gpdvcsfsURL])---- | A type of transformation that will scan unstructured text and apply--- various \`PrimitiveTransformation\`s to each finding, where the--- transformation is applied to only values that were identified as a--- specific info_type.------ /See:/ 'googlePrivacyDlpV2InfoTypeTransformations' smart constructor.-newtype GooglePrivacyDlpV2InfoTypeTransformations =- GooglePrivacyDlpV2InfoTypeTransformations'- { _gpdvittTransformations :: Maybe [GooglePrivacyDlpV2InfoTypeTransformation]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2InfoTypeTransformations' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvittTransformations'-googlePrivacyDlpV2InfoTypeTransformations- :: GooglePrivacyDlpV2InfoTypeTransformations-googlePrivacyDlpV2InfoTypeTransformations =- GooglePrivacyDlpV2InfoTypeTransformations' {_gpdvittTransformations = Nothing}----- | Transformation for each infoType. Cannot specify more than one for a--- given infoType. [required]-gpdvittTransformations :: Lens' GooglePrivacyDlpV2InfoTypeTransformations [GooglePrivacyDlpV2InfoTypeTransformation]-gpdvittTransformations- = lens _gpdvittTransformations- (\ s a -> s{_gpdvittTransformations = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2InfoTypeTransformations- where- parseJSON- = withObject- "GooglePrivacyDlpV2InfoTypeTransformations"- (\ o ->- GooglePrivacyDlpV2InfoTypeTransformations' <$>- (o .:? "transformations" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2InfoTypeTransformations- where- toJSON GooglePrivacyDlpV2InfoTypeTransformations'{..}- = object- (catMaybes- [("transformations" .=) <$> _gpdvittTransformations])---- | Include to use an existing data crypto key wrapped by KMS. The wrapped--- key must be a 128\/192\/256 bit key. Authorization requires the--- following IAM permissions when sending a request to perform a crypto--- transformation using a kms-wrapped crypto key: dlp.kms.encrypt------ /See:/ 'googlePrivacyDlpV2KmsWrAppedCryptoKey' smart constructor.-data GooglePrivacyDlpV2KmsWrAppedCryptoKey =- GooglePrivacyDlpV2KmsWrAppedCryptoKey'- { _gpdvkwackWrAppedKey :: !(Maybe Bytes)- , _gpdvkwackCryptoKeyName :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2KmsWrAppedCryptoKey' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvkwackWrAppedKey'------ * 'gpdvkwackCryptoKeyName'-googlePrivacyDlpV2KmsWrAppedCryptoKey- :: GooglePrivacyDlpV2KmsWrAppedCryptoKey-googlePrivacyDlpV2KmsWrAppedCryptoKey =- GooglePrivacyDlpV2KmsWrAppedCryptoKey'- {_gpdvkwackWrAppedKey = Nothing, _gpdvkwackCryptoKeyName = Nothing}----- | The wrapped data crypto key. [required]-gpdvkwackWrAppedKey :: Lens' GooglePrivacyDlpV2KmsWrAppedCryptoKey (Maybe ByteString)-gpdvkwackWrAppedKey- = lens _gpdvkwackWrAppedKey- (\ s a -> s{_gpdvkwackWrAppedKey = a})- . mapping _Bytes---- | The resource name of the KMS CryptoKey to use for unwrapping. [required]-gpdvkwackCryptoKeyName :: Lens' GooglePrivacyDlpV2KmsWrAppedCryptoKey (Maybe Text)-gpdvkwackCryptoKeyName- = lens _gpdvkwackCryptoKeyName- (\ s a -> s{_gpdvkwackCryptoKeyName = a})--instance FromJSON- GooglePrivacyDlpV2KmsWrAppedCryptoKey- where- parseJSON- = withObject "GooglePrivacyDlpV2KmsWrAppedCryptoKey"- (\ o ->- GooglePrivacyDlpV2KmsWrAppedCryptoKey' <$>- (o .:? "wrappedKey") <*> (o .:? "cryptoKeyName"))--instance ToJSON GooglePrivacyDlpV2KmsWrAppedCryptoKey- where- toJSON GooglePrivacyDlpV2KmsWrAppedCryptoKey'{..}- = object- (catMaybes- [("wrappedKey" .=) <$> _gpdvkwackWrAppedKey,- ("cryptoKeyName" .=) <$> _gpdvkwackCryptoKeyName])---- | Results of inspecting an item.------ /See:/ 'googlePrivacyDlpV2InspectContentResponse' smart constructor.-newtype GooglePrivacyDlpV2InspectContentResponse =- GooglePrivacyDlpV2InspectContentResponse'- { _gpdvicrResult :: Maybe GooglePrivacyDlpV2InspectResult- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2InspectContentResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvicrResult'-googlePrivacyDlpV2InspectContentResponse- :: GooglePrivacyDlpV2InspectContentResponse-googlePrivacyDlpV2InspectContentResponse =- GooglePrivacyDlpV2InspectContentResponse' {_gpdvicrResult = Nothing}----- | The findings.-gpdvicrResult :: Lens' GooglePrivacyDlpV2InspectContentResponse (Maybe GooglePrivacyDlpV2InspectResult)-gpdvicrResult- = lens _gpdvicrResult- (\ s a -> s{_gpdvicrResult = a})--instance FromJSON- GooglePrivacyDlpV2InspectContentResponse- where- parseJSON- = withObject- "GooglePrivacyDlpV2InspectContentResponse"- (\ o ->- GooglePrivacyDlpV2InspectContentResponse' <$>- (o .:? "result"))--instance ToJSON- GooglePrivacyDlpV2InspectContentResponse- where- toJSON GooglePrivacyDlpV2InspectContentResponse'{..}- = object- (catMaybes [("result" .=) <$> _gpdvicrResult])------- /See:/ 'googlePrivacyDlpV2LDiversityHistogramBucket' smart constructor.-data GooglePrivacyDlpV2LDiversityHistogramBucket =- GooglePrivacyDlpV2LDiversityHistogramBucket'- { _gpdvldhbBucketValues :: !(Maybe [GooglePrivacyDlpV2LDiversityEquivalenceClass])- , _gpdvldhbSensitiveValueFrequencyLowerBound :: !(Maybe (Textual Int64))- , _gpdvldhbSensitiveValueFrequencyUpperBound :: !(Maybe (Textual Int64))- , _gpdvldhbBucketSize :: !(Maybe (Textual Int64))- , _gpdvldhbBucketValueCount :: !(Maybe (Textual Int64))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2LDiversityHistogramBucket' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvldhbBucketValues'------ * 'gpdvldhbSensitiveValueFrequencyLowerBound'------ * 'gpdvldhbSensitiveValueFrequencyUpperBound'------ * 'gpdvldhbBucketSize'------ * 'gpdvldhbBucketValueCount'-googlePrivacyDlpV2LDiversityHistogramBucket- :: GooglePrivacyDlpV2LDiversityHistogramBucket-googlePrivacyDlpV2LDiversityHistogramBucket =- GooglePrivacyDlpV2LDiversityHistogramBucket'- { _gpdvldhbBucketValues = Nothing- , _gpdvldhbSensitiveValueFrequencyLowerBound = Nothing- , _gpdvldhbSensitiveValueFrequencyUpperBound = Nothing- , _gpdvldhbBucketSize = Nothing- , _gpdvldhbBucketValueCount = Nothing- }----- | Sample of equivalence classes in this bucket. The total number of--- classes returned per bucket is capped at 20.-gpdvldhbBucketValues :: Lens' GooglePrivacyDlpV2LDiversityHistogramBucket [GooglePrivacyDlpV2LDiversityEquivalenceClass]-gpdvldhbBucketValues- = lens _gpdvldhbBucketValues- (\ s a -> s{_gpdvldhbBucketValues = a})- . _Default- . _Coerce---- | Lower bound on the sensitive value frequencies of the equivalence--- classes in this bucket.-gpdvldhbSensitiveValueFrequencyLowerBound :: Lens' GooglePrivacyDlpV2LDiversityHistogramBucket (Maybe Int64)-gpdvldhbSensitiveValueFrequencyLowerBound- = lens _gpdvldhbSensitiveValueFrequencyLowerBound- (\ s a ->- s{_gpdvldhbSensitiveValueFrequencyLowerBound = a})- . mapping _Coerce---- | Upper bound on the sensitive value frequencies of the equivalence--- classes in this bucket.-gpdvldhbSensitiveValueFrequencyUpperBound :: Lens' GooglePrivacyDlpV2LDiversityHistogramBucket (Maybe Int64)-gpdvldhbSensitiveValueFrequencyUpperBound- = lens _gpdvldhbSensitiveValueFrequencyUpperBound- (\ s a ->- s{_gpdvldhbSensitiveValueFrequencyUpperBound = a})- . mapping _Coerce---- | Total number of equivalence classes in this bucket.-gpdvldhbBucketSize :: Lens' GooglePrivacyDlpV2LDiversityHistogramBucket (Maybe Int64)-gpdvldhbBucketSize- = lens _gpdvldhbBucketSize- (\ s a -> s{_gpdvldhbBucketSize = a})- . mapping _Coerce---- | Total number of distinct equivalence classes in this bucket.-gpdvldhbBucketValueCount :: Lens' GooglePrivacyDlpV2LDiversityHistogramBucket (Maybe Int64)-gpdvldhbBucketValueCount- = lens _gpdvldhbBucketValueCount- (\ s a -> s{_gpdvldhbBucketValueCount = a})- . mapping _Coerce--instance FromJSON- GooglePrivacyDlpV2LDiversityHistogramBucket- where- parseJSON- = withObject- "GooglePrivacyDlpV2LDiversityHistogramBucket"- (\ o ->- GooglePrivacyDlpV2LDiversityHistogramBucket' <$>- (o .:? "bucketValues" .!= mempty) <*>- (o .:? "sensitiveValueFrequencyLowerBound")- <*> (o .:? "sensitiveValueFrequencyUpperBound")- <*> (o .:? "bucketSize")- <*> (o .:? "bucketValueCount"))--instance ToJSON- GooglePrivacyDlpV2LDiversityHistogramBucket- where- toJSON- GooglePrivacyDlpV2LDiversityHistogramBucket'{..}- = object- (catMaybes- [("bucketValues" .=) <$> _gpdvldhbBucketValues,- ("sensitiveValueFrequencyLowerBound" .=) <$>- _gpdvldhbSensitiveValueFrequencyLowerBound,- ("sensitiveValueFrequencyUpperBound" .=) <$>- _gpdvldhbSensitiveValueFrequencyUpperBound,- ("bucketSize" .=) <$> _gpdvldhbBucketSize,- ("bucketValueCount" .=) <$>- _gpdvldhbBucketValueCount])---- | Results of re-identifying a item.------ /See:/ 'googlePrivacyDlpV2ReidentifyContentResponse' smart constructor.-data GooglePrivacyDlpV2ReidentifyContentResponse =- GooglePrivacyDlpV2ReidentifyContentResponse'- { _gpdvrcrOverview :: !(Maybe GooglePrivacyDlpV2TransformationOverview)- , _gpdvrcrItem :: !(Maybe GooglePrivacyDlpV2ContentItem)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ReidentifyContentResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvrcrOverview'------ * 'gpdvrcrItem'-googlePrivacyDlpV2ReidentifyContentResponse- :: GooglePrivacyDlpV2ReidentifyContentResponse-googlePrivacyDlpV2ReidentifyContentResponse =- GooglePrivacyDlpV2ReidentifyContentResponse'- {_gpdvrcrOverview = Nothing, _gpdvrcrItem = Nothing}----- | An overview of the changes that were made to the \`item\`.-gpdvrcrOverview :: Lens' GooglePrivacyDlpV2ReidentifyContentResponse (Maybe GooglePrivacyDlpV2TransformationOverview)-gpdvrcrOverview- = lens _gpdvrcrOverview- (\ s a -> s{_gpdvrcrOverview = a})---- | The re-identified item.-gpdvrcrItem :: Lens' GooglePrivacyDlpV2ReidentifyContentResponse (Maybe GooglePrivacyDlpV2ContentItem)-gpdvrcrItem- = lens _gpdvrcrItem (\ s a -> s{_gpdvrcrItem = a})--instance FromJSON- GooglePrivacyDlpV2ReidentifyContentResponse- where- parseJSON- = withObject- "GooglePrivacyDlpV2ReidentifyContentResponse"- (\ o ->- GooglePrivacyDlpV2ReidentifyContentResponse' <$>- (o .:? "overview") <*> (o .:? "item"))--instance ToJSON- GooglePrivacyDlpV2ReidentifyContentResponse- where- toJSON- GooglePrivacyDlpV2ReidentifyContentResponse'{..}- = object- (catMaybes- [("overview" .=) <$> _gpdvrcrOverview,- ("item" .=) <$> _gpdvrcrItem])---- | An expression, consisting or an operator and conditions.------ /See:/ 'googlePrivacyDlpV2Expressions' smart constructor.-data GooglePrivacyDlpV2Expressions =- GooglePrivacyDlpV2Expressions'- { _gpdveLogicalOperator :: !(Maybe GooglePrivacyDlpV2ExpressionsLogicalOperator)- , _gpdveConditions :: !(Maybe GooglePrivacyDlpV2Conditions)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Expressions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdveLogicalOperator'------ * 'gpdveConditions'-googlePrivacyDlpV2Expressions- :: GooglePrivacyDlpV2Expressions-googlePrivacyDlpV2Expressions =- GooglePrivacyDlpV2Expressions'- {_gpdveLogicalOperator = Nothing, _gpdveConditions = Nothing}----- | The operator to apply to the result of conditions. Default and currently--- only supported value is \`AND\`.-gpdveLogicalOperator :: Lens' GooglePrivacyDlpV2Expressions (Maybe GooglePrivacyDlpV2ExpressionsLogicalOperator)-gpdveLogicalOperator- = lens _gpdveLogicalOperator- (\ s a -> s{_gpdveLogicalOperator = a})--gpdveConditions :: Lens' GooglePrivacyDlpV2Expressions (Maybe GooglePrivacyDlpV2Conditions)-gpdveConditions- = lens _gpdveConditions- (\ s a -> s{_gpdveConditions = a})--instance FromJSON GooglePrivacyDlpV2Expressions where- parseJSON- = withObject "GooglePrivacyDlpV2Expressions"- (\ o ->- GooglePrivacyDlpV2Expressions' <$>- (o .:? "logicalOperator") <*> (o .:? "conditions"))--instance ToJSON GooglePrivacyDlpV2Expressions where- toJSON GooglePrivacyDlpV2Expressions'{..}- = object- (catMaybes- [("logicalOperator" .=) <$> _gpdveLogicalOperator,- ("conditions" .=) <$> _gpdveConditions])---- | Message for a date time object. e.g. 2018-01-01, 5th August.------ /See:/ 'googlePrivacyDlpV2DateTime' smart constructor.-data GooglePrivacyDlpV2DateTime =- GooglePrivacyDlpV2DateTime'- { _gpdvdtTime :: !(Maybe GoogleTypeTimeOfDay)- , _gpdvdtDate :: !(Maybe GoogleTypeDate)- , _gpdvdtTimeZone :: !(Maybe GooglePrivacyDlpV2TimeZone)- , _gpdvdtDayOfWeek :: !(Maybe GooglePrivacyDlpV2DateTimeDayOfWeek)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2DateTime' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvdtTime'------ * 'gpdvdtDate'------ * 'gpdvdtTimeZone'------ * 'gpdvdtDayOfWeek'-googlePrivacyDlpV2DateTime- :: GooglePrivacyDlpV2DateTime-googlePrivacyDlpV2DateTime =- GooglePrivacyDlpV2DateTime'- { _gpdvdtTime = Nothing- , _gpdvdtDate = Nothing- , _gpdvdtTimeZone = Nothing- , _gpdvdtDayOfWeek = Nothing- }---gpdvdtTime :: Lens' GooglePrivacyDlpV2DateTime (Maybe GoogleTypeTimeOfDay)-gpdvdtTime- = lens _gpdvdtTime (\ s a -> s{_gpdvdtTime = a})---- | One or more of the following must be set. All fields are optional, but--- when set must be valid date or time values.-gpdvdtDate :: Lens' GooglePrivacyDlpV2DateTime (Maybe GoogleTypeDate)-gpdvdtDate- = lens _gpdvdtDate (\ s a -> s{_gpdvdtDate = a})--gpdvdtTimeZone :: Lens' GooglePrivacyDlpV2DateTime (Maybe GooglePrivacyDlpV2TimeZone)-gpdvdtTimeZone- = lens _gpdvdtTimeZone- (\ s a -> s{_gpdvdtTimeZone = a})--gpdvdtDayOfWeek :: Lens' GooglePrivacyDlpV2DateTime (Maybe GooglePrivacyDlpV2DateTimeDayOfWeek)-gpdvdtDayOfWeek- = lens _gpdvdtDayOfWeek- (\ s a -> s{_gpdvdtDayOfWeek = a})--instance FromJSON GooglePrivacyDlpV2DateTime where- parseJSON- = withObject "GooglePrivacyDlpV2DateTime"- (\ o ->- GooglePrivacyDlpV2DateTime' <$>- (o .:? "time") <*> (o .:? "date") <*>- (o .:? "timeZone")- <*> (o .:? "dayOfWeek"))--instance ToJSON GooglePrivacyDlpV2DateTime where- toJSON GooglePrivacyDlpV2DateTime'{..}- = object- (catMaybes- [("time" .=) <$> _gpdvdtTime,- ("date" .=) <$> _gpdvdtDate,- ("timeZone" .=) <$> _gpdvdtTimeZone,- ("dayOfWeek" .=) <$> _gpdvdtDayOfWeek])---- | Message representing a set of files in a Cloud Storage bucket. Regular--- expressions are used to allow fine-grained control over which files in--- the bucket to include. Included files are those that match at least one--- item in \`include_regex\` and do not match any items in--- \`exclude_regex\`. Note that a file that matches items from both lists--- will _not_ be included. For a match to occur, the entire file path--- (i.e., everything in the url after the bucket name) must match the--- regular expression. For example, given the input \`{bucket_name:--- \"mybucket\", include_regex: [\"directory1\/.*\"], exclude_regex:--- [\"directory1\/excluded.*\"]}\`: *--- \`gs:\/\/mybucket\/directory1\/myfile\` will be included *--- \`gs:\/\/mybucket\/directory1\/directory2\/myfile\` will be included--- (\`.*\` matches across \`\/\`) *--- \`gs:\/\/mybucket\/directory0\/directory1\/myfile\` will _not_ be--- included (the full path doesn\'t match any items in \`include_regex\`) *--- \`gs:\/\/mybucket\/directory1\/excludedfile\` will _not_ be included--- (the path matches an item in \`exclude_regex\`) If \`include_regex\` is--- left empty, it will match all files by default (this is equivalent to--- setting \`include_regex: [\".*\"]\`). Some other common use cases: *--- \`{bucket_name: \"mybucket\", exclude_regex: [\".*\\.pdf\"]}\` will--- include all files in \`mybucket\` except for .pdf files *--- \`{bucket_name: \"mybucket\", include_regex: [\"directory\/[^\/]+\"]}\`--- will include all files directly under \`gs:\/\/mybucket\/directory\/\`,--- without matching across \`\/\`------ /See:/ 'googlePrivacyDlpV2CloudStorageRegexFileSet' smart constructor.-data GooglePrivacyDlpV2CloudStorageRegexFileSet =- GooglePrivacyDlpV2CloudStorageRegexFileSet'- { _gpdvcsrfsExcludeRegex :: !(Maybe [Text])- , _gpdvcsrfsBucketName :: !(Maybe Text)- , _gpdvcsrfsIncludeRegex :: !(Maybe [Text])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CloudStorageRegexFileSet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcsrfsExcludeRegex'------ * 'gpdvcsrfsBucketName'------ * 'gpdvcsrfsIncludeRegex'-googlePrivacyDlpV2CloudStorageRegexFileSet- :: GooglePrivacyDlpV2CloudStorageRegexFileSet-googlePrivacyDlpV2CloudStorageRegexFileSet =- GooglePrivacyDlpV2CloudStorageRegexFileSet'- { _gpdvcsrfsExcludeRegex = Nothing- , _gpdvcsrfsBucketName = Nothing- , _gpdvcsrfsIncludeRegex = Nothing- }----- | A list of regular expressions matching file paths to exclude. All files--- in the bucket that match at least one of these regular expressions will--- be excluded from the scan. Regular expressions use RE2--- [syntax](https:\/\/github.com\/google\/re2\/wiki\/Syntax); a guide can--- be found under the google\/re2 repository on GitHub.-gpdvcsrfsExcludeRegex :: Lens' GooglePrivacyDlpV2CloudStorageRegexFileSet [Text]-gpdvcsrfsExcludeRegex- = lens _gpdvcsrfsExcludeRegex- (\ s a -> s{_gpdvcsrfsExcludeRegex = a})- . _Default- . _Coerce---- | The name of a Cloud Storage bucket. Required.-gpdvcsrfsBucketName :: Lens' GooglePrivacyDlpV2CloudStorageRegexFileSet (Maybe Text)-gpdvcsrfsBucketName- = lens _gpdvcsrfsBucketName- (\ s a -> s{_gpdvcsrfsBucketName = a})---- | A list of regular expressions matching file paths to include. All files--- in the bucket that match at least one of these regular expressions will--- be included in the set of files, except for those that also match an--- item in \`exclude_regex\`. Leaving this field empty will match all files--- by default (this is equivalent to including \`.*\` in the list). Regular--- expressions use RE2--- [syntax](https:\/\/github.com\/google\/re2\/wiki\/Syntax); a guide can--- be found under the google\/re2 repository on GitHub.-gpdvcsrfsIncludeRegex :: Lens' GooglePrivacyDlpV2CloudStorageRegexFileSet [Text]-gpdvcsrfsIncludeRegex- = lens _gpdvcsrfsIncludeRegex- (\ s a -> s{_gpdvcsrfsIncludeRegex = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2CloudStorageRegexFileSet- where- parseJSON- = withObject- "GooglePrivacyDlpV2CloudStorageRegexFileSet"- (\ o ->- GooglePrivacyDlpV2CloudStorageRegexFileSet' <$>- (o .:? "excludeRegex" .!= mempty) <*>- (o .:? "bucketName")- <*> (o .:? "includeRegex" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2CloudStorageRegexFileSet- where- toJSON- GooglePrivacyDlpV2CloudStorageRegexFileSet'{..}- = object- (catMaybes- [("excludeRegex" .=) <$> _gpdvcsrfsExcludeRegex,- ("bucketName" .=) <$> _gpdvcsrfsBucketName,- ("includeRegex" .=) <$> _gpdvcsrfsIncludeRegex])---- | Bucket is represented as a range, along with replacement values.------ /See:/ 'googlePrivacyDlpV2Bucket' smart constructor.-data GooglePrivacyDlpV2Bucket =- GooglePrivacyDlpV2Bucket'- { _gpdvbMax :: !(Maybe GooglePrivacyDlpV2Value)- , _gpdvbReplacementValue :: !(Maybe GooglePrivacyDlpV2Value)- , _gpdvbMin :: !(Maybe GooglePrivacyDlpV2Value)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Bucket' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvbMax'------ * 'gpdvbReplacementValue'------ * 'gpdvbMin'-googlePrivacyDlpV2Bucket- :: GooglePrivacyDlpV2Bucket-googlePrivacyDlpV2Bucket =- GooglePrivacyDlpV2Bucket'- {_gpdvbMax = Nothing, _gpdvbReplacementValue = Nothing, _gpdvbMin = Nothing}----- | Upper bound of the range, exclusive; type must match min.-gpdvbMax :: Lens' GooglePrivacyDlpV2Bucket (Maybe GooglePrivacyDlpV2Value)-gpdvbMax = lens _gpdvbMax (\ s a -> s{_gpdvbMax = a})---- | Replacement value for this bucket. If not provided the default behavior--- will be to hyphenate the min-max range.-gpdvbReplacementValue :: Lens' GooglePrivacyDlpV2Bucket (Maybe GooglePrivacyDlpV2Value)-gpdvbReplacementValue- = lens _gpdvbReplacementValue- (\ s a -> s{_gpdvbReplacementValue = a})---- | Lower bound of the range, inclusive. Type should be the same as max if--- used.-gpdvbMin :: Lens' GooglePrivacyDlpV2Bucket (Maybe GooglePrivacyDlpV2Value)-gpdvbMin = lens _gpdvbMin (\ s a -> s{_gpdvbMin = a})--instance FromJSON GooglePrivacyDlpV2Bucket where- parseJSON- = withObject "GooglePrivacyDlpV2Bucket"- (\ o ->- GooglePrivacyDlpV2Bucket' <$>- (o .:? "max") <*> (o .:? "replacementValue") <*>- (o .:? "min"))--instance ToJSON GooglePrivacyDlpV2Bucket where- toJSON GooglePrivacyDlpV2Bucket'{..}- = object- (catMaybes- [("max" .=) <$> _gpdvbMax,- ("replacementValue" .=) <$> _gpdvbReplacementValue,- ("min" .=) <$> _gpdvbMin])---- | A task to execute on the completion of a job. See--- https:\/\/cloud.google.com\/dlp\/docs\/concepts-actions to learn more.------ /See:/ 'googlePrivacyDlpV2Action' smart constructor.-data GooglePrivacyDlpV2Action =- GooglePrivacyDlpV2Action'- { _gpdvaJobNotificationEmails :: !(Maybe GooglePrivacyDlpV2JobNotificationEmails)- , _gpdvaPubSub :: !(Maybe GooglePrivacyDlpV2PublishToPubSub)- , _gpdvaSaveFindings :: !(Maybe GooglePrivacyDlpV2SaveFindings)- , _gpdvaPublishSummaryToCscc :: !(Maybe GooglePrivacyDlpV2PublishSummaryToCscc)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Action' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvaJobNotificationEmails'------ * 'gpdvaPubSub'------ * 'gpdvaSaveFindings'------ * 'gpdvaPublishSummaryToCscc'-googlePrivacyDlpV2Action- :: GooglePrivacyDlpV2Action-googlePrivacyDlpV2Action =- GooglePrivacyDlpV2Action'- { _gpdvaJobNotificationEmails = Nothing- , _gpdvaPubSub = Nothing- , _gpdvaSaveFindings = Nothing- , _gpdvaPublishSummaryToCscc = Nothing- }----- | Enable email notification to project owners and editors on job\'s--- completion\/failure.-gpdvaJobNotificationEmails :: Lens' GooglePrivacyDlpV2Action (Maybe GooglePrivacyDlpV2JobNotificationEmails)-gpdvaJobNotificationEmails- = lens _gpdvaJobNotificationEmails- (\ s a -> s{_gpdvaJobNotificationEmails = a})---- | Publish a notification to a pubsub topic.-gpdvaPubSub :: Lens' GooglePrivacyDlpV2Action (Maybe GooglePrivacyDlpV2PublishToPubSub)-gpdvaPubSub- = lens _gpdvaPubSub (\ s a -> s{_gpdvaPubSub = a})---- | Save resulting findings in a provided location.-gpdvaSaveFindings :: Lens' GooglePrivacyDlpV2Action (Maybe GooglePrivacyDlpV2SaveFindings)-gpdvaSaveFindings- = lens _gpdvaSaveFindings- (\ s a -> s{_gpdvaSaveFindings = a})---- | Publish summary to Cloud Security Command Center (Alpha).-gpdvaPublishSummaryToCscc :: Lens' GooglePrivacyDlpV2Action (Maybe GooglePrivacyDlpV2PublishSummaryToCscc)-gpdvaPublishSummaryToCscc- = lens _gpdvaPublishSummaryToCscc- (\ s a -> s{_gpdvaPublishSummaryToCscc = a})--instance FromJSON GooglePrivacyDlpV2Action where- parseJSON- = withObject "GooglePrivacyDlpV2Action"- (\ o ->- GooglePrivacyDlpV2Action' <$>- (o .:? "jobNotificationEmails") <*> (o .:? "pubSub")- <*> (o .:? "saveFindings")- <*> (o .:? "publishSummaryToCscc"))--instance ToJSON GooglePrivacyDlpV2Action where- toJSON GooglePrivacyDlpV2Action'{..}- = object- (catMaybes- [("jobNotificationEmails" .=) <$>- _gpdvaJobNotificationEmails,- ("pubSub" .=) <$> _gpdvaPubSub,- ("saveFindings" .=) <$> _gpdvaSaveFindings,- ("publishSummaryToCscc" .=) <$>- _gpdvaPublishSummaryToCscc])---- | Represents a whole or partial calendar date, e.g. a birthday. The time--- of day and time zone are either specified elsewhere or are not--- significant. The date is relative to the Proleptic Gregorian Calendar.--- This can represent: * A full date, with non-zero year, month and day--- values * A month and day value, with a zero year, e.g. an anniversary *--- A year on its own, with zero month and day values * A year and month--- value, with a zero day, e.g. a credit card expiration date Related types--- are google.type.TimeOfDay and \`google.protobuf.Timestamp\`.------ /See:/ 'googleTypeDate' smart constructor.-data GoogleTypeDate =- GoogleTypeDate'- { _gtdDay :: !(Maybe (Textual Int32))- , _gtdYear :: !(Maybe (Textual Int32))- , _gtdMonth :: !(Maybe (Textual Int32))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GoogleTypeDate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gtdDay'------ * 'gtdYear'------ * 'gtdMonth'-googleTypeDate- :: GoogleTypeDate-googleTypeDate =- GoogleTypeDate' {_gtdDay = Nothing, _gtdYear = Nothing, _gtdMonth = Nothing}----- | Day of month. Must be from 1 to 31 and valid for the year and month, or--- 0 if specifying a year by itself or a year and month where the day is--- not significant.-gtdDay :: Lens' GoogleTypeDate (Maybe Int32)-gtdDay- = lens _gtdDay (\ s a -> s{_gtdDay = a}) .- mapping _Coerce---- | Year of date. Must be from 1 to 9999, or 0 if specifying a date without--- a year.-gtdYear :: Lens' GoogleTypeDate (Maybe Int32)-gtdYear- = lens _gtdYear (\ s a -> s{_gtdYear = a}) .- mapping _Coerce---- | Month of year. Must be from 1 to 12, or 0 if specifying a year without a--- month and day.-gtdMonth :: Lens' GoogleTypeDate (Maybe Int32)-gtdMonth- = lens _gtdMonth (\ s a -> s{_gtdMonth = a}) .- mapping _Coerce--instance FromJSON GoogleTypeDate where- parseJSON- = withObject "GoogleTypeDate"- (\ o ->- GoogleTypeDate' <$>- (o .:? "day") <*> (o .:? "year") <*> (o .:? "month"))--instance ToJSON GoogleTypeDate where- toJSON GoogleTypeDate'{..}- = object- (catMaybes- [("day" .=) <$> _gtdDay, ("year" .=) <$> _gtdYear,- ("month" .=) <$> _gtdMonth])---- | Message for detecting output from deidentification transformations such--- as--- [\`CryptoReplaceFfxFpeConfig\`](\/dlp\/docs\/reference\/rest\/v2\/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).--- These types of transformations are those that perform pseudonymization,--- thereby producing a \"surrogate\" as output. This should be used in--- conjunction with a field on the transformation such as--- \`surrogate_info_type\`. This CustomInfoType does not support the use of--- \`detection_rules\`.------ /See:/ 'googlePrivacyDlpV2SurrogateType' smart constructor.-data GooglePrivacyDlpV2SurrogateType =- GooglePrivacyDlpV2SurrogateType'- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2SurrogateType' with the minimum fields required to make a request.----googlePrivacyDlpV2SurrogateType- :: GooglePrivacyDlpV2SurrogateType-googlePrivacyDlpV2SurrogateType = GooglePrivacyDlpV2SurrogateType'---instance FromJSON GooglePrivacyDlpV2SurrogateType- where- parseJSON- = withObject "GooglePrivacyDlpV2SurrogateType"- (\ o -> pure GooglePrivacyDlpV2SurrogateType')--instance ToJSON GooglePrivacyDlpV2SurrogateType where- toJSON = const emptyObject---- | Structured content to inspect. Up to 50,000 \`Value\`s per request--- allowed. See--- https:\/\/cloud.google.com\/dlp\/docs\/inspecting-text#inspecting_a_table--- to learn more.------ /See:/ 'googlePrivacyDlpV2Table' smart constructor.-data GooglePrivacyDlpV2Table =- GooglePrivacyDlpV2Table'- { _gpdvtRows :: !(Maybe [GooglePrivacyDlpV2Row])- , _gpdvtHeaders :: !(Maybe [GooglePrivacyDlpV2FieldId])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Table' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvtRows'------ * 'gpdvtHeaders'-googlePrivacyDlpV2Table- :: GooglePrivacyDlpV2Table-googlePrivacyDlpV2Table =- GooglePrivacyDlpV2Table' {_gpdvtRows = Nothing, _gpdvtHeaders = Nothing}---gpdvtRows :: Lens' GooglePrivacyDlpV2Table [GooglePrivacyDlpV2Row]-gpdvtRows- = lens _gpdvtRows (\ s a -> s{_gpdvtRows = a}) .- _Default- . _Coerce--gpdvtHeaders :: Lens' GooglePrivacyDlpV2Table [GooglePrivacyDlpV2FieldId]-gpdvtHeaders- = lens _gpdvtHeaders (\ s a -> s{_gpdvtHeaders = a})- . _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2Table where- parseJSON- = withObject "GooglePrivacyDlpV2Table"- (\ o ->- GooglePrivacyDlpV2Table' <$>- (o .:? "rows" .!= mempty) <*>- (o .:? "headers" .!= mempty))--instance ToJSON GooglePrivacyDlpV2Table where- toJSON GooglePrivacyDlpV2Table'{..}- = object- (catMaybes- [("rows" .=) <$> _gpdvtRows,- ("headers" .=) <$> _gpdvtHeaders])---- | Result of the l-diversity computation.------ /See:/ 'googlePrivacyDlpV2LDiversityResult' smart constructor.-newtype GooglePrivacyDlpV2LDiversityResult =- GooglePrivacyDlpV2LDiversityResult'- { _gpdvldrSensitiveValueFrequencyHistogramBuckets :: Maybe [GooglePrivacyDlpV2LDiversityHistogramBucket]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2LDiversityResult' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvldrSensitiveValueFrequencyHistogramBuckets'-googlePrivacyDlpV2LDiversityResult- :: GooglePrivacyDlpV2LDiversityResult-googlePrivacyDlpV2LDiversityResult =- GooglePrivacyDlpV2LDiversityResult'- {_gpdvldrSensitiveValueFrequencyHistogramBuckets = Nothing}----- | Histogram of l-diversity equivalence class sensitive value frequencies.-gpdvldrSensitiveValueFrequencyHistogramBuckets :: Lens' GooglePrivacyDlpV2LDiversityResult [GooglePrivacyDlpV2LDiversityHistogramBucket]-gpdvldrSensitiveValueFrequencyHistogramBuckets- = lens- _gpdvldrSensitiveValueFrequencyHistogramBuckets- (\ s a ->- s{_gpdvldrSensitiveValueFrequencyHistogramBuckets =- a})- . _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2LDiversityResult- where- parseJSON- = withObject "GooglePrivacyDlpV2LDiversityResult"- (\ o ->- GooglePrivacyDlpV2LDiversityResult' <$>- (o .:? "sensitiveValueFrequencyHistogramBuckets" .!=- mempty))--instance ToJSON GooglePrivacyDlpV2LDiversityResult- where- toJSON GooglePrivacyDlpV2LDiversityResult'{..}- = object- (catMaybes- [("sensitiveValueFrequencyHistogramBuckets" .=) <$>- _gpdvldrSensitiveValueFrequencyHistogramBuckets])---- | Reidentifiability metric. This corresponds to a risk model similar to--- what is called \"journalist risk\" in the literature, except the attack--- dataset is statistically modeled instead of being perfectly known. This--- can be done using publicly available data (like the US Census), or using--- a custom statistical model (indicated as one or several BigQuery--- tables), or by extrapolating from the distribution of values in the--- input dataset. A column with a semantic tag attached.------ /See:/ 'googlePrivacyDlpV2KMapEstimationConfig' smart constructor.-data GooglePrivacyDlpV2KMapEstimationConfig =- GooglePrivacyDlpV2KMapEstimationConfig'- { _gpdvkmecAuxiliaryTables :: !(Maybe [GooglePrivacyDlpV2AuxiliaryTable])- , _gpdvkmecRegionCode :: !(Maybe Text)- , _gpdvkmecQuasiIds :: !(Maybe [GooglePrivacyDlpV2TaggedField])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2KMapEstimationConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvkmecAuxiliaryTables'------ * 'gpdvkmecRegionCode'------ * 'gpdvkmecQuasiIds'-googlePrivacyDlpV2KMapEstimationConfig- :: GooglePrivacyDlpV2KMapEstimationConfig-googlePrivacyDlpV2KMapEstimationConfig =- GooglePrivacyDlpV2KMapEstimationConfig'- { _gpdvkmecAuxiliaryTables = Nothing- , _gpdvkmecRegionCode = Nothing- , _gpdvkmecQuasiIds = Nothing- }----- | Several auxiliary tables can be used in the analysis. Each custom_tag--- used to tag a quasi-identifiers column must appear in exactly one column--- of one auxiliary table.-gpdvkmecAuxiliaryTables :: Lens' GooglePrivacyDlpV2KMapEstimationConfig [GooglePrivacyDlpV2AuxiliaryTable]-gpdvkmecAuxiliaryTables- = lens _gpdvkmecAuxiliaryTables- (\ s a -> s{_gpdvkmecAuxiliaryTables = a})- . _Default- . _Coerce---- | ISO 3166-1 alpha-2 region code to use in the statistical modeling.--- Required if no column is tagged with a region-specific InfoType (like--- US_ZIP_5) or a region code.-gpdvkmecRegionCode :: Lens' GooglePrivacyDlpV2KMapEstimationConfig (Maybe Text)-gpdvkmecRegionCode- = lens _gpdvkmecRegionCode- (\ s a -> s{_gpdvkmecRegionCode = a})---- | Fields considered to be quasi-identifiers. No two columns can have the--- same tag. [required]-gpdvkmecQuasiIds :: Lens' GooglePrivacyDlpV2KMapEstimationConfig [GooglePrivacyDlpV2TaggedField]-gpdvkmecQuasiIds- = lens _gpdvkmecQuasiIds- (\ s a -> s{_gpdvkmecQuasiIds = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2KMapEstimationConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2KMapEstimationConfig"- (\ o ->- GooglePrivacyDlpV2KMapEstimationConfig' <$>- (o .:? "auxiliaryTables" .!= mempty) <*>- (o .:? "regionCode")- <*> (o .:? "quasiIds" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2KMapEstimationConfig- where- toJSON GooglePrivacyDlpV2KMapEstimationConfig'{..}- = object- (catMaybes- [("auxiliaryTables" .=) <$> _gpdvkmecAuxiliaryTables,- ("regionCode" .=) <$> _gpdvkmecRegionCode,- ("quasiIds" .=) <$> _gpdvkmecQuasiIds])---- | Replaces an identifier with a surrogate using Format Preserving--- Encryption (FPE) with the FFX mode of operation; however when used in--- the \`ReidentifyContent\` API method, it serves the opposite function by--- reversing the surrogate back into the original identifier. The--- identifier must be encoded as ASCII. For a given crypto key and context,--- the same identifier will be replaced with the same surrogate.--- Identifiers must be at least two characters long. In the case that the--- identifier is the empty string, it will be skipped. See--- https:\/\/cloud.google.com\/dlp\/docs\/pseudonymization to learn more.--- Note: We recommend using CryptoDeterministicConfig for all use cases--- which do not require preserving the input alphabet space and size, plus--- warrant referential integrity.------ /See:/ 'googlePrivacyDlpV2CryptoReplaceFfxFpeConfig' smart constructor.-data GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig =- GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig'- { _gpdvcrffcContext :: !(Maybe GooglePrivacyDlpV2FieldId)- , _gpdvcrffcCommonAlphabet :: !(Maybe GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet)- , _gpdvcrffcSurrogateInfoType :: !(Maybe GooglePrivacyDlpV2InfoType)- , _gpdvcrffcCustomAlphabet :: !(Maybe Text)- , _gpdvcrffcCryptoKey :: !(Maybe GooglePrivacyDlpV2CryptoKey)- , _gpdvcrffcRadix :: !(Maybe (Textual Int32))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcrffcContext'------ * 'gpdvcrffcCommonAlphabet'------ * 'gpdvcrffcSurrogateInfoType'------ * 'gpdvcrffcCustomAlphabet'------ * 'gpdvcrffcCryptoKey'------ * 'gpdvcrffcRadix'-googlePrivacyDlpV2CryptoReplaceFfxFpeConfig- :: GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig-googlePrivacyDlpV2CryptoReplaceFfxFpeConfig =- GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig'- { _gpdvcrffcContext = Nothing- , _gpdvcrffcCommonAlphabet = Nothing- , _gpdvcrffcSurrogateInfoType = Nothing- , _gpdvcrffcCustomAlphabet = Nothing- , _gpdvcrffcCryptoKey = Nothing- , _gpdvcrffcRadix = Nothing- }----- | The \'tweak\', a context may be used for higher security since the same--- identifier in two different contexts won\'t be given the same surrogate.--- If the context is not set, a default tweak will be used. If the context--- is set but: 1. there is no record present when transforming a given--- value or 1. the field is not present when transforming a given value, a--- default tweak will be used. Note that case (1) is expected when an--- \`InfoTypeTransformation\` is applied to both structured and--- non-structured \`ContentItem\`s. Currently, the referenced field may be--- of value type integer or string. The tweak is constructed as a sequence--- of bytes in big endian byte order such that: - a 64 bit integer is--- encoded followed by a single byte of value 1 - a string is encoded in--- UTF-8 format followed by a single byte of value 2-gpdvcrffcContext :: Lens' GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig (Maybe GooglePrivacyDlpV2FieldId)-gpdvcrffcContext- = lens _gpdvcrffcContext- (\ s a -> s{_gpdvcrffcContext = a})--gpdvcrffcCommonAlphabet :: Lens' GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig (Maybe GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet)-gpdvcrffcCommonAlphabet- = lens _gpdvcrffcCommonAlphabet- (\ s a -> s{_gpdvcrffcCommonAlphabet = a})---- | The custom infoType to annotate the surrogate with. This annotation will--- be applied to the surrogate by prefixing it with the name of the custom--- infoType followed by the number of characters comprising the surrogate.--- The following scheme defines the format:--- info_type_name(surrogate_character_count):surrogate For example, if the--- name of custom infoType is \'MY_TOKEN_INFO_TYPE\' and the surrogate is--- \'abc\', the full replacement value will be:--- \'MY_TOKEN_INFO_TYPE(3):abc\' This annotation identifies the surrogate--- when inspecting content using the custom infoType--- [\`SurrogateType\`](\/dlp\/docs\/reference\/rest\/v2\/InspectConfig#surrogatetype).--- This facilitates reversal of the surrogate when it occurs in free text.--- In order for inspection to work properly, the name of this infoType must--- not occur naturally anywhere in your data; otherwise, inspection may--- find a surrogate that does not correspond to an actual identifier.--- Therefore, choose your custom infoType name carefully after considering--- what your data looks like. One way to select a name that has a high--- chance of yielding reliable detection is to include one or more unicode--- characters that are highly improbable to exist in your data. For--- example, assuming your data is entered from a regular ASCII keyboard,--- the symbol with the hex code point 29DD might be used like so:--- ⧝MY_TOKEN_TYPE-gpdvcrffcSurrogateInfoType :: Lens' GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig (Maybe GooglePrivacyDlpV2InfoType)-gpdvcrffcSurrogateInfoType- = lens _gpdvcrffcSurrogateInfoType- (\ s a -> s{_gpdvcrffcSurrogateInfoType = a})---- | This is supported by mapping these to the alphanumeric characters that--- the FFX mode natively supports. This happens before\/after--- encryption\/decryption. Each character listed must appear only once.--- Number of characters must be in the range [2, 62]. This must be encoded--- as ASCII. The order of characters does not matter.-gpdvcrffcCustomAlphabet :: Lens' GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig (Maybe Text)-gpdvcrffcCustomAlphabet- = lens _gpdvcrffcCustomAlphabet- (\ s a -> s{_gpdvcrffcCustomAlphabet = a})---- | The key used by the encryption algorithm. [required]-gpdvcrffcCryptoKey :: Lens' GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig (Maybe GooglePrivacyDlpV2CryptoKey)-gpdvcrffcCryptoKey- = lens _gpdvcrffcCryptoKey- (\ s a -> s{_gpdvcrffcCryptoKey = a})---- | The native way to select the alphabet. Must be in the range [2, 62].-gpdvcrffcRadix :: Lens' GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig (Maybe Int32)-gpdvcrffcRadix- = lens _gpdvcrffcRadix- (\ s a -> s{_gpdvcrffcRadix = a})- . mapping _Coerce--instance FromJSON- GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig- where- parseJSON- = withObject- "GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig"- (\ o ->- GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig' <$>- (o .:? "context") <*> (o .:? "commonAlphabet") <*>- (o .:? "surrogateInfoType")- <*> (o .:? "customAlphabet")- <*> (o .:? "cryptoKey")- <*> (o .:? "radix"))--instance ToJSON- GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig- where- toJSON- GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig'{..}- = object- (catMaybes- [("context" .=) <$> _gpdvcrffcContext,- ("commonAlphabet" .=) <$> _gpdvcrffcCommonAlphabet,- ("surrogateInfoType" .=) <$>- _gpdvcrffcSurrogateInfoType,- ("customAlphabet" .=) <$> _gpdvcrffcCustomAlphabet,- ("cryptoKey" .=) <$> _gpdvcrffcCryptoKey,- ("radix" .=) <$> _gpdvcrffcRadix])---- | A quasi-identifier column has a custom_tag, used to know which column in--- the data corresponds to which column in the statistical model.------ /See:/ 'googlePrivacyDlpV2QuasiIdentifierField' smart constructor.-data GooglePrivacyDlpV2QuasiIdentifierField =- GooglePrivacyDlpV2QuasiIdentifierField'- { _gField :: !(Maybe GooglePrivacyDlpV2FieldId)- , _gCustomTag :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2QuasiIdentifierField' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gField'------ * 'gCustomTag'-googlePrivacyDlpV2QuasiIdentifierField- :: GooglePrivacyDlpV2QuasiIdentifierField-googlePrivacyDlpV2QuasiIdentifierField =- GooglePrivacyDlpV2QuasiIdentifierField'- {_gField = Nothing, _gCustomTag = Nothing}---gField :: Lens' GooglePrivacyDlpV2QuasiIdentifierField (Maybe GooglePrivacyDlpV2FieldId)-gField = lens _gField (\ s a -> s{_gField = a})--gCustomTag :: Lens' GooglePrivacyDlpV2QuasiIdentifierField (Maybe Text)-gCustomTag- = lens _gCustomTag (\ s a -> s{_gCustomTag = a})--instance FromJSON- GooglePrivacyDlpV2QuasiIdentifierField- where- parseJSON- = withObject "GooglePrivacyDlpV2QuasiIdentifierField"- (\ o ->- GooglePrivacyDlpV2QuasiIdentifierField' <$>- (o .:? "field") <*> (o .:? "customTag"))--instance ToJSON- GooglePrivacyDlpV2QuasiIdentifierField- where- toJSON GooglePrivacyDlpV2QuasiIdentifierField'{..}- = object- (catMaybes- [("field" .=) <$> _gField,- ("customTag" .=) <$> _gCustomTag])---- | Type of information detected by the API.------ /See:/ 'googlePrivacyDlpV2InfoType' smart constructor.-newtype GooglePrivacyDlpV2InfoType =- GooglePrivacyDlpV2InfoType'- { _gpdvitName :: Maybe Text- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2InfoType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvitName'-googlePrivacyDlpV2InfoType- :: GooglePrivacyDlpV2InfoType-googlePrivacyDlpV2InfoType = GooglePrivacyDlpV2InfoType' {_gpdvitName = Nothing}----- | Name of the information type. Either a name of your choosing when--- creating a CustomInfoType, or one of the names listed at--- https:\/\/cloud.google.com\/dlp\/docs\/infotypes-reference when--- specifying a built-in type. InfoType names should conform to the pattern--- [a-zA-Z0-9_]{1,64}.-gpdvitName :: Lens' GooglePrivacyDlpV2InfoType (Maybe Text)-gpdvitName- = lens _gpdvitName (\ s a -> s{_gpdvitName = a})--instance FromJSON GooglePrivacyDlpV2InfoType where- parseJSON- = withObject "GooglePrivacyDlpV2InfoType"- (\ o ->- GooglePrivacyDlpV2InfoType' <$> (o .:? "name"))--instance ToJSON GooglePrivacyDlpV2InfoType where- toJSON GooglePrivacyDlpV2InfoType'{..}- = object (catMaybes [("name" .=) <$> _gpdvitName])---- | The inspectTemplate contains a configuration (set of types of sensitive--- data to be detected) to be used anywhere you otherwise would normally--- specify InspectConfig. See--- https:\/\/cloud.google.com\/dlp\/docs\/concepts-templates to learn more.------ /See:/ 'googlePrivacyDlpV2InspectTemplate' smart constructor.-data GooglePrivacyDlpV2InspectTemplate =- GooglePrivacyDlpV2InspectTemplate'- { _gInspectConfig :: !(Maybe GooglePrivacyDlpV2InspectConfig)- , _gUpdateTime :: !(Maybe DateTime')- , _gName :: !(Maybe Text)- , _gDisplayName :: !(Maybe Text)- , _gDescription :: !(Maybe Text)- , _gCreateTime :: !(Maybe DateTime')- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2InspectTemplate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gInspectConfig'------ * 'gUpdateTime'------ * 'gName'------ * 'gDisplayName'------ * 'gDescription'------ * 'gCreateTime'-googlePrivacyDlpV2InspectTemplate- :: GooglePrivacyDlpV2InspectTemplate-googlePrivacyDlpV2InspectTemplate =- GooglePrivacyDlpV2InspectTemplate'- { _gInspectConfig = Nothing- , _gUpdateTime = Nothing- , _gName = Nothing- , _gDisplayName = Nothing- , _gDescription = Nothing- , _gCreateTime = Nothing- }----- | The core content of the template. Configuration of the scanning process.-gInspectConfig :: Lens' GooglePrivacyDlpV2InspectTemplate (Maybe GooglePrivacyDlpV2InspectConfig)-gInspectConfig- = lens _gInspectConfig- (\ s a -> s{_gInspectConfig = a})---- | The last update timestamp of a inspectTemplate, output only field.-gUpdateTime :: Lens' GooglePrivacyDlpV2InspectTemplate (Maybe UTCTime)-gUpdateTime- = lens _gUpdateTime (\ s a -> s{_gUpdateTime = a}) .- mapping _DateTime---- | The template name. Output only. The template will have one of the--- following formats:--- \`projects\/PROJECT_ID\/inspectTemplates\/TEMPLATE_ID\` OR--- \`organizations\/ORGANIZATION_ID\/inspectTemplates\/TEMPLATE_ID\`-gName :: Lens' GooglePrivacyDlpV2InspectTemplate (Maybe Text)-gName = lens _gName (\ s a -> s{_gName = a})---- | Display name (max 256 chars).-gDisplayName :: Lens' GooglePrivacyDlpV2InspectTemplate (Maybe Text)-gDisplayName- = lens _gDisplayName (\ s a -> s{_gDisplayName = a})---- | Short description (max 256 chars).-gDescription :: Lens' GooglePrivacyDlpV2InspectTemplate (Maybe Text)-gDescription- = lens _gDescription (\ s a -> s{_gDescription = a})---- | The creation timestamp of a inspectTemplate, output only field.-gCreateTime :: Lens' GooglePrivacyDlpV2InspectTemplate (Maybe UTCTime)-gCreateTime- = lens _gCreateTime (\ s a -> s{_gCreateTime = a}) .- mapping _DateTime--instance FromJSON GooglePrivacyDlpV2InspectTemplate- where- parseJSON- = withObject "GooglePrivacyDlpV2InspectTemplate"- (\ o ->- GooglePrivacyDlpV2InspectTemplate' <$>- (o .:? "inspectConfig") <*> (o .:? "updateTime") <*>- (o .:? "name")- <*> (o .:? "displayName")- <*> (o .:? "description")- <*> (o .:? "createTime"))--instance ToJSON GooglePrivacyDlpV2InspectTemplate- where- toJSON GooglePrivacyDlpV2InspectTemplate'{..}- = object- (catMaybes- [("inspectConfig" .=) <$> _gInspectConfig,- ("updateTime" .=) <$> _gUpdateTime,- ("name" .=) <$> _gName,- ("displayName" .=) <$> _gDisplayName,- ("description" .=) <$> _gDescription,- ("createTime" .=) <$> _gCreateTime])------- /See:/ 'googlePrivacyDlpV2KAnonymityHistogramBucket' smart constructor.-data GooglePrivacyDlpV2KAnonymityHistogramBucket =- GooglePrivacyDlpV2KAnonymityHistogramBucket'- { _gpdvkahbEquivalenceClassSizeLowerBound :: !(Maybe (Textual Int64))- , _gpdvkahbEquivalenceClassSizeUpperBound :: !(Maybe (Textual Int64))- , _gpdvkahbBucketValues :: !(Maybe [GooglePrivacyDlpV2KAnonymityEquivalenceClass])- , _gpdvkahbBucketSize :: !(Maybe (Textual Int64))- , _gpdvkahbBucketValueCount :: !(Maybe (Textual Int64))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2KAnonymityHistogramBucket' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvkahbEquivalenceClassSizeLowerBound'------ * 'gpdvkahbEquivalenceClassSizeUpperBound'------ * 'gpdvkahbBucketValues'------ * 'gpdvkahbBucketSize'------ * 'gpdvkahbBucketValueCount'-googlePrivacyDlpV2KAnonymityHistogramBucket- :: GooglePrivacyDlpV2KAnonymityHistogramBucket-googlePrivacyDlpV2KAnonymityHistogramBucket =- GooglePrivacyDlpV2KAnonymityHistogramBucket'- { _gpdvkahbEquivalenceClassSizeLowerBound = Nothing- , _gpdvkahbEquivalenceClassSizeUpperBound = Nothing- , _gpdvkahbBucketValues = Nothing- , _gpdvkahbBucketSize = Nothing- , _gpdvkahbBucketValueCount = Nothing- }----- | Lower bound on the size of the equivalence classes in this bucket.-gpdvkahbEquivalenceClassSizeLowerBound :: Lens' GooglePrivacyDlpV2KAnonymityHistogramBucket (Maybe Int64)-gpdvkahbEquivalenceClassSizeLowerBound- = lens _gpdvkahbEquivalenceClassSizeLowerBound- (\ s a ->- s{_gpdvkahbEquivalenceClassSizeLowerBound = a})- . mapping _Coerce---- | Upper bound on the size of the equivalence classes in this bucket.-gpdvkahbEquivalenceClassSizeUpperBound :: Lens' GooglePrivacyDlpV2KAnonymityHistogramBucket (Maybe Int64)-gpdvkahbEquivalenceClassSizeUpperBound- = lens _gpdvkahbEquivalenceClassSizeUpperBound- (\ s a ->- s{_gpdvkahbEquivalenceClassSizeUpperBound = a})- . mapping _Coerce---- | Sample of equivalence classes in this bucket. The total number of--- classes returned per bucket is capped at 20.-gpdvkahbBucketValues :: Lens' GooglePrivacyDlpV2KAnonymityHistogramBucket [GooglePrivacyDlpV2KAnonymityEquivalenceClass]-gpdvkahbBucketValues- = lens _gpdvkahbBucketValues- (\ s a -> s{_gpdvkahbBucketValues = a})- . _Default- . _Coerce---- | Total number of equivalence classes in this bucket.-gpdvkahbBucketSize :: Lens' GooglePrivacyDlpV2KAnonymityHistogramBucket (Maybe Int64)-gpdvkahbBucketSize- = lens _gpdvkahbBucketSize- (\ s a -> s{_gpdvkahbBucketSize = a})- . mapping _Coerce---- | Total number of distinct equivalence classes in this bucket.-gpdvkahbBucketValueCount :: Lens' GooglePrivacyDlpV2KAnonymityHistogramBucket (Maybe Int64)-gpdvkahbBucketValueCount- = lens _gpdvkahbBucketValueCount- (\ s a -> s{_gpdvkahbBucketValueCount = a})- . mapping _Coerce--instance FromJSON- GooglePrivacyDlpV2KAnonymityHistogramBucket- where- parseJSON- = withObject- "GooglePrivacyDlpV2KAnonymityHistogramBucket"- (\ o ->- GooglePrivacyDlpV2KAnonymityHistogramBucket' <$>- (o .:? "equivalenceClassSizeLowerBound") <*>- (o .:? "equivalenceClassSizeUpperBound")- <*> (o .:? "bucketValues" .!= mempty)- <*> (o .:? "bucketSize")- <*> (o .:? "bucketValueCount"))--instance ToJSON- GooglePrivacyDlpV2KAnonymityHistogramBucket- where- toJSON- GooglePrivacyDlpV2KAnonymityHistogramBucket'{..}- = object- (catMaybes- [("equivalenceClassSizeLowerBound" .=) <$>- _gpdvkahbEquivalenceClassSizeLowerBound,- ("equivalenceClassSizeUpperBound" .=) <$>- _gpdvkahbEquivalenceClassSizeUpperBound,- ("bucketValues" .=) <$> _gpdvkahbBucketValues,- ("bucketSize" .=) <$> _gpdvkahbBucketSize,- ("bucketValueCount" .=) <$>- _gpdvkahbBucketValueCount])---- | Request to re-identify an item.------ /See:/ 'googlePrivacyDlpV2ReidentifyContentRequest' smart constructor.-data GooglePrivacyDlpV2ReidentifyContentRequest =- GooglePrivacyDlpV2ReidentifyContentRequest'- { _gooInspectConfig :: !(Maybe GooglePrivacyDlpV2InspectConfig)- , _gooReidentifyTemplateName :: !(Maybe Text)- , _gooItem :: !(Maybe GooglePrivacyDlpV2ContentItem)- , _gooInspectTemplateName :: !(Maybe Text)- , _gooReidentifyConfig :: !(Maybe GooglePrivacyDlpV2DeidentifyConfig)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ReidentifyContentRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gooInspectConfig'------ * 'gooReidentifyTemplateName'------ * 'gooItem'------ * 'gooInspectTemplateName'------ * 'gooReidentifyConfig'-googlePrivacyDlpV2ReidentifyContentRequest- :: GooglePrivacyDlpV2ReidentifyContentRequest-googlePrivacyDlpV2ReidentifyContentRequest =- GooglePrivacyDlpV2ReidentifyContentRequest'- { _gooInspectConfig = Nothing- , _gooReidentifyTemplateName = Nothing- , _gooItem = Nothing- , _gooInspectTemplateName = Nothing- , _gooReidentifyConfig = Nothing- }----- | Configuration for the inspector.-gooInspectConfig :: Lens' GooglePrivacyDlpV2ReidentifyContentRequest (Maybe GooglePrivacyDlpV2InspectConfig)-gooInspectConfig- = lens _gooInspectConfig- (\ s a -> s{_gooInspectConfig = a})---- | Optional template to use. References an instance of--- \`DeidentifyTemplate\`. Any configuration directly specified in--- \`reidentify_config\` or \`inspect_config\` will override those set in--- the template. Singular fields that are set in this request will replace--- their corresponding fields in the template. Repeated fields are--- appended. Singular sub-messages and groups are recursively merged.-gooReidentifyTemplateName :: Lens' GooglePrivacyDlpV2ReidentifyContentRequest (Maybe Text)-gooReidentifyTemplateName- = lens _gooReidentifyTemplateName- (\ s a -> s{_gooReidentifyTemplateName = a})---- | The item to re-identify. Will be treated as text.-gooItem :: Lens' GooglePrivacyDlpV2ReidentifyContentRequest (Maybe GooglePrivacyDlpV2ContentItem)-gooItem = lens _gooItem (\ s a -> s{_gooItem = a})---- | Optional template to use. Any configuration directly specified in--- \`inspect_config\` will override those set in the template. Singular--- fields that are set in this request will replace their corresponding--- fields in the template. Repeated fields are appended. Singular--- sub-messages and groups are recursively merged.-gooInspectTemplateName :: Lens' GooglePrivacyDlpV2ReidentifyContentRequest (Maybe Text)-gooInspectTemplateName- = lens _gooInspectTemplateName- (\ s a -> s{_gooInspectTemplateName = a})---- | Configuration for the re-identification of the content item. This field--- shares the same proto message type that is used for de-identification,--- however its usage here is for the reversal of the previous--- de-identification. Re-identification is performed by examining the--- transformations used to de-identify the items and executing the reverse.--- This requires that only reversible transformations be provided here. The--- reversible transformations are: - \`CryptoReplaceFfxFpeConfig\`-gooReidentifyConfig :: Lens' GooglePrivacyDlpV2ReidentifyContentRequest (Maybe GooglePrivacyDlpV2DeidentifyConfig)-gooReidentifyConfig- = lens _gooReidentifyConfig- (\ s a -> s{_gooReidentifyConfig = a})--instance FromJSON- GooglePrivacyDlpV2ReidentifyContentRequest- where- parseJSON- = withObject- "GooglePrivacyDlpV2ReidentifyContentRequest"- (\ o ->- GooglePrivacyDlpV2ReidentifyContentRequest' <$>- (o .:? "inspectConfig") <*>- (o .:? "reidentifyTemplateName")- <*> (o .:? "item")- <*> (o .:? "inspectTemplateName")- <*> (o .:? "reidentifyConfig"))--instance ToJSON- GooglePrivacyDlpV2ReidentifyContentRequest- where- toJSON- GooglePrivacyDlpV2ReidentifyContentRequest'{..}- = object- (catMaybes- [("inspectConfig" .=) <$> _gooInspectConfig,- ("reidentifyTemplateName" .=) <$>- _gooReidentifyTemplateName,- ("item" .=) <$> _gooItem,- ("inspectTemplateName" .=) <$>- _gooInspectTemplateName,- ("reidentifyConfig" .=) <$> _gooReidentifyConfig])---- | Pseudonymization method that generates surrogates via cryptographic--- hashing. Uses SHA-256. The key size must be either 32 or 64 bytes.--- Outputs a base64 encoded representation of the hashed output (for--- example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). Currently, only--- string and integer values can be hashed. See--- https:\/\/cloud.google.com\/dlp\/docs\/pseudonymization to learn more.------ /See:/ 'googlePrivacyDlpV2CryptoHashConfig' smart constructor.-newtype GooglePrivacyDlpV2CryptoHashConfig =- GooglePrivacyDlpV2CryptoHashConfig'- { _gpdvchcCryptoKey :: Maybe GooglePrivacyDlpV2CryptoKey- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CryptoHashConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvchcCryptoKey'-googlePrivacyDlpV2CryptoHashConfig- :: GooglePrivacyDlpV2CryptoHashConfig-googlePrivacyDlpV2CryptoHashConfig =- GooglePrivacyDlpV2CryptoHashConfig' {_gpdvchcCryptoKey = Nothing}----- | The key used by the hash function.-gpdvchcCryptoKey :: Lens' GooglePrivacyDlpV2CryptoHashConfig (Maybe GooglePrivacyDlpV2CryptoKey)-gpdvchcCryptoKey- = lens _gpdvchcCryptoKey- (\ s a -> s{_gpdvchcCryptoKey = a})--instance FromJSON GooglePrivacyDlpV2CryptoHashConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2CryptoHashConfig"- (\ o ->- GooglePrivacyDlpV2CryptoHashConfig' <$>- (o .:? "cryptoKey"))--instance ToJSON GooglePrivacyDlpV2CryptoHashConfig- where- toJSON GooglePrivacyDlpV2CryptoHashConfig'{..}- = object- (catMaybes [("cryptoKey" .=) <$> _gpdvchcCryptoKey])---- | Max findings configuration per infoType, per content item or long--- running DlpJob.------ /See:/ 'googlePrivacyDlpV2InfoTypeLimit' smart constructor.-data GooglePrivacyDlpV2InfoTypeLimit =- GooglePrivacyDlpV2InfoTypeLimit'- { _gpdvitlMaxFindings :: !(Maybe (Textual Int32))- , _gpdvitlInfoType :: !(Maybe GooglePrivacyDlpV2InfoType)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2InfoTypeLimit' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvitlMaxFindings'------ * 'gpdvitlInfoType'-googlePrivacyDlpV2InfoTypeLimit- :: GooglePrivacyDlpV2InfoTypeLimit-googlePrivacyDlpV2InfoTypeLimit =- GooglePrivacyDlpV2InfoTypeLimit'- {_gpdvitlMaxFindings = Nothing, _gpdvitlInfoType = Nothing}----- | Max findings limit for the given infoType.-gpdvitlMaxFindings :: Lens' GooglePrivacyDlpV2InfoTypeLimit (Maybe Int32)-gpdvitlMaxFindings- = lens _gpdvitlMaxFindings- (\ s a -> s{_gpdvitlMaxFindings = a})- . mapping _Coerce---- | Type of information the findings limit applies to. Only one limit per--- info_type should be provided. If InfoTypeLimit does not have an--- info_type, the DLP API applies the limit against all info_types that are--- found but not specified in another InfoTypeLimit.-gpdvitlInfoType :: Lens' GooglePrivacyDlpV2InfoTypeLimit (Maybe GooglePrivacyDlpV2InfoType)-gpdvitlInfoType- = lens _gpdvitlInfoType- (\ s a -> s{_gpdvitlInfoType = a})--instance FromJSON GooglePrivacyDlpV2InfoTypeLimit- where- parseJSON- = withObject "GooglePrivacyDlpV2InfoTypeLimit"- (\ o ->- GooglePrivacyDlpV2InfoTypeLimit' <$>- (o .:? "maxFindings") <*> (o .:? "infoType"))--instance ToJSON GooglePrivacyDlpV2InfoTypeLimit where- toJSON GooglePrivacyDlpV2InfoTypeLimit'{..}- = object- (catMaybes- [("maxFindings" .=) <$> _gpdvitlMaxFindings,- ("infoType" .=) <$> _gpdvitlInfoType])---- | Location of a finding within a table.------ /See:/ 'googlePrivacyDlpV2TableLocation' smart constructor.-newtype GooglePrivacyDlpV2TableLocation =- GooglePrivacyDlpV2TableLocation'- { _gpdvtlRowIndex :: Maybe (Textual Int64)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2TableLocation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvtlRowIndex'-googlePrivacyDlpV2TableLocation- :: GooglePrivacyDlpV2TableLocation-googlePrivacyDlpV2TableLocation =- GooglePrivacyDlpV2TableLocation' {_gpdvtlRowIndex = Nothing}----- | The zero-based index of the row where the finding is located.-gpdvtlRowIndex :: Lens' GooglePrivacyDlpV2TableLocation (Maybe Int64)-gpdvtlRowIndex- = lens _gpdvtlRowIndex- (\ s a -> s{_gpdvtlRowIndex = a})- . mapping _Coerce--instance FromJSON GooglePrivacyDlpV2TableLocation- where- parseJSON- = withObject "GooglePrivacyDlpV2TableLocation"- (\ o ->- GooglePrivacyDlpV2TableLocation' <$>- (o .:? "rowIndex"))--instance ToJSON GooglePrivacyDlpV2TableLocation where- toJSON GooglePrivacyDlpV2TableLocation'{..}- = object- (catMaybes [("rowIndex" .=) <$> _gpdvtlRowIndex])------- /See:/ 'googlePrivacyDlpV2TimeZone' smart constructor.-newtype GooglePrivacyDlpV2TimeZone =- GooglePrivacyDlpV2TimeZone'- { _gpdvtzOffSetMinutes :: Maybe (Textual Int32)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2TimeZone' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvtzOffSetMinutes'-googlePrivacyDlpV2TimeZone- :: GooglePrivacyDlpV2TimeZone-googlePrivacyDlpV2TimeZone =- GooglePrivacyDlpV2TimeZone' {_gpdvtzOffSetMinutes = Nothing}----- | Set only if the offset can be determined. Positive for time ahead of--- UTC. E.g. For \"UTC-9\", this value is -540.-gpdvtzOffSetMinutes :: Lens' GooglePrivacyDlpV2TimeZone (Maybe Int32)-gpdvtzOffSetMinutes- = lens _gpdvtzOffSetMinutes- (\ s a -> s{_gpdvtzOffSetMinutes = a})- . mapping _Coerce--instance FromJSON GooglePrivacyDlpV2TimeZone where- parseJSON- = withObject "GooglePrivacyDlpV2TimeZone"- (\ o ->- GooglePrivacyDlpV2TimeZone' <$>- (o .:? "offsetMinutes"))--instance ToJSON GooglePrivacyDlpV2TimeZone where- toJSON GooglePrivacyDlpV2TimeZone'{..}- = object- (catMaybes- [("offsetMinutes" .=) <$> _gpdvtzOffSetMinutes])---- | Shared message indicating Cloud storage type.------ /See:/ 'googlePrivacyDlpV2StorageConfig' smart constructor.-data GooglePrivacyDlpV2StorageConfig =- GooglePrivacyDlpV2StorageConfig'- { _gpdvscTimespanConfig :: !(Maybe GooglePrivacyDlpV2TimespanConfig)- , _gpdvscBigQueryOptions :: !(Maybe GooglePrivacyDlpV2BigQueryOptions)- , _gpdvscDatastoreOptions :: !(Maybe GooglePrivacyDlpV2DatastoreOptions)- , _gpdvscCloudStorageOptions :: !(Maybe GooglePrivacyDlpV2CloudStorageOptions)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2StorageConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvscTimespanConfig'------ * 'gpdvscBigQueryOptions'------ * 'gpdvscDatastoreOptions'------ * 'gpdvscCloudStorageOptions'-googlePrivacyDlpV2StorageConfig- :: GooglePrivacyDlpV2StorageConfig-googlePrivacyDlpV2StorageConfig =- GooglePrivacyDlpV2StorageConfig'- { _gpdvscTimespanConfig = Nothing- , _gpdvscBigQueryOptions = Nothing- , _gpdvscDatastoreOptions = Nothing- , _gpdvscCloudStorageOptions = Nothing- }---gpdvscTimespanConfig :: Lens' GooglePrivacyDlpV2StorageConfig (Maybe GooglePrivacyDlpV2TimespanConfig)-gpdvscTimespanConfig- = lens _gpdvscTimespanConfig- (\ s a -> s{_gpdvscTimespanConfig = a})---- | BigQuery options specification.-gpdvscBigQueryOptions :: Lens' GooglePrivacyDlpV2StorageConfig (Maybe GooglePrivacyDlpV2BigQueryOptions)-gpdvscBigQueryOptions- = lens _gpdvscBigQueryOptions- (\ s a -> s{_gpdvscBigQueryOptions = a})---- | Google Cloud Datastore options specification.-gpdvscDatastoreOptions :: Lens' GooglePrivacyDlpV2StorageConfig (Maybe GooglePrivacyDlpV2DatastoreOptions)-gpdvscDatastoreOptions- = lens _gpdvscDatastoreOptions- (\ s a -> s{_gpdvscDatastoreOptions = a})---- | Google Cloud Storage options specification.-gpdvscCloudStorageOptions :: Lens' GooglePrivacyDlpV2StorageConfig (Maybe GooglePrivacyDlpV2CloudStorageOptions)-gpdvscCloudStorageOptions- = lens _gpdvscCloudStorageOptions- (\ s a -> s{_gpdvscCloudStorageOptions = a})--instance FromJSON GooglePrivacyDlpV2StorageConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2StorageConfig"- (\ o ->- GooglePrivacyDlpV2StorageConfig' <$>- (o .:? "timespanConfig") <*>- (o .:? "bigQueryOptions")- <*> (o .:? "datastoreOptions")- <*> (o .:? "cloudStorageOptions"))--instance ToJSON GooglePrivacyDlpV2StorageConfig where- toJSON GooglePrivacyDlpV2StorageConfig'{..}- = object- (catMaybes- [("timespanConfig" .=) <$> _gpdvscTimespanConfig,- ("bigQueryOptions" .=) <$> _gpdvscBigQueryOptions,- ("datastoreOptions" .=) <$> _gpdvscDatastoreOptions,- ("cloudStorageOptions" .=) <$>- _gpdvscCloudStorageOptions])---- | Set of primitive values supported by the system. Note that for the--- purposes of inspection or transformation, the number of bytes considered--- to comprise a \'Value\' is based on its representation as a UTF-8--- encoded string. For example, if \'integer_value\' is set to 123456789,--- the number of bytes would be counted as 9, even though an int64 only--- holds up to 8 bytes of data.------ /See:/ 'googlePrivacyDlpV2Value' smart constructor.-data GooglePrivacyDlpV2Value =- GooglePrivacyDlpV2Value'- { _gpdvvDayOfWeekValue :: !(Maybe GooglePrivacyDlpV2ValueDayOfWeekValue)- , _gpdvvIntegerValue :: !(Maybe (Textual Int64))- , _gpdvvTimestampValue :: !(Maybe DateTime')- , _gpdvvTimeValue :: !(Maybe GoogleTypeTimeOfDay)- , _gpdvvStringValue :: !(Maybe Text)- , _gpdvvDateValue :: !(Maybe GoogleTypeDate)- , _gpdvvBooleanValue :: !(Maybe Bool)- , _gpdvvFloatValue :: !(Maybe (Textual Double))- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Value' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvvDayOfWeekValue'------ * 'gpdvvIntegerValue'------ * 'gpdvvTimestampValue'------ * 'gpdvvTimeValue'------ * 'gpdvvStringValue'------ * 'gpdvvDateValue'------ * 'gpdvvBooleanValue'------ * 'gpdvvFloatValue'-googlePrivacyDlpV2Value- :: GooglePrivacyDlpV2Value-googlePrivacyDlpV2Value =- GooglePrivacyDlpV2Value'- { _gpdvvDayOfWeekValue = Nothing- , _gpdvvIntegerValue = Nothing- , _gpdvvTimestampValue = Nothing- , _gpdvvTimeValue = Nothing- , _gpdvvStringValue = Nothing- , _gpdvvDateValue = Nothing- , _gpdvvBooleanValue = Nothing- , _gpdvvFloatValue = Nothing- }---gpdvvDayOfWeekValue :: Lens' GooglePrivacyDlpV2Value (Maybe GooglePrivacyDlpV2ValueDayOfWeekValue)-gpdvvDayOfWeekValue- = lens _gpdvvDayOfWeekValue- (\ s a -> s{_gpdvvDayOfWeekValue = a})--gpdvvIntegerValue :: Lens' GooglePrivacyDlpV2Value (Maybe Int64)-gpdvvIntegerValue- = lens _gpdvvIntegerValue- (\ s a -> s{_gpdvvIntegerValue = a})- . mapping _Coerce--gpdvvTimestampValue :: Lens' GooglePrivacyDlpV2Value (Maybe UTCTime)-gpdvvTimestampValue- = lens _gpdvvTimestampValue- (\ s a -> s{_gpdvvTimestampValue = a})- . mapping _DateTime--gpdvvTimeValue :: Lens' GooglePrivacyDlpV2Value (Maybe GoogleTypeTimeOfDay)-gpdvvTimeValue- = lens _gpdvvTimeValue- (\ s a -> s{_gpdvvTimeValue = a})--gpdvvStringValue :: Lens' GooglePrivacyDlpV2Value (Maybe Text)-gpdvvStringValue- = lens _gpdvvStringValue- (\ s a -> s{_gpdvvStringValue = a})--gpdvvDateValue :: Lens' GooglePrivacyDlpV2Value (Maybe GoogleTypeDate)-gpdvvDateValue- = lens _gpdvvDateValue- (\ s a -> s{_gpdvvDateValue = a})--gpdvvBooleanValue :: Lens' GooglePrivacyDlpV2Value (Maybe Bool)-gpdvvBooleanValue- = lens _gpdvvBooleanValue- (\ s a -> s{_gpdvvBooleanValue = a})--gpdvvFloatValue :: Lens' GooglePrivacyDlpV2Value (Maybe Double)-gpdvvFloatValue- = lens _gpdvvFloatValue- (\ s a -> s{_gpdvvFloatValue = a})- . mapping _Coerce--instance FromJSON GooglePrivacyDlpV2Value where- parseJSON- = withObject "GooglePrivacyDlpV2Value"- (\ o ->- GooglePrivacyDlpV2Value' <$>- (o .:? "dayOfWeekValue") <*> (o .:? "integerValue")- <*> (o .:? "timestampValue")- <*> (o .:? "timeValue")- <*> (o .:? "stringValue")- <*> (o .:? "dateValue")- <*> (o .:? "booleanValue")- <*> (o .:? "floatValue"))--instance ToJSON GooglePrivacyDlpV2Value where- toJSON GooglePrivacyDlpV2Value'{..}- = object- (catMaybes- [("dayOfWeekValue" .=) <$> _gpdvvDayOfWeekValue,- ("integerValue" .=) <$> _gpdvvIntegerValue,- ("timestampValue" .=) <$> _gpdvvTimestampValue,- ("timeValue" .=) <$> _gpdvvTimeValue,- ("stringValue" .=) <$> _gpdvvStringValue,- ("dateValue" .=) <$> _gpdvvDateValue,- ("booleanValue" .=) <$> _gpdvvBooleanValue,- ("floatValue" .=) <$> _gpdvvFloatValue])---- | Custom information type based on a dictionary of words or phrases. This--- can be used to match sensitive information specific to the data, such as--- a list of employee IDs or job titles. Dictionary words are--- case-insensitive and all characters other than letters and digits in the--- unicode [Basic Multilingual--- Plane](https:\/\/en.wikipedia.org\/wiki\/Plane_%28Unicode%29#Basic_Multilingual_Plane)--- will be replaced with whitespace when scanning for matches, so the--- dictionary phrase \"Sam Johnson\" will match all three phrases \"sam--- johnson\", \"Sam, Johnson\", and \"Sam (Johnson)\". Additionally, the--- characters surrounding any match must be of a different type than the--- adjacent characters within the word, so letters must be next to--- non-letters and digits next to non-digits. For example, the dictionary--- word \"jen\" will match the first three letters of the text \"jen123\"--- but will return no matches for \"jennifer\". Dictionary words containing--- a large number of characters that are not letters or digits may result--- in unexpected findings because such characters are treated as--- whitespace. The [limits](https:\/\/cloud.google.com\/dlp\/limits) page--- contains details about the size limits of dictionaries. For dictionaries--- that do not fit within these constraints, consider using--- \`LargeCustomDictionaryConfig\` in the \`StoredInfoType\` API.------ /See:/ 'googlePrivacyDlpV2Dictionary' smart constructor.-data GooglePrivacyDlpV2Dictionary =- GooglePrivacyDlpV2Dictionary'- { _gpdvdWordList :: !(Maybe GooglePrivacyDlpV2WordList)- , _gpdvdCloudStoragePath :: !(Maybe GooglePrivacyDlpV2CloudStoragePath)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Dictionary' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvdWordList'------ * 'gpdvdCloudStoragePath'-googlePrivacyDlpV2Dictionary- :: GooglePrivacyDlpV2Dictionary-googlePrivacyDlpV2Dictionary =- GooglePrivacyDlpV2Dictionary'- {_gpdvdWordList = Nothing, _gpdvdCloudStoragePath = Nothing}----- | List of words or phrases to search for.-gpdvdWordList :: Lens' GooglePrivacyDlpV2Dictionary (Maybe GooglePrivacyDlpV2WordList)-gpdvdWordList- = lens _gpdvdWordList- (\ s a -> s{_gpdvdWordList = a})---- | Newline-delimited file of words in Cloud Storage. Only a single file is--- accepted.-gpdvdCloudStoragePath :: Lens' GooglePrivacyDlpV2Dictionary (Maybe GooglePrivacyDlpV2CloudStoragePath)-gpdvdCloudStoragePath- = lens _gpdvdCloudStoragePath- (\ s a -> s{_gpdvdCloudStoragePath = a})--instance FromJSON GooglePrivacyDlpV2Dictionary where- parseJSON- = withObject "GooglePrivacyDlpV2Dictionary"- (\ o ->- GooglePrivacyDlpV2Dictionary' <$>- (o .:? "wordList") <*> (o .:? "cloudStoragePath"))--instance ToJSON GooglePrivacyDlpV2Dictionary where- toJSON GooglePrivacyDlpV2Dictionary'{..}- = object- (catMaybes- [("wordList" .=) <$> _gpdvdWordList,- ("cloudStoragePath" .=) <$> _gpdvdCloudStoragePath])---- | Result of a risk analysis operation request.------ /See:/ 'googlePrivacyDlpV2AnalyzeDataSourceRiskDetails' smart constructor.-data GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails =- GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails'- { _gpdvadsrdRequestedPrivacyMetric :: !(Maybe GooglePrivacyDlpV2PrivacyMetric)- , _gpdvadsrdRequestedSourceTable :: !(Maybe GooglePrivacyDlpV2BigQueryTable)- , _gpdvadsrdLDiversityResult :: !(Maybe GooglePrivacyDlpV2LDiversityResult)- , _gpdvadsrdKAnonymityResult :: !(Maybe GooglePrivacyDlpV2KAnonymityResult)- , _gpdvadsrdKMapEstimationResult :: !(Maybe GooglePrivacyDlpV2KMapEstimationResult)- , _gpdvadsrdDeltaPresenceEstimationResult :: !(Maybe GooglePrivacyDlpV2DeltaPresenceEstimationResult)- , _gpdvadsrdNumericalStatsResult :: !(Maybe GooglePrivacyDlpV2NumericalStatsResult)- , _gpdvadsrdCategoricalStatsResult :: !(Maybe GooglePrivacyDlpV2CategoricalStatsResult)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvadsrdRequestedPrivacyMetric'------ * 'gpdvadsrdRequestedSourceTable'------ * 'gpdvadsrdLDiversityResult'------ * 'gpdvadsrdKAnonymityResult'------ * 'gpdvadsrdKMapEstimationResult'------ * 'gpdvadsrdDeltaPresenceEstimationResult'------ * 'gpdvadsrdNumericalStatsResult'------ * 'gpdvadsrdCategoricalStatsResult'-googlePrivacyDlpV2AnalyzeDataSourceRiskDetails- :: GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails-googlePrivacyDlpV2AnalyzeDataSourceRiskDetails =- GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails'- { _gpdvadsrdRequestedPrivacyMetric = Nothing- , _gpdvadsrdRequestedSourceTable = Nothing- , _gpdvadsrdLDiversityResult = Nothing- , _gpdvadsrdKAnonymityResult = Nothing- , _gpdvadsrdKMapEstimationResult = Nothing- , _gpdvadsrdDeltaPresenceEstimationResult = Nothing- , _gpdvadsrdNumericalStatsResult = Nothing- , _gpdvadsrdCategoricalStatsResult = Nothing- }----- | Privacy metric to compute.-gpdvadsrdRequestedPrivacyMetric :: Lens' GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails (Maybe GooglePrivacyDlpV2PrivacyMetric)-gpdvadsrdRequestedPrivacyMetric- = lens _gpdvadsrdRequestedPrivacyMetric- (\ s a -> s{_gpdvadsrdRequestedPrivacyMetric = a})---- | Input dataset to compute metrics over.-gpdvadsrdRequestedSourceTable :: Lens' GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails (Maybe GooglePrivacyDlpV2BigQueryTable)-gpdvadsrdRequestedSourceTable- = lens _gpdvadsrdRequestedSourceTable- (\ s a -> s{_gpdvadsrdRequestedSourceTable = a})--gpdvadsrdLDiversityResult :: Lens' GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails (Maybe GooglePrivacyDlpV2LDiversityResult)-gpdvadsrdLDiversityResult- = lens _gpdvadsrdLDiversityResult- (\ s a -> s{_gpdvadsrdLDiversityResult = a})--gpdvadsrdKAnonymityResult :: Lens' GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails (Maybe GooglePrivacyDlpV2KAnonymityResult)-gpdvadsrdKAnonymityResult- = lens _gpdvadsrdKAnonymityResult- (\ s a -> s{_gpdvadsrdKAnonymityResult = a})--gpdvadsrdKMapEstimationResult :: Lens' GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails (Maybe GooglePrivacyDlpV2KMapEstimationResult)-gpdvadsrdKMapEstimationResult- = lens _gpdvadsrdKMapEstimationResult- (\ s a -> s{_gpdvadsrdKMapEstimationResult = a})--gpdvadsrdDeltaPresenceEstimationResult :: Lens' GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails (Maybe GooglePrivacyDlpV2DeltaPresenceEstimationResult)-gpdvadsrdDeltaPresenceEstimationResult- = lens _gpdvadsrdDeltaPresenceEstimationResult- (\ s a ->- s{_gpdvadsrdDeltaPresenceEstimationResult = a})--gpdvadsrdNumericalStatsResult :: Lens' GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails (Maybe GooglePrivacyDlpV2NumericalStatsResult)-gpdvadsrdNumericalStatsResult- = lens _gpdvadsrdNumericalStatsResult- (\ s a -> s{_gpdvadsrdNumericalStatsResult = a})--gpdvadsrdCategoricalStatsResult :: Lens' GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails (Maybe GooglePrivacyDlpV2CategoricalStatsResult)-gpdvadsrdCategoricalStatsResult- = lens _gpdvadsrdCategoricalStatsResult- (\ s a -> s{_gpdvadsrdCategoricalStatsResult = a})--instance FromJSON- GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails- where- parseJSON- = withObject- "GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails"- (\ o ->- GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails' <$>- (o .:? "requestedPrivacyMetric") <*>- (o .:? "requestedSourceTable")- <*> (o .:? "lDiversityResult")- <*> (o .:? "kAnonymityResult")- <*> (o .:? "kMapEstimationResult")- <*> (o .:? "deltaPresenceEstimationResult")- <*> (o .:? "numericalStatsResult")- <*> (o .:? "categoricalStatsResult"))--instance ToJSON- GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails- where- toJSON- GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails'{..}- = object- (catMaybes- [("requestedPrivacyMetric" .=) <$>- _gpdvadsrdRequestedPrivacyMetric,- ("requestedSourceTable" .=) <$>- _gpdvadsrdRequestedSourceTable,- ("lDiversityResult" .=) <$>- _gpdvadsrdLDiversityResult,- ("kAnonymityResult" .=) <$>- _gpdvadsrdKAnonymityResult,- ("kMapEstimationResult" .=) <$>- _gpdvadsrdKMapEstimationResult,- ("deltaPresenceEstimationResult" .=) <$>- _gpdvadsrdDeltaPresenceEstimationResult,- ("numericalStatsResult" .=) <$>- _gpdvadsrdNumericalStatsResult,- ("categoricalStatsResult" .=) <$>- _gpdvadsrdCategoricalStatsResult])---- | A collection of conditions.------ /See:/ 'googlePrivacyDlpV2Conditions' smart constructor.-newtype GooglePrivacyDlpV2Conditions =- GooglePrivacyDlpV2Conditions'- { _gpdvcConditions :: Maybe [GooglePrivacyDlpV2Condition]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Conditions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcConditions'-googlePrivacyDlpV2Conditions- :: GooglePrivacyDlpV2Conditions-googlePrivacyDlpV2Conditions =- GooglePrivacyDlpV2Conditions' {_gpdvcConditions = Nothing}---gpdvcConditions :: Lens' GooglePrivacyDlpV2Conditions [GooglePrivacyDlpV2Condition]-gpdvcConditions- = lens _gpdvcConditions- (\ s a -> s{_gpdvcConditions = a})- . _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2Conditions where- parseJSON- = withObject "GooglePrivacyDlpV2Conditions"- (\ o ->- GooglePrivacyDlpV2Conditions' <$>- (o .:? "conditions" .!= mempty))--instance ToJSON GooglePrivacyDlpV2Conditions where- toJSON GooglePrivacyDlpV2Conditions'{..}- = object- (catMaybes [("conditions" .=) <$> _gpdvcConditions])---- | Record key for a finding in Cloud Datastore.------ /See:/ 'googlePrivacyDlpV2DatastoreKey' smart constructor.-newtype GooglePrivacyDlpV2DatastoreKey =- GooglePrivacyDlpV2DatastoreKey'- { _gpdvdkEntityKey :: Maybe GooglePrivacyDlpV2Key- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2DatastoreKey' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvdkEntityKey'-googlePrivacyDlpV2DatastoreKey- :: GooglePrivacyDlpV2DatastoreKey-googlePrivacyDlpV2DatastoreKey =- GooglePrivacyDlpV2DatastoreKey' {_gpdvdkEntityKey = Nothing}----- | Datastore entity key.-gpdvdkEntityKey :: Lens' GooglePrivacyDlpV2DatastoreKey (Maybe GooglePrivacyDlpV2Key)-gpdvdkEntityKey- = lens _gpdvdkEntityKey- (\ s a -> s{_gpdvdkEntityKey = a})--instance FromJSON GooglePrivacyDlpV2DatastoreKey- where- parseJSON- = withObject "GooglePrivacyDlpV2DatastoreKey"- (\ o ->- GooglePrivacyDlpV2DatastoreKey' <$>- (o .:? "entityKey"))--instance ToJSON GooglePrivacyDlpV2DatastoreKey where- toJSON GooglePrivacyDlpV2DatastoreKey'{..}- = object- (catMaybes [("entityKey" .=) <$> _gpdvdkEntityKey])---- | A tuple of values for the quasi-identifier columns.------ /See:/ 'googlePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues' smart constructor.-data GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues =- GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues'- { _gpdvdpeqivEstimatedProbability :: !(Maybe (Textual Double))- , _gpdvdpeqivQuasiIdsValues :: !(Maybe [GooglePrivacyDlpV2Value])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvdpeqivEstimatedProbability'------ * 'gpdvdpeqivQuasiIdsValues'-googlePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues- :: GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues-googlePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues =- GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues'- { _gpdvdpeqivEstimatedProbability = Nothing- , _gpdvdpeqivQuasiIdsValues = Nothing- }----- | The estimated probability that a given individual sharing these--- quasi-identifier values is in the dataset. This value, typically called--- δ, is the ratio between the number of records in the dataset with these--- quasi-identifier values, and the total number of individuals (inside--- *and* outside the dataset) with these quasi-identifier values. For--- example, if there are 15 individuals in the dataset who share the same--- quasi-identifier values, and an estimated 100 people in the entire--- population with these values, then δ is 0.15.-gpdvdpeqivEstimatedProbability :: Lens' GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues (Maybe Double)-gpdvdpeqivEstimatedProbability- = lens _gpdvdpeqivEstimatedProbability- (\ s a -> s{_gpdvdpeqivEstimatedProbability = a})- . mapping _Coerce---- | The quasi-identifier values.-gpdvdpeqivQuasiIdsValues :: Lens' GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues [GooglePrivacyDlpV2Value]-gpdvdpeqivQuasiIdsValues- = lens _gpdvdpeqivQuasiIdsValues- (\ s a -> s{_gpdvdpeqivQuasiIdsValues = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues- where- parseJSON- = withObject- "GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues"- (\ o ->- GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues'- <$>- (o .:? "estimatedProbability") <*>- (o .:? "quasiIdsValues" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues- where- toJSON- GooglePrivacyDlpV2DeltaPresenceEstimationQuasiIdValues'{..}- = object- (catMaybes- [("estimatedProbability" .=) <$>- _gpdvdpeqivEstimatedProbability,- ("quasiIdsValues" .=) <$> _gpdvdpeqivQuasiIdsValues])---- | Characters to skip when doing deidentification of a value. These will be--- left alone and skipped.------ /See:/ 'googlePrivacyDlpV2CharsToIgnore' smart constructor.-data GooglePrivacyDlpV2CharsToIgnore =- GooglePrivacyDlpV2CharsToIgnore'- { _gpdvctiCommonCharactersToIgnore :: !(Maybe GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore)- , _gpdvctiCharactersToSkip :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CharsToIgnore' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvctiCommonCharactersToIgnore'------ * 'gpdvctiCharactersToSkip'-googlePrivacyDlpV2CharsToIgnore- :: GooglePrivacyDlpV2CharsToIgnore-googlePrivacyDlpV2CharsToIgnore =- GooglePrivacyDlpV2CharsToIgnore'- { _gpdvctiCommonCharactersToIgnore = Nothing- , _gpdvctiCharactersToSkip = Nothing- }---gpdvctiCommonCharactersToIgnore :: Lens' GooglePrivacyDlpV2CharsToIgnore (Maybe GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore)-gpdvctiCommonCharactersToIgnore- = lens _gpdvctiCommonCharactersToIgnore- (\ s a -> s{_gpdvctiCommonCharactersToIgnore = a})--gpdvctiCharactersToSkip :: Lens' GooglePrivacyDlpV2CharsToIgnore (Maybe Text)-gpdvctiCharactersToSkip- = lens _gpdvctiCharactersToSkip- (\ s a -> s{_gpdvctiCharactersToSkip = a})--instance FromJSON GooglePrivacyDlpV2CharsToIgnore- where- parseJSON- = withObject "GooglePrivacyDlpV2CharsToIgnore"- (\ o ->- GooglePrivacyDlpV2CharsToIgnore' <$>- (o .:? "commonCharactersToIgnore") <*>- (o .:? "charactersToSkip"))--instance ToJSON GooglePrivacyDlpV2CharsToIgnore where- toJSON GooglePrivacyDlpV2CharsToIgnore'{..}- = object- (catMaybes- [("commonCharactersToIgnore" .=) <$>- _gpdvctiCommonCharactersToIgnore,- ("charactersToSkip" .=) <$>- _gpdvctiCharactersToSkip])---- | Message defining the location of a BigQuery table. A table is uniquely--- identified by its project_id, dataset_id, and table_name. Within a query--- a table is often referenced with a string in the format of: \`:.\` or--- \`..\`.------ /See:/ 'googlePrivacyDlpV2BigQueryTable' smart constructor.-data GooglePrivacyDlpV2BigQueryTable =- GooglePrivacyDlpV2BigQueryTable'- { _gpdvbqtDataSetId :: !(Maybe Text)- , _gpdvbqtProjectId :: !(Maybe Text)- , _gpdvbqtTableId :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2BigQueryTable' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvbqtDataSetId'------ * 'gpdvbqtProjectId'------ * 'gpdvbqtTableId'-googlePrivacyDlpV2BigQueryTable- :: GooglePrivacyDlpV2BigQueryTable-googlePrivacyDlpV2BigQueryTable =- GooglePrivacyDlpV2BigQueryTable'- { _gpdvbqtDataSetId = Nothing- , _gpdvbqtProjectId = Nothing- , _gpdvbqtTableId = Nothing- }----- | Dataset ID of the table.-gpdvbqtDataSetId :: Lens' GooglePrivacyDlpV2BigQueryTable (Maybe Text)-gpdvbqtDataSetId- = lens _gpdvbqtDataSetId- (\ s a -> s{_gpdvbqtDataSetId = a})---- | The Google Cloud Platform project ID of the project containing the--- table. If omitted, project ID is inferred from the API call.-gpdvbqtProjectId :: Lens' GooglePrivacyDlpV2BigQueryTable (Maybe Text)-gpdvbqtProjectId- = lens _gpdvbqtProjectId- (\ s a -> s{_gpdvbqtProjectId = a})---- | Name of the table.-gpdvbqtTableId :: Lens' GooglePrivacyDlpV2BigQueryTable (Maybe Text)-gpdvbqtTableId- = lens _gpdvbqtTableId- (\ s a -> s{_gpdvbqtTableId = a})--instance FromJSON GooglePrivacyDlpV2BigQueryTable- where- parseJSON- = withObject "GooglePrivacyDlpV2BigQueryTable"- (\ o ->- GooglePrivacyDlpV2BigQueryTable' <$>- (o .:? "datasetId") <*> (o .:? "projectId") <*>- (o .:? "tableId"))--instance ToJSON GooglePrivacyDlpV2BigQueryTable where- toJSON GooglePrivacyDlpV2BigQueryTable'{..}- = object- (catMaybes- [("datasetId" .=) <$> _gpdvbqtDataSetId,- ("projectId" .=) <$> _gpdvbqtProjectId,- ("tableId" .=) <$> _gpdvbqtTableId])------- /See:/ 'googlePrivacyDlpV2RequestedOptions' smart constructor.-data GooglePrivacyDlpV2RequestedOptions =- GooglePrivacyDlpV2RequestedOptions'- { _gpdvroSnapshotInspectTemplate :: !(Maybe GooglePrivacyDlpV2InspectTemplate)- , _gpdvroJobConfig :: !(Maybe GooglePrivacyDlpV2InspectJobConfig)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2RequestedOptions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvroSnapshotInspectTemplate'------ * 'gpdvroJobConfig'-googlePrivacyDlpV2RequestedOptions- :: GooglePrivacyDlpV2RequestedOptions-googlePrivacyDlpV2RequestedOptions =- GooglePrivacyDlpV2RequestedOptions'- {_gpdvroSnapshotInspectTemplate = Nothing, _gpdvroJobConfig = Nothing}----- | If run with an InspectTemplate, a snapshot of its state at the time of--- this run.-gpdvroSnapshotInspectTemplate :: Lens' GooglePrivacyDlpV2RequestedOptions (Maybe GooglePrivacyDlpV2InspectTemplate)-gpdvroSnapshotInspectTemplate- = lens _gpdvroSnapshotInspectTemplate- (\ s a -> s{_gpdvroSnapshotInspectTemplate = a})--gpdvroJobConfig :: Lens' GooglePrivacyDlpV2RequestedOptions (Maybe GooglePrivacyDlpV2InspectJobConfig)-gpdvroJobConfig- = lens _gpdvroJobConfig- (\ s a -> s{_gpdvroJobConfig = a})--instance FromJSON GooglePrivacyDlpV2RequestedOptions- where- parseJSON- = withObject "GooglePrivacyDlpV2RequestedOptions"- (\ o ->- GooglePrivacyDlpV2RequestedOptions' <$>- (o .:? "snapshotInspectTemplate") <*>- (o .:? "jobConfig"))--instance ToJSON GooglePrivacyDlpV2RequestedOptions- where- toJSON GooglePrivacyDlpV2RequestedOptions'{..}- = object- (catMaybes- [("snapshotInspectTemplate" .=) <$>- _gpdvroSnapshotInspectTemplate,- ("jobConfig" .=) <$> _gpdvroJobConfig])---- | A rule for transforming a value.------ /See:/ 'googlePrivacyDlpV2PrimitiveTransformation' smart constructor.-data GooglePrivacyDlpV2PrimitiveTransformation =- GooglePrivacyDlpV2PrimitiveTransformation'- { _gpdvptFixedSizeBucketingConfig :: !(Maybe GooglePrivacyDlpV2FixedSizeBucketingConfig)- , _gpdvptRedactConfig :: !(Maybe GooglePrivacyDlpV2RedactConfig)- , _gpdvptCharacterMaskConfig :: !(Maybe GooglePrivacyDlpV2CharacterMaskConfig)- , _gpdvptTimePartConfig :: !(Maybe GooglePrivacyDlpV2TimePartConfig)- , _gpdvptDateShiftConfig :: !(Maybe GooglePrivacyDlpV2DateShiftConfig)- , _gpdvptBucketingConfig :: !(Maybe GooglePrivacyDlpV2BucketingConfig)- , _gpdvptReplaceWithInfoTypeConfig :: !(Maybe GooglePrivacyDlpV2ReplaceWithInfoTypeConfig)- , _gpdvptCryptoDeterministicConfig :: !(Maybe GooglePrivacyDlpV2CryptoDeterministicConfig)- , _gpdvptCryptoHashConfig :: !(Maybe GooglePrivacyDlpV2CryptoHashConfig)- , _gpdvptReplaceConfig :: !(Maybe GooglePrivacyDlpV2ReplaceValueConfig)- , _gpdvptCryptoReplaceFfxFpeConfig :: !(Maybe GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2PrimitiveTransformation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvptFixedSizeBucketingConfig'------ * 'gpdvptRedactConfig'------ * 'gpdvptCharacterMaskConfig'------ * 'gpdvptTimePartConfig'------ * 'gpdvptDateShiftConfig'------ * 'gpdvptBucketingConfig'------ * 'gpdvptReplaceWithInfoTypeConfig'------ * 'gpdvptCryptoDeterministicConfig'------ * 'gpdvptCryptoHashConfig'------ * 'gpdvptReplaceConfig'------ * 'gpdvptCryptoReplaceFfxFpeConfig'-googlePrivacyDlpV2PrimitiveTransformation- :: GooglePrivacyDlpV2PrimitiveTransformation-googlePrivacyDlpV2PrimitiveTransformation =- GooglePrivacyDlpV2PrimitiveTransformation'- { _gpdvptFixedSizeBucketingConfig = Nothing- , _gpdvptRedactConfig = Nothing- , _gpdvptCharacterMaskConfig = Nothing- , _gpdvptTimePartConfig = Nothing- , _gpdvptDateShiftConfig = Nothing- , _gpdvptBucketingConfig = Nothing- , _gpdvptReplaceWithInfoTypeConfig = Nothing- , _gpdvptCryptoDeterministicConfig = Nothing- , _gpdvptCryptoHashConfig = Nothing- , _gpdvptReplaceConfig = Nothing- , _gpdvptCryptoReplaceFfxFpeConfig = Nothing- }---gpdvptFixedSizeBucketingConfig :: Lens' GooglePrivacyDlpV2PrimitiveTransformation (Maybe GooglePrivacyDlpV2FixedSizeBucketingConfig)-gpdvptFixedSizeBucketingConfig- = lens _gpdvptFixedSizeBucketingConfig- (\ s a -> s{_gpdvptFixedSizeBucketingConfig = a})--gpdvptRedactConfig :: Lens' GooglePrivacyDlpV2PrimitiveTransformation (Maybe GooglePrivacyDlpV2RedactConfig)-gpdvptRedactConfig- = lens _gpdvptRedactConfig- (\ s a -> s{_gpdvptRedactConfig = a})--gpdvptCharacterMaskConfig :: Lens' GooglePrivacyDlpV2PrimitiveTransformation (Maybe GooglePrivacyDlpV2CharacterMaskConfig)-gpdvptCharacterMaskConfig- = lens _gpdvptCharacterMaskConfig- (\ s a -> s{_gpdvptCharacterMaskConfig = a})--gpdvptTimePartConfig :: Lens' GooglePrivacyDlpV2PrimitiveTransformation (Maybe GooglePrivacyDlpV2TimePartConfig)-gpdvptTimePartConfig- = lens _gpdvptTimePartConfig- (\ s a -> s{_gpdvptTimePartConfig = a})--gpdvptDateShiftConfig :: Lens' GooglePrivacyDlpV2PrimitiveTransformation (Maybe GooglePrivacyDlpV2DateShiftConfig)-gpdvptDateShiftConfig- = lens _gpdvptDateShiftConfig- (\ s a -> s{_gpdvptDateShiftConfig = a})--gpdvptBucketingConfig :: Lens' GooglePrivacyDlpV2PrimitiveTransformation (Maybe GooglePrivacyDlpV2BucketingConfig)-gpdvptBucketingConfig- = lens _gpdvptBucketingConfig- (\ s a -> s{_gpdvptBucketingConfig = a})--gpdvptReplaceWithInfoTypeConfig :: Lens' GooglePrivacyDlpV2PrimitiveTransformation (Maybe GooglePrivacyDlpV2ReplaceWithInfoTypeConfig)-gpdvptReplaceWithInfoTypeConfig- = lens _gpdvptReplaceWithInfoTypeConfig- (\ s a -> s{_gpdvptReplaceWithInfoTypeConfig = a})--gpdvptCryptoDeterministicConfig :: Lens' GooglePrivacyDlpV2PrimitiveTransformation (Maybe GooglePrivacyDlpV2CryptoDeterministicConfig)-gpdvptCryptoDeterministicConfig- = lens _gpdvptCryptoDeterministicConfig- (\ s a -> s{_gpdvptCryptoDeterministicConfig = a})--gpdvptCryptoHashConfig :: Lens' GooglePrivacyDlpV2PrimitiveTransformation (Maybe GooglePrivacyDlpV2CryptoHashConfig)-gpdvptCryptoHashConfig- = lens _gpdvptCryptoHashConfig- (\ s a -> s{_gpdvptCryptoHashConfig = a})--gpdvptReplaceConfig :: Lens' GooglePrivacyDlpV2PrimitiveTransformation (Maybe GooglePrivacyDlpV2ReplaceValueConfig)-gpdvptReplaceConfig- = lens _gpdvptReplaceConfig- (\ s a -> s{_gpdvptReplaceConfig = a})--gpdvptCryptoReplaceFfxFpeConfig :: Lens' GooglePrivacyDlpV2PrimitiveTransformation (Maybe GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig)-gpdvptCryptoReplaceFfxFpeConfig- = lens _gpdvptCryptoReplaceFfxFpeConfig- (\ s a -> s{_gpdvptCryptoReplaceFfxFpeConfig = a})--instance FromJSON- GooglePrivacyDlpV2PrimitiveTransformation- where- parseJSON- = withObject- "GooglePrivacyDlpV2PrimitiveTransformation"- (\ o ->- GooglePrivacyDlpV2PrimitiveTransformation' <$>- (o .:? "fixedSizeBucketingConfig") <*>- (o .:? "redactConfig")- <*> (o .:? "characterMaskConfig")- <*> (o .:? "timePartConfig")- <*> (o .:? "dateShiftConfig")- <*> (o .:? "bucketingConfig")- <*> (o .:? "replaceWithInfoTypeConfig")- <*> (o .:? "cryptoDeterministicConfig")- <*> (o .:? "cryptoHashConfig")- <*> (o .:? "replaceConfig")- <*> (o .:? "cryptoReplaceFfxFpeConfig"))--instance ToJSON- GooglePrivacyDlpV2PrimitiveTransformation- where- toJSON GooglePrivacyDlpV2PrimitiveTransformation'{..}- = object- (catMaybes- [("fixedSizeBucketingConfig" .=) <$>- _gpdvptFixedSizeBucketingConfig,- ("redactConfig" .=) <$> _gpdvptRedactConfig,- ("characterMaskConfig" .=) <$>- _gpdvptCharacterMaskConfig,- ("timePartConfig" .=) <$> _gpdvptTimePartConfig,- ("dateShiftConfig" .=) <$> _gpdvptDateShiftConfig,- ("bucketingConfig" .=) <$> _gpdvptBucketingConfig,- ("replaceWithInfoTypeConfig" .=) <$>- _gpdvptReplaceWithInfoTypeConfig,- ("cryptoDeterministicConfig" .=) <$>- _gpdvptCryptoDeterministicConfig,- ("cryptoHashConfig" .=) <$> _gpdvptCryptoHashConfig,- ("replaceConfig" .=) <$> _gpdvptReplaceConfig,- ("cryptoReplaceFfxFpeConfig" .=) <$>- _gpdvptCryptoReplaceFfxFpeConfig])---- | The request message for canceling a DLP job.------ /See:/ 'googlePrivacyDlpV2CancelDlpJobRequest' smart constructor.-data GooglePrivacyDlpV2CancelDlpJobRequest =- GooglePrivacyDlpV2CancelDlpJobRequest'- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CancelDlpJobRequest' with the minimum fields required to make a request.----googlePrivacyDlpV2CancelDlpJobRequest- :: GooglePrivacyDlpV2CancelDlpJobRequest-googlePrivacyDlpV2CancelDlpJobRequest = GooglePrivacyDlpV2CancelDlpJobRequest'---instance FromJSON- GooglePrivacyDlpV2CancelDlpJobRequest- where- parseJSON- = withObject "GooglePrivacyDlpV2CancelDlpJobRequest"- (\ o -> pure GooglePrivacyDlpV2CancelDlpJobRequest')--instance ToJSON GooglePrivacyDlpV2CancelDlpJobRequest- where- toJSON = const emptyObject---- | Location of a finding within a row or record.------ /See:/ 'googlePrivacyDlpV2RecordLocation' smart constructor.-data GooglePrivacyDlpV2RecordLocation =- GooglePrivacyDlpV2RecordLocation'- { _gpdvrlTableLocation :: !(Maybe GooglePrivacyDlpV2TableLocation)- , _gpdvrlFieldId :: !(Maybe GooglePrivacyDlpV2FieldId)- , _gpdvrlRecordKey :: !(Maybe GooglePrivacyDlpV2RecordKey)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2RecordLocation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvrlTableLocation'------ * 'gpdvrlFieldId'------ * 'gpdvrlRecordKey'-googlePrivacyDlpV2RecordLocation- :: GooglePrivacyDlpV2RecordLocation-googlePrivacyDlpV2RecordLocation =- GooglePrivacyDlpV2RecordLocation'- { _gpdvrlTableLocation = Nothing- , _gpdvrlFieldId = Nothing- , _gpdvrlRecordKey = Nothing- }----- | Location within a \`ContentItem.Table\`.-gpdvrlTableLocation :: Lens' GooglePrivacyDlpV2RecordLocation (Maybe GooglePrivacyDlpV2TableLocation)-gpdvrlTableLocation- = lens _gpdvrlTableLocation- (\ s a -> s{_gpdvrlTableLocation = a})---- | Field id of the field containing the finding.-gpdvrlFieldId :: Lens' GooglePrivacyDlpV2RecordLocation (Maybe GooglePrivacyDlpV2FieldId)-gpdvrlFieldId- = lens _gpdvrlFieldId- (\ s a -> s{_gpdvrlFieldId = a})---- | Key of the finding.-gpdvrlRecordKey :: Lens' GooglePrivacyDlpV2RecordLocation (Maybe GooglePrivacyDlpV2RecordKey)-gpdvrlRecordKey- = lens _gpdvrlRecordKey- (\ s a -> s{_gpdvrlRecordKey = a})--instance FromJSON GooglePrivacyDlpV2RecordLocation- where- parseJSON- = withObject "GooglePrivacyDlpV2RecordLocation"- (\ o ->- GooglePrivacyDlpV2RecordLocation' <$>- (o .:? "tableLocation") <*> (o .:? "fieldId") <*>- (o .:? "recordKey"))--instance ToJSON GooglePrivacyDlpV2RecordLocation- where- toJSON GooglePrivacyDlpV2RecordLocation'{..}- = object- (catMaybes- [("tableLocation" .=) <$> _gpdvrlTableLocation,- ("fieldId" .=) <$> _gpdvrlFieldId,- ("recordKey" .=) <$> _gpdvrlRecordKey])---- | Details information about an error encountered during job execution or--- the results of an unsuccessful activation of the JobTrigger. Output only--- field.------ /See:/ 'googlePrivacyDlpV2Error' smart constructor.-data GooglePrivacyDlpV2Error =- GooglePrivacyDlpV2Error'- { _gpdveDetails :: !(Maybe GoogleRpcStatus)- , _gpdveTimestamps :: !(Maybe [DateTime'])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Error' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdveDetails'------ * 'gpdveTimestamps'-googlePrivacyDlpV2Error- :: GooglePrivacyDlpV2Error-googlePrivacyDlpV2Error =- GooglePrivacyDlpV2Error' {_gpdveDetails = Nothing, _gpdveTimestamps = Nothing}---gpdveDetails :: Lens' GooglePrivacyDlpV2Error (Maybe GoogleRpcStatus)-gpdveDetails- = lens _gpdveDetails (\ s a -> s{_gpdveDetails = a})---- | The times the error occurred.-gpdveTimestamps :: Lens' GooglePrivacyDlpV2Error [UTCTime]-gpdveTimestamps- = lens _gpdveTimestamps- (\ s a -> s{_gpdveTimestamps = a})- . _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2Error where- parseJSON- = withObject "GooglePrivacyDlpV2Error"- (\ o ->- GooglePrivacyDlpV2Error' <$>- (o .:? "details") <*>- (o .:? "timestamps" .!= mempty))--instance ToJSON GooglePrivacyDlpV2Error where- toJSON GooglePrivacyDlpV2Error'{..}- = object- (catMaybes- [("details" .=) <$> _gpdveDetails,- ("timestamps" .=) <$> _gpdveTimestamps])---- | StoredInfoType resource message that contains information about the--- current version and any pending updates.------ /See:/ 'googlePrivacyDlpV2StoredInfoType' smart constructor.-data GooglePrivacyDlpV2StoredInfoType =- GooglePrivacyDlpV2StoredInfoType'- { _gpdvsitCurrentVersion :: !(Maybe GooglePrivacyDlpV2StoredInfoTypeVersion)- , _gpdvsitName :: !(Maybe Text)- , _gpdvsitPendingVersions :: !(Maybe [GooglePrivacyDlpV2StoredInfoTypeVersion])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2StoredInfoType' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvsitCurrentVersion'------ * 'gpdvsitName'------ * 'gpdvsitPendingVersions'-googlePrivacyDlpV2StoredInfoType- :: GooglePrivacyDlpV2StoredInfoType-googlePrivacyDlpV2StoredInfoType =- GooglePrivacyDlpV2StoredInfoType'- { _gpdvsitCurrentVersion = Nothing- , _gpdvsitName = Nothing- , _gpdvsitPendingVersions = Nothing- }----- | Current version of the stored info type.-gpdvsitCurrentVersion :: Lens' GooglePrivacyDlpV2StoredInfoType (Maybe GooglePrivacyDlpV2StoredInfoTypeVersion)-gpdvsitCurrentVersion- = lens _gpdvsitCurrentVersion- (\ s a -> s{_gpdvsitCurrentVersion = a})---- | Resource name.-gpdvsitName :: Lens' GooglePrivacyDlpV2StoredInfoType (Maybe Text)-gpdvsitName- = lens _gpdvsitName (\ s a -> s{_gpdvsitName = a})---- | Pending versions of the stored info type. Empty if no versions are--- pending.-gpdvsitPendingVersions :: Lens' GooglePrivacyDlpV2StoredInfoType [GooglePrivacyDlpV2StoredInfoTypeVersion]-gpdvsitPendingVersions- = lens _gpdvsitPendingVersions- (\ s a -> s{_gpdvsitPendingVersions = a})- . _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2StoredInfoType- where- parseJSON- = withObject "GooglePrivacyDlpV2StoredInfoType"- (\ o ->- GooglePrivacyDlpV2StoredInfoType' <$>- (o .:? "currentVersion") <*> (o .:? "name") <*>- (o .:? "pendingVersions" .!= mempty))--instance ToJSON GooglePrivacyDlpV2StoredInfoType- where- toJSON GooglePrivacyDlpV2StoredInfoType'{..}- = object- (catMaybes- [("currentVersion" .=) <$> _gpdvsitCurrentVersion,- ("name" .=) <$> _gpdvsitName,- ("pendingVersions" .=) <$> _gpdvsitPendingVersions])---- | Pseudonymization method that generates deterministic encryption for the--- given input. Outputs a base64 encoded representation of the encrypted--- output. Uses AES-SIV based on the RFC--- https:\/\/tools.ietf.org\/html\/rfc5297.------ /See:/ 'googlePrivacyDlpV2CryptoDeterministicConfig' smart constructor.-data GooglePrivacyDlpV2CryptoDeterministicConfig =- GooglePrivacyDlpV2CryptoDeterministicConfig'- { _gpdvcdcContext :: !(Maybe GooglePrivacyDlpV2FieldId)- , _gpdvcdcSurrogateInfoType :: !(Maybe GooglePrivacyDlpV2InfoType)- , _gpdvcdcCryptoKey :: !(Maybe GooglePrivacyDlpV2CryptoKey)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CryptoDeterministicConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcdcContext'------ * 'gpdvcdcSurrogateInfoType'------ * 'gpdvcdcCryptoKey'-googlePrivacyDlpV2CryptoDeterministicConfig- :: GooglePrivacyDlpV2CryptoDeterministicConfig-googlePrivacyDlpV2CryptoDeterministicConfig =- GooglePrivacyDlpV2CryptoDeterministicConfig'- { _gpdvcdcContext = Nothing- , _gpdvcdcSurrogateInfoType = Nothing- , _gpdvcdcCryptoKey = Nothing- }----- | Optional. A context may be used for higher security and maintaining--- referential integrity such that the same identifier in two different--- contexts will be given a distinct surrogate. The context is appended to--- plaintext value being encrypted. On decryption the provided context is--- validated against the value used during encryption. If a context was--- provided during encryption, same context must be provided during--- decryption as well. If the context is not set, plaintext would be used--- as is for encryption. If the context is set but: 1. there is no record--- present when transforming a given value or 2. the field is not present--- when transforming a given value, plaintext would be used as is for--- encryption. Note that case (1) is expected when an--- \`InfoTypeTransformation\` is applied to both structured and--- non-structured \`ContentItem\`s.-gpdvcdcContext :: Lens' GooglePrivacyDlpV2CryptoDeterministicConfig (Maybe GooglePrivacyDlpV2FieldId)-gpdvcdcContext- = lens _gpdvcdcContext- (\ s a -> s{_gpdvcdcContext = a})---- | The custom info type to annotate the surrogate with. This annotation--- will be applied to the surrogate by prefixing it with the name of the--- custom info type followed by the number of characters comprising the--- surrogate. The following scheme defines the format: (): For example, if--- the name of custom info type is \'MY_TOKEN_INFO_TYPE\' and the surrogate--- is \'abc\', the full replacement value will be:--- \'MY_TOKEN_INFO_TYPE(3):abc\' This annotation identifies the surrogate--- when inspecting content using the custom info type \'Surrogate\'. This--- facilitates reversal of the surrogate when it occurs in free text. In--- order for inspection to work properly, the name of this info type must--- not occur naturally anywhere in your data; otherwise, inspection may--- either - reverse a surrogate that does not correspond to an actual--- identifier - be unable to parse the surrogate and result in an error--- Therefore, choose your custom info type name carefully after considering--- what your data looks like. One way to select a name that has a high--- chance of yielding reliable detection is to include one or more unicode--- characters that are highly improbable to exist in your data. For--- example, assuming your data is entered from a regular ASCII keyboard,--- the symbol with the hex code point 29DD might be used like so:--- ⧝MY_TOKEN_TYPE-gpdvcdcSurrogateInfoType :: Lens' GooglePrivacyDlpV2CryptoDeterministicConfig (Maybe GooglePrivacyDlpV2InfoType)-gpdvcdcSurrogateInfoType- = lens _gpdvcdcSurrogateInfoType- (\ s a -> s{_gpdvcdcSurrogateInfoType = a})---- | The key used by the encryption function.-gpdvcdcCryptoKey :: Lens' GooglePrivacyDlpV2CryptoDeterministicConfig (Maybe GooglePrivacyDlpV2CryptoKey)-gpdvcdcCryptoKey- = lens _gpdvcdcCryptoKey- (\ s a -> s{_gpdvcdcCryptoKey = a})--instance FromJSON- GooglePrivacyDlpV2CryptoDeterministicConfig- where- parseJSON- = withObject- "GooglePrivacyDlpV2CryptoDeterministicConfig"- (\ o ->- GooglePrivacyDlpV2CryptoDeterministicConfig' <$>- (o .:? "context") <*> (o .:? "surrogateInfoType") <*>- (o .:? "cryptoKey"))--instance ToJSON- GooglePrivacyDlpV2CryptoDeterministicConfig- where- toJSON- GooglePrivacyDlpV2CryptoDeterministicConfig'{..}- = object- (catMaybes- [("context" .=) <$> _gpdvcdcContext,- ("surrogateInfoType" .=) <$>- _gpdvcdcSurrogateInfoType,- ("cryptoKey" .=) <$> _gpdvcdcCryptoKey])---- | An auxiliary table containing statistical information on the relative--- frequency of different quasi-identifiers values. It has one or several--- quasi-identifiers columns, and one column that indicates the relative--- frequency of each quasi-identifier tuple. If a tuple is present in the--- data but not in the auxiliary table, the corresponding relative--- frequency is assumed to be zero (and thus, the tuple is highly--- reidentifiable).------ /See:/ 'googlePrivacyDlpV2StatisticalTable' smart constructor.-data GooglePrivacyDlpV2StatisticalTable =- GooglePrivacyDlpV2StatisticalTable'- { _gpdvstRelativeFrequency :: !(Maybe GooglePrivacyDlpV2FieldId)- , _gpdvstTable :: !(Maybe GooglePrivacyDlpV2BigQueryTable)- , _gpdvstQuasiIds :: !(Maybe [GooglePrivacyDlpV2QuasiIdentifierField])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2StatisticalTable' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvstRelativeFrequency'------ * 'gpdvstTable'------ * 'gpdvstQuasiIds'-googlePrivacyDlpV2StatisticalTable- :: GooglePrivacyDlpV2StatisticalTable-googlePrivacyDlpV2StatisticalTable =- GooglePrivacyDlpV2StatisticalTable'- { _gpdvstRelativeFrequency = Nothing- , _gpdvstTable = Nothing- , _gpdvstQuasiIds = Nothing- }----- | The relative frequency column must contain a floating-point number--- between 0 and 1 (inclusive). Null values are assumed to be zero.--- [required]-gpdvstRelativeFrequency :: Lens' GooglePrivacyDlpV2StatisticalTable (Maybe GooglePrivacyDlpV2FieldId)-gpdvstRelativeFrequency- = lens _gpdvstRelativeFrequency- (\ s a -> s{_gpdvstRelativeFrequency = a})---- | Auxiliary table location. [required]-gpdvstTable :: Lens' GooglePrivacyDlpV2StatisticalTable (Maybe GooglePrivacyDlpV2BigQueryTable)-gpdvstTable- = lens _gpdvstTable (\ s a -> s{_gpdvstTable = a})---- | Quasi-identifier columns. [required]-gpdvstQuasiIds :: Lens' GooglePrivacyDlpV2StatisticalTable [GooglePrivacyDlpV2QuasiIdentifierField]-gpdvstQuasiIds- = lens _gpdvstQuasiIds- (\ s a -> s{_gpdvstQuasiIds = a})- . _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2StatisticalTable- where- parseJSON- = withObject "GooglePrivacyDlpV2StatisticalTable"- (\ o ->- GooglePrivacyDlpV2StatisticalTable' <$>- (o .:? "relativeFrequency") <*> (o .:? "table") <*>- (o .:? "quasiIds" .!= mempty))--instance ToJSON GooglePrivacyDlpV2StatisticalTable- where- toJSON GooglePrivacyDlpV2StatisticalTable'{..}- = object- (catMaybes- [("relativeFrequency" .=) <$>- _gpdvstRelativeFrequency,- ("table" .=) <$> _gpdvstTable,- ("quasiIds" .=) <$> _gpdvstQuasiIds])---- | The DeidentifyTemplates contains instructions on how to deidentify--- content. See https:\/\/cloud.google.com\/dlp\/docs\/concepts-templates--- to learn more.------ /See:/ 'googlePrivacyDlpV2DeidentifyTemplate' smart constructor.-data GooglePrivacyDlpV2DeidentifyTemplate =- GooglePrivacyDlpV2DeidentifyTemplate'- { _gpdvdtUpdateTime :: !(Maybe DateTime')- , _gpdvdtName :: !(Maybe Text)- , _gpdvdtDeidentifyConfig :: !(Maybe GooglePrivacyDlpV2DeidentifyConfig)- , _gpdvdtDisplayName :: !(Maybe Text)- , _gpdvdtDescription :: !(Maybe Text)- , _gpdvdtCreateTime :: !(Maybe DateTime')- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2DeidentifyTemplate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvdtUpdateTime'------ * 'gpdvdtName'------ * 'gpdvdtDeidentifyConfig'------ * 'gpdvdtDisplayName'------ * 'gpdvdtDescription'------ * 'gpdvdtCreateTime'-googlePrivacyDlpV2DeidentifyTemplate- :: GooglePrivacyDlpV2DeidentifyTemplate-googlePrivacyDlpV2DeidentifyTemplate =- GooglePrivacyDlpV2DeidentifyTemplate'- { _gpdvdtUpdateTime = Nothing- , _gpdvdtName = Nothing- , _gpdvdtDeidentifyConfig = Nothing- , _gpdvdtDisplayName = Nothing- , _gpdvdtDescription = Nothing- , _gpdvdtCreateTime = Nothing- }----- | The last update timestamp of a inspectTemplate, output only field.-gpdvdtUpdateTime :: Lens' GooglePrivacyDlpV2DeidentifyTemplate (Maybe UTCTime)-gpdvdtUpdateTime- = lens _gpdvdtUpdateTime- (\ s a -> s{_gpdvdtUpdateTime = a})- . mapping _DateTime---- | The template name. Output only. The template will have one of the--- following formats:--- \`projects\/PROJECT_ID\/deidentifyTemplates\/TEMPLATE_ID\` OR--- \`organizations\/ORGANIZATION_ID\/deidentifyTemplates\/TEMPLATE_ID\`-gpdvdtName :: Lens' GooglePrivacyDlpV2DeidentifyTemplate (Maybe Text)-gpdvdtName- = lens _gpdvdtName (\ s a -> s{_gpdvdtName = a})---- | \/\/\/\/\/\/\/\/\/\/\/\/\/ \/\/ The core content of the template \/\/--- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/-gpdvdtDeidentifyConfig :: Lens' GooglePrivacyDlpV2DeidentifyTemplate (Maybe GooglePrivacyDlpV2DeidentifyConfig)-gpdvdtDeidentifyConfig- = lens _gpdvdtDeidentifyConfig- (\ s a -> s{_gpdvdtDeidentifyConfig = a})---- | Display name (max 256 chars).-gpdvdtDisplayName :: Lens' GooglePrivacyDlpV2DeidentifyTemplate (Maybe Text)-gpdvdtDisplayName- = lens _gpdvdtDisplayName- (\ s a -> s{_gpdvdtDisplayName = a})---- | Short description (max 256 chars).-gpdvdtDescription :: Lens' GooglePrivacyDlpV2DeidentifyTemplate (Maybe Text)-gpdvdtDescription- = lens _gpdvdtDescription- (\ s a -> s{_gpdvdtDescription = a})---- | The creation timestamp of a inspectTemplate, output only field.-gpdvdtCreateTime :: Lens' GooglePrivacyDlpV2DeidentifyTemplate (Maybe UTCTime)-gpdvdtCreateTime- = lens _gpdvdtCreateTime- (\ s a -> s{_gpdvdtCreateTime = a})- . mapping _DateTime--instance FromJSON- GooglePrivacyDlpV2DeidentifyTemplate- where- parseJSON- = withObject "GooglePrivacyDlpV2DeidentifyTemplate"- (\ o ->- GooglePrivacyDlpV2DeidentifyTemplate' <$>- (o .:? "updateTime") <*> (o .:? "name") <*>- (o .:? "deidentifyConfig")- <*> (o .:? "displayName")- <*> (o .:? "description")- <*> (o .:? "createTime"))--instance ToJSON GooglePrivacyDlpV2DeidentifyTemplate- where- toJSON GooglePrivacyDlpV2DeidentifyTemplate'{..}- = object- (catMaybes- [("updateTime" .=) <$> _gpdvdtUpdateTime,- ("name" .=) <$> _gpdvdtName,- ("deidentifyConfig" .=) <$> _gpdvdtDeidentifyConfig,- ("displayName" .=) <$> _gpdvdtDisplayName,- ("description" .=) <$> _gpdvdtDescription,- ("createTime" .=) <$> _gpdvdtCreateTime])---- | Replace each input value with a given \`Value\`.------ /See:/ 'googlePrivacyDlpV2ReplaceValueConfig' smart constructor.-newtype GooglePrivacyDlpV2ReplaceValueConfig =- GooglePrivacyDlpV2ReplaceValueConfig'- { _gpdvrvcNewValue :: Maybe GooglePrivacyDlpV2Value- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ReplaceValueConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvrvcNewValue'-googlePrivacyDlpV2ReplaceValueConfig- :: GooglePrivacyDlpV2ReplaceValueConfig-googlePrivacyDlpV2ReplaceValueConfig =- GooglePrivacyDlpV2ReplaceValueConfig' {_gpdvrvcNewValue = Nothing}----- | Value to replace it with.-gpdvrvcNewValue :: Lens' GooglePrivacyDlpV2ReplaceValueConfig (Maybe GooglePrivacyDlpV2Value)-gpdvrvcNewValue- = lens _gpdvrvcNewValue- (\ s a -> s{_gpdvrvcNewValue = a})--instance FromJSON- GooglePrivacyDlpV2ReplaceValueConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2ReplaceValueConfig"- (\ o ->- GooglePrivacyDlpV2ReplaceValueConfig' <$>- (o .:? "newValue"))--instance ToJSON GooglePrivacyDlpV2ReplaceValueConfig- where- toJSON GooglePrivacyDlpV2ReplaceValueConfig'{..}- = object- (catMaybes [("newValue" .=) <$> _gpdvrvcNewValue])---- | Compute numerical stats over an individual column, including number of--- distinct values and value count distribution.------ /See:/ 'googlePrivacyDlpV2CategoricalStatsConfig' smart constructor.-newtype GooglePrivacyDlpV2CategoricalStatsConfig =- GooglePrivacyDlpV2CategoricalStatsConfig'- { _gpdvcscField :: Maybe GooglePrivacyDlpV2FieldId- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CategoricalStatsConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcscField'-googlePrivacyDlpV2CategoricalStatsConfig- :: GooglePrivacyDlpV2CategoricalStatsConfig-googlePrivacyDlpV2CategoricalStatsConfig =- GooglePrivacyDlpV2CategoricalStatsConfig' {_gpdvcscField = Nothing}----- | Field to compute categorical stats on. All column types are supported--- except for arrays and structs. However, it may be more informative to--- use NumericalStats when the field type is supported, depending on the--- data.-gpdvcscField :: Lens' GooglePrivacyDlpV2CategoricalStatsConfig (Maybe GooglePrivacyDlpV2FieldId)-gpdvcscField- = lens _gpdvcscField (\ s a -> s{_gpdvcscField = a})--instance FromJSON- GooglePrivacyDlpV2CategoricalStatsConfig- where- parseJSON- = withObject- "GooglePrivacyDlpV2CategoricalStatsConfig"- (\ o ->- GooglePrivacyDlpV2CategoricalStatsConfig' <$>- (o .:? "field"))--instance ToJSON- GooglePrivacyDlpV2CategoricalStatsConfig- where- toJSON GooglePrivacyDlpV2CategoricalStatsConfig'{..}- = object (catMaybes [("field" .=) <$> _gpdvcscField])---- | Compute numerical stats over an individual column, including min, max,--- and quantiles.------ /See:/ 'googlePrivacyDlpV2NumericalStatsConfig' smart constructor.-newtype GooglePrivacyDlpV2NumericalStatsConfig =- GooglePrivacyDlpV2NumericalStatsConfig'- { _gpdvnscField :: Maybe GooglePrivacyDlpV2FieldId- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2NumericalStatsConfig' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvnscField'-googlePrivacyDlpV2NumericalStatsConfig- :: GooglePrivacyDlpV2NumericalStatsConfig-googlePrivacyDlpV2NumericalStatsConfig =- GooglePrivacyDlpV2NumericalStatsConfig' {_gpdvnscField = Nothing}----- | Field to compute numerical stats on. Supported types are integer, float,--- date, datetime, timestamp, time.-gpdvnscField :: Lens' GooglePrivacyDlpV2NumericalStatsConfig (Maybe GooglePrivacyDlpV2FieldId)-gpdvnscField- = lens _gpdvnscField (\ s a -> s{_gpdvnscField = a})--instance FromJSON- GooglePrivacyDlpV2NumericalStatsConfig- where- parseJSON- = withObject "GooglePrivacyDlpV2NumericalStatsConfig"- (\ o ->- GooglePrivacyDlpV2NumericalStatsConfig' <$>- (o .:? "field"))--instance ToJSON- GooglePrivacyDlpV2NumericalStatsConfig- where- toJSON GooglePrivacyDlpV2NumericalStatsConfig'{..}- = object (catMaybes [("field" .=) <$> _gpdvnscField])---- | Response message for ListJobTriggers.------ /See:/ 'googlePrivacyDlpV2ListJobTriggersResponse' smart constructor.-data GooglePrivacyDlpV2ListJobTriggersResponse =- GooglePrivacyDlpV2ListJobTriggersResponse'- { _gpdvljtrNextPageToken :: !(Maybe Text)- , _gpdvljtrJobTriggers :: !(Maybe [GooglePrivacyDlpV2JobTrigger])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ListJobTriggersResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvljtrNextPageToken'------ * 'gpdvljtrJobTriggers'-googlePrivacyDlpV2ListJobTriggersResponse- :: GooglePrivacyDlpV2ListJobTriggersResponse-googlePrivacyDlpV2ListJobTriggersResponse =- GooglePrivacyDlpV2ListJobTriggersResponse'- {_gpdvljtrNextPageToken = Nothing, _gpdvljtrJobTriggers = Nothing}----- | If the next page is available then the next page token to be used in--- following ListJobTriggers request.-gpdvljtrNextPageToken :: Lens' GooglePrivacyDlpV2ListJobTriggersResponse (Maybe Text)-gpdvljtrNextPageToken- = lens _gpdvljtrNextPageToken- (\ s a -> s{_gpdvljtrNextPageToken = a})---- | List of triggeredJobs, up to page_size in ListJobTriggersRequest.-gpdvljtrJobTriggers :: Lens' GooglePrivacyDlpV2ListJobTriggersResponse [GooglePrivacyDlpV2JobTrigger]-gpdvljtrJobTriggers- = lens _gpdvljtrJobTriggers- (\ s a -> s{_gpdvljtrJobTriggers = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2ListJobTriggersResponse- where- parseJSON- = withObject- "GooglePrivacyDlpV2ListJobTriggersResponse"- (\ o ->- GooglePrivacyDlpV2ListJobTriggersResponse' <$>- (o .:? "nextPageToken") <*>- (o .:? "jobTriggers" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2ListJobTriggersResponse- where- toJSON GooglePrivacyDlpV2ListJobTriggersResponse'{..}- = object- (catMaybes- [("nextPageToken" .=) <$> _gpdvljtrNextPageToken,- ("jobTriggers" .=) <$> _gpdvljtrJobTriggers])---- | Message representing a single file or path in Cloud Storage.------ /See:/ 'googlePrivacyDlpV2CloudStoragePath' smart constructor.-newtype GooglePrivacyDlpV2CloudStoragePath =- GooglePrivacyDlpV2CloudStoragePath'- { _gpdvcspPath :: Maybe Text- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CloudStoragePath' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcspPath'-googlePrivacyDlpV2CloudStoragePath- :: GooglePrivacyDlpV2CloudStoragePath-googlePrivacyDlpV2CloudStoragePath =- GooglePrivacyDlpV2CloudStoragePath' {_gpdvcspPath = Nothing}----- | A url representing a file or path (no wildcards) in Cloud Storage.--- Example: gs:\/\/[BUCKET_NAME]\/dictionary.txt-gpdvcspPath :: Lens' GooglePrivacyDlpV2CloudStoragePath (Maybe Text)-gpdvcspPath- = lens _gpdvcspPath (\ s a -> s{_gpdvcspPath = a})--instance FromJSON GooglePrivacyDlpV2CloudStoragePath- where- parseJSON- = withObject "GooglePrivacyDlpV2CloudStoragePath"- (\ o ->- GooglePrivacyDlpV2CloudStoragePath' <$>- (o .:? "path"))--instance ToJSON GooglePrivacyDlpV2CloudStoragePath- where- toJSON GooglePrivacyDlpV2CloudStoragePath'{..}- = object (catMaybes [("path" .=) <$> _gpdvcspPath])---- | Specifies the location of the finding.------ /See:/ 'googlePrivacyDlpV2Location' smart constructor.-data GooglePrivacyDlpV2Location =- GooglePrivacyDlpV2Location'- { _gpdvlCodepointRange :: !(Maybe GooglePrivacyDlpV2Range)- , _gpdvlContentLocations :: !(Maybe [GooglePrivacyDlpV2ContentLocation])- , _gpdvlByteRange :: !(Maybe GooglePrivacyDlpV2Range)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Location' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvlCodepointRange'------ * 'gpdvlContentLocations'------ * 'gpdvlByteRange'-googlePrivacyDlpV2Location- :: GooglePrivacyDlpV2Location-googlePrivacyDlpV2Location =- GooglePrivacyDlpV2Location'- { _gpdvlCodepointRange = Nothing- , _gpdvlContentLocations = Nothing- , _gpdvlByteRange = Nothing- }----- | Unicode character offsets delimiting the finding. These are relative to--- the finding\'s containing element. Provided when the content is text.-gpdvlCodepointRange :: Lens' GooglePrivacyDlpV2Location (Maybe GooglePrivacyDlpV2Range)-gpdvlCodepointRange- = lens _gpdvlCodepointRange- (\ s a -> s{_gpdvlCodepointRange = a})---- | List of nested objects pointing to the precise location of the finding--- within the file or record.-gpdvlContentLocations :: Lens' GooglePrivacyDlpV2Location [GooglePrivacyDlpV2ContentLocation]-gpdvlContentLocations- = lens _gpdvlContentLocations- (\ s a -> s{_gpdvlContentLocations = a})- . _Default- . _Coerce---- | Zero-based byte offsets delimiting the finding. These are relative to--- the finding\'s containing element. Note that when the content is not--- textual, this references the UTF-8 encoded textual representation of the--- content. Omitted if content is an image.-gpdvlByteRange :: Lens' GooglePrivacyDlpV2Location (Maybe GooglePrivacyDlpV2Range)-gpdvlByteRange- = lens _gpdvlByteRange- (\ s a -> s{_gpdvlByteRange = a})--instance FromJSON GooglePrivacyDlpV2Location where- parseJSON- = withObject "GooglePrivacyDlpV2Location"- (\ o ->- GooglePrivacyDlpV2Location' <$>- (o .:? "codepointRange") <*>- (o .:? "contentLocations" .!= mempty)- <*> (o .:? "byteRange"))--instance ToJSON GooglePrivacyDlpV2Location where- toJSON GooglePrivacyDlpV2Location'{..}- = object- (catMaybes- [("codepointRange" .=) <$> _gpdvlCodepointRange,- ("contentLocations" .=) <$> _gpdvlContentLocations,- ("byteRange" .=) <$> _gpdvlByteRange])---- | Schedule for triggeredJobs.------ /See:/ 'googlePrivacyDlpV2Schedule' smart constructor.-newtype GooglePrivacyDlpV2Schedule =- GooglePrivacyDlpV2Schedule'- { _gpdvsRecurrencePeriodDuration :: Maybe GDuration- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2Schedule' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvsRecurrencePeriodDuration'-googlePrivacyDlpV2Schedule- :: GooglePrivacyDlpV2Schedule-googlePrivacyDlpV2Schedule =- GooglePrivacyDlpV2Schedule' {_gpdvsRecurrencePeriodDuration = Nothing}----- | With this option a job is started a regular periodic basis. For example:--- every day (86400 seconds). A scheduled start time will be skipped if the--- previous execution has not ended when its scheduled time occurs. This--- value must be set to a time duration greater than or equal to 1 day and--- can be no longer than 60 days.-gpdvsRecurrencePeriodDuration :: Lens' GooglePrivacyDlpV2Schedule (Maybe Scientific)-gpdvsRecurrencePeriodDuration- = lens _gpdvsRecurrencePeriodDuration- (\ s a -> s{_gpdvsRecurrencePeriodDuration = a})- . mapping _GDuration--instance FromJSON GooglePrivacyDlpV2Schedule where- parseJSON- = withObject "GooglePrivacyDlpV2Schedule"- (\ o ->- GooglePrivacyDlpV2Schedule' <$>- (o .:? "recurrencePeriodDuration"))--instance ToJSON GooglePrivacyDlpV2Schedule where- toJSON GooglePrivacyDlpV2Schedule'{..}- = object- (catMaybes- [("recurrencePeriodDuration" .=) <$>- _gpdvsRecurrencePeriodDuration])---- | Request message for CreateJobTrigger.------ /See:/ 'googlePrivacyDlpV2CreateJobTriggerRequest' smart constructor.-data GooglePrivacyDlpV2CreateJobTriggerRequest =- GooglePrivacyDlpV2CreateJobTriggerRequest'- { _gpdvcjtrTriggerId :: !(Maybe Text)- , _gpdvcjtrJobTrigger :: !(Maybe GooglePrivacyDlpV2JobTrigger)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2CreateJobTriggerRequest' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvcjtrTriggerId'------ * 'gpdvcjtrJobTrigger'-googlePrivacyDlpV2CreateJobTriggerRequest- :: GooglePrivacyDlpV2CreateJobTriggerRequest-googlePrivacyDlpV2CreateJobTriggerRequest =- GooglePrivacyDlpV2CreateJobTriggerRequest'- {_gpdvcjtrTriggerId = Nothing, _gpdvcjtrJobTrigger = Nothing}----- | The trigger id can contain uppercase and lowercase letters, numbers, and--- hyphens; that is, it must match the regular expression:--- \`[a-zA-Z\\\\d-_]+\`. The maximum length is 100 characters. Can be empty--- to allow the system to generate one.-gpdvcjtrTriggerId :: Lens' GooglePrivacyDlpV2CreateJobTriggerRequest (Maybe Text)-gpdvcjtrTriggerId- = lens _gpdvcjtrTriggerId- (\ s a -> s{_gpdvcjtrTriggerId = a})---- | The JobTrigger to create.-gpdvcjtrJobTrigger :: Lens' GooglePrivacyDlpV2CreateJobTriggerRequest (Maybe GooglePrivacyDlpV2JobTrigger)-gpdvcjtrJobTrigger- = lens _gpdvcjtrJobTrigger- (\ s a -> s{_gpdvcjtrJobTrigger = a})--instance FromJSON- GooglePrivacyDlpV2CreateJobTriggerRequest- where- parseJSON- = withObject- "GooglePrivacyDlpV2CreateJobTriggerRequest"- (\ o ->- GooglePrivacyDlpV2CreateJobTriggerRequest' <$>- (o .:? "triggerId") <*> (o .:? "jobTrigger"))--instance ToJSON- GooglePrivacyDlpV2CreateJobTriggerRequest- where- toJSON GooglePrivacyDlpV2CreateJobTriggerRequest'{..}- = object- (catMaybes- [("triggerId" .=) <$> _gpdvcjtrTriggerId,- ("jobTrigger" .=) <$> _gpdvcjtrJobTrigger])---- | Overview of the modifications that occurred.------ /See:/ 'googlePrivacyDlpV2TransformationOverview' smart constructor.-data GooglePrivacyDlpV2TransformationOverview =- GooglePrivacyDlpV2TransformationOverview'- { _gpdvtoTransformedBytes :: !(Maybe (Textual Int64))- , _gpdvtoTransformationSummaries :: !(Maybe [GooglePrivacyDlpV2TransformationSummary])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2TransformationOverview' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvtoTransformedBytes'------ * 'gpdvtoTransformationSummaries'-googlePrivacyDlpV2TransformationOverview- :: GooglePrivacyDlpV2TransformationOverview-googlePrivacyDlpV2TransformationOverview =- GooglePrivacyDlpV2TransformationOverview'- { _gpdvtoTransformedBytes = Nothing- , _gpdvtoTransformationSummaries = Nothing- }----- | Total size in bytes that were transformed in some way.-gpdvtoTransformedBytes :: Lens' GooglePrivacyDlpV2TransformationOverview (Maybe Int64)-gpdvtoTransformedBytes- = lens _gpdvtoTransformedBytes- (\ s a -> s{_gpdvtoTransformedBytes = a})- . mapping _Coerce---- | Transformations applied to the dataset.-gpdvtoTransformationSummaries :: Lens' GooglePrivacyDlpV2TransformationOverview [GooglePrivacyDlpV2TransformationSummary]-gpdvtoTransformationSummaries- = lens _gpdvtoTransformationSummaries- (\ s a -> s{_gpdvtoTransformationSummaries = a})- . _Default- . _Coerce--instance FromJSON- GooglePrivacyDlpV2TransformationOverview- where- parseJSON- = withObject- "GooglePrivacyDlpV2TransformationOverview"- (\ o ->- GooglePrivacyDlpV2TransformationOverview' <$>- (o .:? "transformedBytes") <*>- (o .:? "transformationSummaries" .!= mempty))--instance ToJSON- GooglePrivacyDlpV2TransformationOverview- where- toJSON GooglePrivacyDlpV2TransformationOverview'{..}- = object- (catMaybes- [("transformedBytes" .=) <$> _gpdvtoTransformedBytes,- ("transformationSummaries" .=) <$>- _gpdvtoTransformationSummaries])---- | Location of the finding within an image.------ /See:/ 'googlePrivacyDlpV2ImageLocation' smart constructor.-newtype GooglePrivacyDlpV2ImageLocation =- GooglePrivacyDlpV2ImageLocation'- { _gpdvilBoundingBoxes :: Maybe [GooglePrivacyDlpV2BoundingBox]- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2ImageLocation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvilBoundingBoxes'-googlePrivacyDlpV2ImageLocation- :: GooglePrivacyDlpV2ImageLocation-googlePrivacyDlpV2ImageLocation =- GooglePrivacyDlpV2ImageLocation' {_gpdvilBoundingBoxes = Nothing}----- | Bounding boxes locating the pixels within the image containing the--- finding.-gpdvilBoundingBoxes :: Lens' GooglePrivacyDlpV2ImageLocation [GooglePrivacyDlpV2BoundingBox]-gpdvilBoundingBoxes- = lens _gpdvilBoundingBoxes- (\ s a -> s{_gpdvilBoundingBoxes = a})- . _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2ImageLocation- where- parseJSON- = withObject "GooglePrivacyDlpV2ImageLocation"- (\ o ->- GooglePrivacyDlpV2ImageLocation' <$>- (o .:? "boundingBoxes" .!= mempty))--instance ToJSON GooglePrivacyDlpV2ImageLocation where- toJSON GooglePrivacyDlpV2ImageLocation'{..}- = object- (catMaybes- [("boundingBoxes" .=) <$> _gpdvilBoundingBoxes])---- | A representation of a Datastore kind.------ /See:/ 'googlePrivacyDlpV2KindExpression' smart constructor.-newtype GooglePrivacyDlpV2KindExpression =- GooglePrivacyDlpV2KindExpression'- { _gpdvkeName :: Maybe Text- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2KindExpression' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvkeName'-googlePrivacyDlpV2KindExpression- :: GooglePrivacyDlpV2KindExpression-googlePrivacyDlpV2KindExpression =- GooglePrivacyDlpV2KindExpression' {_gpdvkeName = Nothing}----- | The name of the kind.-gpdvkeName :: Lens' GooglePrivacyDlpV2KindExpression (Maybe Text)-gpdvkeName- = lens _gpdvkeName (\ s a -> s{_gpdvkeName = a})--instance FromJSON GooglePrivacyDlpV2KindExpression- where- parseJSON- = withObject "GooglePrivacyDlpV2KindExpression"- (\ o ->- GooglePrivacyDlpV2KindExpression' <$> (o .:? "name"))--instance ToJSON GooglePrivacyDlpV2KindExpression- where- toJSON GooglePrivacyDlpV2KindExpression'{..}- = object (catMaybes [("name" .=) <$> _gpdvkeName])---- | Privacy metric to compute for reidentification risk analysis.------ /See:/ 'googlePrivacyDlpV2PrivacyMetric' smart constructor.-data GooglePrivacyDlpV2PrivacyMetric =- GooglePrivacyDlpV2PrivacyMetric'- { _gpdvpmNumericalStatsConfig :: !(Maybe GooglePrivacyDlpV2NumericalStatsConfig)- , _gpdvpmCategoricalStatsConfig :: !(Maybe GooglePrivacyDlpV2CategoricalStatsConfig)- , _gpdvpmKMapEstimationConfig :: !(Maybe GooglePrivacyDlpV2KMapEstimationConfig)- , _gpdvpmKAnonymityConfig :: !(Maybe GooglePrivacyDlpV2KAnonymityConfig)- , _gpdvpmLDiversityConfig :: !(Maybe GooglePrivacyDlpV2LDiversityConfig)- , _gpdvpmDeltaPresenceEstimationConfig :: !(Maybe GooglePrivacyDlpV2DeltaPresenceEstimationConfig)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2PrivacyMetric' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvpmNumericalStatsConfig'------ * 'gpdvpmCategoricalStatsConfig'------ * 'gpdvpmKMapEstimationConfig'------ * 'gpdvpmKAnonymityConfig'------ * 'gpdvpmLDiversityConfig'------ * 'gpdvpmDeltaPresenceEstimationConfig'-googlePrivacyDlpV2PrivacyMetric- :: GooglePrivacyDlpV2PrivacyMetric-googlePrivacyDlpV2PrivacyMetric =- GooglePrivacyDlpV2PrivacyMetric'- { _gpdvpmNumericalStatsConfig = Nothing- , _gpdvpmCategoricalStatsConfig = Nothing- , _gpdvpmKMapEstimationConfig = Nothing- , _gpdvpmKAnonymityConfig = Nothing- , _gpdvpmLDiversityConfig = Nothing- , _gpdvpmDeltaPresenceEstimationConfig = Nothing- }---gpdvpmNumericalStatsConfig :: Lens' GooglePrivacyDlpV2PrivacyMetric (Maybe GooglePrivacyDlpV2NumericalStatsConfig)-gpdvpmNumericalStatsConfig- = lens _gpdvpmNumericalStatsConfig- (\ s a -> s{_gpdvpmNumericalStatsConfig = a})--gpdvpmCategoricalStatsConfig :: Lens' GooglePrivacyDlpV2PrivacyMetric (Maybe GooglePrivacyDlpV2CategoricalStatsConfig)-gpdvpmCategoricalStatsConfig- = lens _gpdvpmCategoricalStatsConfig- (\ s a -> s{_gpdvpmCategoricalStatsConfig = a})--gpdvpmKMapEstimationConfig :: Lens' GooglePrivacyDlpV2PrivacyMetric (Maybe GooglePrivacyDlpV2KMapEstimationConfig)-gpdvpmKMapEstimationConfig- = lens _gpdvpmKMapEstimationConfig- (\ s a -> s{_gpdvpmKMapEstimationConfig = a})--gpdvpmKAnonymityConfig :: Lens' GooglePrivacyDlpV2PrivacyMetric (Maybe GooglePrivacyDlpV2KAnonymityConfig)-gpdvpmKAnonymityConfig- = lens _gpdvpmKAnonymityConfig- (\ s a -> s{_gpdvpmKAnonymityConfig = a})--gpdvpmLDiversityConfig :: Lens' GooglePrivacyDlpV2PrivacyMetric (Maybe GooglePrivacyDlpV2LDiversityConfig)-gpdvpmLDiversityConfig- = lens _gpdvpmLDiversityConfig- (\ s a -> s{_gpdvpmLDiversityConfig = a})--gpdvpmDeltaPresenceEstimationConfig :: Lens' GooglePrivacyDlpV2PrivacyMetric (Maybe GooglePrivacyDlpV2DeltaPresenceEstimationConfig)-gpdvpmDeltaPresenceEstimationConfig- = lens _gpdvpmDeltaPresenceEstimationConfig- (\ s a ->- s{_gpdvpmDeltaPresenceEstimationConfig = a})--instance FromJSON GooglePrivacyDlpV2PrivacyMetric- where- parseJSON- = withObject "GooglePrivacyDlpV2PrivacyMetric"- (\ o ->- GooglePrivacyDlpV2PrivacyMetric' <$>- (o .:? "numericalStatsConfig") <*>- (o .:? "categoricalStatsConfig")- <*> (o .:? "kMapEstimationConfig")- <*> (o .:? "kAnonymityConfig")- <*> (o .:? "lDiversityConfig")- <*> (o .:? "deltaPresenceEstimationConfig"))--instance ToJSON GooglePrivacyDlpV2PrivacyMetric where- toJSON GooglePrivacyDlpV2PrivacyMetric'{..}- = object- (catMaybes- [("numericalStatsConfig" .=) <$>- _gpdvpmNumericalStatsConfig,- ("categoricalStatsConfig" .=) <$>- _gpdvpmCategoricalStatsConfig,- ("kMapEstimationConfig" .=) <$>- _gpdvpmKMapEstimationConfig,- ("kAnonymityConfig" .=) <$> _gpdvpmKAnonymityConfig,- ("lDiversityConfig" .=) <$> _gpdvpmLDiversityConfig,- ("deltaPresenceEstimationConfig" .=) <$>- _gpdvpmDeltaPresenceEstimationConfig])---- | Using raw keys is prone to security risks due to accidentally leaking--- the key. Choose another type of key if possible.------ /See:/ 'googlePrivacyDlpV2UnwrAppedCryptoKey' smart constructor.-newtype GooglePrivacyDlpV2UnwrAppedCryptoKey =- GooglePrivacyDlpV2UnwrAppedCryptoKey'- { _gpdvuackKey :: Maybe Bytes- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2UnwrAppedCryptoKey' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvuackKey'-googlePrivacyDlpV2UnwrAppedCryptoKey- :: GooglePrivacyDlpV2UnwrAppedCryptoKey-googlePrivacyDlpV2UnwrAppedCryptoKey =- GooglePrivacyDlpV2UnwrAppedCryptoKey' {_gpdvuackKey = Nothing}----- | A 128\/192\/256 bit key. [required]-gpdvuackKey :: Lens' GooglePrivacyDlpV2UnwrAppedCryptoKey (Maybe ByteString)-gpdvuackKey- = lens _gpdvuackKey (\ s a -> s{_gpdvuackKey = a}) .- mapping _Bytes--instance FromJSON- GooglePrivacyDlpV2UnwrAppedCryptoKey- where- parseJSON- = withObject "GooglePrivacyDlpV2UnwrAppedCryptoKey"- (\ o ->- GooglePrivacyDlpV2UnwrAppedCryptoKey' <$>- (o .:? "key"))--instance ToJSON GooglePrivacyDlpV2UnwrAppedCryptoKey- where- toJSON GooglePrivacyDlpV2UnwrAppedCryptoKey'{..}- = object (catMaybes [("key" .=) <$> _gpdvuackKey])---- | Rule set for modifying a set of infoTypes to alter behavior under--- certain circumstances, depending on the specific details of the rules--- within the set.------ /See:/ 'googlePrivacyDlpV2InspectionRuleSet' smart constructor.-data GooglePrivacyDlpV2InspectionRuleSet =- GooglePrivacyDlpV2InspectionRuleSet'- { _gpdvirsRules :: !(Maybe [GooglePrivacyDlpV2InspectionRule])- , _gpdvirsInfoTypes :: !(Maybe [GooglePrivacyDlpV2InfoType])- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2InspectionRuleSet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvirsRules'------ * 'gpdvirsInfoTypes'-googlePrivacyDlpV2InspectionRuleSet- :: GooglePrivacyDlpV2InspectionRuleSet-googlePrivacyDlpV2InspectionRuleSet =- GooglePrivacyDlpV2InspectionRuleSet'- {_gpdvirsRules = Nothing, _gpdvirsInfoTypes = Nothing}----- | Set of rules to be applied to infoTypes. The rules are applied in order.-gpdvirsRules :: Lens' GooglePrivacyDlpV2InspectionRuleSet [GooglePrivacyDlpV2InspectionRule]-gpdvirsRules- = lens _gpdvirsRules (\ s a -> s{_gpdvirsRules = a})- . _Default- . _Coerce---- | List of infoTypes this rule set is applied to.-gpdvirsInfoTypes :: Lens' GooglePrivacyDlpV2InspectionRuleSet [GooglePrivacyDlpV2InfoType]-gpdvirsInfoTypes- = lens _gpdvirsInfoTypes- (\ s a -> s{_gpdvirsInfoTypes = a})- . _Default- . _Coerce--instance FromJSON GooglePrivacyDlpV2InspectionRuleSet- where- parseJSON- = withObject "GooglePrivacyDlpV2InspectionRuleSet"- (\ o ->- GooglePrivacyDlpV2InspectionRuleSet' <$>- (o .:? "rules" .!= mempty) <*>- (o .:? "infoTypes" .!= mempty))--instance ToJSON GooglePrivacyDlpV2InspectionRuleSet- where- toJSON GooglePrivacyDlpV2InspectionRuleSet'{..}- = object- (catMaybes- [("rules" .=) <$> _gpdvirsRules,- ("infoTypes" .=) <$> _gpdvirsInfoTypes])---- | A column with a semantic tag attached.------ /See:/ 'googlePrivacyDlpV2QuasiId' smart constructor.-data GooglePrivacyDlpV2QuasiId =- GooglePrivacyDlpV2QuasiId'- { _gpdvqiField :: !(Maybe GooglePrivacyDlpV2FieldId)- , _gpdvqiInfoType :: !(Maybe GooglePrivacyDlpV2InfoType)- , _gpdvqiInferred :: !(Maybe GoogleProtobufEmpty)- , _gpdvqiCustomTag :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2QuasiId' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvqiField'------ * 'gpdvqiInfoType'------ * 'gpdvqiInferred'------ * 'gpdvqiCustomTag'-googlePrivacyDlpV2QuasiId- :: GooglePrivacyDlpV2QuasiId-googlePrivacyDlpV2QuasiId =- GooglePrivacyDlpV2QuasiId'- { _gpdvqiField = Nothing- , _gpdvqiInfoType = Nothing- , _gpdvqiInferred = Nothing- , _gpdvqiCustomTag = Nothing- }----- | Identifies the column. [required]-gpdvqiField :: Lens' GooglePrivacyDlpV2QuasiId (Maybe GooglePrivacyDlpV2FieldId)-gpdvqiField- = lens _gpdvqiField (\ s a -> s{_gpdvqiField = a})---- | A column can be tagged with a InfoType to use the relevant public--- dataset as a statistical model of population, if available. We currently--- support US ZIP codes, region codes, ages and genders. To--- programmatically obtain the list of supported InfoTypes, use--- ListInfoTypes with the supported_by=RISK_ANALYSIS filter.-gpdvqiInfoType :: Lens' GooglePrivacyDlpV2QuasiId (Maybe GooglePrivacyDlpV2InfoType)-gpdvqiInfoType- = lens _gpdvqiInfoType- (\ s a -> s{_gpdvqiInfoType = a})---- | If no semantic tag is indicated, we infer the statistical model from the--- distribution of values in the input data-gpdvqiInferred :: Lens' GooglePrivacyDlpV2QuasiId (Maybe GoogleProtobufEmpty)-gpdvqiInferred- = lens _gpdvqiInferred- (\ s a -> s{_gpdvqiInferred = a})---- | A column can be tagged with a custom tag. In this case, the user must--- indicate an auxiliary table that contains statistical information on the--- possible values of this column (below).-gpdvqiCustomTag :: Lens' GooglePrivacyDlpV2QuasiId (Maybe Text)-gpdvqiCustomTag- = lens _gpdvqiCustomTag- (\ s a -> s{_gpdvqiCustomTag = a})--instance FromJSON GooglePrivacyDlpV2QuasiId where- parseJSON- = withObject "GooglePrivacyDlpV2QuasiId"- (\ o ->- GooglePrivacyDlpV2QuasiId' <$>- (o .:? "field") <*> (o .:? "infoType") <*>- (o .:? "inferred")- <*> (o .:? "customTag"))--instance ToJSON GooglePrivacyDlpV2QuasiId where- toJSON GooglePrivacyDlpV2QuasiId'{..}- = object- (catMaybes- [("field" .=) <$> _gpdvqiField,- ("infoType" .=) <$> _gpdvqiInfoType,- ("inferred" .=) <$> _gpdvqiInferred,- ("customTag" .=) <$> _gpdvqiCustomTag])---- | Location of a finding within a document.------ /See:/ 'googlePrivacyDlpV2DocumentLocation' smart constructor.-newtype GooglePrivacyDlpV2DocumentLocation =- GooglePrivacyDlpV2DocumentLocation'- { _gpdvdlFileOffSet :: Maybe (Textual Int64)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'GooglePrivacyDlpV2DocumentLocation' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'gpdvdlFileOffSet'-googlePrivacyDlpV2DocumentLocation- :: GooglePrivacyDlpV2DocumentLocation-googlePrivacyDlpV2DocumentLocation =- GooglePrivacyDlpV2DocumentLocation' {_gpdvdlFileOffSet = Nothing}----- | Offset of the line, from the beginning of the file, where the finding is--- located.-gpdvdlFileOffSet :: Lens' GooglePrivacyDlpV2DocumentLocation (Maybe Int64)-gpdvdlFileOffSet- = lens _gpdvdlFileOffSet- (\ s a -> s{_gpdvdlFileOffSet = a})- . mapping _Coerce--instance FromJSON GooglePrivacyDlpV2DocumentLocation- where- parseJSON- = withObject "GooglePrivacyDlpV2DocumentLocation"- (\ o ->- GooglePrivacyDlpV2DocumentLocation' <$>- (o .:? "fileOffset"))--instance ToJSON GooglePrivacyDlpV2DocumentLocation- where- toJSON GooglePrivacyDlpV2DocumentLocation'{..}- = object- (catMaybes [("fileOffset" .=) <$> _gpdvdlFileOffSet])
− gen/Network/Google/DLP/Types/Sum.hs
@@ -1,1024 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE LambdaCase #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.DLP.Types.Sum--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.Google.DLP.Types.Sum where--import Network.Google.Prelude hiding (Bytes)---- | Likelihood to return for this CustomInfoType. This base value can be--- altered by a detection rule if the finding meets the criteria specified--- by the rule. Defaults to \`VERY_LIKELY\` if not specified.-data GooglePrivacyDlpV2CustomInfoTypeLikelihood- = LikelihoodUnspecified- -- ^ @LIKELIHOOD_UNSPECIFIED@- -- Default value; same as POSSIBLE.- | VeryUnlikely- -- ^ @VERY_UNLIKELY@- -- Few matching elements.- | Unlikely- -- ^ @UNLIKELY@- | Possible- -- ^ @POSSIBLE@- -- Some matching elements.- | Likely- -- ^ @LIKELY@- | VeryLikely- -- ^ @VERY_LIKELY@- -- Many matching elements.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2CustomInfoTypeLikelihood--instance FromHttpApiData GooglePrivacyDlpV2CustomInfoTypeLikelihood where- parseQueryParam = \case- "LIKELIHOOD_UNSPECIFIED" -> Right LikelihoodUnspecified- "VERY_UNLIKELY" -> Right VeryUnlikely- "UNLIKELY" -> Right Unlikely- "POSSIBLE" -> Right Possible- "LIKELY" -> Right Likely- "VERY_LIKELY" -> Right VeryLikely- x -> Left ("Unable to parse GooglePrivacyDlpV2CustomInfoTypeLikelihood from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2CustomInfoTypeLikelihood where- toQueryParam = \case- LikelihoodUnspecified -> "LIKELIHOOD_UNSPECIFIED"- VeryUnlikely -> "VERY_UNLIKELY"- Unlikely -> "UNLIKELY"- Possible -> "POSSIBLE"- Likely -> "LIKELY"- VeryLikely -> "VERY_LIKELY"--instance FromJSON GooglePrivacyDlpV2CustomInfoTypeLikelihood where- parseJSON = parseJSONText "GooglePrivacyDlpV2CustomInfoTypeLikelihood"--instance ToJSON GooglePrivacyDlpV2CustomInfoTypeLikelihood where- toJSON = toJSONText---- | Confidence of how likely it is that the \`info_type\` is correct.-data GooglePrivacyDlpV2FindingLikelihood- = GPDVFLLikelihoodUnspecified- -- ^ @LIKELIHOOD_UNSPECIFIED@- -- Default value; same as POSSIBLE.- | GPDVFLVeryUnlikely- -- ^ @VERY_UNLIKELY@- -- Few matching elements.- | GPDVFLUnlikely- -- ^ @UNLIKELY@- | GPDVFLPossible- -- ^ @POSSIBLE@- -- Some matching elements.- | GPDVFLLikely- -- ^ @LIKELY@- | GPDVFLVeryLikely- -- ^ @VERY_LIKELY@- -- Many matching elements.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2FindingLikelihood--instance FromHttpApiData GooglePrivacyDlpV2FindingLikelihood where- parseQueryParam = \case- "LIKELIHOOD_UNSPECIFIED" -> Right GPDVFLLikelihoodUnspecified- "VERY_UNLIKELY" -> Right GPDVFLVeryUnlikely- "UNLIKELY" -> Right GPDVFLUnlikely- "POSSIBLE" -> Right GPDVFLPossible- "LIKELY" -> Right GPDVFLLikely- "VERY_LIKELY" -> Right GPDVFLVeryLikely- x -> Left ("Unable to parse GooglePrivacyDlpV2FindingLikelihood from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2FindingLikelihood where- toQueryParam = \case- GPDVFLLikelihoodUnspecified -> "LIKELIHOOD_UNSPECIFIED"- GPDVFLVeryUnlikely -> "VERY_UNLIKELY"- GPDVFLUnlikely -> "UNLIKELY"- GPDVFLPossible -> "POSSIBLE"- GPDVFLLikely -> "LIKELY"- GPDVFLVeryLikely -> "VERY_LIKELY"--instance FromJSON GooglePrivacyDlpV2FindingLikelihood where- parseJSON = parseJSONText "GooglePrivacyDlpV2FindingLikelihood"--instance ToJSON GooglePrivacyDlpV2FindingLikelihood where- toJSON = toJSONText---- | If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding--- to be returned. It still can be used for rules matching.-data GooglePrivacyDlpV2CustomInfoTypeExclusionType- = ExclusionTypeUnspecified- -- ^ @EXCLUSION_TYPE_UNSPECIFIED@- -- A finding of this custom info type will not be excluded from results.- | ExclusionTypeExclude- -- ^ @EXCLUSION_TYPE_EXCLUDE@- -- A finding of this custom info type will be excluded from final results,- -- but can still affect rule execution.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2CustomInfoTypeExclusionType--instance FromHttpApiData GooglePrivacyDlpV2CustomInfoTypeExclusionType where- parseQueryParam = \case- "EXCLUSION_TYPE_UNSPECIFIED" -> Right ExclusionTypeUnspecified- "EXCLUSION_TYPE_EXCLUDE" -> Right ExclusionTypeExclude- x -> Left ("Unable to parse GooglePrivacyDlpV2CustomInfoTypeExclusionType from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2CustomInfoTypeExclusionType where- toQueryParam = \case- ExclusionTypeUnspecified -> "EXCLUSION_TYPE_UNSPECIFIED"- ExclusionTypeExclude -> "EXCLUSION_TYPE_EXCLUDE"--instance FromJSON GooglePrivacyDlpV2CustomInfoTypeExclusionType where- parseJSON = parseJSONText "GooglePrivacyDlpV2CustomInfoTypeExclusionType"--instance ToJSON GooglePrivacyDlpV2CustomInfoTypeExclusionType where- toJSON = toJSONText---- | Set the likelihood of a finding to a fixed value.-data GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood- = GPDVLAFLLikelihoodUnspecified- -- ^ @LIKELIHOOD_UNSPECIFIED@- -- Default value; same as POSSIBLE.- | GPDVLAFLVeryUnlikely- -- ^ @VERY_UNLIKELY@- -- Few matching elements.- | GPDVLAFLUnlikely- -- ^ @UNLIKELY@- | GPDVLAFLPossible- -- ^ @POSSIBLE@- -- Some matching elements.- | GPDVLAFLLikely- -- ^ @LIKELY@- | GPDVLAFLVeryLikely- -- ^ @VERY_LIKELY@- -- Many matching elements.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood--instance FromHttpApiData GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood where- parseQueryParam = \case- "LIKELIHOOD_UNSPECIFIED" -> Right GPDVLAFLLikelihoodUnspecified- "VERY_UNLIKELY" -> Right GPDVLAFLVeryUnlikely- "UNLIKELY" -> Right GPDVLAFLUnlikely- "POSSIBLE" -> Right GPDVLAFLPossible- "LIKELY" -> Right GPDVLAFLLikely- "VERY_LIKELY" -> Right GPDVLAFLVeryLikely- x -> Left ("Unable to parse GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood where- toQueryParam = \case- GPDVLAFLLikelihoodUnspecified -> "LIKELIHOOD_UNSPECIFIED"- GPDVLAFLVeryUnlikely -> "VERY_UNLIKELY"- GPDVLAFLUnlikely -> "UNLIKELY"- GPDVLAFLPossible -> "POSSIBLE"- GPDVLAFLLikely -> "LIKELY"- GPDVLAFLVeryLikely -> "VERY_LIKELY"--instance FromJSON GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood where- parseJSON = parseJSONText "GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood"--instance ToJSON GooglePrivacyDlpV2LikelihoodAdjustmentFixedLikelihood where- toJSON = toJSONText--data GooglePrivacyDlpV2TimePartConfigPartToExtract- = TimePartUnspecified- -- ^ @TIME_PART_UNSPECIFIED@- | Year- -- ^ @YEAR@- -- [0-9999]- | Month- -- ^ @MONTH@- -- [1-12]- | DayOfMonth- -- ^ @DAY_OF_MONTH@- -- [1-31]- | DayOfWeek- -- ^ @DAY_OF_WEEK@- -- [1-7]- | WeekOfYear- -- ^ @WEEK_OF_YEAR@- -- [1-52]- | HourOfDay- -- ^ @HOUR_OF_DAY@- -- [0-23]- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2TimePartConfigPartToExtract--instance FromHttpApiData GooglePrivacyDlpV2TimePartConfigPartToExtract where- parseQueryParam = \case- "TIME_PART_UNSPECIFIED" -> Right TimePartUnspecified- "YEAR" -> Right Year- "MONTH" -> Right Month- "DAY_OF_MONTH" -> Right DayOfMonth- "DAY_OF_WEEK" -> Right DayOfWeek- "WEEK_OF_YEAR" -> Right WeekOfYear- "HOUR_OF_DAY" -> Right HourOfDay- x -> Left ("Unable to parse GooglePrivacyDlpV2TimePartConfigPartToExtract from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2TimePartConfigPartToExtract where- toQueryParam = \case- TimePartUnspecified -> "TIME_PART_UNSPECIFIED"- Year -> "YEAR"- Month -> "MONTH"- DayOfMonth -> "DAY_OF_MONTH"- DayOfWeek -> "DAY_OF_WEEK"- WeekOfYear -> "WEEK_OF_YEAR"- HourOfDay -> "HOUR_OF_DAY"--instance FromJSON GooglePrivacyDlpV2TimePartConfigPartToExtract where- parseJSON = parseJSONText "GooglePrivacyDlpV2TimePartConfigPartToExtract"--instance ToJSON GooglePrivacyDlpV2TimePartConfigPartToExtract where- toJSON = toJSONText---- | Operator used to compare the field or infoType to the value. [required]-data GooglePrivacyDlpV2ConditionOperator- = RelationalOperatorUnspecified- -- ^ @RELATIONAL_OPERATOR_UNSPECIFIED@- | EqualTo- -- ^ @EQUAL_TO@- -- Equal. Attempts to match even with incompatible types.- | NotEqualTo- -- ^ @NOT_EQUAL_TO@- -- Not equal to. Attempts to match even with incompatible types.- | GreaterThan- -- ^ @GREATER_THAN@- -- Greater than.- | LessThan- -- ^ @LESS_THAN@- -- Less than.- | GreaterThanOrEquals- -- ^ @GREATER_THAN_OR_EQUALS@- -- Greater than or equals.- | LessThanOrEquals- -- ^ @LESS_THAN_OR_EQUALS@- -- Less than or equals.- | Exists- -- ^ @EXISTS@- -- Exists- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2ConditionOperator--instance FromHttpApiData GooglePrivacyDlpV2ConditionOperator where- parseQueryParam = \case- "RELATIONAL_OPERATOR_UNSPECIFIED" -> Right RelationalOperatorUnspecified- "EQUAL_TO" -> Right EqualTo- "NOT_EQUAL_TO" -> Right NotEqualTo- "GREATER_THAN" -> Right GreaterThan- "LESS_THAN" -> Right LessThan- "GREATER_THAN_OR_EQUALS" -> Right GreaterThanOrEquals- "LESS_THAN_OR_EQUALS" -> Right LessThanOrEquals- "EXISTS" -> Right Exists- x -> Left ("Unable to parse GooglePrivacyDlpV2ConditionOperator from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2ConditionOperator where- toQueryParam = \case- RelationalOperatorUnspecified -> "RELATIONAL_OPERATOR_UNSPECIFIED"- EqualTo -> "EQUAL_TO"- NotEqualTo -> "NOT_EQUAL_TO"- GreaterThan -> "GREATER_THAN"- LessThan -> "LESS_THAN"- GreaterThanOrEquals -> "GREATER_THAN_OR_EQUALS"- LessThanOrEquals -> "LESS_THAN_OR_EQUALS"- Exists -> "EXISTS"--instance FromJSON GooglePrivacyDlpV2ConditionOperator where- parseJSON = parseJSONText "GooglePrivacyDlpV2ConditionOperator"--instance ToJSON GooglePrivacyDlpV2ConditionOperator where- toJSON = toJSONText--data GooglePrivacyDlpV2DateTimeDayOfWeek- = DayOfWeekUnspecified- -- ^ @DAY_OF_WEEK_UNSPECIFIED@- -- The unspecified day-of-week.- | Monday- -- ^ @MONDAY@- -- The day-of-week of Monday.- | Tuesday- -- ^ @TUESDAY@- -- The day-of-week of Tuesday.- | Wednesday- -- ^ @WEDNESDAY@- -- The day-of-week of Wednesday.- | Thursday- -- ^ @THURSDAY@- -- The day-of-week of Thursday.- | Friday- -- ^ @FRIDAY@- -- The day-of-week of Friday.- | Saturday- -- ^ @SATURDAY@- -- The day-of-week of Saturday.- | Sunday- -- ^ @SUNDAY@- -- The day-of-week of Sunday.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2DateTimeDayOfWeek--instance FromHttpApiData GooglePrivacyDlpV2DateTimeDayOfWeek where- parseQueryParam = \case- "DAY_OF_WEEK_UNSPECIFIED" -> Right DayOfWeekUnspecified- "MONDAY" -> Right Monday- "TUESDAY" -> Right Tuesday- "WEDNESDAY" -> Right Wednesday- "THURSDAY" -> Right Thursday- "FRIDAY" -> Right Friday- "SATURDAY" -> Right Saturday- "SUNDAY" -> Right Sunday- x -> Left ("Unable to parse GooglePrivacyDlpV2DateTimeDayOfWeek from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2DateTimeDayOfWeek where- toQueryParam = \case- DayOfWeekUnspecified -> "DAY_OF_WEEK_UNSPECIFIED"- Monday -> "MONDAY"- Tuesday -> "TUESDAY"- Wednesday -> "WEDNESDAY"- Thursday -> "THURSDAY"- Friday -> "FRIDAY"- Saturday -> "SATURDAY"- Sunday -> "SUNDAY"--instance FromJSON GooglePrivacyDlpV2DateTimeDayOfWeek where- parseJSON = parseJSONText "GooglePrivacyDlpV2DateTimeDayOfWeek"--instance ToJSON GooglePrivacyDlpV2DateTimeDayOfWeek where- toJSON = toJSONText---- | State of a job.-data GooglePrivacyDlpV2DlpJobState- = JobStateUnspecified- -- ^ @JOB_STATE_UNSPECIFIED@- | Pending- -- ^ @PENDING@- -- The job has not yet started.- | Running- -- ^ @RUNNING@- -- The job is currently running.- | Done- -- ^ @DONE@- -- The job is no longer running.- | Canceled- -- ^ @CANCELED@- -- The job was canceled before it could complete.- | Failed- -- ^ @FAILED@- -- The job had an error and did not complete.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2DlpJobState--instance FromHttpApiData GooglePrivacyDlpV2DlpJobState where- parseQueryParam = \case- "JOB_STATE_UNSPECIFIED" -> Right JobStateUnspecified- "PENDING" -> Right Pending- "RUNNING" -> Right Running- "DONE" -> Right Done- "CANCELED" -> Right Canceled- "FAILED" -> Right Failed- x -> Left ("Unable to parse GooglePrivacyDlpV2DlpJobState from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2DlpJobState where- toQueryParam = \case- JobStateUnspecified -> "JOB_STATE_UNSPECIFIED"- Pending -> "PENDING"- Running -> "RUNNING"- Done -> "DONE"- Canceled -> "CANCELED"- Failed -> "FAILED"--instance FromJSON GooglePrivacyDlpV2DlpJobState where- parseJSON = parseJSONText "GooglePrivacyDlpV2DlpJobState"--instance ToJSON GooglePrivacyDlpV2DlpJobState where- toJSON = toJSONText--data GooglePrivacyDlpV2SummaryResultCode- = TransformationResultCodeUnspecified- -- ^ @TRANSFORMATION_RESULT_CODE_UNSPECIFIED@- | Success- -- ^ @SUCCESS@- | Error'- -- ^ @ERROR@- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2SummaryResultCode--instance FromHttpApiData GooglePrivacyDlpV2SummaryResultCode where- parseQueryParam = \case- "TRANSFORMATION_RESULT_CODE_UNSPECIFIED" -> Right TransformationResultCodeUnspecified- "SUCCESS" -> Right Success- "ERROR" -> Right Error'- x -> Left ("Unable to parse GooglePrivacyDlpV2SummaryResultCode from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2SummaryResultCode where- toQueryParam = \case- TransformationResultCodeUnspecified -> "TRANSFORMATION_RESULT_CODE_UNSPECIFIED"- Success -> "SUCCESS"- Error' -> "ERROR"--instance FromJSON GooglePrivacyDlpV2SummaryResultCode where- parseJSON = parseJSONText "GooglePrivacyDlpV2SummaryResultCode"--instance ToJSON GooglePrivacyDlpV2SummaryResultCode where- toJSON = toJSONText---- | Schema used for writing the findings for Inspect jobs. This field is--- only used for Inspect and must be unspecified for Risk jobs. Columns are--- derived from the \`Finding\` object. If appending to an existing table,--- any columns from the predefined schema that are missing will be added.--- No columns in the existing table will be deleted. If unspecified, then--- all available columns will be used for a new table or an (existing)--- table with no schema, and no changes will be made to an existing table--- that has a schema.-data GooglePrivacyDlpV2OutputStorageConfigOutputSchema- = OutputSchemaUnspecified- -- ^ @OUTPUT_SCHEMA_UNSPECIFIED@- | BasicColumns- -- ^ @BASIC_COLUMNS@- -- Basic schema including only \`info_type\`, \`quote\`, \`certainty\`, and- -- \`timestamp\`.- | GcsColumns- -- ^ @GCS_COLUMNS@- -- Schema tailored to findings from scanning Google Cloud Storage.- | DatastoreColumns- -- ^ @DATASTORE_COLUMNS@- -- Schema tailored to findings from scanning Google Datastore.- | BigQueryColumns- -- ^ @BIG_QUERY_COLUMNS@- -- Schema tailored to findings from scanning Google BigQuery.- | AllColumns- -- ^ @ALL_COLUMNS@- -- Schema containing all columns.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2OutputStorageConfigOutputSchema--instance FromHttpApiData GooglePrivacyDlpV2OutputStorageConfigOutputSchema where- parseQueryParam = \case- "OUTPUT_SCHEMA_UNSPECIFIED" -> Right OutputSchemaUnspecified- "BASIC_COLUMNS" -> Right BasicColumns- "GCS_COLUMNS" -> Right GcsColumns- "DATASTORE_COLUMNS" -> Right DatastoreColumns- "BIG_QUERY_COLUMNS" -> Right BigQueryColumns- "ALL_COLUMNS" -> Right AllColumns- x -> Left ("Unable to parse GooglePrivacyDlpV2OutputStorageConfigOutputSchema from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2OutputStorageConfigOutputSchema where- toQueryParam = \case- OutputSchemaUnspecified -> "OUTPUT_SCHEMA_UNSPECIFIED"- BasicColumns -> "BASIC_COLUMNS"- GcsColumns -> "GCS_COLUMNS"- DatastoreColumns -> "DATASTORE_COLUMNS"- BigQueryColumns -> "BIG_QUERY_COLUMNS"- AllColumns -> "ALL_COLUMNS"--instance FromJSON GooglePrivacyDlpV2OutputStorageConfigOutputSchema where- parseJSON = parseJSONText "GooglePrivacyDlpV2OutputStorageConfigOutputSchema"--instance ToJSON GooglePrivacyDlpV2OutputStorageConfigOutputSchema where- toJSON = toJSONText--data GooglePrivacyDlpV2BigQueryOptionsSampleMethod- = SampleMethodUnspecified- -- ^ @SAMPLE_METHOD_UNSPECIFIED@- | Top- -- ^ @TOP@- -- Scan from the top (default).- | RandomStart- -- ^ @RANDOM_START@- -- Randomly pick the row to start scanning. The scanned rows are- -- contiguous.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2BigQueryOptionsSampleMethod--instance FromHttpApiData GooglePrivacyDlpV2BigQueryOptionsSampleMethod where- parseQueryParam = \case- "SAMPLE_METHOD_UNSPECIFIED" -> Right SampleMethodUnspecified- "TOP" -> Right Top- "RANDOM_START" -> Right RandomStart- x -> Left ("Unable to parse GooglePrivacyDlpV2BigQueryOptionsSampleMethod from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2BigQueryOptionsSampleMethod where- toQueryParam = \case- SampleMethodUnspecified -> "SAMPLE_METHOD_UNSPECIFIED"- Top -> "TOP"- RandomStart -> "RANDOM_START"--instance FromJSON GooglePrivacyDlpV2BigQueryOptionsSampleMethod where- parseJSON = parseJSONText "GooglePrivacyDlpV2BigQueryOptionsSampleMethod"--instance ToJSON GooglePrivacyDlpV2BigQueryOptionsSampleMethod where- toJSON = toJSONText---- | The type of job.-data GooglePrivacyDlpV2DlpJobType- = DlpJobTypeUnspecified- -- ^ @DLP_JOB_TYPE_UNSPECIFIED@- | InspectJob- -- ^ @INSPECT_JOB@- -- The job inspected Google Cloud for sensitive data.- | RiskAnalysisJob- -- ^ @RISK_ANALYSIS_JOB@- -- The job executed a Risk Analysis computation.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2DlpJobType--instance FromHttpApiData GooglePrivacyDlpV2DlpJobType where- parseQueryParam = \case- "DLP_JOB_TYPE_UNSPECIFIED" -> Right DlpJobTypeUnspecified- "INSPECT_JOB" -> Right InspectJob- "RISK_ANALYSIS_JOB" -> Right RiskAnalysisJob- x -> Left ("Unable to parse GooglePrivacyDlpV2DlpJobType from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2DlpJobType where- toQueryParam = \case- DlpJobTypeUnspecified -> "DLP_JOB_TYPE_UNSPECIFIED"- InspectJob -> "INSPECT_JOB"- RiskAnalysisJob -> "RISK_ANALYSIS_JOB"--instance FromJSON GooglePrivacyDlpV2DlpJobType where- parseJSON = parseJSONText "GooglePrivacyDlpV2DlpJobType"--instance ToJSON GooglePrivacyDlpV2DlpJobType where- toJSON = toJSONText---- | Only returns findings equal or above this threshold. The default is--- POSSIBLE. See https:\/\/cloud.google.com\/dlp\/docs\/likelihood to learn--- more.-data GooglePrivacyDlpV2InspectConfigMinLikelihood- = GPDVICMLLikelihoodUnspecified- -- ^ @LIKELIHOOD_UNSPECIFIED@- -- Default value; same as POSSIBLE.- | GPDVICMLVeryUnlikely- -- ^ @VERY_UNLIKELY@- -- Few matching elements.- | GPDVICMLUnlikely- -- ^ @UNLIKELY@- | GPDVICMLPossible- -- ^ @POSSIBLE@- -- Some matching elements.- | GPDVICMLLikely- -- ^ @LIKELY@- | GPDVICMLVeryLikely- -- ^ @VERY_LIKELY@- -- Many matching elements.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2InspectConfigMinLikelihood--instance FromHttpApiData GooglePrivacyDlpV2InspectConfigMinLikelihood where- parseQueryParam = \case- "LIKELIHOOD_UNSPECIFIED" -> Right GPDVICMLLikelihoodUnspecified- "VERY_UNLIKELY" -> Right GPDVICMLVeryUnlikely- "UNLIKELY" -> Right GPDVICMLUnlikely- "POSSIBLE" -> Right GPDVICMLPossible- "LIKELY" -> Right GPDVICMLLikely- "VERY_LIKELY" -> Right GPDVICMLVeryLikely- x -> Left ("Unable to parse GooglePrivacyDlpV2InspectConfigMinLikelihood from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2InspectConfigMinLikelihood where- toQueryParam = \case- GPDVICMLLikelihoodUnspecified -> "LIKELIHOOD_UNSPECIFIED"- GPDVICMLVeryUnlikely -> "VERY_UNLIKELY"- GPDVICMLUnlikely -> "UNLIKELY"- GPDVICMLPossible -> "POSSIBLE"- GPDVICMLLikely -> "LIKELY"- GPDVICMLVeryLikely -> "VERY_LIKELY"--instance FromJSON GooglePrivacyDlpV2InspectConfigMinLikelihood where- parseJSON = parseJSONText "GooglePrivacyDlpV2InspectConfigMinLikelihood"--instance ToJSON GooglePrivacyDlpV2InspectConfigMinLikelihood where- toJSON = toJSONText--data GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore- = CommonCharsToIgnoreUnspecified- -- ^ @COMMON_CHARS_TO_IGNORE_UNSPECIFIED@- | Numeric- -- ^ @NUMERIC@- -- 0-9- | AlphaUpperCase- -- ^ @ALPHA_UPPER_CASE@- -- A-Z- | AlphaLowerCase- -- ^ @ALPHA_LOWER_CASE@- -- a-z- | Punctuation- -- ^ @PUNCTUATION@- -- US Punctuation, one of !\"#$%&\'()*+,-.\/:;\<=>?\@[\\]^_\`{|}~- | Whitespace- -- ^ @WHITESPACE@- -- Whitespace character, one of [ \\t\\n\\x0B\\f\\r]- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore--instance FromHttpApiData GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore where- parseQueryParam = \case- "COMMON_CHARS_TO_IGNORE_UNSPECIFIED" -> Right CommonCharsToIgnoreUnspecified- "NUMERIC" -> Right Numeric- "ALPHA_UPPER_CASE" -> Right AlphaUpperCase- "ALPHA_LOWER_CASE" -> Right AlphaLowerCase- "PUNCTUATION" -> Right Punctuation- "WHITESPACE" -> Right Whitespace- x -> Left ("Unable to parse GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore where- toQueryParam = \case- CommonCharsToIgnoreUnspecified -> "COMMON_CHARS_TO_IGNORE_UNSPECIFIED"- Numeric -> "NUMERIC"- AlphaUpperCase -> "ALPHA_UPPER_CASE"- AlphaLowerCase -> "ALPHA_LOWER_CASE"- Punctuation -> "PUNCTUATION"- Whitespace -> "WHITESPACE"--instance FromJSON GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore where- parseJSON = parseJSONText "GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore"--instance ToJSON GooglePrivacyDlpV2CharsToIgnoreCommonCharactersToIgnore where- toJSON = toJSONText--data GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet- = GPDVCRFFCCAFfxCommonNATiveAlphabetUnspecified- -- ^ @FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED@- | GPDVCRFFCCANumeric- -- ^ @NUMERIC@- -- [0-9] (radix of 10)- | GPDVCRFFCCAHexadecimal- -- ^ @HEXADECIMAL@- -- [0-9A-F] (radix of 16)- | GPDVCRFFCCAUpperCaseAlphaNumeric- -- ^ @UPPER_CASE_ALPHA_NUMERIC@- -- [0-9A-Z] (radix of 36)- | GPDVCRFFCCAAlphaNumeric- -- ^ @ALPHA_NUMERIC@- -- [0-9A-Za-z] (radix of 62)- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet--instance FromHttpApiData GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet where- parseQueryParam = \case- "FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED" -> Right GPDVCRFFCCAFfxCommonNATiveAlphabetUnspecified- "NUMERIC" -> Right GPDVCRFFCCANumeric- "HEXADECIMAL" -> Right GPDVCRFFCCAHexadecimal- "UPPER_CASE_ALPHA_NUMERIC" -> Right GPDVCRFFCCAUpperCaseAlphaNumeric- "ALPHA_NUMERIC" -> Right GPDVCRFFCCAAlphaNumeric- x -> Left ("Unable to parse GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet where- toQueryParam = \case- GPDVCRFFCCAFfxCommonNATiveAlphabetUnspecified -> "FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED"- GPDVCRFFCCANumeric -> "NUMERIC"- GPDVCRFFCCAHexadecimal -> "HEXADECIMAL"- GPDVCRFFCCAUpperCaseAlphaNumeric -> "UPPER_CASE_ALPHA_NUMERIC"- GPDVCRFFCCAAlphaNumeric -> "ALPHA_NUMERIC"--instance FromJSON GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet where- parseJSON = parseJSONText "GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet"--instance ToJSON GooglePrivacyDlpV2CryptoReplaceFfxFpeConfigCommonAlphabet where- toJSON = toJSONText--data GooglePrivacyDlpV2CloudStorageOptionsSampleMethod- = GPDVCSOSMSampleMethodUnspecified- -- ^ @SAMPLE_METHOD_UNSPECIFIED@- | GPDVCSOSMTop- -- ^ @TOP@- -- Scan from the top (default).- | GPDVCSOSMRandomStart- -- ^ @RANDOM_START@- -- For each file larger than bytes_limit_per_file, randomly pick the offset- -- to start scanning. The scanned bytes are contiguous.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2CloudStorageOptionsSampleMethod--instance FromHttpApiData GooglePrivacyDlpV2CloudStorageOptionsSampleMethod where- parseQueryParam = \case- "SAMPLE_METHOD_UNSPECIFIED" -> Right GPDVCSOSMSampleMethodUnspecified- "TOP" -> Right GPDVCSOSMTop- "RANDOM_START" -> Right GPDVCSOSMRandomStart- x -> Left ("Unable to parse GooglePrivacyDlpV2CloudStorageOptionsSampleMethod from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2CloudStorageOptionsSampleMethod where- toQueryParam = \case- GPDVCSOSMSampleMethodUnspecified -> "SAMPLE_METHOD_UNSPECIFIED"- GPDVCSOSMTop -> "TOP"- GPDVCSOSMRandomStart -> "RANDOM_START"--instance FromJSON GooglePrivacyDlpV2CloudStorageOptionsSampleMethod where- parseJSON = parseJSONText "GooglePrivacyDlpV2CloudStorageOptionsSampleMethod"--instance ToJSON GooglePrivacyDlpV2CloudStorageOptionsSampleMethod where- toJSON = toJSONText---- | V1 error format.-data Xgafv- = X1- -- ^ @1@- -- v1 error format- | X2- -- ^ @2@- -- v2 error format- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable Xgafv--instance FromHttpApiData Xgafv where- parseQueryParam = \case- "1" -> Right X1- "2" -> Right X2- x -> Left ("Unable to parse Xgafv from: " <> x)--instance ToHttpApiData Xgafv where- toQueryParam = \case- X1 -> "1"- X2 -> "2"--instance FromJSON Xgafv where- parseJSON = parseJSONText "Xgafv"--instance ToJSON Xgafv where- toJSON = toJSONText---- | How the rule is applied, see MatchingType documentation for details.-data GooglePrivacyDlpV2ExclusionRuleMatchingType- = MatchingTypeUnspecified- -- ^ @MATCHING_TYPE_UNSPECIFIED@- -- Invalid.- | MatchingTypeFullMatch- -- ^ @MATCHING_TYPE_FULL_MATCH@- -- Full match. - Dictionary: join of Dictionary results matched complete- -- finding quote - Regex: all regex matches fill a finding quote start to- -- end - Exclude info type: completely inside affecting info types findings- | MatchingTypePartialMatch- -- ^ @MATCHING_TYPE_PARTIAL_MATCH@- -- Partial match. - Dictionary: at least one of the tokens in the finding- -- matches - Regex: substring of the finding matches - Exclude info type:- -- intersects with affecting info types findings- | MatchingTypeInverseMatch- -- ^ @MATCHING_TYPE_INVERSE_MATCH@- -- Inverse match. - Dictionary: no tokens in the finding match the- -- dictionary - Regex: finding doesn\'t match the regex - Exclude info- -- type: no intersection with affecting info types findings- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2ExclusionRuleMatchingType--instance FromHttpApiData GooglePrivacyDlpV2ExclusionRuleMatchingType where- parseQueryParam = \case- "MATCHING_TYPE_UNSPECIFIED" -> Right MatchingTypeUnspecified- "MATCHING_TYPE_FULL_MATCH" -> Right MatchingTypeFullMatch- "MATCHING_TYPE_PARTIAL_MATCH" -> Right MatchingTypePartialMatch- "MATCHING_TYPE_INVERSE_MATCH" -> Right MatchingTypeInverseMatch- x -> Left ("Unable to parse GooglePrivacyDlpV2ExclusionRuleMatchingType from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2ExclusionRuleMatchingType where- toQueryParam = \case- MatchingTypeUnspecified -> "MATCHING_TYPE_UNSPECIFIED"- MatchingTypeFullMatch -> "MATCHING_TYPE_FULL_MATCH"- MatchingTypePartialMatch -> "MATCHING_TYPE_PARTIAL_MATCH"- MatchingTypeInverseMatch -> "MATCHING_TYPE_INVERSE_MATCH"--instance FromJSON GooglePrivacyDlpV2ExclusionRuleMatchingType where- parseJSON = parseJSONText "GooglePrivacyDlpV2ExclusionRuleMatchingType"--instance ToJSON GooglePrivacyDlpV2ExclusionRuleMatchingType where- toJSON = toJSONText--data GooglePrivacyDlpV2ValueDayOfWeekValue- = GPDVVDOWVDayOfWeekUnspecified- -- ^ @DAY_OF_WEEK_UNSPECIFIED@- -- The unspecified day-of-week.- | GPDVVDOWVMonday- -- ^ @MONDAY@- -- The day-of-week of Monday.- | GPDVVDOWVTuesday- -- ^ @TUESDAY@- -- The day-of-week of Tuesday.- | GPDVVDOWVWednesday- -- ^ @WEDNESDAY@- -- The day-of-week of Wednesday.- | GPDVVDOWVThursday- -- ^ @THURSDAY@- -- The day-of-week of Thursday.- | GPDVVDOWVFriday- -- ^ @FRIDAY@- -- The day-of-week of Friday.- | GPDVVDOWVSaturday- -- ^ @SATURDAY@- -- The day-of-week of Saturday.- | GPDVVDOWVSunday- -- ^ @SUNDAY@- -- The day-of-week of Sunday.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2ValueDayOfWeekValue--instance FromHttpApiData GooglePrivacyDlpV2ValueDayOfWeekValue where- parseQueryParam = \case- "DAY_OF_WEEK_UNSPECIFIED" -> Right GPDVVDOWVDayOfWeekUnspecified- "MONDAY" -> Right GPDVVDOWVMonday- "TUESDAY" -> Right GPDVVDOWVTuesday- "WEDNESDAY" -> Right GPDVVDOWVWednesday- "THURSDAY" -> Right GPDVVDOWVThursday- "FRIDAY" -> Right GPDVVDOWVFriday- "SATURDAY" -> Right GPDVVDOWVSaturday- "SUNDAY" -> Right GPDVVDOWVSunday- x -> Left ("Unable to parse GooglePrivacyDlpV2ValueDayOfWeekValue from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2ValueDayOfWeekValue where- toQueryParam = \case- GPDVVDOWVDayOfWeekUnspecified -> "DAY_OF_WEEK_UNSPECIFIED"- GPDVVDOWVMonday -> "MONDAY"- GPDVVDOWVTuesday -> "TUESDAY"- GPDVVDOWVWednesday -> "WEDNESDAY"- GPDVVDOWVThursday -> "THURSDAY"- GPDVVDOWVFriday -> "FRIDAY"- GPDVVDOWVSaturday -> "SATURDAY"- GPDVVDOWVSunday -> "SUNDAY"--instance FromJSON GooglePrivacyDlpV2ValueDayOfWeekValue where- parseJSON = parseJSONText "GooglePrivacyDlpV2ValueDayOfWeekValue"--instance ToJSON GooglePrivacyDlpV2ValueDayOfWeekValue where- toJSON = toJSONText---- | The type of data stored in the bytes string. Default will be TEXT_UTF8.-data GooglePrivacyDlpV2ByteContentItemType- = BytesTypeUnspecified- -- ^ @BYTES_TYPE_UNSPECIFIED@- | Image- -- ^ @IMAGE@- | ImageJpeg- -- ^ @IMAGE_JPEG@- | ImageBmp- -- ^ @IMAGE_BMP@- | ImagePng- -- ^ @IMAGE_PNG@- | ImageSvg- -- ^ @IMAGE_SVG@- | TextUTF8- -- ^ @TEXT_UTF8@- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2ByteContentItemType--instance FromHttpApiData GooglePrivacyDlpV2ByteContentItemType where- parseQueryParam = \case- "BYTES_TYPE_UNSPECIFIED" -> Right BytesTypeUnspecified- "IMAGE" -> Right Image- "IMAGE_JPEG" -> Right ImageJpeg- "IMAGE_BMP" -> Right ImageBmp- "IMAGE_PNG" -> Right ImagePng- "IMAGE_SVG" -> Right ImageSvg- "TEXT_UTF8" -> Right TextUTF8- x -> Left ("Unable to parse GooglePrivacyDlpV2ByteContentItemType from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2ByteContentItemType where- toQueryParam = \case- BytesTypeUnspecified -> "BYTES_TYPE_UNSPECIFIED"- Image -> "IMAGE"- ImageJpeg -> "IMAGE_JPEG"- ImageBmp -> "IMAGE_BMP"- ImagePng -> "IMAGE_PNG"- ImageSvg -> "IMAGE_SVG"- TextUTF8 -> "TEXT_UTF8"--instance FromJSON GooglePrivacyDlpV2ByteContentItemType where- parseJSON = parseJSONText "GooglePrivacyDlpV2ByteContentItemType"--instance ToJSON GooglePrivacyDlpV2ByteContentItemType where- toJSON = toJSONText---- | A status for this trigger. [required]-data GooglePrivacyDlpV2JobTriggerStatus- = StatusUnspecified- -- ^ @STATUS_UNSPECIFIED@- | Healthy- -- ^ @HEALTHY@- -- Trigger is healthy.- | Paused- -- ^ @PAUSED@- -- Trigger is temporarily paused.- | Cancelled- -- ^ @CANCELLED@- -- Trigger is cancelled and can not be resumed.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2JobTriggerStatus--instance FromHttpApiData GooglePrivacyDlpV2JobTriggerStatus where- parseQueryParam = \case- "STATUS_UNSPECIFIED" -> Right StatusUnspecified- "HEALTHY" -> Right Healthy- "PAUSED" -> Right Paused- "CANCELLED" -> Right Cancelled- x -> Left ("Unable to parse GooglePrivacyDlpV2JobTriggerStatus from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2JobTriggerStatus where- toQueryParam = \case- StatusUnspecified -> "STATUS_UNSPECIFIED"- Healthy -> "HEALTHY"- Paused -> "PAUSED"- Cancelled -> "CANCELLED"--instance FromJSON GooglePrivacyDlpV2JobTriggerStatus where- parseJSON = parseJSONText "GooglePrivacyDlpV2JobTriggerStatus"--instance ToJSON GooglePrivacyDlpV2JobTriggerStatus where- toJSON = toJSONText---- | Stored info type version state. Read-only, updated by the system during--- dictionary creation.-data GooglePrivacyDlpV2StoredInfoTypeVersionState- = GPDVSITVSStoredInfoTypeStateUnspecified- -- ^ @STORED_INFO_TYPE_STATE_UNSPECIFIED@- | GPDVSITVSPending- -- ^ @PENDING@- -- StoredInfoType version is being created.- | GPDVSITVSReady- -- ^ @READY@- -- StoredInfoType version is ready for use.- | GPDVSITVSFailed- -- ^ @FAILED@- -- StoredInfoType creation failed. All relevant error messages are returned- -- in the \`StoredInfoTypeVersion\` message.- | GPDVSITVSInvalid- -- ^ @INVALID@- -- StoredInfoType is no longer valid because artifacts stored in- -- user-controlled storage were modified. To fix an invalid StoredInfoType,- -- use the \`UpdateStoredInfoType\` method to create a new version.- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2StoredInfoTypeVersionState--instance FromHttpApiData GooglePrivacyDlpV2StoredInfoTypeVersionState where- parseQueryParam = \case- "STORED_INFO_TYPE_STATE_UNSPECIFIED" -> Right GPDVSITVSStoredInfoTypeStateUnspecified- "PENDING" -> Right GPDVSITVSPending- "READY" -> Right GPDVSITVSReady- "FAILED" -> Right GPDVSITVSFailed- "INVALID" -> Right GPDVSITVSInvalid- x -> Left ("Unable to parse GooglePrivacyDlpV2StoredInfoTypeVersionState from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2StoredInfoTypeVersionState where- toQueryParam = \case- GPDVSITVSStoredInfoTypeStateUnspecified -> "STORED_INFO_TYPE_STATE_UNSPECIFIED"- GPDVSITVSPending -> "PENDING"- GPDVSITVSReady -> "READY"- GPDVSITVSFailed -> "FAILED"- GPDVSITVSInvalid -> "INVALID"--instance FromJSON GooglePrivacyDlpV2StoredInfoTypeVersionState where- parseJSON = parseJSONText "GooglePrivacyDlpV2StoredInfoTypeVersionState"--instance ToJSON GooglePrivacyDlpV2StoredInfoTypeVersionState where- toJSON = toJSONText---- | The operator to apply to the result of conditions. Default and currently--- only supported value is \`AND\`.-data GooglePrivacyDlpV2ExpressionsLogicalOperator- = LogicalOperatorUnspecified- -- ^ @LOGICAL_OPERATOR_UNSPECIFIED@- | And- -- ^ @AND@- deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)--instance Hashable GooglePrivacyDlpV2ExpressionsLogicalOperator--instance FromHttpApiData GooglePrivacyDlpV2ExpressionsLogicalOperator where- parseQueryParam = \case- "LOGICAL_OPERATOR_UNSPECIFIED" -> Right LogicalOperatorUnspecified- "AND" -> Right And- x -> Left ("Unable to parse GooglePrivacyDlpV2ExpressionsLogicalOperator from: " <> x)--instance ToHttpApiData GooglePrivacyDlpV2ExpressionsLogicalOperator where- toQueryParam = \case- LogicalOperatorUnspecified -> "LOGICAL_OPERATOR_UNSPECIFIED"- And -> "AND"--instance FromJSON GooglePrivacyDlpV2ExpressionsLogicalOperator where- parseJSON = parseJSONText "GooglePrivacyDlpV2ExpressionsLogicalOperator"--instance ToJSON GooglePrivacyDlpV2ExpressionsLogicalOperator where- toJSON = toJSONText
− gen/Network/Google/Resource/DLP/InfoTypes/List.hs
@@ -1,170 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.InfoTypes.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Returns a list of the sensitive information types that the DLP API--- supports. See https:\/\/cloud.google.com\/dlp\/docs\/infotypes-reference--- to learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.infoTypes.list@.-module Network.Google.Resource.DLP.InfoTypes.List- (- -- * REST Resource- InfoTypesListResource-- -- * Creating a Request- , infoTypesList- , InfoTypesList-- -- * Request Lenses- , itlXgafv- , itlLanguageCode- , itlUploadProtocol- , itlAccessToken- , itlUploadType- , itlFilter- , itlCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.infoTypes.list@ method which the--- 'InfoTypesList' request conforms to.-type InfoTypesListResource =- "v2" :>- "infoTypes" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "languageCode" Text :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "filter" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] GooglePrivacyDlpV2ListInfoTypesResponse---- | Returns a list of the sensitive information types that the DLP API--- supports. See https:\/\/cloud.google.com\/dlp\/docs\/infotypes-reference--- to learn more.------ /See:/ 'infoTypesList' smart constructor.-data InfoTypesList =- InfoTypesList'- { _itlXgafv :: !(Maybe Xgafv)- , _itlLanguageCode :: !(Maybe Text)- , _itlUploadProtocol :: !(Maybe Text)- , _itlAccessToken :: !(Maybe Text)- , _itlUploadType :: !(Maybe Text)- , _itlFilter :: !(Maybe Text)- , _itlCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'InfoTypesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'itlXgafv'------ * 'itlLanguageCode'------ * 'itlUploadProtocol'------ * 'itlAccessToken'------ * 'itlUploadType'------ * 'itlFilter'------ * 'itlCallback'-infoTypesList- :: InfoTypesList-infoTypesList =- InfoTypesList'- { _itlXgafv = Nothing- , _itlLanguageCode = Nothing- , _itlUploadProtocol = Nothing- , _itlAccessToken = Nothing- , _itlUploadType = Nothing- , _itlFilter = Nothing- , _itlCallback = Nothing- }----- | V1 error format.-itlXgafv :: Lens' InfoTypesList (Maybe Xgafv)-itlXgafv = lens _itlXgafv (\ s a -> s{_itlXgafv = a})---- | Optional BCP-47 language code for localized infoType friendly names. If--- omitted, or if localized strings are not available, en-US strings will--- be returned.-itlLanguageCode :: Lens' InfoTypesList (Maybe Text)-itlLanguageCode- = lens _itlLanguageCode- (\ s a -> s{_itlLanguageCode = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-itlUploadProtocol :: Lens' InfoTypesList (Maybe Text)-itlUploadProtocol- = lens _itlUploadProtocol- (\ s a -> s{_itlUploadProtocol = a})---- | OAuth access token.-itlAccessToken :: Lens' InfoTypesList (Maybe Text)-itlAccessToken- = lens _itlAccessToken- (\ s a -> s{_itlAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-itlUploadType :: Lens' InfoTypesList (Maybe Text)-itlUploadType- = lens _itlUploadType- (\ s a -> s{_itlUploadType = a})---- | Optional filter to only return infoTypes supported by certain parts of--- the API. Defaults to supported_by=INSPECT.-itlFilter :: Lens' InfoTypesList (Maybe Text)-itlFilter- = lens _itlFilter (\ s a -> s{_itlFilter = a})---- | JSONP-itlCallback :: Lens' InfoTypesList (Maybe Text)-itlCallback- = lens _itlCallback (\ s a -> s{_itlCallback = a})--instance GoogleRequest InfoTypesList where- type Rs InfoTypesList =- GooglePrivacyDlpV2ListInfoTypesResponse- type Scopes InfoTypesList =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient InfoTypesList'{..}- = go _itlXgafv _itlLanguageCode _itlUploadProtocol- _itlAccessToken- _itlUploadType- _itlFilter- _itlCallback- (Just AltJSON)- dLPService- where go- = buildClient (Proxy :: Proxy InfoTypesListResource)- mempty
− gen/Network/Google/Resource/DLP/Organizations/DeidentifyTemplates/Create.hs
@@ -1,178 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Create--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a DeidentifyTemplate for re-using frequently used configuration--- for de-identifying content, images, and storage. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.organizations.deidentifyTemplates.create@.-module Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Create- (- -- * REST Resource- OrganizationsDeidentifyTemplatesCreateResource-- -- * Creating a Request- , organizationsDeidentifyTemplatesCreate- , OrganizationsDeidentifyTemplatesCreate-- -- * Request Lenses- , odtcParent- , odtcXgafv- , odtcUploadProtocol- , odtcAccessToken- , odtcUploadType- , odtcPayload- , odtcCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.organizations.deidentifyTemplates.create@ method which the--- 'OrganizationsDeidentifyTemplatesCreate' request conforms to.-type OrganizationsDeidentifyTemplatesCreateResource =- "v2" :>- Capture "parent" Text :>- "deidentifyTemplates" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2CreateDeidentifyTemplateRequest- :> Post '[JSON] GooglePrivacyDlpV2DeidentifyTemplate---- | Creates a DeidentifyTemplate for re-using frequently used configuration--- for de-identifying content, images, and storage. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ 'organizationsDeidentifyTemplatesCreate' smart constructor.-data OrganizationsDeidentifyTemplatesCreate =- OrganizationsDeidentifyTemplatesCreate'- { _odtcParent :: !Text- , _odtcXgafv :: !(Maybe Xgafv)- , _odtcUploadProtocol :: !(Maybe Text)- , _odtcAccessToken :: !(Maybe Text)- , _odtcUploadType :: !(Maybe Text)- , _odtcPayload :: !GooglePrivacyDlpV2CreateDeidentifyTemplateRequest- , _odtcCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrganizationsDeidentifyTemplatesCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'odtcParent'------ * 'odtcXgafv'------ * 'odtcUploadProtocol'------ * 'odtcAccessToken'------ * 'odtcUploadType'------ * 'odtcPayload'------ * 'odtcCallback'-organizationsDeidentifyTemplatesCreate- :: Text -- ^ 'odtcParent'- -> GooglePrivacyDlpV2CreateDeidentifyTemplateRequest -- ^ 'odtcPayload'- -> OrganizationsDeidentifyTemplatesCreate-organizationsDeidentifyTemplatesCreate pOdtcParent_ pOdtcPayload_ =- OrganizationsDeidentifyTemplatesCreate'- { _odtcParent = pOdtcParent_- , _odtcXgafv = Nothing- , _odtcUploadProtocol = Nothing- , _odtcAccessToken = Nothing- , _odtcUploadType = Nothing- , _odtcPayload = pOdtcPayload_- , _odtcCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id or--- organizations\/my-org-id.-odtcParent :: Lens' OrganizationsDeidentifyTemplatesCreate Text-odtcParent- = lens _odtcParent (\ s a -> s{_odtcParent = a})---- | V1 error format.-odtcXgafv :: Lens' OrganizationsDeidentifyTemplatesCreate (Maybe Xgafv)-odtcXgafv- = lens _odtcXgafv (\ s a -> s{_odtcXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-odtcUploadProtocol :: Lens' OrganizationsDeidentifyTemplatesCreate (Maybe Text)-odtcUploadProtocol- = lens _odtcUploadProtocol- (\ s a -> s{_odtcUploadProtocol = a})---- | OAuth access token.-odtcAccessToken :: Lens' OrganizationsDeidentifyTemplatesCreate (Maybe Text)-odtcAccessToken- = lens _odtcAccessToken- (\ s a -> s{_odtcAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-odtcUploadType :: Lens' OrganizationsDeidentifyTemplatesCreate (Maybe Text)-odtcUploadType- = lens _odtcUploadType- (\ s a -> s{_odtcUploadType = a})---- | Multipart request metadata.-odtcPayload :: Lens' OrganizationsDeidentifyTemplatesCreate GooglePrivacyDlpV2CreateDeidentifyTemplateRequest-odtcPayload- = lens _odtcPayload (\ s a -> s{_odtcPayload = a})---- | JSONP-odtcCallback :: Lens' OrganizationsDeidentifyTemplatesCreate (Maybe Text)-odtcCallback- = lens _odtcCallback (\ s a -> s{_odtcCallback = a})--instance GoogleRequest- OrganizationsDeidentifyTemplatesCreate- where- type Rs OrganizationsDeidentifyTemplatesCreate =- GooglePrivacyDlpV2DeidentifyTemplate- type Scopes OrganizationsDeidentifyTemplatesCreate =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient- OrganizationsDeidentifyTemplatesCreate'{..}- = go _odtcParent _odtcXgafv _odtcUploadProtocol- _odtcAccessToken- _odtcUploadType- _odtcCallback- (Just AltJSON)- _odtcPayload- dLPService- where go- = buildClient- (Proxy ::- Proxy OrganizationsDeidentifyTemplatesCreateResource)- mempty
− gen/Network/Google/Resource/DLP/Organizations/DeidentifyTemplates/Delete.hs
@@ -1,161 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Delete--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes a DeidentifyTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.organizations.deidentifyTemplates.delete@.-module Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Delete- (- -- * REST Resource- OrganizationsDeidentifyTemplatesDeleteResource-- -- * Creating a Request- , organizationsDeidentifyTemplatesDelete- , OrganizationsDeidentifyTemplatesDelete-- -- * Request Lenses- , odtdXgafv- , odtdUploadProtocol- , odtdAccessToken- , odtdUploadType- , odtdName- , odtdCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.organizations.deidentifyTemplates.delete@ method which the--- 'OrganizationsDeidentifyTemplatesDelete' request conforms to.-type OrganizationsDeidentifyTemplatesDeleteResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Delete '[JSON] GoogleProtobufEmpty---- | Deletes a DeidentifyTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ 'organizationsDeidentifyTemplatesDelete' smart constructor.-data OrganizationsDeidentifyTemplatesDelete =- OrganizationsDeidentifyTemplatesDelete'- { _odtdXgafv :: !(Maybe Xgafv)- , _odtdUploadProtocol :: !(Maybe Text)- , _odtdAccessToken :: !(Maybe Text)- , _odtdUploadType :: !(Maybe Text)- , _odtdName :: !Text- , _odtdCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrganizationsDeidentifyTemplatesDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'odtdXgafv'------ * 'odtdUploadProtocol'------ * 'odtdAccessToken'------ * 'odtdUploadType'------ * 'odtdName'------ * 'odtdCallback'-organizationsDeidentifyTemplatesDelete- :: Text -- ^ 'odtdName'- -> OrganizationsDeidentifyTemplatesDelete-organizationsDeidentifyTemplatesDelete pOdtdName_ =- OrganizationsDeidentifyTemplatesDelete'- { _odtdXgafv = Nothing- , _odtdUploadProtocol = Nothing- , _odtdAccessToken = Nothing- , _odtdUploadType = Nothing- , _odtdName = pOdtdName_- , _odtdCallback = Nothing- }----- | V1 error format.-odtdXgafv :: Lens' OrganizationsDeidentifyTemplatesDelete (Maybe Xgafv)-odtdXgafv- = lens _odtdXgafv (\ s a -> s{_odtdXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-odtdUploadProtocol :: Lens' OrganizationsDeidentifyTemplatesDelete (Maybe Text)-odtdUploadProtocol- = lens _odtdUploadProtocol- (\ s a -> s{_odtdUploadProtocol = a})---- | OAuth access token.-odtdAccessToken :: Lens' OrganizationsDeidentifyTemplatesDelete (Maybe Text)-odtdAccessToken- = lens _odtdAccessToken- (\ s a -> s{_odtdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-odtdUploadType :: Lens' OrganizationsDeidentifyTemplatesDelete (Maybe Text)-odtdUploadType- = lens _odtdUploadType- (\ s a -> s{_odtdUploadType = a})---- | Resource name of the organization and deidentify template to be deleted,--- for example \`organizations\/433245324\/deidentifyTemplates\/432452342\`--- or projects\/project-id\/deidentifyTemplates\/432452342.-odtdName :: Lens' OrganizationsDeidentifyTemplatesDelete Text-odtdName = lens _odtdName (\ s a -> s{_odtdName = a})---- | JSONP-odtdCallback :: Lens' OrganizationsDeidentifyTemplatesDelete (Maybe Text)-odtdCallback- = lens _odtdCallback (\ s a -> s{_odtdCallback = a})--instance GoogleRequest- OrganizationsDeidentifyTemplatesDelete- where- type Rs OrganizationsDeidentifyTemplatesDelete =- GoogleProtobufEmpty- type Scopes OrganizationsDeidentifyTemplatesDelete =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient- OrganizationsDeidentifyTemplatesDelete'{..}- = go _odtdName _odtdXgafv _odtdUploadProtocol- _odtdAccessToken- _odtdUploadType- _odtdCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy ::- Proxy OrganizationsDeidentifyTemplatesDeleteResource)- mempty
− gen/Network/Google/Resource/DLP/Organizations/DeidentifyTemplates/Get.hs
@@ -1,161 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets a DeidentifyTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.organizations.deidentifyTemplates.get@.-module Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Get- (- -- * REST Resource- OrganizationsDeidentifyTemplatesGetResource-- -- * Creating a Request- , organizationsDeidentifyTemplatesGet- , OrganizationsDeidentifyTemplatesGet-- -- * Request Lenses- , odtgXgafv- , odtgUploadProtocol- , odtgAccessToken- , odtgUploadType- , odtgName- , odtgCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.organizations.deidentifyTemplates.get@ method which the--- 'OrganizationsDeidentifyTemplatesGet' request conforms to.-type OrganizationsDeidentifyTemplatesGetResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] GooglePrivacyDlpV2DeidentifyTemplate---- | Gets a DeidentifyTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ 'organizationsDeidentifyTemplatesGet' smart constructor.-data OrganizationsDeidentifyTemplatesGet =- OrganizationsDeidentifyTemplatesGet'- { _odtgXgafv :: !(Maybe Xgafv)- , _odtgUploadProtocol :: !(Maybe Text)- , _odtgAccessToken :: !(Maybe Text)- , _odtgUploadType :: !(Maybe Text)- , _odtgName :: !Text- , _odtgCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrganizationsDeidentifyTemplatesGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'odtgXgafv'------ * 'odtgUploadProtocol'------ * 'odtgAccessToken'------ * 'odtgUploadType'------ * 'odtgName'------ * 'odtgCallback'-organizationsDeidentifyTemplatesGet- :: Text -- ^ 'odtgName'- -> OrganizationsDeidentifyTemplatesGet-organizationsDeidentifyTemplatesGet pOdtgName_ =- OrganizationsDeidentifyTemplatesGet'- { _odtgXgafv = Nothing- , _odtgUploadProtocol = Nothing- , _odtgAccessToken = Nothing- , _odtgUploadType = Nothing- , _odtgName = pOdtgName_- , _odtgCallback = Nothing- }----- | V1 error format.-odtgXgafv :: Lens' OrganizationsDeidentifyTemplatesGet (Maybe Xgafv)-odtgXgafv- = lens _odtgXgafv (\ s a -> s{_odtgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-odtgUploadProtocol :: Lens' OrganizationsDeidentifyTemplatesGet (Maybe Text)-odtgUploadProtocol- = lens _odtgUploadProtocol- (\ s a -> s{_odtgUploadProtocol = a})---- | OAuth access token.-odtgAccessToken :: Lens' OrganizationsDeidentifyTemplatesGet (Maybe Text)-odtgAccessToken- = lens _odtgAccessToken- (\ s a -> s{_odtgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-odtgUploadType :: Lens' OrganizationsDeidentifyTemplatesGet (Maybe Text)-odtgUploadType- = lens _odtgUploadType- (\ s a -> s{_odtgUploadType = a})---- | Resource name of the organization and deidentify template to be read,--- for example \`organizations\/433245324\/deidentifyTemplates\/432452342\`--- or projects\/project-id\/deidentifyTemplates\/432452342.-odtgName :: Lens' OrganizationsDeidentifyTemplatesGet Text-odtgName = lens _odtgName (\ s a -> s{_odtgName = a})---- | JSONP-odtgCallback :: Lens' OrganizationsDeidentifyTemplatesGet (Maybe Text)-odtgCallback- = lens _odtgCallback (\ s a -> s{_odtgCallback = a})--instance GoogleRequest- OrganizationsDeidentifyTemplatesGet- where- type Rs OrganizationsDeidentifyTemplatesGet =- GooglePrivacyDlpV2DeidentifyTemplate- type Scopes OrganizationsDeidentifyTemplatesGet =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient- OrganizationsDeidentifyTemplatesGet'{..}- = go _odtgName _odtgXgafv _odtgUploadProtocol- _odtgAccessToken- _odtgUploadType- _odtgCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy ::- Proxy OrganizationsDeidentifyTemplatesGetResource)- mempty
− gen/Network/Google/Resource/DLP/Organizations/DeidentifyTemplates/List.hs
@@ -1,210 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists DeidentifyTemplates. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.organizations.deidentifyTemplates.list@.-module Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.List- (- -- * REST Resource- OrganizationsDeidentifyTemplatesListResource-- -- * Creating a Request- , organizationsDeidentifyTemplatesList- , OrganizationsDeidentifyTemplatesList-- -- * Request Lenses- , odtlParent- , odtlXgafv- , odtlUploadProtocol- , odtlOrderBy- , odtlAccessToken- , odtlUploadType- , odtlPageToken- , odtlPageSize- , odtlCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.organizations.deidentifyTemplates.list@ method which the--- 'OrganizationsDeidentifyTemplatesList' request conforms to.-type OrganizationsDeidentifyTemplatesListResource =- "v2" :>- Capture "parent" Text :>- "deidentifyTemplates" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "orderBy" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON]- GooglePrivacyDlpV2ListDeidentifyTemplatesResponse---- | Lists DeidentifyTemplates. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ 'organizationsDeidentifyTemplatesList' smart constructor.-data OrganizationsDeidentifyTemplatesList =- OrganizationsDeidentifyTemplatesList'- { _odtlParent :: !Text- , _odtlXgafv :: !(Maybe Xgafv)- , _odtlUploadProtocol :: !(Maybe Text)- , _odtlOrderBy :: !(Maybe Text)- , _odtlAccessToken :: !(Maybe Text)- , _odtlUploadType :: !(Maybe Text)- , _odtlPageToken :: !(Maybe Text)- , _odtlPageSize :: !(Maybe (Textual Int32))- , _odtlCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrganizationsDeidentifyTemplatesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'odtlParent'------ * 'odtlXgafv'------ * 'odtlUploadProtocol'------ * 'odtlOrderBy'------ * 'odtlAccessToken'------ * 'odtlUploadType'------ * 'odtlPageToken'------ * 'odtlPageSize'------ * 'odtlCallback'-organizationsDeidentifyTemplatesList- :: Text -- ^ 'odtlParent'- -> OrganizationsDeidentifyTemplatesList-organizationsDeidentifyTemplatesList pOdtlParent_ =- OrganizationsDeidentifyTemplatesList'- { _odtlParent = pOdtlParent_- , _odtlXgafv = Nothing- , _odtlUploadProtocol = Nothing- , _odtlOrderBy = Nothing- , _odtlAccessToken = Nothing- , _odtlUploadType = Nothing- , _odtlPageToken = Nothing- , _odtlPageSize = Nothing- , _odtlCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id or--- organizations\/my-org-id.-odtlParent :: Lens' OrganizationsDeidentifyTemplatesList Text-odtlParent- = lens _odtlParent (\ s a -> s{_odtlParent = a})---- | V1 error format.-odtlXgafv :: Lens' OrganizationsDeidentifyTemplatesList (Maybe Xgafv)-odtlXgafv- = lens _odtlXgafv (\ s a -> s{_odtlXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-odtlUploadProtocol :: Lens' OrganizationsDeidentifyTemplatesList (Maybe Text)-odtlUploadProtocol- = lens _odtlUploadProtocol- (\ s a -> s{_odtlUploadProtocol = a})---- | Optional comma separated list of fields to order by, followed by \`asc\`--- or \`desc\` postfix. This list is case-insensitive, default sorting--- order is ascending, redundant space characters are insignificant.--- Example: \`name asc,update_time, create_time desc\` Supported fields--- are: - \`create_time\`: corresponds to time the template was created. ---- \`update_time\`: corresponds to time the template was last updated. ---- \`name\`: corresponds to template\'s name. - \`display_name\`:--- corresponds to template\'s display name.-odtlOrderBy :: Lens' OrganizationsDeidentifyTemplatesList (Maybe Text)-odtlOrderBy- = lens _odtlOrderBy (\ s a -> s{_odtlOrderBy = a})---- | OAuth access token.-odtlAccessToken :: Lens' OrganizationsDeidentifyTemplatesList (Maybe Text)-odtlAccessToken- = lens _odtlAccessToken- (\ s a -> s{_odtlAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-odtlUploadType :: Lens' OrganizationsDeidentifyTemplatesList (Maybe Text)-odtlUploadType- = lens _odtlUploadType- (\ s a -> s{_odtlUploadType = a})---- | Optional page token to continue retrieval. Comes from previous call to--- \`ListDeidentifyTemplates\`.-odtlPageToken :: Lens' OrganizationsDeidentifyTemplatesList (Maybe Text)-odtlPageToken- = lens _odtlPageToken- (\ s a -> s{_odtlPageToken = a})---- | Optional size of the page, can be limited by server. If zero server--- returns a page of max size 100.-odtlPageSize :: Lens' OrganizationsDeidentifyTemplatesList (Maybe Int32)-odtlPageSize- = lens _odtlPageSize (\ s a -> s{_odtlPageSize = a})- . mapping _Coerce---- | JSONP-odtlCallback :: Lens' OrganizationsDeidentifyTemplatesList (Maybe Text)-odtlCallback- = lens _odtlCallback (\ s a -> s{_odtlCallback = a})--instance GoogleRequest- OrganizationsDeidentifyTemplatesList- where- type Rs OrganizationsDeidentifyTemplatesList =- GooglePrivacyDlpV2ListDeidentifyTemplatesResponse- type Scopes OrganizationsDeidentifyTemplatesList =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient- OrganizationsDeidentifyTemplatesList'{..}- = go _odtlParent _odtlXgafv _odtlUploadProtocol- _odtlOrderBy- _odtlAccessToken- _odtlUploadType- _odtlPageToken- _odtlPageSize- _odtlCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy ::- Proxy OrganizationsDeidentifyTemplatesListResource)- mempty
− gen/Network/Google/Resource/DLP/Organizations/DeidentifyTemplates/Patch.hs
@@ -1,175 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Patch--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates the DeidentifyTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.organizations.deidentifyTemplates.patch@.-module Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Patch- (- -- * REST Resource- OrganizationsDeidentifyTemplatesPatchResource-- -- * Creating a Request- , organizationsDeidentifyTemplatesPatch- , OrganizationsDeidentifyTemplatesPatch-- -- * Request Lenses- , odtpXgafv- , odtpUploadProtocol- , odtpAccessToken- , odtpUploadType- , odtpPayload- , odtpName- , odtpCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.organizations.deidentifyTemplates.patch@ method which the--- 'OrganizationsDeidentifyTemplatesPatch' request conforms to.-type OrganizationsDeidentifyTemplatesPatchResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest- :> Patch '[JSON] GooglePrivacyDlpV2DeidentifyTemplate---- | Updates the DeidentifyTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ 'organizationsDeidentifyTemplatesPatch' smart constructor.-data OrganizationsDeidentifyTemplatesPatch =- OrganizationsDeidentifyTemplatesPatch'- { _odtpXgafv :: !(Maybe Xgafv)- , _odtpUploadProtocol :: !(Maybe Text)- , _odtpAccessToken :: !(Maybe Text)- , _odtpUploadType :: !(Maybe Text)- , _odtpPayload :: !GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest- , _odtpName :: !Text- , _odtpCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrganizationsDeidentifyTemplatesPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'odtpXgafv'------ * 'odtpUploadProtocol'------ * 'odtpAccessToken'------ * 'odtpUploadType'------ * 'odtpPayload'------ * 'odtpName'------ * 'odtpCallback'-organizationsDeidentifyTemplatesPatch- :: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest -- ^ 'odtpPayload'- -> Text -- ^ 'odtpName'- -> OrganizationsDeidentifyTemplatesPatch-organizationsDeidentifyTemplatesPatch pOdtpPayload_ pOdtpName_ =- OrganizationsDeidentifyTemplatesPatch'- { _odtpXgafv = Nothing- , _odtpUploadProtocol = Nothing- , _odtpAccessToken = Nothing- , _odtpUploadType = Nothing- , _odtpPayload = pOdtpPayload_- , _odtpName = pOdtpName_- , _odtpCallback = Nothing- }----- | V1 error format.-odtpXgafv :: Lens' OrganizationsDeidentifyTemplatesPatch (Maybe Xgafv)-odtpXgafv- = lens _odtpXgafv (\ s a -> s{_odtpXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-odtpUploadProtocol :: Lens' OrganizationsDeidentifyTemplatesPatch (Maybe Text)-odtpUploadProtocol- = lens _odtpUploadProtocol- (\ s a -> s{_odtpUploadProtocol = a})---- | OAuth access token.-odtpAccessToken :: Lens' OrganizationsDeidentifyTemplatesPatch (Maybe Text)-odtpAccessToken- = lens _odtpAccessToken- (\ s a -> s{_odtpAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-odtpUploadType :: Lens' OrganizationsDeidentifyTemplatesPatch (Maybe Text)-odtpUploadType- = lens _odtpUploadType- (\ s a -> s{_odtpUploadType = a})---- | Multipart request metadata.-odtpPayload :: Lens' OrganizationsDeidentifyTemplatesPatch GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest-odtpPayload- = lens _odtpPayload (\ s a -> s{_odtpPayload = a})---- | Resource name of organization and deidentify template to be updated, for--- example \`organizations\/433245324\/deidentifyTemplates\/432452342\` or--- projects\/project-id\/deidentifyTemplates\/432452342.-odtpName :: Lens' OrganizationsDeidentifyTemplatesPatch Text-odtpName = lens _odtpName (\ s a -> s{_odtpName = a})---- | JSONP-odtpCallback :: Lens' OrganizationsDeidentifyTemplatesPatch (Maybe Text)-odtpCallback- = lens _odtpCallback (\ s a -> s{_odtpCallback = a})--instance GoogleRequest- OrganizationsDeidentifyTemplatesPatch- where- type Rs OrganizationsDeidentifyTemplatesPatch =- GooglePrivacyDlpV2DeidentifyTemplate- type Scopes OrganizationsDeidentifyTemplatesPatch =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient- OrganizationsDeidentifyTemplatesPatch'{..}- = go _odtpName _odtpXgafv _odtpUploadProtocol- _odtpAccessToken- _odtpUploadType- _odtpCallback- (Just AltJSON)- _odtpPayload- dLPService- where go- = buildClient- (Proxy ::- Proxy OrganizationsDeidentifyTemplatesPatchResource)- mempty
− gen/Network/Google/Resource/DLP/Organizations/InspectTemplates/Create.hs
@@ -1,176 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Organizations.InspectTemplates.Create--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates an InspectTemplate for re-using frequently used configuration--- for inspecting content, images, and storage. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.organizations.inspectTemplates.create@.-module Network.Google.Resource.DLP.Organizations.InspectTemplates.Create- (- -- * REST Resource- OrganizationsInspectTemplatesCreateResource-- -- * Creating a Request- , organizationsInspectTemplatesCreate- , OrganizationsInspectTemplatesCreate-- -- * Request Lenses- , oitcParent- , oitcXgafv- , oitcUploadProtocol- , oitcAccessToken- , oitcUploadType- , oitcPayload- , oitcCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.organizations.inspectTemplates.create@ method which the--- 'OrganizationsInspectTemplatesCreate' request conforms to.-type OrganizationsInspectTemplatesCreateResource =- "v2" :>- Capture "parent" Text :>- "inspectTemplates" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2CreateInspectTemplateRequest- :> Post '[JSON] GooglePrivacyDlpV2InspectTemplate---- | Creates an InspectTemplate for re-using frequently used configuration--- for inspecting content, images, and storage. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ 'organizationsInspectTemplatesCreate' smart constructor.-data OrganizationsInspectTemplatesCreate =- OrganizationsInspectTemplatesCreate'- { _oitcParent :: !Text- , _oitcXgafv :: !(Maybe Xgafv)- , _oitcUploadProtocol :: !(Maybe Text)- , _oitcAccessToken :: !(Maybe Text)- , _oitcUploadType :: !(Maybe Text)- , _oitcPayload :: !GooglePrivacyDlpV2CreateInspectTemplateRequest- , _oitcCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrganizationsInspectTemplatesCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'oitcParent'------ * 'oitcXgafv'------ * 'oitcUploadProtocol'------ * 'oitcAccessToken'------ * 'oitcUploadType'------ * 'oitcPayload'------ * 'oitcCallback'-organizationsInspectTemplatesCreate- :: Text -- ^ 'oitcParent'- -> GooglePrivacyDlpV2CreateInspectTemplateRequest -- ^ 'oitcPayload'- -> OrganizationsInspectTemplatesCreate-organizationsInspectTemplatesCreate pOitcParent_ pOitcPayload_ =- OrganizationsInspectTemplatesCreate'- { _oitcParent = pOitcParent_- , _oitcXgafv = Nothing- , _oitcUploadProtocol = Nothing- , _oitcAccessToken = Nothing- , _oitcUploadType = Nothing- , _oitcPayload = pOitcPayload_- , _oitcCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id or--- organizations\/my-org-id.-oitcParent :: Lens' OrganizationsInspectTemplatesCreate Text-oitcParent- = lens _oitcParent (\ s a -> s{_oitcParent = a})---- | V1 error format.-oitcXgafv :: Lens' OrganizationsInspectTemplatesCreate (Maybe Xgafv)-oitcXgafv- = lens _oitcXgafv (\ s a -> s{_oitcXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-oitcUploadProtocol :: Lens' OrganizationsInspectTemplatesCreate (Maybe Text)-oitcUploadProtocol- = lens _oitcUploadProtocol- (\ s a -> s{_oitcUploadProtocol = a})---- | OAuth access token.-oitcAccessToken :: Lens' OrganizationsInspectTemplatesCreate (Maybe Text)-oitcAccessToken- = lens _oitcAccessToken- (\ s a -> s{_oitcAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-oitcUploadType :: Lens' OrganizationsInspectTemplatesCreate (Maybe Text)-oitcUploadType- = lens _oitcUploadType- (\ s a -> s{_oitcUploadType = a})---- | Multipart request metadata.-oitcPayload :: Lens' OrganizationsInspectTemplatesCreate GooglePrivacyDlpV2CreateInspectTemplateRequest-oitcPayload- = lens _oitcPayload (\ s a -> s{_oitcPayload = a})---- | JSONP-oitcCallback :: Lens' OrganizationsInspectTemplatesCreate (Maybe Text)-oitcCallback- = lens _oitcCallback (\ s a -> s{_oitcCallback = a})--instance GoogleRequest- OrganizationsInspectTemplatesCreate- where- type Rs OrganizationsInspectTemplatesCreate =- GooglePrivacyDlpV2InspectTemplate- type Scopes OrganizationsInspectTemplatesCreate =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient- OrganizationsInspectTemplatesCreate'{..}- = go _oitcParent _oitcXgafv _oitcUploadProtocol- _oitcAccessToken- _oitcUploadType- _oitcCallback- (Just AltJSON)- _oitcPayload- dLPService- where go- = buildClient- (Proxy ::- Proxy OrganizationsInspectTemplatesCreateResource)- mempty
− gen/Network/Google/Resource/DLP/Organizations/InspectTemplates/Delete.hs
@@ -1,159 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Organizations.InspectTemplates.Delete--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes an InspectTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.organizations.inspectTemplates.delete@.-module Network.Google.Resource.DLP.Organizations.InspectTemplates.Delete- (- -- * REST Resource- OrganizationsInspectTemplatesDeleteResource-- -- * Creating a Request- , organizationsInspectTemplatesDelete- , OrganizationsInspectTemplatesDelete-- -- * Request Lenses- , oitdXgafv- , oitdUploadProtocol- , oitdAccessToken- , oitdUploadType- , oitdName- , oitdCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.organizations.inspectTemplates.delete@ method which the--- 'OrganizationsInspectTemplatesDelete' request conforms to.-type OrganizationsInspectTemplatesDeleteResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Delete '[JSON] GoogleProtobufEmpty---- | Deletes an InspectTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ 'organizationsInspectTemplatesDelete' smart constructor.-data OrganizationsInspectTemplatesDelete =- OrganizationsInspectTemplatesDelete'- { _oitdXgafv :: !(Maybe Xgafv)- , _oitdUploadProtocol :: !(Maybe Text)- , _oitdAccessToken :: !(Maybe Text)- , _oitdUploadType :: !(Maybe Text)- , _oitdName :: !Text- , _oitdCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrganizationsInspectTemplatesDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'oitdXgafv'------ * 'oitdUploadProtocol'------ * 'oitdAccessToken'------ * 'oitdUploadType'------ * 'oitdName'------ * 'oitdCallback'-organizationsInspectTemplatesDelete- :: Text -- ^ 'oitdName'- -> OrganizationsInspectTemplatesDelete-organizationsInspectTemplatesDelete pOitdName_ =- OrganizationsInspectTemplatesDelete'- { _oitdXgafv = Nothing- , _oitdUploadProtocol = Nothing- , _oitdAccessToken = Nothing- , _oitdUploadType = Nothing- , _oitdName = pOitdName_- , _oitdCallback = Nothing- }----- | V1 error format.-oitdXgafv :: Lens' OrganizationsInspectTemplatesDelete (Maybe Xgafv)-oitdXgafv- = lens _oitdXgafv (\ s a -> s{_oitdXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-oitdUploadProtocol :: Lens' OrganizationsInspectTemplatesDelete (Maybe Text)-oitdUploadProtocol- = lens _oitdUploadProtocol- (\ s a -> s{_oitdUploadProtocol = a})---- | OAuth access token.-oitdAccessToken :: Lens' OrganizationsInspectTemplatesDelete (Maybe Text)-oitdAccessToken- = lens _oitdAccessToken- (\ s a -> s{_oitdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-oitdUploadType :: Lens' OrganizationsInspectTemplatesDelete (Maybe Text)-oitdUploadType- = lens _oitdUploadType- (\ s a -> s{_oitdUploadType = a})---- | Resource name of the organization and inspectTemplate to be deleted, for--- example \`organizations\/433245324\/inspectTemplates\/432452342\` or--- projects\/project-id\/inspectTemplates\/432452342.-oitdName :: Lens' OrganizationsInspectTemplatesDelete Text-oitdName = lens _oitdName (\ s a -> s{_oitdName = a})---- | JSONP-oitdCallback :: Lens' OrganizationsInspectTemplatesDelete (Maybe Text)-oitdCallback- = lens _oitdCallback (\ s a -> s{_oitdCallback = a})--instance GoogleRequest- OrganizationsInspectTemplatesDelete- where- type Rs OrganizationsInspectTemplatesDelete =- GoogleProtobufEmpty- type Scopes OrganizationsInspectTemplatesDelete =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient- OrganizationsInspectTemplatesDelete'{..}- = go _oitdName _oitdXgafv _oitdUploadProtocol- _oitdAccessToken- _oitdUploadType- _oitdCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy ::- Proxy OrganizationsInspectTemplatesDeleteResource)- mempty
− gen/Network/Google/Resource/DLP/Organizations/InspectTemplates/Get.hs
@@ -1,158 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Organizations.InspectTemplates.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets an InspectTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.organizations.inspectTemplates.get@.-module Network.Google.Resource.DLP.Organizations.InspectTemplates.Get- (- -- * REST Resource- OrganizationsInspectTemplatesGetResource-- -- * Creating a Request- , organizationsInspectTemplatesGet- , OrganizationsInspectTemplatesGet-- -- * Request Lenses- , oitgXgafv- , oitgUploadProtocol- , oitgAccessToken- , oitgUploadType- , oitgName- , oitgCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.organizations.inspectTemplates.get@ method which the--- 'OrganizationsInspectTemplatesGet' request conforms to.-type OrganizationsInspectTemplatesGetResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] GooglePrivacyDlpV2InspectTemplate---- | Gets an InspectTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ 'organizationsInspectTemplatesGet' smart constructor.-data OrganizationsInspectTemplatesGet =- OrganizationsInspectTemplatesGet'- { _oitgXgafv :: !(Maybe Xgafv)- , _oitgUploadProtocol :: !(Maybe Text)- , _oitgAccessToken :: !(Maybe Text)- , _oitgUploadType :: !(Maybe Text)- , _oitgName :: !Text- , _oitgCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrganizationsInspectTemplatesGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'oitgXgafv'------ * 'oitgUploadProtocol'------ * 'oitgAccessToken'------ * 'oitgUploadType'------ * 'oitgName'------ * 'oitgCallback'-organizationsInspectTemplatesGet- :: Text -- ^ 'oitgName'- -> OrganizationsInspectTemplatesGet-organizationsInspectTemplatesGet pOitgName_ =- OrganizationsInspectTemplatesGet'- { _oitgXgafv = Nothing- , _oitgUploadProtocol = Nothing- , _oitgAccessToken = Nothing- , _oitgUploadType = Nothing- , _oitgName = pOitgName_- , _oitgCallback = Nothing- }----- | V1 error format.-oitgXgafv :: Lens' OrganizationsInspectTemplatesGet (Maybe Xgafv)-oitgXgafv- = lens _oitgXgafv (\ s a -> s{_oitgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-oitgUploadProtocol :: Lens' OrganizationsInspectTemplatesGet (Maybe Text)-oitgUploadProtocol- = lens _oitgUploadProtocol- (\ s a -> s{_oitgUploadProtocol = a})---- | OAuth access token.-oitgAccessToken :: Lens' OrganizationsInspectTemplatesGet (Maybe Text)-oitgAccessToken- = lens _oitgAccessToken- (\ s a -> s{_oitgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-oitgUploadType :: Lens' OrganizationsInspectTemplatesGet (Maybe Text)-oitgUploadType- = lens _oitgUploadType- (\ s a -> s{_oitgUploadType = a})---- | Resource name of the organization and inspectTemplate to be read, for--- example \`organizations\/433245324\/inspectTemplates\/432452342\` or--- projects\/project-id\/inspectTemplates\/432452342.-oitgName :: Lens' OrganizationsInspectTemplatesGet Text-oitgName = lens _oitgName (\ s a -> s{_oitgName = a})---- | JSONP-oitgCallback :: Lens' OrganizationsInspectTemplatesGet (Maybe Text)-oitgCallback- = lens _oitgCallback (\ s a -> s{_oitgCallback = a})--instance GoogleRequest- OrganizationsInspectTemplatesGet- where- type Rs OrganizationsInspectTemplatesGet =- GooglePrivacyDlpV2InspectTemplate- type Scopes OrganizationsInspectTemplatesGet =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient OrganizationsInspectTemplatesGet'{..}- = go _oitgName _oitgXgafv _oitgUploadProtocol- _oitgAccessToken- _oitgUploadType- _oitgCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy ::- Proxy OrganizationsInspectTemplatesGetResource)- mempty
− gen/Network/Google/Resource/DLP/Organizations/InspectTemplates/List.hs
@@ -1,207 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Organizations.InspectTemplates.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists InspectTemplates. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.organizations.inspectTemplates.list@.-module Network.Google.Resource.DLP.Organizations.InspectTemplates.List- (- -- * REST Resource- OrganizationsInspectTemplatesListResource-- -- * Creating a Request- , organizationsInspectTemplatesList- , OrganizationsInspectTemplatesList-- -- * Request Lenses- , oitlParent- , oitlXgafv- , oitlUploadProtocol- , oitlOrderBy- , oitlAccessToken- , oitlUploadType- , oitlPageToken- , oitlPageSize- , oitlCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.organizations.inspectTemplates.list@ method which the--- 'OrganizationsInspectTemplatesList' request conforms to.-type OrganizationsInspectTemplatesListResource =- "v2" :>- Capture "parent" Text :>- "inspectTemplates" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "orderBy" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON]- GooglePrivacyDlpV2ListInspectTemplatesResponse---- | Lists InspectTemplates. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ 'organizationsInspectTemplatesList' smart constructor.-data OrganizationsInspectTemplatesList =- OrganizationsInspectTemplatesList'- { _oitlParent :: !Text- , _oitlXgafv :: !(Maybe Xgafv)- , _oitlUploadProtocol :: !(Maybe Text)- , _oitlOrderBy :: !(Maybe Text)- , _oitlAccessToken :: !(Maybe Text)- , _oitlUploadType :: !(Maybe Text)- , _oitlPageToken :: !(Maybe Text)- , _oitlPageSize :: !(Maybe (Textual Int32))- , _oitlCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrganizationsInspectTemplatesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'oitlParent'------ * 'oitlXgafv'------ * 'oitlUploadProtocol'------ * 'oitlOrderBy'------ * 'oitlAccessToken'------ * 'oitlUploadType'------ * 'oitlPageToken'------ * 'oitlPageSize'------ * 'oitlCallback'-organizationsInspectTemplatesList- :: Text -- ^ 'oitlParent'- -> OrganizationsInspectTemplatesList-organizationsInspectTemplatesList pOitlParent_ =- OrganizationsInspectTemplatesList'- { _oitlParent = pOitlParent_- , _oitlXgafv = Nothing- , _oitlUploadProtocol = Nothing- , _oitlOrderBy = Nothing- , _oitlAccessToken = Nothing- , _oitlUploadType = Nothing- , _oitlPageToken = Nothing- , _oitlPageSize = Nothing- , _oitlCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id or--- organizations\/my-org-id.-oitlParent :: Lens' OrganizationsInspectTemplatesList Text-oitlParent- = lens _oitlParent (\ s a -> s{_oitlParent = a})---- | V1 error format.-oitlXgafv :: Lens' OrganizationsInspectTemplatesList (Maybe Xgafv)-oitlXgafv- = lens _oitlXgafv (\ s a -> s{_oitlXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-oitlUploadProtocol :: Lens' OrganizationsInspectTemplatesList (Maybe Text)-oitlUploadProtocol- = lens _oitlUploadProtocol- (\ s a -> s{_oitlUploadProtocol = a})---- | Optional comma separated list of fields to order by, followed by \`asc\`--- or \`desc\` postfix. This list is case-insensitive, default sorting--- order is ascending, redundant space characters are insignificant.--- Example: \`name asc,update_time, create_time desc\` Supported fields--- are: - \`create_time\`: corresponds to time the template was created. ---- \`update_time\`: corresponds to time the template was last updated. ---- \`name\`: corresponds to template\'s name. - \`display_name\`:--- corresponds to template\'s display name.-oitlOrderBy :: Lens' OrganizationsInspectTemplatesList (Maybe Text)-oitlOrderBy- = lens _oitlOrderBy (\ s a -> s{_oitlOrderBy = a})---- | OAuth access token.-oitlAccessToken :: Lens' OrganizationsInspectTemplatesList (Maybe Text)-oitlAccessToken- = lens _oitlAccessToken- (\ s a -> s{_oitlAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-oitlUploadType :: Lens' OrganizationsInspectTemplatesList (Maybe Text)-oitlUploadType- = lens _oitlUploadType- (\ s a -> s{_oitlUploadType = a})---- | Optional page token to continue retrieval. Comes from previous call to--- \`ListInspectTemplates\`.-oitlPageToken :: Lens' OrganizationsInspectTemplatesList (Maybe Text)-oitlPageToken- = lens _oitlPageToken- (\ s a -> s{_oitlPageToken = a})---- | Optional size of the page, can be limited by server. If zero server--- returns a page of max size 100.-oitlPageSize :: Lens' OrganizationsInspectTemplatesList (Maybe Int32)-oitlPageSize- = lens _oitlPageSize (\ s a -> s{_oitlPageSize = a})- . mapping _Coerce---- | JSONP-oitlCallback :: Lens' OrganizationsInspectTemplatesList (Maybe Text)-oitlCallback- = lens _oitlCallback (\ s a -> s{_oitlCallback = a})--instance GoogleRequest- OrganizationsInspectTemplatesList- where- type Rs OrganizationsInspectTemplatesList =- GooglePrivacyDlpV2ListInspectTemplatesResponse- type Scopes OrganizationsInspectTemplatesList =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient OrganizationsInspectTemplatesList'{..}- = go _oitlParent _oitlXgafv _oitlUploadProtocol- _oitlOrderBy- _oitlAccessToken- _oitlUploadType- _oitlPageToken- _oitlPageSize- _oitlCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy ::- Proxy OrganizationsInspectTemplatesListResource)- mempty
− gen/Network/Google/Resource/DLP/Organizations/InspectTemplates/Patch.hs
@@ -1,172 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Organizations.InspectTemplates.Patch--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates the InspectTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.organizations.inspectTemplates.patch@.-module Network.Google.Resource.DLP.Organizations.InspectTemplates.Patch- (- -- * REST Resource- OrganizationsInspectTemplatesPatchResource-- -- * Creating a Request- , organizationsInspectTemplatesPatch- , OrganizationsInspectTemplatesPatch-- -- * Request Lenses- , oitpXgafv- , oitpUploadProtocol- , oitpAccessToken- , oitpUploadType- , oitpPayload- , oitpName- , oitpCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.organizations.inspectTemplates.patch@ method which the--- 'OrganizationsInspectTemplatesPatch' request conforms to.-type OrganizationsInspectTemplatesPatchResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2UpdateInspectTemplateRequest- :> Patch '[JSON] GooglePrivacyDlpV2InspectTemplate---- | Updates the InspectTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ 'organizationsInspectTemplatesPatch' smart constructor.-data OrganizationsInspectTemplatesPatch =- OrganizationsInspectTemplatesPatch'- { _oitpXgafv :: !(Maybe Xgafv)- , _oitpUploadProtocol :: !(Maybe Text)- , _oitpAccessToken :: !(Maybe Text)- , _oitpUploadType :: !(Maybe Text)- , _oitpPayload :: !GooglePrivacyDlpV2UpdateInspectTemplateRequest- , _oitpName :: !Text- , _oitpCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrganizationsInspectTemplatesPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'oitpXgafv'------ * 'oitpUploadProtocol'------ * 'oitpAccessToken'------ * 'oitpUploadType'------ * 'oitpPayload'------ * 'oitpName'------ * 'oitpCallback'-organizationsInspectTemplatesPatch- :: GooglePrivacyDlpV2UpdateInspectTemplateRequest -- ^ 'oitpPayload'- -> Text -- ^ 'oitpName'- -> OrganizationsInspectTemplatesPatch-organizationsInspectTemplatesPatch pOitpPayload_ pOitpName_ =- OrganizationsInspectTemplatesPatch'- { _oitpXgafv = Nothing- , _oitpUploadProtocol = Nothing- , _oitpAccessToken = Nothing- , _oitpUploadType = Nothing- , _oitpPayload = pOitpPayload_- , _oitpName = pOitpName_- , _oitpCallback = Nothing- }----- | V1 error format.-oitpXgafv :: Lens' OrganizationsInspectTemplatesPatch (Maybe Xgafv)-oitpXgafv- = lens _oitpXgafv (\ s a -> s{_oitpXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-oitpUploadProtocol :: Lens' OrganizationsInspectTemplatesPatch (Maybe Text)-oitpUploadProtocol- = lens _oitpUploadProtocol- (\ s a -> s{_oitpUploadProtocol = a})---- | OAuth access token.-oitpAccessToken :: Lens' OrganizationsInspectTemplatesPatch (Maybe Text)-oitpAccessToken- = lens _oitpAccessToken- (\ s a -> s{_oitpAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-oitpUploadType :: Lens' OrganizationsInspectTemplatesPatch (Maybe Text)-oitpUploadType- = lens _oitpUploadType- (\ s a -> s{_oitpUploadType = a})---- | Multipart request metadata.-oitpPayload :: Lens' OrganizationsInspectTemplatesPatch GooglePrivacyDlpV2UpdateInspectTemplateRequest-oitpPayload- = lens _oitpPayload (\ s a -> s{_oitpPayload = a})---- | Resource name of organization and inspectTemplate to be updated, for--- example \`organizations\/433245324\/inspectTemplates\/432452342\` or--- projects\/project-id\/inspectTemplates\/432452342.-oitpName :: Lens' OrganizationsInspectTemplatesPatch Text-oitpName = lens _oitpName (\ s a -> s{_oitpName = a})---- | JSONP-oitpCallback :: Lens' OrganizationsInspectTemplatesPatch (Maybe Text)-oitpCallback- = lens _oitpCallback (\ s a -> s{_oitpCallback = a})--instance GoogleRequest- OrganizationsInspectTemplatesPatch- where- type Rs OrganizationsInspectTemplatesPatch =- GooglePrivacyDlpV2InspectTemplate- type Scopes OrganizationsInspectTemplatesPatch =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient OrganizationsInspectTemplatesPatch'{..}- = go _oitpName _oitpXgafv _oitpUploadProtocol- _oitpAccessToken- _oitpUploadType- _oitpCallback- (Just AltJSON)- _oitpPayload- dLPService- where go- = buildClient- (Proxy ::- Proxy OrganizationsInspectTemplatesPatchResource)- mempty
− gen/Network/Google/Resource/DLP/Organizations/StoredInfoTypes/Create.hs
@@ -1,176 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Create--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a pre-built stored infoType to be used for inspection. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.organizations.storedInfoTypes.create@.-module Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Create- (- -- * REST Resource- OrganizationsStoredInfoTypesCreateResource-- -- * Creating a Request- , organizationsStoredInfoTypesCreate- , OrganizationsStoredInfoTypesCreate-- -- * Request Lenses- , ositcParent- , ositcXgafv- , ositcUploadProtocol- , ositcAccessToken- , ositcUploadType- , ositcPayload- , ositcCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.organizations.storedInfoTypes.create@ method which the--- 'OrganizationsStoredInfoTypesCreate' request conforms to.-type OrganizationsStoredInfoTypesCreateResource =- "v2" :>- Capture "parent" Text :>- "storedInfoTypes" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2CreateStoredInfoTypeRequest- :> Post '[JSON] GooglePrivacyDlpV2StoredInfoType---- | Creates a pre-built stored infoType to be used for inspection. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ 'organizationsStoredInfoTypesCreate' smart constructor.-data OrganizationsStoredInfoTypesCreate =- OrganizationsStoredInfoTypesCreate'- { _ositcParent :: !Text- , _ositcXgafv :: !(Maybe Xgafv)- , _ositcUploadProtocol :: !(Maybe Text)- , _ositcAccessToken :: !(Maybe Text)- , _ositcUploadType :: !(Maybe Text)- , _ositcPayload :: !GooglePrivacyDlpV2CreateStoredInfoTypeRequest- , _ositcCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrganizationsStoredInfoTypesCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ositcParent'------ * 'ositcXgafv'------ * 'ositcUploadProtocol'------ * 'ositcAccessToken'------ * 'ositcUploadType'------ * 'ositcPayload'------ * 'ositcCallback'-organizationsStoredInfoTypesCreate- :: Text -- ^ 'ositcParent'- -> GooglePrivacyDlpV2CreateStoredInfoTypeRequest -- ^ 'ositcPayload'- -> OrganizationsStoredInfoTypesCreate-organizationsStoredInfoTypesCreate pOsitcParent_ pOsitcPayload_ =- OrganizationsStoredInfoTypesCreate'- { _ositcParent = pOsitcParent_- , _ositcXgafv = Nothing- , _ositcUploadProtocol = Nothing- , _ositcAccessToken = Nothing- , _ositcUploadType = Nothing- , _ositcPayload = pOsitcPayload_- , _ositcCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id or--- organizations\/my-org-id.-ositcParent :: Lens' OrganizationsStoredInfoTypesCreate Text-ositcParent- = lens _ositcParent (\ s a -> s{_ositcParent = a})---- | V1 error format.-ositcXgafv :: Lens' OrganizationsStoredInfoTypesCreate (Maybe Xgafv)-ositcXgafv- = lens _ositcXgafv (\ s a -> s{_ositcXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-ositcUploadProtocol :: Lens' OrganizationsStoredInfoTypesCreate (Maybe Text)-ositcUploadProtocol- = lens _ositcUploadProtocol- (\ s a -> s{_ositcUploadProtocol = a})---- | OAuth access token.-ositcAccessToken :: Lens' OrganizationsStoredInfoTypesCreate (Maybe Text)-ositcAccessToken- = lens _ositcAccessToken- (\ s a -> s{_ositcAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-ositcUploadType :: Lens' OrganizationsStoredInfoTypesCreate (Maybe Text)-ositcUploadType- = lens _ositcUploadType- (\ s a -> s{_ositcUploadType = a})---- | Multipart request metadata.-ositcPayload :: Lens' OrganizationsStoredInfoTypesCreate GooglePrivacyDlpV2CreateStoredInfoTypeRequest-ositcPayload- = lens _ositcPayload (\ s a -> s{_ositcPayload = a})---- | JSONP-ositcCallback :: Lens' OrganizationsStoredInfoTypesCreate (Maybe Text)-ositcCallback- = lens _ositcCallback- (\ s a -> s{_ositcCallback = a})--instance GoogleRequest- OrganizationsStoredInfoTypesCreate- where- type Rs OrganizationsStoredInfoTypesCreate =- GooglePrivacyDlpV2StoredInfoType- type Scopes OrganizationsStoredInfoTypesCreate =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient OrganizationsStoredInfoTypesCreate'{..}- = go _ositcParent _ositcXgafv _ositcUploadProtocol- _ositcAccessToken- _ositcUploadType- _ositcCallback- (Just AltJSON)- _ositcPayload- dLPService- where go- = buildClient- (Proxy ::- Proxy OrganizationsStoredInfoTypesCreateResource)- mempty
− gen/Network/Google/Resource/DLP/Organizations/StoredInfoTypes/Delete.hs
@@ -1,162 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Delete--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes a stored infoType. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.organizations.storedInfoTypes.delete@.-module Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Delete- (- -- * REST Resource- OrganizationsStoredInfoTypesDeleteResource-- -- * Creating a Request- , organizationsStoredInfoTypesDelete- , OrganizationsStoredInfoTypesDelete-- -- * Request Lenses- , ositdXgafv- , ositdUploadProtocol- , ositdAccessToken- , ositdUploadType- , ositdName- , ositdCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.organizations.storedInfoTypes.delete@ method which the--- 'OrganizationsStoredInfoTypesDelete' request conforms to.-type OrganizationsStoredInfoTypesDeleteResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Delete '[JSON] GoogleProtobufEmpty---- | Deletes a stored infoType. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ 'organizationsStoredInfoTypesDelete' smart constructor.-data OrganizationsStoredInfoTypesDelete =- OrganizationsStoredInfoTypesDelete'- { _ositdXgafv :: !(Maybe Xgafv)- , _ositdUploadProtocol :: !(Maybe Text)- , _ositdAccessToken :: !(Maybe Text)- , _ositdUploadType :: !(Maybe Text)- , _ositdName :: !Text- , _ositdCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrganizationsStoredInfoTypesDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ositdXgafv'------ * 'ositdUploadProtocol'------ * 'ositdAccessToken'------ * 'ositdUploadType'------ * 'ositdName'------ * 'ositdCallback'-organizationsStoredInfoTypesDelete- :: Text -- ^ 'ositdName'- -> OrganizationsStoredInfoTypesDelete-organizationsStoredInfoTypesDelete pOsitdName_ =- OrganizationsStoredInfoTypesDelete'- { _ositdXgafv = Nothing- , _ositdUploadProtocol = Nothing- , _ositdAccessToken = Nothing- , _ositdUploadType = Nothing- , _ositdName = pOsitdName_- , _ositdCallback = Nothing- }----- | V1 error format.-ositdXgafv :: Lens' OrganizationsStoredInfoTypesDelete (Maybe Xgafv)-ositdXgafv- = lens _ositdXgafv (\ s a -> s{_ositdXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-ositdUploadProtocol :: Lens' OrganizationsStoredInfoTypesDelete (Maybe Text)-ositdUploadProtocol- = lens _ositdUploadProtocol- (\ s a -> s{_ositdUploadProtocol = a})---- | OAuth access token.-ositdAccessToken :: Lens' OrganizationsStoredInfoTypesDelete (Maybe Text)-ositdAccessToken- = lens _ositdAccessToken- (\ s a -> s{_ositdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-ositdUploadType :: Lens' OrganizationsStoredInfoTypesDelete (Maybe Text)-ositdUploadType- = lens _ositdUploadType- (\ s a -> s{_ositdUploadType = a})---- | Resource name of the organization and storedInfoType to be deleted, for--- example \`organizations\/433245324\/storedInfoTypes\/432452342\` or--- projects\/project-id\/storedInfoTypes\/432452342.-ositdName :: Lens' OrganizationsStoredInfoTypesDelete Text-ositdName- = lens _ositdName (\ s a -> s{_ositdName = a})---- | JSONP-ositdCallback :: Lens' OrganizationsStoredInfoTypesDelete (Maybe Text)-ositdCallback- = lens _ositdCallback- (\ s a -> s{_ositdCallback = a})--instance GoogleRequest- OrganizationsStoredInfoTypesDelete- where- type Rs OrganizationsStoredInfoTypesDelete =- GoogleProtobufEmpty- type Scopes OrganizationsStoredInfoTypesDelete =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient OrganizationsStoredInfoTypesDelete'{..}- = go _ositdName _ositdXgafv _ositdUploadProtocol- _ositdAccessToken- _ositdUploadType- _ositdCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy ::- Proxy OrganizationsStoredInfoTypesDeleteResource)- mempty
− gen/Network/Google/Resource/DLP/Organizations/StoredInfoTypes/Get.hs
@@ -1,162 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets a stored infoType. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.organizations.storedInfoTypes.get@.-module Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Get- (- -- * REST Resource- OrganizationsStoredInfoTypesGetResource-- -- * Creating a Request- , organizationsStoredInfoTypesGet- , OrganizationsStoredInfoTypesGet-- -- * Request Lenses- , ositgXgafv- , ositgUploadProtocol- , ositgAccessToken- , ositgUploadType- , ositgName- , ositgCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.organizations.storedInfoTypes.get@ method which the--- 'OrganizationsStoredInfoTypesGet' request conforms to.-type OrganizationsStoredInfoTypesGetResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] GooglePrivacyDlpV2StoredInfoType---- | Gets a stored infoType. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ 'organizationsStoredInfoTypesGet' smart constructor.-data OrganizationsStoredInfoTypesGet =- OrganizationsStoredInfoTypesGet'- { _ositgXgafv :: !(Maybe Xgafv)- , _ositgUploadProtocol :: !(Maybe Text)- , _ositgAccessToken :: !(Maybe Text)- , _ositgUploadType :: !(Maybe Text)- , _ositgName :: !Text- , _ositgCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrganizationsStoredInfoTypesGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ositgXgafv'------ * 'ositgUploadProtocol'------ * 'ositgAccessToken'------ * 'ositgUploadType'------ * 'ositgName'------ * 'ositgCallback'-organizationsStoredInfoTypesGet- :: Text -- ^ 'ositgName'- -> OrganizationsStoredInfoTypesGet-organizationsStoredInfoTypesGet pOsitgName_ =- OrganizationsStoredInfoTypesGet'- { _ositgXgafv = Nothing- , _ositgUploadProtocol = Nothing- , _ositgAccessToken = Nothing- , _ositgUploadType = Nothing- , _ositgName = pOsitgName_- , _ositgCallback = Nothing- }----- | V1 error format.-ositgXgafv :: Lens' OrganizationsStoredInfoTypesGet (Maybe Xgafv)-ositgXgafv- = lens _ositgXgafv (\ s a -> s{_ositgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-ositgUploadProtocol :: Lens' OrganizationsStoredInfoTypesGet (Maybe Text)-ositgUploadProtocol- = lens _ositgUploadProtocol- (\ s a -> s{_ositgUploadProtocol = a})---- | OAuth access token.-ositgAccessToken :: Lens' OrganizationsStoredInfoTypesGet (Maybe Text)-ositgAccessToken- = lens _ositgAccessToken- (\ s a -> s{_ositgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-ositgUploadType :: Lens' OrganizationsStoredInfoTypesGet (Maybe Text)-ositgUploadType- = lens _ositgUploadType- (\ s a -> s{_ositgUploadType = a})---- | Resource name of the organization and storedInfoType to be read, for--- example \`organizations\/433245324\/storedInfoTypes\/432452342\` or--- projects\/project-id\/storedInfoTypes\/432452342.-ositgName :: Lens' OrganizationsStoredInfoTypesGet Text-ositgName- = lens _ositgName (\ s a -> s{_ositgName = a})---- | JSONP-ositgCallback :: Lens' OrganizationsStoredInfoTypesGet (Maybe Text)-ositgCallback- = lens _ositgCallback- (\ s a -> s{_ositgCallback = a})--instance GoogleRequest- OrganizationsStoredInfoTypesGet- where- type Rs OrganizationsStoredInfoTypesGet =- GooglePrivacyDlpV2StoredInfoType- type Scopes OrganizationsStoredInfoTypesGet =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient OrganizationsStoredInfoTypesGet'{..}- = go _ositgName _ositgXgafv _ositgUploadProtocol- _ositgAccessToken- _ositgUploadType- _ositgCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy ::- Proxy OrganizationsStoredInfoTypesGetResource)- mempty
− gen/Network/Google/Resource/DLP/Organizations/StoredInfoTypes/List.hs
@@ -1,211 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Organizations.StoredInfoTypes.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists stored infoTypes. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.organizations.storedInfoTypes.list@.-module Network.Google.Resource.DLP.Organizations.StoredInfoTypes.List- (- -- * REST Resource- OrganizationsStoredInfoTypesListResource-- -- * Creating a Request- , organizationsStoredInfoTypesList- , OrganizationsStoredInfoTypesList-- -- * Request Lenses- , ositlParent- , ositlXgafv- , ositlUploadProtocol- , ositlOrderBy- , ositlAccessToken- , ositlUploadType- , ositlPageToken- , ositlPageSize- , ositlCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.organizations.storedInfoTypes.list@ method which the--- 'OrganizationsStoredInfoTypesList' request conforms to.-type OrganizationsStoredInfoTypesListResource =- "v2" :>- Capture "parent" Text :>- "storedInfoTypes" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "orderBy" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON]- GooglePrivacyDlpV2ListStoredInfoTypesResponse---- | Lists stored infoTypes. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ 'organizationsStoredInfoTypesList' smart constructor.-data OrganizationsStoredInfoTypesList =- OrganizationsStoredInfoTypesList'- { _ositlParent :: !Text- , _ositlXgafv :: !(Maybe Xgafv)- , _ositlUploadProtocol :: !(Maybe Text)- , _ositlOrderBy :: !(Maybe Text)- , _ositlAccessToken :: !(Maybe Text)- , _ositlUploadType :: !(Maybe Text)- , _ositlPageToken :: !(Maybe Text)- , _ositlPageSize :: !(Maybe (Textual Int32))- , _ositlCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrganizationsStoredInfoTypesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ositlParent'------ * 'ositlXgafv'------ * 'ositlUploadProtocol'------ * 'ositlOrderBy'------ * 'ositlAccessToken'------ * 'ositlUploadType'------ * 'ositlPageToken'------ * 'ositlPageSize'------ * 'ositlCallback'-organizationsStoredInfoTypesList- :: Text -- ^ 'ositlParent'- -> OrganizationsStoredInfoTypesList-organizationsStoredInfoTypesList pOsitlParent_ =- OrganizationsStoredInfoTypesList'- { _ositlParent = pOsitlParent_- , _ositlXgafv = Nothing- , _ositlUploadProtocol = Nothing- , _ositlOrderBy = Nothing- , _ositlAccessToken = Nothing- , _ositlUploadType = Nothing- , _ositlPageToken = Nothing- , _ositlPageSize = Nothing- , _ositlCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id or--- organizations\/my-org-id.-ositlParent :: Lens' OrganizationsStoredInfoTypesList Text-ositlParent- = lens _ositlParent (\ s a -> s{_ositlParent = a})---- | V1 error format.-ositlXgafv :: Lens' OrganizationsStoredInfoTypesList (Maybe Xgafv)-ositlXgafv- = lens _ositlXgafv (\ s a -> s{_ositlXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-ositlUploadProtocol :: Lens' OrganizationsStoredInfoTypesList (Maybe Text)-ositlUploadProtocol- = lens _ositlUploadProtocol- (\ s a -> s{_ositlUploadProtocol = a})---- | Optional comma separated list of fields to order by, followed by \`asc\`--- or \`desc\` postfix. This list is case-insensitive, default sorting--- order is ascending, redundant space characters are insignificant.--- Example: \`name asc, display_name, create_time desc\` Supported fields--- are: - \`create_time\`: corresponds to time the most recent version of--- the resource was created. - \`state\`: corresponds to the state of the--- resource. - \`name\`: corresponds to resource name. - \`display_name\`:--- corresponds to info type\'s display name.-ositlOrderBy :: Lens' OrganizationsStoredInfoTypesList (Maybe Text)-ositlOrderBy- = lens _ositlOrderBy (\ s a -> s{_ositlOrderBy = a})---- | OAuth access token.-ositlAccessToken :: Lens' OrganizationsStoredInfoTypesList (Maybe Text)-ositlAccessToken- = lens _ositlAccessToken- (\ s a -> s{_ositlAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-ositlUploadType :: Lens' OrganizationsStoredInfoTypesList (Maybe Text)-ositlUploadType- = lens _ositlUploadType- (\ s a -> s{_ositlUploadType = a})---- | Optional page token to continue retrieval. Comes from previous call to--- \`ListStoredInfoTypes\`.-ositlPageToken :: Lens' OrganizationsStoredInfoTypesList (Maybe Text)-ositlPageToken- = lens _ositlPageToken- (\ s a -> s{_ositlPageToken = a})---- | Optional size of the page, can be limited by server. If zero server--- returns a page of max size 100.-ositlPageSize :: Lens' OrganizationsStoredInfoTypesList (Maybe Int32)-ositlPageSize- = lens _ositlPageSize- (\ s a -> s{_ositlPageSize = a})- . mapping _Coerce---- | JSONP-ositlCallback :: Lens' OrganizationsStoredInfoTypesList (Maybe Text)-ositlCallback- = lens _ositlCallback- (\ s a -> s{_ositlCallback = a})--instance GoogleRequest- OrganizationsStoredInfoTypesList- where- type Rs OrganizationsStoredInfoTypesList =- GooglePrivacyDlpV2ListStoredInfoTypesResponse- type Scopes OrganizationsStoredInfoTypesList =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient OrganizationsStoredInfoTypesList'{..}- = go _ositlParent _ositlXgafv _ositlUploadProtocol- _ositlOrderBy- _ositlAccessToken- _ositlUploadType- _ositlPageToken- _ositlPageSize- _ositlCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy ::- Proxy OrganizationsStoredInfoTypesListResource)- mempty
− gen/Network/Google/Resource/DLP/Organizations/StoredInfoTypes/Patch.hs
@@ -1,178 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Patch--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates the stored infoType by creating a new version. The existing--- version will continue to be used until the new version is ready. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.organizations.storedInfoTypes.patch@.-module Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Patch- (- -- * REST Resource- OrganizationsStoredInfoTypesPatchResource-- -- * Creating a Request- , organizationsStoredInfoTypesPatch- , OrganizationsStoredInfoTypesPatch-- -- * Request Lenses- , ositpXgafv- , ositpUploadProtocol- , ositpAccessToken- , ositpUploadType- , ositpPayload- , ositpName- , ositpCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.organizations.storedInfoTypes.patch@ method which the--- 'OrganizationsStoredInfoTypesPatch' request conforms to.-type OrganizationsStoredInfoTypesPatchResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2UpdateStoredInfoTypeRequest- :> Patch '[JSON] GooglePrivacyDlpV2StoredInfoType---- | Updates the stored infoType by creating a new version. The existing--- version will continue to be used until the new version is ready. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ 'organizationsStoredInfoTypesPatch' smart constructor.-data OrganizationsStoredInfoTypesPatch =- OrganizationsStoredInfoTypesPatch'- { _ositpXgafv :: !(Maybe Xgafv)- , _ositpUploadProtocol :: !(Maybe Text)- , _ositpAccessToken :: !(Maybe Text)- , _ositpUploadType :: !(Maybe Text)- , _ositpPayload :: !GooglePrivacyDlpV2UpdateStoredInfoTypeRequest- , _ositpName :: !Text- , _ositpCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'OrganizationsStoredInfoTypesPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ositpXgafv'------ * 'ositpUploadProtocol'------ * 'ositpAccessToken'------ * 'ositpUploadType'------ * 'ositpPayload'------ * 'ositpName'------ * 'ositpCallback'-organizationsStoredInfoTypesPatch- :: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest -- ^ 'ositpPayload'- -> Text -- ^ 'ositpName'- -> OrganizationsStoredInfoTypesPatch-organizationsStoredInfoTypesPatch pOsitpPayload_ pOsitpName_ =- OrganizationsStoredInfoTypesPatch'- { _ositpXgafv = Nothing- , _ositpUploadProtocol = Nothing- , _ositpAccessToken = Nothing- , _ositpUploadType = Nothing- , _ositpPayload = pOsitpPayload_- , _ositpName = pOsitpName_- , _ositpCallback = Nothing- }----- | V1 error format.-ositpXgafv :: Lens' OrganizationsStoredInfoTypesPatch (Maybe Xgafv)-ositpXgafv- = lens _ositpXgafv (\ s a -> s{_ositpXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-ositpUploadProtocol :: Lens' OrganizationsStoredInfoTypesPatch (Maybe Text)-ositpUploadProtocol- = lens _ositpUploadProtocol- (\ s a -> s{_ositpUploadProtocol = a})---- | OAuth access token.-ositpAccessToken :: Lens' OrganizationsStoredInfoTypesPatch (Maybe Text)-ositpAccessToken- = lens _ositpAccessToken- (\ s a -> s{_ositpAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-ositpUploadType :: Lens' OrganizationsStoredInfoTypesPatch (Maybe Text)-ositpUploadType- = lens _ositpUploadType- (\ s a -> s{_ositpUploadType = a})---- | Multipart request metadata.-ositpPayload :: Lens' OrganizationsStoredInfoTypesPatch GooglePrivacyDlpV2UpdateStoredInfoTypeRequest-ositpPayload- = lens _ositpPayload (\ s a -> s{_ositpPayload = a})---- | Resource name of organization and storedInfoType to be updated, for--- example \`organizations\/433245324\/storedInfoTypes\/432452342\` or--- projects\/project-id\/storedInfoTypes\/432452342.-ositpName :: Lens' OrganizationsStoredInfoTypesPatch Text-ositpName- = lens _ositpName (\ s a -> s{_ositpName = a})---- | JSONP-ositpCallback :: Lens' OrganizationsStoredInfoTypesPatch (Maybe Text)-ositpCallback- = lens _ositpCallback- (\ s a -> s{_ositpCallback = a})--instance GoogleRequest- OrganizationsStoredInfoTypesPatch- where- type Rs OrganizationsStoredInfoTypesPatch =- GooglePrivacyDlpV2StoredInfoType- type Scopes OrganizationsStoredInfoTypesPatch =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient OrganizationsStoredInfoTypesPatch'{..}- = go _ositpName _ositpXgafv _ositpUploadProtocol- _ositpAccessToken- _ositpUploadType- _ositpCallback- (Just AltJSON)- _ositpPayload- dLPService- where go- = buildClient- (Proxy ::- Proxy OrganizationsStoredInfoTypesPatchResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/Content/Deidentify.hs
@@ -1,181 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.Content.Deidentify--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ De-identifies potentially sensitive info from a ContentItem. This method--- has limits on input size and output size. See--- https:\/\/cloud.google.com\/dlp\/docs\/deidentify-sensitive-data to--- learn more. When no InfoTypes or CustomInfoTypes are specified in this--- request, the system will automatically choose what detectors to run. By--- default this may be all types, but may change over time as detectors are--- updated.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.content.deidentify@.-module Network.Google.Resource.DLP.Projects.Content.Deidentify- (- -- * REST Resource- ProjectsContentDeidentifyResource-- -- * Creating a Request- , projectsContentDeidentify- , ProjectsContentDeidentify-- -- * Request Lenses- , pcdParent- , pcdXgafv- , pcdUploadProtocol- , pcdAccessToken- , pcdUploadType- , pcdPayload- , pcdCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.content.deidentify@ method which the--- 'ProjectsContentDeidentify' request conforms to.-type ProjectsContentDeidentifyResource =- "v2" :>- Capture "parent" Text :>- "content:deidentify" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2DeidentifyContentRequest- :>- Post '[JSON]- GooglePrivacyDlpV2DeidentifyContentResponse---- | De-identifies potentially sensitive info from a ContentItem. This method--- has limits on input size and output size. See--- https:\/\/cloud.google.com\/dlp\/docs\/deidentify-sensitive-data to--- learn more. When no InfoTypes or CustomInfoTypes are specified in this--- request, the system will automatically choose what detectors to run. By--- default this may be all types, but may change over time as detectors are--- updated.------ /See:/ 'projectsContentDeidentify' smart constructor.-data ProjectsContentDeidentify =- ProjectsContentDeidentify'- { _pcdParent :: !Text- , _pcdXgafv :: !(Maybe Xgafv)- , _pcdUploadProtocol :: !(Maybe Text)- , _pcdAccessToken :: !(Maybe Text)- , _pcdUploadType :: !(Maybe Text)- , _pcdPayload :: !GooglePrivacyDlpV2DeidentifyContentRequest- , _pcdCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsContentDeidentify' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pcdParent'------ * 'pcdXgafv'------ * 'pcdUploadProtocol'------ * 'pcdAccessToken'------ * 'pcdUploadType'------ * 'pcdPayload'------ * 'pcdCallback'-projectsContentDeidentify- :: Text -- ^ 'pcdParent'- -> GooglePrivacyDlpV2DeidentifyContentRequest -- ^ 'pcdPayload'- -> ProjectsContentDeidentify-projectsContentDeidentify pPcdParent_ pPcdPayload_ =- ProjectsContentDeidentify'- { _pcdParent = pPcdParent_- , _pcdXgafv = Nothing- , _pcdUploadProtocol = Nothing- , _pcdAccessToken = Nothing- , _pcdUploadType = Nothing- , _pcdPayload = pPcdPayload_- , _pcdCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id.-pcdParent :: Lens' ProjectsContentDeidentify Text-pcdParent- = lens _pcdParent (\ s a -> s{_pcdParent = a})---- | V1 error format.-pcdXgafv :: Lens' ProjectsContentDeidentify (Maybe Xgafv)-pcdXgafv = lens _pcdXgafv (\ s a -> s{_pcdXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pcdUploadProtocol :: Lens' ProjectsContentDeidentify (Maybe Text)-pcdUploadProtocol- = lens _pcdUploadProtocol- (\ s a -> s{_pcdUploadProtocol = a})---- | OAuth access token.-pcdAccessToken :: Lens' ProjectsContentDeidentify (Maybe Text)-pcdAccessToken- = lens _pcdAccessToken- (\ s a -> s{_pcdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pcdUploadType :: Lens' ProjectsContentDeidentify (Maybe Text)-pcdUploadType- = lens _pcdUploadType- (\ s a -> s{_pcdUploadType = a})---- | Multipart request metadata.-pcdPayload :: Lens' ProjectsContentDeidentify GooglePrivacyDlpV2DeidentifyContentRequest-pcdPayload- = lens _pcdPayload (\ s a -> s{_pcdPayload = a})---- | JSONP-pcdCallback :: Lens' ProjectsContentDeidentify (Maybe Text)-pcdCallback- = lens _pcdCallback (\ s a -> s{_pcdCallback = a})--instance GoogleRequest ProjectsContentDeidentify- where- type Rs ProjectsContentDeidentify =- GooglePrivacyDlpV2DeidentifyContentResponse- type Scopes ProjectsContentDeidentify =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsContentDeidentify'{..}- = go _pcdParent _pcdXgafv _pcdUploadProtocol- _pcdAccessToken- _pcdUploadType- _pcdCallback- (Just AltJSON)- _pcdPayload- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsContentDeidentifyResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/Content/Inspect.hs
@@ -1,179 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.Content.Inspect--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Finds potentially sensitive info in content. This method has limits on--- input size, processing time, and output size. When no InfoTypes or--- CustomInfoTypes are specified in this request, the system will--- automatically choose what detectors to run. By default this may be all--- types, but may change over time as detectors are updated. For how to--- guides, see https:\/\/cloud.google.com\/dlp\/docs\/inspecting-images and--- https:\/\/cloud.google.com\/dlp\/docs\/inspecting-text,------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.content.inspect@.-module Network.Google.Resource.DLP.Projects.Content.Inspect- (- -- * REST Resource- ProjectsContentInspectResource-- -- * Creating a Request- , projectsContentInspect- , ProjectsContentInspect-- -- * Request Lenses- , pciParent- , pciXgafv- , pciUploadProtocol- , pciAccessToken- , pciUploadType- , pciPayload- , pciCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.content.inspect@ method which the--- 'ProjectsContentInspect' request conforms to.-type ProjectsContentInspectResource =- "v2" :>- Capture "parent" Text :>- "content:inspect" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2InspectContentRequest- :>- Post '[JSON] GooglePrivacyDlpV2InspectContentResponse---- | Finds potentially sensitive info in content. This method has limits on--- input size, processing time, and output size. When no InfoTypes or--- CustomInfoTypes are specified in this request, the system will--- automatically choose what detectors to run. By default this may be all--- types, but may change over time as detectors are updated. For how to--- guides, see https:\/\/cloud.google.com\/dlp\/docs\/inspecting-images and--- https:\/\/cloud.google.com\/dlp\/docs\/inspecting-text,------ /See:/ 'projectsContentInspect' smart constructor.-data ProjectsContentInspect =- ProjectsContentInspect'- { _pciParent :: !Text- , _pciXgafv :: !(Maybe Xgafv)- , _pciUploadProtocol :: !(Maybe Text)- , _pciAccessToken :: !(Maybe Text)- , _pciUploadType :: !(Maybe Text)- , _pciPayload :: !GooglePrivacyDlpV2InspectContentRequest- , _pciCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsContentInspect' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pciParent'------ * 'pciXgafv'------ * 'pciUploadProtocol'------ * 'pciAccessToken'------ * 'pciUploadType'------ * 'pciPayload'------ * 'pciCallback'-projectsContentInspect- :: Text -- ^ 'pciParent'- -> GooglePrivacyDlpV2InspectContentRequest -- ^ 'pciPayload'- -> ProjectsContentInspect-projectsContentInspect pPciParent_ pPciPayload_ =- ProjectsContentInspect'- { _pciParent = pPciParent_- , _pciXgafv = Nothing- , _pciUploadProtocol = Nothing- , _pciAccessToken = Nothing- , _pciUploadType = Nothing- , _pciPayload = pPciPayload_- , _pciCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id.-pciParent :: Lens' ProjectsContentInspect Text-pciParent- = lens _pciParent (\ s a -> s{_pciParent = a})---- | V1 error format.-pciXgafv :: Lens' ProjectsContentInspect (Maybe Xgafv)-pciXgafv = lens _pciXgafv (\ s a -> s{_pciXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pciUploadProtocol :: Lens' ProjectsContentInspect (Maybe Text)-pciUploadProtocol- = lens _pciUploadProtocol- (\ s a -> s{_pciUploadProtocol = a})---- | OAuth access token.-pciAccessToken :: Lens' ProjectsContentInspect (Maybe Text)-pciAccessToken- = lens _pciAccessToken- (\ s a -> s{_pciAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pciUploadType :: Lens' ProjectsContentInspect (Maybe Text)-pciUploadType- = lens _pciUploadType- (\ s a -> s{_pciUploadType = a})---- | Multipart request metadata.-pciPayload :: Lens' ProjectsContentInspect GooglePrivacyDlpV2InspectContentRequest-pciPayload- = lens _pciPayload (\ s a -> s{_pciPayload = a})---- | JSONP-pciCallback :: Lens' ProjectsContentInspect (Maybe Text)-pciCallback- = lens _pciCallback (\ s a -> s{_pciCallback = a})--instance GoogleRequest ProjectsContentInspect where- type Rs ProjectsContentInspect =- GooglePrivacyDlpV2InspectContentResponse- type Scopes ProjectsContentInspect =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsContentInspect'{..}- = go _pciParent _pciXgafv _pciUploadProtocol- _pciAccessToken- _pciUploadType- _pciCallback- (Just AltJSON)- _pciPayload- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsContentInspectResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/Content/Reidentify.hs
@@ -1,173 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.Content.Reidentify--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Re-identifies content that has been de-identified. See--- https:\/\/cloud.google.com\/dlp\/docs\/pseudonymization#re-identification_in_free_text_code_example--- to learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.content.reidentify@.-module Network.Google.Resource.DLP.Projects.Content.Reidentify- (- -- * REST Resource- ProjectsContentReidentifyResource-- -- * Creating a Request- , projectsContentReidentify- , ProjectsContentReidentify-- -- * Request Lenses- , pcrParent- , pcrXgafv- , pcrUploadProtocol- , pcrAccessToken- , pcrUploadType- , pcrPayload- , pcrCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.content.reidentify@ method which the--- 'ProjectsContentReidentify' request conforms to.-type ProjectsContentReidentifyResource =- "v2" :>- Capture "parent" Text :>- "content:reidentify" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2ReidentifyContentRequest- :>- Post '[JSON]- GooglePrivacyDlpV2ReidentifyContentResponse---- | Re-identifies content that has been de-identified. See--- https:\/\/cloud.google.com\/dlp\/docs\/pseudonymization#re-identification_in_free_text_code_example--- to learn more.------ /See:/ 'projectsContentReidentify' smart constructor.-data ProjectsContentReidentify =- ProjectsContentReidentify'- { _pcrParent :: !Text- , _pcrXgafv :: !(Maybe Xgafv)- , _pcrUploadProtocol :: !(Maybe Text)- , _pcrAccessToken :: !(Maybe Text)- , _pcrUploadType :: !(Maybe Text)- , _pcrPayload :: !GooglePrivacyDlpV2ReidentifyContentRequest- , _pcrCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsContentReidentify' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pcrParent'------ * 'pcrXgafv'------ * 'pcrUploadProtocol'------ * 'pcrAccessToken'------ * 'pcrUploadType'------ * 'pcrPayload'------ * 'pcrCallback'-projectsContentReidentify- :: Text -- ^ 'pcrParent'- -> GooglePrivacyDlpV2ReidentifyContentRequest -- ^ 'pcrPayload'- -> ProjectsContentReidentify-projectsContentReidentify pPcrParent_ pPcrPayload_ =- ProjectsContentReidentify'- { _pcrParent = pPcrParent_- , _pcrXgafv = Nothing- , _pcrUploadProtocol = Nothing- , _pcrAccessToken = Nothing- , _pcrUploadType = Nothing- , _pcrPayload = pPcrPayload_- , _pcrCallback = Nothing- }----- | The parent resource name.-pcrParent :: Lens' ProjectsContentReidentify Text-pcrParent- = lens _pcrParent (\ s a -> s{_pcrParent = a})---- | V1 error format.-pcrXgafv :: Lens' ProjectsContentReidentify (Maybe Xgafv)-pcrXgafv = lens _pcrXgafv (\ s a -> s{_pcrXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pcrUploadProtocol :: Lens' ProjectsContentReidentify (Maybe Text)-pcrUploadProtocol- = lens _pcrUploadProtocol- (\ s a -> s{_pcrUploadProtocol = a})---- | OAuth access token.-pcrAccessToken :: Lens' ProjectsContentReidentify (Maybe Text)-pcrAccessToken- = lens _pcrAccessToken- (\ s a -> s{_pcrAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pcrUploadType :: Lens' ProjectsContentReidentify (Maybe Text)-pcrUploadType- = lens _pcrUploadType- (\ s a -> s{_pcrUploadType = a})---- | Multipart request metadata.-pcrPayload :: Lens' ProjectsContentReidentify GooglePrivacyDlpV2ReidentifyContentRequest-pcrPayload- = lens _pcrPayload (\ s a -> s{_pcrPayload = a})---- | JSONP-pcrCallback :: Lens' ProjectsContentReidentify (Maybe Text)-pcrCallback- = lens _pcrCallback (\ s a -> s{_pcrCallback = a})--instance GoogleRequest ProjectsContentReidentify- where- type Rs ProjectsContentReidentify =- GooglePrivacyDlpV2ReidentifyContentResponse- type Scopes ProjectsContentReidentify =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsContentReidentify'{..}- = go _pcrParent _pcrXgafv _pcrUploadProtocol- _pcrAccessToken- _pcrUploadType- _pcrCallback- (Just AltJSON)- _pcrPayload- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsContentReidentifyResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/DeidentifyTemplates/Create.hs
@@ -1,177 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Create--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a DeidentifyTemplate for re-using frequently used configuration--- for de-identifying content, images, and storage. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.deidentifyTemplates.create@.-module Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Create- (- -- * REST Resource- ProjectsDeidentifyTemplatesCreateResource-- -- * Creating a Request- , projectsDeidentifyTemplatesCreate- , ProjectsDeidentifyTemplatesCreate-- -- * Request Lenses- , pdtcParent- , pdtcXgafv- , pdtcUploadProtocol- , pdtcAccessToken- , pdtcUploadType- , pdtcPayload- , pdtcCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.deidentifyTemplates.create@ method which the--- 'ProjectsDeidentifyTemplatesCreate' request conforms to.-type ProjectsDeidentifyTemplatesCreateResource =- "v2" :>- Capture "parent" Text :>- "deidentifyTemplates" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2CreateDeidentifyTemplateRequest- :> Post '[JSON] GooglePrivacyDlpV2DeidentifyTemplate---- | Creates a DeidentifyTemplate for re-using frequently used configuration--- for de-identifying content, images, and storage. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ 'projectsDeidentifyTemplatesCreate' smart constructor.-data ProjectsDeidentifyTemplatesCreate =- ProjectsDeidentifyTemplatesCreate'- { _pdtcParent :: !Text- , _pdtcXgafv :: !(Maybe Xgafv)- , _pdtcUploadProtocol :: !(Maybe Text)- , _pdtcAccessToken :: !(Maybe Text)- , _pdtcUploadType :: !(Maybe Text)- , _pdtcPayload :: !GooglePrivacyDlpV2CreateDeidentifyTemplateRequest- , _pdtcCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsDeidentifyTemplatesCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pdtcParent'------ * 'pdtcXgafv'------ * 'pdtcUploadProtocol'------ * 'pdtcAccessToken'------ * 'pdtcUploadType'------ * 'pdtcPayload'------ * 'pdtcCallback'-projectsDeidentifyTemplatesCreate- :: Text -- ^ 'pdtcParent'- -> GooglePrivacyDlpV2CreateDeidentifyTemplateRequest -- ^ 'pdtcPayload'- -> ProjectsDeidentifyTemplatesCreate-projectsDeidentifyTemplatesCreate pPdtcParent_ pPdtcPayload_ =- ProjectsDeidentifyTemplatesCreate'- { _pdtcParent = pPdtcParent_- , _pdtcXgafv = Nothing- , _pdtcUploadProtocol = Nothing- , _pdtcAccessToken = Nothing- , _pdtcUploadType = Nothing- , _pdtcPayload = pPdtcPayload_- , _pdtcCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id or--- organizations\/my-org-id.-pdtcParent :: Lens' ProjectsDeidentifyTemplatesCreate Text-pdtcParent- = lens _pdtcParent (\ s a -> s{_pdtcParent = a})---- | V1 error format.-pdtcXgafv :: Lens' ProjectsDeidentifyTemplatesCreate (Maybe Xgafv)-pdtcXgafv- = lens _pdtcXgafv (\ s a -> s{_pdtcXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pdtcUploadProtocol :: Lens' ProjectsDeidentifyTemplatesCreate (Maybe Text)-pdtcUploadProtocol- = lens _pdtcUploadProtocol- (\ s a -> s{_pdtcUploadProtocol = a})---- | OAuth access token.-pdtcAccessToken :: Lens' ProjectsDeidentifyTemplatesCreate (Maybe Text)-pdtcAccessToken- = lens _pdtcAccessToken- (\ s a -> s{_pdtcAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pdtcUploadType :: Lens' ProjectsDeidentifyTemplatesCreate (Maybe Text)-pdtcUploadType- = lens _pdtcUploadType- (\ s a -> s{_pdtcUploadType = a})---- | Multipart request metadata.-pdtcPayload :: Lens' ProjectsDeidentifyTemplatesCreate GooglePrivacyDlpV2CreateDeidentifyTemplateRequest-pdtcPayload- = lens _pdtcPayload (\ s a -> s{_pdtcPayload = a})---- | JSONP-pdtcCallback :: Lens' ProjectsDeidentifyTemplatesCreate (Maybe Text)-pdtcCallback- = lens _pdtcCallback (\ s a -> s{_pdtcCallback = a})--instance GoogleRequest- ProjectsDeidentifyTemplatesCreate- where- type Rs ProjectsDeidentifyTemplatesCreate =- GooglePrivacyDlpV2DeidentifyTemplate- type Scopes ProjectsDeidentifyTemplatesCreate =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsDeidentifyTemplatesCreate'{..}- = go _pdtcParent _pdtcXgafv _pdtcUploadProtocol- _pdtcAccessToken- _pdtcUploadType- _pdtcCallback- (Just AltJSON)- _pdtcPayload- dLPService- where go- = buildClient- (Proxy ::- Proxy ProjectsDeidentifyTemplatesCreateResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/DeidentifyTemplates/Delete.hs
@@ -1,160 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Delete--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes a DeidentifyTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.deidentifyTemplates.delete@.-module Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Delete- (- -- * REST Resource- ProjectsDeidentifyTemplatesDeleteResource-- -- * Creating a Request- , projectsDeidentifyTemplatesDelete- , ProjectsDeidentifyTemplatesDelete-- -- * Request Lenses- , pdtdXgafv- , pdtdUploadProtocol- , pdtdAccessToken- , pdtdUploadType- , pdtdName- , pdtdCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.deidentifyTemplates.delete@ method which the--- 'ProjectsDeidentifyTemplatesDelete' request conforms to.-type ProjectsDeidentifyTemplatesDeleteResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Delete '[JSON] GoogleProtobufEmpty---- | Deletes a DeidentifyTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ 'projectsDeidentifyTemplatesDelete' smart constructor.-data ProjectsDeidentifyTemplatesDelete =- ProjectsDeidentifyTemplatesDelete'- { _pdtdXgafv :: !(Maybe Xgafv)- , _pdtdUploadProtocol :: !(Maybe Text)- , _pdtdAccessToken :: !(Maybe Text)- , _pdtdUploadType :: !(Maybe Text)- , _pdtdName :: !Text- , _pdtdCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsDeidentifyTemplatesDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pdtdXgafv'------ * 'pdtdUploadProtocol'------ * 'pdtdAccessToken'------ * 'pdtdUploadType'------ * 'pdtdName'------ * 'pdtdCallback'-projectsDeidentifyTemplatesDelete- :: Text -- ^ 'pdtdName'- -> ProjectsDeidentifyTemplatesDelete-projectsDeidentifyTemplatesDelete pPdtdName_ =- ProjectsDeidentifyTemplatesDelete'- { _pdtdXgafv = Nothing- , _pdtdUploadProtocol = Nothing- , _pdtdAccessToken = Nothing- , _pdtdUploadType = Nothing- , _pdtdName = pPdtdName_- , _pdtdCallback = Nothing- }----- | V1 error format.-pdtdXgafv :: Lens' ProjectsDeidentifyTemplatesDelete (Maybe Xgafv)-pdtdXgafv- = lens _pdtdXgafv (\ s a -> s{_pdtdXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pdtdUploadProtocol :: Lens' ProjectsDeidentifyTemplatesDelete (Maybe Text)-pdtdUploadProtocol- = lens _pdtdUploadProtocol- (\ s a -> s{_pdtdUploadProtocol = a})---- | OAuth access token.-pdtdAccessToken :: Lens' ProjectsDeidentifyTemplatesDelete (Maybe Text)-pdtdAccessToken- = lens _pdtdAccessToken- (\ s a -> s{_pdtdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pdtdUploadType :: Lens' ProjectsDeidentifyTemplatesDelete (Maybe Text)-pdtdUploadType- = lens _pdtdUploadType- (\ s a -> s{_pdtdUploadType = a})---- | Resource name of the organization and deidentify template to be deleted,--- for example \`organizations\/433245324\/deidentifyTemplates\/432452342\`--- or projects\/project-id\/deidentifyTemplates\/432452342.-pdtdName :: Lens' ProjectsDeidentifyTemplatesDelete Text-pdtdName = lens _pdtdName (\ s a -> s{_pdtdName = a})---- | JSONP-pdtdCallback :: Lens' ProjectsDeidentifyTemplatesDelete (Maybe Text)-pdtdCallback- = lens _pdtdCallback (\ s a -> s{_pdtdCallback = a})--instance GoogleRequest- ProjectsDeidentifyTemplatesDelete- where- type Rs ProjectsDeidentifyTemplatesDelete =- GoogleProtobufEmpty- type Scopes ProjectsDeidentifyTemplatesDelete =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsDeidentifyTemplatesDelete'{..}- = go _pdtdName _pdtdXgafv _pdtdUploadProtocol- _pdtdAccessToken- _pdtdUploadType- _pdtdCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy ::- Proxy ProjectsDeidentifyTemplatesDeleteResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/DeidentifyTemplates/Get.hs
@@ -1,159 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets a DeidentifyTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.deidentifyTemplates.get@.-module Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Get- (- -- * REST Resource- ProjectsDeidentifyTemplatesGetResource-- -- * Creating a Request- , projectsDeidentifyTemplatesGet- , ProjectsDeidentifyTemplatesGet-- -- * Request Lenses- , pdtgXgafv- , pdtgUploadProtocol- , pdtgAccessToken- , pdtgUploadType- , pdtgName- , pdtgCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.deidentifyTemplates.get@ method which the--- 'ProjectsDeidentifyTemplatesGet' request conforms to.-type ProjectsDeidentifyTemplatesGetResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] GooglePrivacyDlpV2DeidentifyTemplate---- | Gets a DeidentifyTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ 'projectsDeidentifyTemplatesGet' smart constructor.-data ProjectsDeidentifyTemplatesGet =- ProjectsDeidentifyTemplatesGet'- { _pdtgXgafv :: !(Maybe Xgafv)- , _pdtgUploadProtocol :: !(Maybe Text)- , _pdtgAccessToken :: !(Maybe Text)- , _pdtgUploadType :: !(Maybe Text)- , _pdtgName :: !Text- , _pdtgCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsDeidentifyTemplatesGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pdtgXgafv'------ * 'pdtgUploadProtocol'------ * 'pdtgAccessToken'------ * 'pdtgUploadType'------ * 'pdtgName'------ * 'pdtgCallback'-projectsDeidentifyTemplatesGet- :: Text -- ^ 'pdtgName'- -> ProjectsDeidentifyTemplatesGet-projectsDeidentifyTemplatesGet pPdtgName_ =- ProjectsDeidentifyTemplatesGet'- { _pdtgXgafv = Nothing- , _pdtgUploadProtocol = Nothing- , _pdtgAccessToken = Nothing- , _pdtgUploadType = Nothing- , _pdtgName = pPdtgName_- , _pdtgCallback = Nothing- }----- | V1 error format.-pdtgXgafv :: Lens' ProjectsDeidentifyTemplatesGet (Maybe Xgafv)-pdtgXgafv- = lens _pdtgXgafv (\ s a -> s{_pdtgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pdtgUploadProtocol :: Lens' ProjectsDeidentifyTemplatesGet (Maybe Text)-pdtgUploadProtocol- = lens _pdtgUploadProtocol- (\ s a -> s{_pdtgUploadProtocol = a})---- | OAuth access token.-pdtgAccessToken :: Lens' ProjectsDeidentifyTemplatesGet (Maybe Text)-pdtgAccessToken- = lens _pdtgAccessToken- (\ s a -> s{_pdtgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pdtgUploadType :: Lens' ProjectsDeidentifyTemplatesGet (Maybe Text)-pdtgUploadType- = lens _pdtgUploadType- (\ s a -> s{_pdtgUploadType = a})---- | Resource name of the organization and deidentify template to be read,--- for example \`organizations\/433245324\/deidentifyTemplates\/432452342\`--- or projects\/project-id\/deidentifyTemplates\/432452342.-pdtgName :: Lens' ProjectsDeidentifyTemplatesGet Text-pdtgName = lens _pdtgName (\ s a -> s{_pdtgName = a})---- | JSONP-pdtgCallback :: Lens' ProjectsDeidentifyTemplatesGet (Maybe Text)-pdtgCallback- = lens _pdtgCallback (\ s a -> s{_pdtgCallback = a})--instance GoogleRequest ProjectsDeidentifyTemplatesGet- where- type Rs ProjectsDeidentifyTemplatesGet =- GooglePrivacyDlpV2DeidentifyTemplate- type Scopes ProjectsDeidentifyTemplatesGet =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsDeidentifyTemplatesGet'{..}- = go _pdtgName _pdtgXgafv _pdtgUploadProtocol- _pdtgAccessToken- _pdtgUploadType- _pdtgCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy ::- Proxy ProjectsDeidentifyTemplatesGetResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/DeidentifyTemplates/List.hs
@@ -1,209 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.DeidentifyTemplates.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists DeidentifyTemplates. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.deidentifyTemplates.list@.-module Network.Google.Resource.DLP.Projects.DeidentifyTemplates.List- (- -- * REST Resource- ProjectsDeidentifyTemplatesListResource-- -- * Creating a Request- , projectsDeidentifyTemplatesList- , ProjectsDeidentifyTemplatesList-- -- * Request Lenses- , pdtlParent- , pdtlXgafv- , pdtlUploadProtocol- , pdtlOrderBy- , pdtlAccessToken- , pdtlUploadType- , pdtlPageToken- , pdtlPageSize- , pdtlCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.deidentifyTemplates.list@ method which the--- 'ProjectsDeidentifyTemplatesList' request conforms to.-type ProjectsDeidentifyTemplatesListResource =- "v2" :>- Capture "parent" Text :>- "deidentifyTemplates" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "orderBy" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON]- GooglePrivacyDlpV2ListDeidentifyTemplatesResponse---- | Lists DeidentifyTemplates. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ 'projectsDeidentifyTemplatesList' smart constructor.-data ProjectsDeidentifyTemplatesList =- ProjectsDeidentifyTemplatesList'- { _pdtlParent :: !Text- , _pdtlXgafv :: !(Maybe Xgafv)- , _pdtlUploadProtocol :: !(Maybe Text)- , _pdtlOrderBy :: !(Maybe Text)- , _pdtlAccessToken :: !(Maybe Text)- , _pdtlUploadType :: !(Maybe Text)- , _pdtlPageToken :: !(Maybe Text)- , _pdtlPageSize :: !(Maybe (Textual Int32))- , _pdtlCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsDeidentifyTemplatesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pdtlParent'------ * 'pdtlXgafv'------ * 'pdtlUploadProtocol'------ * 'pdtlOrderBy'------ * 'pdtlAccessToken'------ * 'pdtlUploadType'------ * 'pdtlPageToken'------ * 'pdtlPageSize'------ * 'pdtlCallback'-projectsDeidentifyTemplatesList- :: Text -- ^ 'pdtlParent'- -> ProjectsDeidentifyTemplatesList-projectsDeidentifyTemplatesList pPdtlParent_ =- ProjectsDeidentifyTemplatesList'- { _pdtlParent = pPdtlParent_- , _pdtlXgafv = Nothing- , _pdtlUploadProtocol = Nothing- , _pdtlOrderBy = Nothing- , _pdtlAccessToken = Nothing- , _pdtlUploadType = Nothing- , _pdtlPageToken = Nothing- , _pdtlPageSize = Nothing- , _pdtlCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id or--- organizations\/my-org-id.-pdtlParent :: Lens' ProjectsDeidentifyTemplatesList Text-pdtlParent- = lens _pdtlParent (\ s a -> s{_pdtlParent = a})---- | V1 error format.-pdtlXgafv :: Lens' ProjectsDeidentifyTemplatesList (Maybe Xgafv)-pdtlXgafv- = lens _pdtlXgafv (\ s a -> s{_pdtlXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pdtlUploadProtocol :: Lens' ProjectsDeidentifyTemplatesList (Maybe Text)-pdtlUploadProtocol- = lens _pdtlUploadProtocol- (\ s a -> s{_pdtlUploadProtocol = a})---- | Optional comma separated list of fields to order by, followed by \`asc\`--- or \`desc\` postfix. This list is case-insensitive, default sorting--- order is ascending, redundant space characters are insignificant.--- Example: \`name asc,update_time, create_time desc\` Supported fields--- are: - \`create_time\`: corresponds to time the template was created. ---- \`update_time\`: corresponds to time the template was last updated. ---- \`name\`: corresponds to template\'s name. - \`display_name\`:--- corresponds to template\'s display name.-pdtlOrderBy :: Lens' ProjectsDeidentifyTemplatesList (Maybe Text)-pdtlOrderBy- = lens _pdtlOrderBy (\ s a -> s{_pdtlOrderBy = a})---- | OAuth access token.-pdtlAccessToken :: Lens' ProjectsDeidentifyTemplatesList (Maybe Text)-pdtlAccessToken- = lens _pdtlAccessToken- (\ s a -> s{_pdtlAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pdtlUploadType :: Lens' ProjectsDeidentifyTemplatesList (Maybe Text)-pdtlUploadType- = lens _pdtlUploadType- (\ s a -> s{_pdtlUploadType = a})---- | Optional page token to continue retrieval. Comes from previous call to--- \`ListDeidentifyTemplates\`.-pdtlPageToken :: Lens' ProjectsDeidentifyTemplatesList (Maybe Text)-pdtlPageToken- = lens _pdtlPageToken- (\ s a -> s{_pdtlPageToken = a})---- | Optional size of the page, can be limited by server. If zero server--- returns a page of max size 100.-pdtlPageSize :: Lens' ProjectsDeidentifyTemplatesList (Maybe Int32)-pdtlPageSize- = lens _pdtlPageSize (\ s a -> s{_pdtlPageSize = a})- . mapping _Coerce---- | JSONP-pdtlCallback :: Lens' ProjectsDeidentifyTemplatesList (Maybe Text)-pdtlCallback- = lens _pdtlCallback (\ s a -> s{_pdtlCallback = a})--instance GoogleRequest- ProjectsDeidentifyTemplatesList- where- type Rs ProjectsDeidentifyTemplatesList =- GooglePrivacyDlpV2ListDeidentifyTemplatesResponse- type Scopes ProjectsDeidentifyTemplatesList =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsDeidentifyTemplatesList'{..}- = go _pdtlParent _pdtlXgafv _pdtlUploadProtocol- _pdtlOrderBy- _pdtlAccessToken- _pdtlUploadType- _pdtlPageToken- _pdtlPageSize- _pdtlCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy ::- Proxy ProjectsDeidentifyTemplatesListResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/DeidentifyTemplates/Patch.hs
@@ -1,174 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Patch--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates the DeidentifyTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.deidentifyTemplates.patch@.-module Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Patch- (- -- * REST Resource- ProjectsDeidentifyTemplatesPatchResource-- -- * Creating a Request- , projectsDeidentifyTemplatesPatch- , ProjectsDeidentifyTemplatesPatch-- -- * Request Lenses- , pdtpXgafv- , pdtpUploadProtocol- , pdtpAccessToken- , pdtpUploadType- , pdtpPayload- , pdtpName- , pdtpCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.deidentifyTemplates.patch@ method which the--- 'ProjectsDeidentifyTemplatesPatch' request conforms to.-type ProjectsDeidentifyTemplatesPatchResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest- :> Patch '[JSON] GooglePrivacyDlpV2DeidentifyTemplate---- | Updates the DeidentifyTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates-deid to learn--- more.------ /See:/ 'projectsDeidentifyTemplatesPatch' smart constructor.-data ProjectsDeidentifyTemplatesPatch =- ProjectsDeidentifyTemplatesPatch'- { _pdtpXgafv :: !(Maybe Xgafv)- , _pdtpUploadProtocol :: !(Maybe Text)- , _pdtpAccessToken :: !(Maybe Text)- , _pdtpUploadType :: !(Maybe Text)- , _pdtpPayload :: !GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest- , _pdtpName :: !Text- , _pdtpCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsDeidentifyTemplatesPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pdtpXgafv'------ * 'pdtpUploadProtocol'------ * 'pdtpAccessToken'------ * 'pdtpUploadType'------ * 'pdtpPayload'------ * 'pdtpName'------ * 'pdtpCallback'-projectsDeidentifyTemplatesPatch- :: GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest -- ^ 'pdtpPayload'- -> Text -- ^ 'pdtpName'- -> ProjectsDeidentifyTemplatesPatch-projectsDeidentifyTemplatesPatch pPdtpPayload_ pPdtpName_ =- ProjectsDeidentifyTemplatesPatch'- { _pdtpXgafv = Nothing- , _pdtpUploadProtocol = Nothing- , _pdtpAccessToken = Nothing- , _pdtpUploadType = Nothing- , _pdtpPayload = pPdtpPayload_- , _pdtpName = pPdtpName_- , _pdtpCallback = Nothing- }----- | V1 error format.-pdtpXgafv :: Lens' ProjectsDeidentifyTemplatesPatch (Maybe Xgafv)-pdtpXgafv- = lens _pdtpXgafv (\ s a -> s{_pdtpXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pdtpUploadProtocol :: Lens' ProjectsDeidentifyTemplatesPatch (Maybe Text)-pdtpUploadProtocol- = lens _pdtpUploadProtocol- (\ s a -> s{_pdtpUploadProtocol = a})---- | OAuth access token.-pdtpAccessToken :: Lens' ProjectsDeidentifyTemplatesPatch (Maybe Text)-pdtpAccessToken- = lens _pdtpAccessToken- (\ s a -> s{_pdtpAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pdtpUploadType :: Lens' ProjectsDeidentifyTemplatesPatch (Maybe Text)-pdtpUploadType- = lens _pdtpUploadType- (\ s a -> s{_pdtpUploadType = a})---- | Multipart request metadata.-pdtpPayload :: Lens' ProjectsDeidentifyTemplatesPatch GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest-pdtpPayload- = lens _pdtpPayload (\ s a -> s{_pdtpPayload = a})---- | Resource name of organization and deidentify template to be updated, for--- example \`organizations\/433245324\/deidentifyTemplates\/432452342\` or--- projects\/project-id\/deidentifyTemplates\/432452342.-pdtpName :: Lens' ProjectsDeidentifyTemplatesPatch Text-pdtpName = lens _pdtpName (\ s a -> s{_pdtpName = a})---- | JSONP-pdtpCallback :: Lens' ProjectsDeidentifyTemplatesPatch (Maybe Text)-pdtpCallback- = lens _pdtpCallback (\ s a -> s{_pdtpCallback = a})--instance GoogleRequest- ProjectsDeidentifyTemplatesPatch- where- type Rs ProjectsDeidentifyTemplatesPatch =- GooglePrivacyDlpV2DeidentifyTemplate- type Scopes ProjectsDeidentifyTemplatesPatch =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsDeidentifyTemplatesPatch'{..}- = go _pdtpName _pdtpXgafv _pdtpUploadProtocol- _pdtpAccessToken- _pdtpUploadType- _pdtpCallback- (Just AltJSON)- _pdtpPayload- dLPService- where go- = buildClient- (Proxy ::- Proxy ProjectsDeidentifyTemplatesPatchResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/DlpJobs/Cancel.hs
@@ -1,171 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.DlpJobs.Cancel--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Starts asynchronous cancellation on a long-running DlpJob. The server--- makes a best effort to cancel the DlpJob, but success is not guaranteed.--- See https:\/\/cloud.google.com\/dlp\/docs\/inspecting-storage and--- https:\/\/cloud.google.com\/dlp\/docs\/compute-risk-analysis to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.dlpJobs.cancel@.-module Network.Google.Resource.DLP.Projects.DlpJobs.Cancel- (- -- * REST Resource- ProjectsDlpJobsCancelResource-- -- * Creating a Request- , projectsDlpJobsCancel- , ProjectsDlpJobsCancel-- -- * Request Lenses- , pdjcXgafv- , pdjcUploadProtocol- , pdjcAccessToken- , pdjcUploadType- , pdjcPayload- , pdjcName- , pdjcCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.dlpJobs.cancel@ method which the--- 'ProjectsDlpJobsCancel' request conforms to.-type ProjectsDlpJobsCancelResource =- "v2" :>- CaptureMode "name" "cancel" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] GooglePrivacyDlpV2CancelDlpJobRequest- :> Post '[JSON] GoogleProtobufEmpty---- | Starts asynchronous cancellation on a long-running DlpJob. The server--- makes a best effort to cancel the DlpJob, but success is not guaranteed.--- See https:\/\/cloud.google.com\/dlp\/docs\/inspecting-storage and--- https:\/\/cloud.google.com\/dlp\/docs\/compute-risk-analysis to learn--- more.------ /See:/ 'projectsDlpJobsCancel' smart constructor.-data ProjectsDlpJobsCancel =- ProjectsDlpJobsCancel'- { _pdjcXgafv :: !(Maybe Xgafv)- , _pdjcUploadProtocol :: !(Maybe Text)- , _pdjcAccessToken :: !(Maybe Text)- , _pdjcUploadType :: !(Maybe Text)- , _pdjcPayload :: !GooglePrivacyDlpV2CancelDlpJobRequest- , _pdjcName :: !Text- , _pdjcCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsDlpJobsCancel' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pdjcXgafv'------ * 'pdjcUploadProtocol'------ * 'pdjcAccessToken'------ * 'pdjcUploadType'------ * 'pdjcPayload'------ * 'pdjcName'------ * 'pdjcCallback'-projectsDlpJobsCancel- :: GooglePrivacyDlpV2CancelDlpJobRequest -- ^ 'pdjcPayload'- -> Text -- ^ 'pdjcName'- -> ProjectsDlpJobsCancel-projectsDlpJobsCancel pPdjcPayload_ pPdjcName_ =- ProjectsDlpJobsCancel'- { _pdjcXgafv = Nothing- , _pdjcUploadProtocol = Nothing- , _pdjcAccessToken = Nothing- , _pdjcUploadType = Nothing- , _pdjcPayload = pPdjcPayload_- , _pdjcName = pPdjcName_- , _pdjcCallback = Nothing- }----- | V1 error format.-pdjcXgafv :: Lens' ProjectsDlpJobsCancel (Maybe Xgafv)-pdjcXgafv- = lens _pdjcXgafv (\ s a -> s{_pdjcXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pdjcUploadProtocol :: Lens' ProjectsDlpJobsCancel (Maybe Text)-pdjcUploadProtocol- = lens _pdjcUploadProtocol- (\ s a -> s{_pdjcUploadProtocol = a})---- | OAuth access token.-pdjcAccessToken :: Lens' ProjectsDlpJobsCancel (Maybe Text)-pdjcAccessToken- = lens _pdjcAccessToken- (\ s a -> s{_pdjcAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pdjcUploadType :: Lens' ProjectsDlpJobsCancel (Maybe Text)-pdjcUploadType- = lens _pdjcUploadType- (\ s a -> s{_pdjcUploadType = a})---- | Multipart request metadata.-pdjcPayload :: Lens' ProjectsDlpJobsCancel GooglePrivacyDlpV2CancelDlpJobRequest-pdjcPayload- = lens _pdjcPayload (\ s a -> s{_pdjcPayload = a})---- | The name of the DlpJob resource to be cancelled.-pdjcName :: Lens' ProjectsDlpJobsCancel Text-pdjcName = lens _pdjcName (\ s a -> s{_pdjcName = a})---- | JSONP-pdjcCallback :: Lens' ProjectsDlpJobsCancel (Maybe Text)-pdjcCallback- = lens _pdjcCallback (\ s a -> s{_pdjcCallback = a})--instance GoogleRequest ProjectsDlpJobsCancel where- type Rs ProjectsDlpJobsCancel = GoogleProtobufEmpty- type Scopes ProjectsDlpJobsCancel =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsDlpJobsCancel'{..}- = go _pdjcName _pdjcXgafv _pdjcUploadProtocol- _pdjcAccessToken- _pdjcUploadType- _pdjcCallback- (Just AltJSON)- _pdjcPayload- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsDlpJobsCancelResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/DlpJobs/Create.hs
@@ -1,172 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.DlpJobs.Create--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a new job to inspect storage or calculate risk metrics. See--- https:\/\/cloud.google.com\/dlp\/docs\/inspecting-storage and--- https:\/\/cloud.google.com\/dlp\/docs\/compute-risk-analysis to learn--- more. When no InfoTypes or CustomInfoTypes are specified in inspect--- jobs, the system will automatically choose what detectors to run. By--- default this may be all types, but may change over time as detectors are--- updated.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.dlpJobs.create@.-module Network.Google.Resource.DLP.Projects.DlpJobs.Create- (- -- * REST Resource- ProjectsDlpJobsCreateResource-- -- * Creating a Request- , projectsDlpJobsCreate- , ProjectsDlpJobsCreate-- -- * Request Lenses- , pParent- , pXgafv- , pUploadProtocol- , pAccessToken- , pUploadType- , pPayload- , pCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.dlpJobs.create@ method which the--- 'ProjectsDlpJobsCreate' request conforms to.-type ProjectsDlpJobsCreateResource =- "v2" :>- Capture "parent" Text :>- "dlpJobs" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] GooglePrivacyDlpV2CreateDlpJobRequest- :> Post '[JSON] GooglePrivacyDlpV2DlpJob---- | Creates a new job to inspect storage or calculate risk metrics. See--- https:\/\/cloud.google.com\/dlp\/docs\/inspecting-storage and--- https:\/\/cloud.google.com\/dlp\/docs\/compute-risk-analysis to learn--- more. When no InfoTypes or CustomInfoTypes are specified in inspect--- jobs, the system will automatically choose what detectors to run. By--- default this may be all types, but may change over time as detectors are--- updated.------ /See:/ 'projectsDlpJobsCreate' smart constructor.-data ProjectsDlpJobsCreate =- ProjectsDlpJobsCreate'- { _pParent :: !Text- , _pXgafv :: !(Maybe Xgafv)- , _pUploadProtocol :: !(Maybe Text)- , _pAccessToken :: !(Maybe Text)- , _pUploadType :: !(Maybe Text)- , _pPayload :: !GooglePrivacyDlpV2CreateDlpJobRequest- , _pCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsDlpJobsCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pParent'------ * 'pXgafv'------ * 'pUploadProtocol'------ * 'pAccessToken'------ * 'pUploadType'------ * 'pPayload'------ * 'pCallback'-projectsDlpJobsCreate- :: Text -- ^ 'pParent'- -> GooglePrivacyDlpV2CreateDlpJobRequest -- ^ 'pPayload'- -> ProjectsDlpJobsCreate-projectsDlpJobsCreate pPParent_ pPPayload_ =- ProjectsDlpJobsCreate'- { _pParent = pPParent_- , _pXgafv = Nothing- , _pUploadProtocol = Nothing- , _pAccessToken = Nothing- , _pUploadType = Nothing- , _pPayload = pPPayload_- , _pCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id.-pParent :: Lens' ProjectsDlpJobsCreate Text-pParent = lens _pParent (\ s a -> s{_pParent = a})---- | V1 error format.-pXgafv :: Lens' ProjectsDlpJobsCreate (Maybe Xgafv)-pXgafv = lens _pXgafv (\ s a -> s{_pXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pUploadProtocol :: Lens' ProjectsDlpJobsCreate (Maybe Text)-pUploadProtocol- = lens _pUploadProtocol- (\ s a -> s{_pUploadProtocol = a})---- | OAuth access token.-pAccessToken :: Lens' ProjectsDlpJobsCreate (Maybe Text)-pAccessToken- = lens _pAccessToken (\ s a -> s{_pAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pUploadType :: Lens' ProjectsDlpJobsCreate (Maybe Text)-pUploadType- = lens _pUploadType (\ s a -> s{_pUploadType = a})---- | Multipart request metadata.-pPayload :: Lens' ProjectsDlpJobsCreate GooglePrivacyDlpV2CreateDlpJobRequest-pPayload = lens _pPayload (\ s a -> s{_pPayload = a})---- | JSONP-pCallback :: Lens' ProjectsDlpJobsCreate (Maybe Text)-pCallback- = lens _pCallback (\ s a -> s{_pCallback = a})--instance GoogleRequest ProjectsDlpJobsCreate where- type Rs ProjectsDlpJobsCreate =- GooglePrivacyDlpV2DlpJob- type Scopes ProjectsDlpJobsCreate =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsDlpJobsCreate'{..}- = go _pParent _pXgafv _pUploadProtocol _pAccessToken- _pUploadType- _pCallback- (Just AltJSON)- _pPayload- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsDlpJobsCreateResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/DlpJobs/Delete.hs
@@ -1,158 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.DlpJobs.Delete--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes a long-running DlpJob. This method indicates that the client is--- no longer interested in the DlpJob result. The job will be cancelled if--- possible. See https:\/\/cloud.google.com\/dlp\/docs\/inspecting-storage--- and https:\/\/cloud.google.com\/dlp\/docs\/compute-risk-analysis to--- learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.dlpJobs.delete@.-module Network.Google.Resource.DLP.Projects.DlpJobs.Delete- (- -- * REST Resource- ProjectsDlpJobsDeleteResource-- -- * Creating a Request- , projectsDlpJobsDelete- , ProjectsDlpJobsDelete-- -- * Request Lenses- , pdjdXgafv- , pdjdUploadProtocol- , pdjdAccessToken- , pdjdUploadType- , pdjdName- , pdjdCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.dlpJobs.delete@ method which the--- 'ProjectsDlpJobsDelete' request conforms to.-type ProjectsDlpJobsDeleteResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Delete '[JSON] GoogleProtobufEmpty---- | Deletes a long-running DlpJob. This method indicates that the client is--- no longer interested in the DlpJob result. The job will be cancelled if--- possible. See https:\/\/cloud.google.com\/dlp\/docs\/inspecting-storage--- and https:\/\/cloud.google.com\/dlp\/docs\/compute-risk-analysis to--- learn more.------ /See:/ 'projectsDlpJobsDelete' smart constructor.-data ProjectsDlpJobsDelete =- ProjectsDlpJobsDelete'- { _pdjdXgafv :: !(Maybe Xgafv)- , _pdjdUploadProtocol :: !(Maybe Text)- , _pdjdAccessToken :: !(Maybe Text)- , _pdjdUploadType :: !(Maybe Text)- , _pdjdName :: !Text- , _pdjdCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsDlpJobsDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pdjdXgafv'------ * 'pdjdUploadProtocol'------ * 'pdjdAccessToken'------ * 'pdjdUploadType'------ * 'pdjdName'------ * 'pdjdCallback'-projectsDlpJobsDelete- :: Text -- ^ 'pdjdName'- -> ProjectsDlpJobsDelete-projectsDlpJobsDelete pPdjdName_ =- ProjectsDlpJobsDelete'- { _pdjdXgafv = Nothing- , _pdjdUploadProtocol = Nothing- , _pdjdAccessToken = Nothing- , _pdjdUploadType = Nothing- , _pdjdName = pPdjdName_- , _pdjdCallback = Nothing- }----- | V1 error format.-pdjdXgafv :: Lens' ProjectsDlpJobsDelete (Maybe Xgafv)-pdjdXgafv- = lens _pdjdXgafv (\ s a -> s{_pdjdXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pdjdUploadProtocol :: Lens' ProjectsDlpJobsDelete (Maybe Text)-pdjdUploadProtocol- = lens _pdjdUploadProtocol- (\ s a -> s{_pdjdUploadProtocol = a})---- | OAuth access token.-pdjdAccessToken :: Lens' ProjectsDlpJobsDelete (Maybe Text)-pdjdAccessToken- = lens _pdjdAccessToken- (\ s a -> s{_pdjdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pdjdUploadType :: Lens' ProjectsDlpJobsDelete (Maybe Text)-pdjdUploadType- = lens _pdjdUploadType- (\ s a -> s{_pdjdUploadType = a})---- | The name of the DlpJob resource to be deleted.-pdjdName :: Lens' ProjectsDlpJobsDelete Text-pdjdName = lens _pdjdName (\ s a -> s{_pdjdName = a})---- | JSONP-pdjdCallback :: Lens' ProjectsDlpJobsDelete (Maybe Text)-pdjdCallback- = lens _pdjdCallback (\ s a -> s{_pdjdCallback = a})--instance GoogleRequest ProjectsDlpJobsDelete where- type Rs ProjectsDlpJobsDelete = GoogleProtobufEmpty- type Scopes ProjectsDlpJobsDelete =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsDlpJobsDelete'{..}- = go _pdjdName _pdjdXgafv _pdjdUploadProtocol- _pdjdAccessToken- _pdjdUploadType- _pdjdCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsDlpJobsDeleteResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/DlpJobs/Get.hs
@@ -1,156 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.DlpJobs.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets the latest state of a long-running DlpJob. See--- https:\/\/cloud.google.com\/dlp\/docs\/inspecting-storage and--- https:\/\/cloud.google.com\/dlp\/docs\/compute-risk-analysis to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.dlpJobs.get@.-module Network.Google.Resource.DLP.Projects.DlpJobs.Get- (- -- * REST Resource- ProjectsDlpJobsGetResource-- -- * Creating a Request- , projectsDlpJobsGet- , ProjectsDlpJobsGet-- -- * Request Lenses- , pdjgXgafv- , pdjgUploadProtocol- , pdjgAccessToken- , pdjgUploadType- , pdjgName- , pdjgCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.dlpJobs.get@ method which the--- 'ProjectsDlpJobsGet' request conforms to.-type ProjectsDlpJobsGetResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] GooglePrivacyDlpV2DlpJob---- | Gets the latest state of a long-running DlpJob. See--- https:\/\/cloud.google.com\/dlp\/docs\/inspecting-storage and--- https:\/\/cloud.google.com\/dlp\/docs\/compute-risk-analysis to learn--- more.------ /See:/ 'projectsDlpJobsGet' smart constructor.-data ProjectsDlpJobsGet =- ProjectsDlpJobsGet'- { _pdjgXgafv :: !(Maybe Xgafv)- , _pdjgUploadProtocol :: !(Maybe Text)- , _pdjgAccessToken :: !(Maybe Text)- , _pdjgUploadType :: !(Maybe Text)- , _pdjgName :: !Text- , _pdjgCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsDlpJobsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pdjgXgafv'------ * 'pdjgUploadProtocol'------ * 'pdjgAccessToken'------ * 'pdjgUploadType'------ * 'pdjgName'------ * 'pdjgCallback'-projectsDlpJobsGet- :: Text -- ^ 'pdjgName'- -> ProjectsDlpJobsGet-projectsDlpJobsGet pPdjgName_ =- ProjectsDlpJobsGet'- { _pdjgXgafv = Nothing- , _pdjgUploadProtocol = Nothing- , _pdjgAccessToken = Nothing- , _pdjgUploadType = Nothing- , _pdjgName = pPdjgName_- , _pdjgCallback = Nothing- }----- | V1 error format.-pdjgXgafv :: Lens' ProjectsDlpJobsGet (Maybe Xgafv)-pdjgXgafv- = lens _pdjgXgafv (\ s a -> s{_pdjgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pdjgUploadProtocol :: Lens' ProjectsDlpJobsGet (Maybe Text)-pdjgUploadProtocol- = lens _pdjgUploadProtocol- (\ s a -> s{_pdjgUploadProtocol = a})---- | OAuth access token.-pdjgAccessToken :: Lens' ProjectsDlpJobsGet (Maybe Text)-pdjgAccessToken- = lens _pdjgAccessToken- (\ s a -> s{_pdjgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pdjgUploadType :: Lens' ProjectsDlpJobsGet (Maybe Text)-pdjgUploadType- = lens _pdjgUploadType- (\ s a -> s{_pdjgUploadType = a})---- | The name of the DlpJob resource.-pdjgName :: Lens' ProjectsDlpJobsGet Text-pdjgName = lens _pdjgName (\ s a -> s{_pdjgName = a})---- | JSONP-pdjgCallback :: Lens' ProjectsDlpJobsGet (Maybe Text)-pdjgCallback- = lens _pdjgCallback (\ s a -> s{_pdjgCallback = a})--instance GoogleRequest ProjectsDlpJobsGet where- type Rs ProjectsDlpJobsGet = GooglePrivacyDlpV2DlpJob- type Scopes ProjectsDlpJobsGet =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsDlpJobsGet'{..}- = go _pdjgName _pdjgXgafv _pdjgUploadProtocol- _pdjgAccessToken- _pdjgUploadType- _pdjgCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsDlpJobsGetResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/DlpJobs/List.hs
@@ -1,240 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.DlpJobs.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists DlpJobs that match the specified filter in the request. See--- https:\/\/cloud.google.com\/dlp\/docs\/inspecting-storage and--- https:\/\/cloud.google.com\/dlp\/docs\/compute-risk-analysis to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.dlpJobs.list@.-module Network.Google.Resource.DLP.Projects.DlpJobs.List- (- -- * REST Resource- ProjectsDlpJobsListResource-- -- * Creating a Request- , projectsDlpJobsList- , ProjectsDlpJobsList-- -- * Request Lenses- , pdjlParent- , pdjlXgafv- , pdjlUploadProtocol- , pdjlOrderBy- , pdjlAccessToken- , pdjlUploadType- , pdjlFilter- , pdjlPageToken- , pdjlType- , pdjlPageSize- , pdjlCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.dlpJobs.list@ method which the--- 'ProjectsDlpJobsList' request conforms to.-type ProjectsDlpJobsListResource =- "v2" :>- Capture "parent" Text :>- "dlpJobs" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "orderBy" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "filter" Text :>- QueryParam "pageToken" Text :>- QueryParam "type" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON]- GooglePrivacyDlpV2ListDlpJobsResponse---- | Lists DlpJobs that match the specified filter in the request. See--- https:\/\/cloud.google.com\/dlp\/docs\/inspecting-storage and--- https:\/\/cloud.google.com\/dlp\/docs\/compute-risk-analysis to learn--- more.------ /See:/ 'projectsDlpJobsList' smart constructor.-data ProjectsDlpJobsList =- ProjectsDlpJobsList'- { _pdjlParent :: !Text- , _pdjlXgafv :: !(Maybe Xgafv)- , _pdjlUploadProtocol :: !(Maybe Text)- , _pdjlOrderBy :: !(Maybe Text)- , _pdjlAccessToken :: !(Maybe Text)- , _pdjlUploadType :: !(Maybe Text)- , _pdjlFilter :: !(Maybe Text)- , _pdjlPageToken :: !(Maybe Text)- , _pdjlType :: !(Maybe Text)- , _pdjlPageSize :: !(Maybe (Textual Int32))- , _pdjlCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsDlpJobsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pdjlParent'------ * 'pdjlXgafv'------ * 'pdjlUploadProtocol'------ * 'pdjlOrderBy'------ * 'pdjlAccessToken'------ * 'pdjlUploadType'------ * 'pdjlFilter'------ * 'pdjlPageToken'------ * 'pdjlType'------ * 'pdjlPageSize'------ * 'pdjlCallback'-projectsDlpJobsList- :: Text -- ^ 'pdjlParent'- -> ProjectsDlpJobsList-projectsDlpJobsList pPdjlParent_ =- ProjectsDlpJobsList'- { _pdjlParent = pPdjlParent_- , _pdjlXgafv = Nothing- , _pdjlUploadProtocol = Nothing- , _pdjlOrderBy = Nothing- , _pdjlAccessToken = Nothing- , _pdjlUploadType = Nothing- , _pdjlFilter = Nothing- , _pdjlPageToken = Nothing- , _pdjlType = Nothing- , _pdjlPageSize = Nothing- , _pdjlCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id.-pdjlParent :: Lens' ProjectsDlpJobsList Text-pdjlParent- = lens _pdjlParent (\ s a -> s{_pdjlParent = a})---- | V1 error format.-pdjlXgafv :: Lens' ProjectsDlpJobsList (Maybe Xgafv)-pdjlXgafv- = lens _pdjlXgafv (\ s a -> s{_pdjlXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pdjlUploadProtocol :: Lens' ProjectsDlpJobsList (Maybe Text)-pdjlUploadProtocol- = lens _pdjlUploadProtocol- (\ s a -> s{_pdjlUploadProtocol = a})---- | Optional comma separated list of fields to order by, followed by \`asc\`--- or \`desc\` postfix. This list is case-insensitive, default sorting--- order is ascending, redundant space characters are insignificant.--- Example: \`name asc, end_time asc, create_time desc\` Supported fields--- are: - \`create_time\`: corresponds to time the job was created. ---- \`end_time\`: corresponds to time the job ended. - \`name\`: corresponds--- to job\'s name. - \`state\`: corresponds to \`state\`-pdjlOrderBy :: Lens' ProjectsDlpJobsList (Maybe Text)-pdjlOrderBy- = lens _pdjlOrderBy (\ s a -> s{_pdjlOrderBy = a})---- | OAuth access token.-pdjlAccessToken :: Lens' ProjectsDlpJobsList (Maybe Text)-pdjlAccessToken- = lens _pdjlAccessToken- (\ s a -> s{_pdjlAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pdjlUploadType :: Lens' ProjectsDlpJobsList (Maybe Text)-pdjlUploadType- = lens _pdjlUploadType- (\ s a -> s{_pdjlUploadType = a})---- | Optional. Allows filtering. Supported syntax: * Filter expressions are--- made up of one or more restrictions. * Restrictions can be combined by--- \`AND\` or \`OR\` logical operators. A sequence of restrictions--- implicitly uses \`AND\`. * A restriction has the form of \` \`. *--- Supported fields\/values for inspect jobs: - \`state\` ---- PENDING|RUNNING|CANCELED|FINISHED|FAILED - \`inspected_storage\` ---- DATASTORE|CLOUD_STORAGE|BIGQUERY - \`trigger_name\` - The resource name--- of the trigger that created job. * Supported fields for risk analysis--- jobs: - \`state\` - RUNNING|CANCELED|FINISHED|FAILED * The operator must--- be \`=\` or \`!=\`. Examples: * inspected_storage = cloud_storage AND--- state = done * inspected_storage = cloud_storage OR inspected_storage =--- bigquery * inspected_storage = cloud_storage AND (state = done OR state--- = canceled) The length of this field should be no more than 500--- characters.-pdjlFilter :: Lens' ProjectsDlpJobsList (Maybe Text)-pdjlFilter- = lens _pdjlFilter (\ s a -> s{_pdjlFilter = a})---- | The standard list page token.-pdjlPageToken :: Lens' ProjectsDlpJobsList (Maybe Text)-pdjlPageToken- = lens _pdjlPageToken- (\ s a -> s{_pdjlPageToken = a})---- | The type of job. Defaults to \`DlpJobType.INSPECT\`-pdjlType :: Lens' ProjectsDlpJobsList (Maybe Text)-pdjlType = lens _pdjlType (\ s a -> s{_pdjlType = a})---- | The standard list page size.-pdjlPageSize :: Lens' ProjectsDlpJobsList (Maybe Int32)-pdjlPageSize- = lens _pdjlPageSize (\ s a -> s{_pdjlPageSize = a})- . mapping _Coerce---- | JSONP-pdjlCallback :: Lens' ProjectsDlpJobsList (Maybe Text)-pdjlCallback- = lens _pdjlCallback (\ s a -> s{_pdjlCallback = a})--instance GoogleRequest ProjectsDlpJobsList where- type Rs ProjectsDlpJobsList =- GooglePrivacyDlpV2ListDlpJobsResponse- type Scopes ProjectsDlpJobsList =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsDlpJobsList'{..}- = go _pdjlParent _pdjlXgafv _pdjlUploadProtocol- _pdjlOrderBy- _pdjlAccessToken- _pdjlUploadType- _pdjlFilter- _pdjlPageToken- _pdjlType- _pdjlPageSize- _pdjlCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsDlpJobsListResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/Image/Redact.hs
@@ -1,177 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.Image.Redact--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Redacts potentially sensitive info from an image. This method has limits--- on input size, processing time, and output size. See--- https:\/\/cloud.google.com\/dlp\/docs\/redacting-sensitive-data-images--- to learn more. When no InfoTypes or CustomInfoTypes are specified in--- this request, the system will automatically choose what detectors to--- run. By default this may be all types, but may change over time as--- detectors are updated.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.image.redact@.-module Network.Google.Resource.DLP.Projects.Image.Redact- (- -- * REST Resource- ProjectsImageRedactResource-- -- * Creating a Request- , projectsImageRedact- , ProjectsImageRedact-- -- * Request Lenses- , pirParent- , pirXgafv- , pirUploadProtocol- , pirAccessToken- , pirUploadType- , pirPayload- , pirCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.image.redact@ method which the--- 'ProjectsImageRedact' request conforms to.-type ProjectsImageRedactResource =- "v2" :>- Capture "parent" Text :>- "image:redact" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] GooglePrivacyDlpV2RedactImageRequest- :> Post '[JSON] GooglePrivacyDlpV2RedactImageResponse---- | Redacts potentially sensitive info from an image. This method has limits--- on input size, processing time, and output size. See--- https:\/\/cloud.google.com\/dlp\/docs\/redacting-sensitive-data-images--- to learn more. When no InfoTypes or CustomInfoTypes are specified in--- this request, the system will automatically choose what detectors to--- run. By default this may be all types, but may change over time as--- detectors are updated.------ /See:/ 'projectsImageRedact' smart constructor.-data ProjectsImageRedact =- ProjectsImageRedact'- { _pirParent :: !Text- , _pirXgafv :: !(Maybe Xgafv)- , _pirUploadProtocol :: !(Maybe Text)- , _pirAccessToken :: !(Maybe Text)- , _pirUploadType :: !(Maybe Text)- , _pirPayload :: !GooglePrivacyDlpV2RedactImageRequest- , _pirCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsImageRedact' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pirParent'------ * 'pirXgafv'------ * 'pirUploadProtocol'------ * 'pirAccessToken'------ * 'pirUploadType'------ * 'pirPayload'------ * 'pirCallback'-projectsImageRedact- :: Text -- ^ 'pirParent'- -> GooglePrivacyDlpV2RedactImageRequest -- ^ 'pirPayload'- -> ProjectsImageRedact-projectsImageRedact pPirParent_ pPirPayload_ =- ProjectsImageRedact'- { _pirParent = pPirParent_- , _pirXgafv = Nothing- , _pirUploadProtocol = Nothing- , _pirAccessToken = Nothing- , _pirUploadType = Nothing- , _pirPayload = pPirPayload_- , _pirCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id.-pirParent :: Lens' ProjectsImageRedact Text-pirParent- = lens _pirParent (\ s a -> s{_pirParent = a})---- | V1 error format.-pirXgafv :: Lens' ProjectsImageRedact (Maybe Xgafv)-pirXgafv = lens _pirXgafv (\ s a -> s{_pirXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pirUploadProtocol :: Lens' ProjectsImageRedact (Maybe Text)-pirUploadProtocol- = lens _pirUploadProtocol- (\ s a -> s{_pirUploadProtocol = a})---- | OAuth access token.-pirAccessToken :: Lens' ProjectsImageRedact (Maybe Text)-pirAccessToken- = lens _pirAccessToken- (\ s a -> s{_pirAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pirUploadType :: Lens' ProjectsImageRedact (Maybe Text)-pirUploadType- = lens _pirUploadType- (\ s a -> s{_pirUploadType = a})---- | Multipart request metadata.-pirPayload :: Lens' ProjectsImageRedact GooglePrivacyDlpV2RedactImageRequest-pirPayload- = lens _pirPayload (\ s a -> s{_pirPayload = a})---- | JSONP-pirCallback :: Lens' ProjectsImageRedact (Maybe Text)-pirCallback- = lens _pirCallback (\ s a -> s{_pirCallback = a})--instance GoogleRequest ProjectsImageRedact where- type Rs ProjectsImageRedact =- GooglePrivacyDlpV2RedactImageResponse- type Scopes ProjectsImageRedact =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsImageRedact'{..}- = go _pirParent _pirXgafv _pirUploadProtocol- _pirAccessToken- _pirUploadType- _pirCallback- (Just AltJSON)- _pirPayload- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsImageRedactResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/InspectTemplates/Create.hs
@@ -1,174 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.InspectTemplates.Create--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates an InspectTemplate for re-using frequently used configuration--- for inspecting content, images, and storage. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.inspectTemplates.create@.-module Network.Google.Resource.DLP.Projects.InspectTemplates.Create- (- -- * REST Resource- ProjectsInspectTemplatesCreateResource-- -- * Creating a Request- , projectsInspectTemplatesCreate- , ProjectsInspectTemplatesCreate-- -- * Request Lenses- , pitcParent- , pitcXgafv- , pitcUploadProtocol- , pitcAccessToken- , pitcUploadType- , pitcPayload- , pitcCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.inspectTemplates.create@ method which the--- 'ProjectsInspectTemplatesCreate' request conforms to.-type ProjectsInspectTemplatesCreateResource =- "v2" :>- Capture "parent" Text :>- "inspectTemplates" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2CreateInspectTemplateRequest- :> Post '[JSON] GooglePrivacyDlpV2InspectTemplate---- | Creates an InspectTemplate for re-using frequently used configuration--- for inspecting content, images, and storage. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ 'projectsInspectTemplatesCreate' smart constructor.-data ProjectsInspectTemplatesCreate =- ProjectsInspectTemplatesCreate'- { _pitcParent :: !Text- , _pitcXgafv :: !(Maybe Xgafv)- , _pitcUploadProtocol :: !(Maybe Text)- , _pitcAccessToken :: !(Maybe Text)- , _pitcUploadType :: !(Maybe Text)- , _pitcPayload :: !GooglePrivacyDlpV2CreateInspectTemplateRequest- , _pitcCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsInspectTemplatesCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pitcParent'------ * 'pitcXgafv'------ * 'pitcUploadProtocol'------ * 'pitcAccessToken'------ * 'pitcUploadType'------ * 'pitcPayload'------ * 'pitcCallback'-projectsInspectTemplatesCreate- :: Text -- ^ 'pitcParent'- -> GooglePrivacyDlpV2CreateInspectTemplateRequest -- ^ 'pitcPayload'- -> ProjectsInspectTemplatesCreate-projectsInspectTemplatesCreate pPitcParent_ pPitcPayload_ =- ProjectsInspectTemplatesCreate'- { _pitcParent = pPitcParent_- , _pitcXgafv = Nothing- , _pitcUploadProtocol = Nothing- , _pitcAccessToken = Nothing- , _pitcUploadType = Nothing- , _pitcPayload = pPitcPayload_- , _pitcCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id or--- organizations\/my-org-id.-pitcParent :: Lens' ProjectsInspectTemplatesCreate Text-pitcParent- = lens _pitcParent (\ s a -> s{_pitcParent = a})---- | V1 error format.-pitcXgafv :: Lens' ProjectsInspectTemplatesCreate (Maybe Xgafv)-pitcXgafv- = lens _pitcXgafv (\ s a -> s{_pitcXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pitcUploadProtocol :: Lens' ProjectsInspectTemplatesCreate (Maybe Text)-pitcUploadProtocol- = lens _pitcUploadProtocol- (\ s a -> s{_pitcUploadProtocol = a})---- | OAuth access token.-pitcAccessToken :: Lens' ProjectsInspectTemplatesCreate (Maybe Text)-pitcAccessToken- = lens _pitcAccessToken- (\ s a -> s{_pitcAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pitcUploadType :: Lens' ProjectsInspectTemplatesCreate (Maybe Text)-pitcUploadType- = lens _pitcUploadType- (\ s a -> s{_pitcUploadType = a})---- | Multipart request metadata.-pitcPayload :: Lens' ProjectsInspectTemplatesCreate GooglePrivacyDlpV2CreateInspectTemplateRequest-pitcPayload- = lens _pitcPayload (\ s a -> s{_pitcPayload = a})---- | JSONP-pitcCallback :: Lens' ProjectsInspectTemplatesCreate (Maybe Text)-pitcCallback- = lens _pitcCallback (\ s a -> s{_pitcCallback = a})--instance GoogleRequest ProjectsInspectTemplatesCreate- where- type Rs ProjectsInspectTemplatesCreate =- GooglePrivacyDlpV2InspectTemplate- type Scopes ProjectsInspectTemplatesCreate =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsInspectTemplatesCreate'{..}- = go _pitcParent _pitcXgafv _pitcUploadProtocol- _pitcAccessToken- _pitcUploadType- _pitcCallback- (Just AltJSON)- _pitcPayload- dLPService- where go- = buildClient- (Proxy ::- Proxy ProjectsInspectTemplatesCreateResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/InspectTemplates/Delete.hs
@@ -1,157 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.InspectTemplates.Delete--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes an InspectTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.inspectTemplates.delete@.-module Network.Google.Resource.DLP.Projects.InspectTemplates.Delete- (- -- * REST Resource- ProjectsInspectTemplatesDeleteResource-- -- * Creating a Request- , projectsInspectTemplatesDelete- , ProjectsInspectTemplatesDelete-- -- * Request Lenses- , pitdXgafv- , pitdUploadProtocol- , pitdAccessToken- , pitdUploadType- , pitdName- , pitdCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.inspectTemplates.delete@ method which the--- 'ProjectsInspectTemplatesDelete' request conforms to.-type ProjectsInspectTemplatesDeleteResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Delete '[JSON] GoogleProtobufEmpty---- | Deletes an InspectTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ 'projectsInspectTemplatesDelete' smart constructor.-data ProjectsInspectTemplatesDelete =- ProjectsInspectTemplatesDelete'- { _pitdXgafv :: !(Maybe Xgafv)- , _pitdUploadProtocol :: !(Maybe Text)- , _pitdAccessToken :: !(Maybe Text)- , _pitdUploadType :: !(Maybe Text)- , _pitdName :: !Text- , _pitdCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsInspectTemplatesDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pitdXgafv'------ * 'pitdUploadProtocol'------ * 'pitdAccessToken'------ * 'pitdUploadType'------ * 'pitdName'------ * 'pitdCallback'-projectsInspectTemplatesDelete- :: Text -- ^ 'pitdName'- -> ProjectsInspectTemplatesDelete-projectsInspectTemplatesDelete pPitdName_ =- ProjectsInspectTemplatesDelete'- { _pitdXgafv = Nothing- , _pitdUploadProtocol = Nothing- , _pitdAccessToken = Nothing- , _pitdUploadType = Nothing- , _pitdName = pPitdName_- , _pitdCallback = Nothing- }----- | V1 error format.-pitdXgafv :: Lens' ProjectsInspectTemplatesDelete (Maybe Xgafv)-pitdXgafv- = lens _pitdXgafv (\ s a -> s{_pitdXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pitdUploadProtocol :: Lens' ProjectsInspectTemplatesDelete (Maybe Text)-pitdUploadProtocol- = lens _pitdUploadProtocol- (\ s a -> s{_pitdUploadProtocol = a})---- | OAuth access token.-pitdAccessToken :: Lens' ProjectsInspectTemplatesDelete (Maybe Text)-pitdAccessToken- = lens _pitdAccessToken- (\ s a -> s{_pitdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pitdUploadType :: Lens' ProjectsInspectTemplatesDelete (Maybe Text)-pitdUploadType- = lens _pitdUploadType- (\ s a -> s{_pitdUploadType = a})---- | Resource name of the organization and inspectTemplate to be deleted, for--- example \`organizations\/433245324\/inspectTemplates\/432452342\` or--- projects\/project-id\/inspectTemplates\/432452342.-pitdName :: Lens' ProjectsInspectTemplatesDelete Text-pitdName = lens _pitdName (\ s a -> s{_pitdName = a})---- | JSONP-pitdCallback :: Lens' ProjectsInspectTemplatesDelete (Maybe Text)-pitdCallback- = lens _pitdCallback (\ s a -> s{_pitdCallback = a})--instance GoogleRequest ProjectsInspectTemplatesDelete- where- type Rs ProjectsInspectTemplatesDelete =- GoogleProtobufEmpty- type Scopes ProjectsInspectTemplatesDelete =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsInspectTemplatesDelete'{..}- = go _pitdName _pitdXgafv _pitdUploadProtocol- _pitdAccessToken- _pitdUploadType- _pitdCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy ::- Proxy ProjectsInspectTemplatesDeleteResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/InspectTemplates/Get.hs
@@ -1,156 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.InspectTemplates.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets an InspectTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.inspectTemplates.get@.-module Network.Google.Resource.DLP.Projects.InspectTemplates.Get- (- -- * REST Resource- ProjectsInspectTemplatesGetResource-- -- * Creating a Request- , projectsInspectTemplatesGet- , ProjectsInspectTemplatesGet-- -- * Request Lenses- , pitgXgafv- , pitgUploadProtocol- , pitgAccessToken- , pitgUploadType- , pitgName- , pitgCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.inspectTemplates.get@ method which the--- 'ProjectsInspectTemplatesGet' request conforms to.-type ProjectsInspectTemplatesGetResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] GooglePrivacyDlpV2InspectTemplate---- | Gets an InspectTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ 'projectsInspectTemplatesGet' smart constructor.-data ProjectsInspectTemplatesGet =- ProjectsInspectTemplatesGet'- { _pitgXgafv :: !(Maybe Xgafv)- , _pitgUploadProtocol :: !(Maybe Text)- , _pitgAccessToken :: !(Maybe Text)- , _pitgUploadType :: !(Maybe Text)- , _pitgName :: !Text- , _pitgCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsInspectTemplatesGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pitgXgafv'------ * 'pitgUploadProtocol'------ * 'pitgAccessToken'------ * 'pitgUploadType'------ * 'pitgName'------ * 'pitgCallback'-projectsInspectTemplatesGet- :: Text -- ^ 'pitgName'- -> ProjectsInspectTemplatesGet-projectsInspectTemplatesGet pPitgName_ =- ProjectsInspectTemplatesGet'- { _pitgXgafv = Nothing- , _pitgUploadProtocol = Nothing- , _pitgAccessToken = Nothing- , _pitgUploadType = Nothing- , _pitgName = pPitgName_- , _pitgCallback = Nothing- }----- | V1 error format.-pitgXgafv :: Lens' ProjectsInspectTemplatesGet (Maybe Xgafv)-pitgXgafv- = lens _pitgXgafv (\ s a -> s{_pitgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pitgUploadProtocol :: Lens' ProjectsInspectTemplatesGet (Maybe Text)-pitgUploadProtocol- = lens _pitgUploadProtocol- (\ s a -> s{_pitgUploadProtocol = a})---- | OAuth access token.-pitgAccessToken :: Lens' ProjectsInspectTemplatesGet (Maybe Text)-pitgAccessToken- = lens _pitgAccessToken- (\ s a -> s{_pitgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pitgUploadType :: Lens' ProjectsInspectTemplatesGet (Maybe Text)-pitgUploadType- = lens _pitgUploadType- (\ s a -> s{_pitgUploadType = a})---- | Resource name of the organization and inspectTemplate to be read, for--- example \`organizations\/433245324\/inspectTemplates\/432452342\` or--- projects\/project-id\/inspectTemplates\/432452342.-pitgName :: Lens' ProjectsInspectTemplatesGet Text-pitgName = lens _pitgName (\ s a -> s{_pitgName = a})---- | JSONP-pitgCallback :: Lens' ProjectsInspectTemplatesGet (Maybe Text)-pitgCallback- = lens _pitgCallback (\ s a -> s{_pitgCallback = a})--instance GoogleRequest ProjectsInspectTemplatesGet- where- type Rs ProjectsInspectTemplatesGet =- GooglePrivacyDlpV2InspectTemplate- type Scopes ProjectsInspectTemplatesGet =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsInspectTemplatesGet'{..}- = go _pitgName _pitgXgafv _pitgUploadProtocol- _pitgAccessToken- _pitgUploadType- _pitgCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsInspectTemplatesGetResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/InspectTemplates/List.hs
@@ -1,205 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.InspectTemplates.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists InspectTemplates. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.inspectTemplates.list@.-module Network.Google.Resource.DLP.Projects.InspectTemplates.List- (- -- * REST Resource- ProjectsInspectTemplatesListResource-- -- * Creating a Request- , projectsInspectTemplatesList- , ProjectsInspectTemplatesList-- -- * Request Lenses- , pitlParent- , pitlXgafv- , pitlUploadProtocol- , pitlOrderBy- , pitlAccessToken- , pitlUploadType- , pitlPageToken- , pitlPageSize- , pitlCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.inspectTemplates.list@ method which the--- 'ProjectsInspectTemplatesList' request conforms to.-type ProjectsInspectTemplatesListResource =- "v2" :>- Capture "parent" Text :>- "inspectTemplates" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "orderBy" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON]- GooglePrivacyDlpV2ListInspectTemplatesResponse---- | Lists InspectTemplates. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ 'projectsInspectTemplatesList' smart constructor.-data ProjectsInspectTemplatesList =- ProjectsInspectTemplatesList'- { _pitlParent :: !Text- , _pitlXgafv :: !(Maybe Xgafv)- , _pitlUploadProtocol :: !(Maybe Text)- , _pitlOrderBy :: !(Maybe Text)- , _pitlAccessToken :: !(Maybe Text)- , _pitlUploadType :: !(Maybe Text)- , _pitlPageToken :: !(Maybe Text)- , _pitlPageSize :: !(Maybe (Textual Int32))- , _pitlCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsInspectTemplatesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pitlParent'------ * 'pitlXgafv'------ * 'pitlUploadProtocol'------ * 'pitlOrderBy'------ * 'pitlAccessToken'------ * 'pitlUploadType'------ * 'pitlPageToken'------ * 'pitlPageSize'------ * 'pitlCallback'-projectsInspectTemplatesList- :: Text -- ^ 'pitlParent'- -> ProjectsInspectTemplatesList-projectsInspectTemplatesList pPitlParent_ =- ProjectsInspectTemplatesList'- { _pitlParent = pPitlParent_- , _pitlXgafv = Nothing- , _pitlUploadProtocol = Nothing- , _pitlOrderBy = Nothing- , _pitlAccessToken = Nothing- , _pitlUploadType = Nothing- , _pitlPageToken = Nothing- , _pitlPageSize = Nothing- , _pitlCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id or--- organizations\/my-org-id.-pitlParent :: Lens' ProjectsInspectTemplatesList Text-pitlParent- = lens _pitlParent (\ s a -> s{_pitlParent = a})---- | V1 error format.-pitlXgafv :: Lens' ProjectsInspectTemplatesList (Maybe Xgafv)-pitlXgafv- = lens _pitlXgafv (\ s a -> s{_pitlXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pitlUploadProtocol :: Lens' ProjectsInspectTemplatesList (Maybe Text)-pitlUploadProtocol- = lens _pitlUploadProtocol- (\ s a -> s{_pitlUploadProtocol = a})---- | Optional comma separated list of fields to order by, followed by \`asc\`--- or \`desc\` postfix. This list is case-insensitive, default sorting--- order is ascending, redundant space characters are insignificant.--- Example: \`name asc,update_time, create_time desc\` Supported fields--- are: - \`create_time\`: corresponds to time the template was created. ---- \`update_time\`: corresponds to time the template was last updated. ---- \`name\`: corresponds to template\'s name. - \`display_name\`:--- corresponds to template\'s display name.-pitlOrderBy :: Lens' ProjectsInspectTemplatesList (Maybe Text)-pitlOrderBy- = lens _pitlOrderBy (\ s a -> s{_pitlOrderBy = a})---- | OAuth access token.-pitlAccessToken :: Lens' ProjectsInspectTemplatesList (Maybe Text)-pitlAccessToken- = lens _pitlAccessToken- (\ s a -> s{_pitlAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pitlUploadType :: Lens' ProjectsInspectTemplatesList (Maybe Text)-pitlUploadType- = lens _pitlUploadType- (\ s a -> s{_pitlUploadType = a})---- | Optional page token to continue retrieval. Comes from previous call to--- \`ListInspectTemplates\`.-pitlPageToken :: Lens' ProjectsInspectTemplatesList (Maybe Text)-pitlPageToken- = lens _pitlPageToken- (\ s a -> s{_pitlPageToken = a})---- | Optional size of the page, can be limited by server. If zero server--- returns a page of max size 100.-pitlPageSize :: Lens' ProjectsInspectTemplatesList (Maybe Int32)-pitlPageSize- = lens _pitlPageSize (\ s a -> s{_pitlPageSize = a})- . mapping _Coerce---- | JSONP-pitlCallback :: Lens' ProjectsInspectTemplatesList (Maybe Text)-pitlCallback- = lens _pitlCallback (\ s a -> s{_pitlCallback = a})--instance GoogleRequest ProjectsInspectTemplatesList- where- type Rs ProjectsInspectTemplatesList =- GooglePrivacyDlpV2ListInspectTemplatesResponse- type Scopes ProjectsInspectTemplatesList =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsInspectTemplatesList'{..}- = go _pitlParent _pitlXgafv _pitlUploadProtocol- _pitlOrderBy- _pitlAccessToken- _pitlUploadType- _pitlPageToken- _pitlPageSize- _pitlCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsInspectTemplatesListResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/InspectTemplates/Patch.hs
@@ -1,171 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.InspectTemplates.Patch--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates the InspectTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.inspectTemplates.patch@.-module Network.Google.Resource.DLP.Projects.InspectTemplates.Patch- (- -- * REST Resource- ProjectsInspectTemplatesPatchResource-- -- * Creating a Request- , projectsInspectTemplatesPatch- , ProjectsInspectTemplatesPatch-- -- * Request Lenses- , pitpXgafv- , pitpUploadProtocol- , pitpAccessToken- , pitpUploadType- , pitpPayload- , pitpName- , pitpCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.inspectTemplates.patch@ method which the--- 'ProjectsInspectTemplatesPatch' request conforms to.-type ProjectsInspectTemplatesPatchResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2UpdateInspectTemplateRequest- :> Patch '[JSON] GooglePrivacyDlpV2InspectTemplate---- | Updates the InspectTemplate. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-templates to learn more.------ /See:/ 'projectsInspectTemplatesPatch' smart constructor.-data ProjectsInspectTemplatesPatch =- ProjectsInspectTemplatesPatch'- { _pitpXgafv :: !(Maybe Xgafv)- , _pitpUploadProtocol :: !(Maybe Text)- , _pitpAccessToken :: !(Maybe Text)- , _pitpUploadType :: !(Maybe Text)- , _pitpPayload :: !GooglePrivacyDlpV2UpdateInspectTemplateRequest- , _pitpName :: !Text- , _pitpCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsInspectTemplatesPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pitpXgafv'------ * 'pitpUploadProtocol'------ * 'pitpAccessToken'------ * 'pitpUploadType'------ * 'pitpPayload'------ * 'pitpName'------ * 'pitpCallback'-projectsInspectTemplatesPatch- :: GooglePrivacyDlpV2UpdateInspectTemplateRequest -- ^ 'pitpPayload'- -> Text -- ^ 'pitpName'- -> ProjectsInspectTemplatesPatch-projectsInspectTemplatesPatch pPitpPayload_ pPitpName_ =- ProjectsInspectTemplatesPatch'- { _pitpXgafv = Nothing- , _pitpUploadProtocol = Nothing- , _pitpAccessToken = Nothing- , _pitpUploadType = Nothing- , _pitpPayload = pPitpPayload_- , _pitpName = pPitpName_- , _pitpCallback = Nothing- }----- | V1 error format.-pitpXgafv :: Lens' ProjectsInspectTemplatesPatch (Maybe Xgafv)-pitpXgafv- = lens _pitpXgafv (\ s a -> s{_pitpXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pitpUploadProtocol :: Lens' ProjectsInspectTemplatesPatch (Maybe Text)-pitpUploadProtocol- = lens _pitpUploadProtocol- (\ s a -> s{_pitpUploadProtocol = a})---- | OAuth access token.-pitpAccessToken :: Lens' ProjectsInspectTemplatesPatch (Maybe Text)-pitpAccessToken- = lens _pitpAccessToken- (\ s a -> s{_pitpAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pitpUploadType :: Lens' ProjectsInspectTemplatesPatch (Maybe Text)-pitpUploadType- = lens _pitpUploadType- (\ s a -> s{_pitpUploadType = a})---- | Multipart request metadata.-pitpPayload :: Lens' ProjectsInspectTemplatesPatch GooglePrivacyDlpV2UpdateInspectTemplateRequest-pitpPayload- = lens _pitpPayload (\ s a -> s{_pitpPayload = a})---- | Resource name of organization and inspectTemplate to be updated, for--- example \`organizations\/433245324\/inspectTemplates\/432452342\` or--- projects\/project-id\/inspectTemplates\/432452342.-pitpName :: Lens' ProjectsInspectTemplatesPatch Text-pitpName = lens _pitpName (\ s a -> s{_pitpName = a})---- | JSONP-pitpCallback :: Lens' ProjectsInspectTemplatesPatch (Maybe Text)-pitpCallback- = lens _pitpCallback (\ s a -> s{_pitpCallback = a})--instance GoogleRequest ProjectsInspectTemplatesPatch- where- type Rs ProjectsInspectTemplatesPatch =- GooglePrivacyDlpV2InspectTemplate- type Scopes ProjectsInspectTemplatesPatch =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsInspectTemplatesPatch'{..}- = go _pitpName _pitpXgafv _pitpUploadProtocol- _pitpAccessToken- _pitpUploadType- _pitpCallback- (Just AltJSON)- _pitpPayload- dLPService- where go- = buildClient- (Proxy ::- Proxy ProjectsInspectTemplatesPatchResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/JobTriggers/Activate.hs
@@ -1,169 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.JobTriggers.Activate--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Activate a job trigger. Causes the immediate execute of a trigger--- instead of waiting on the trigger event to occur.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.jobTriggers.activate@.-module Network.Google.Resource.DLP.Projects.JobTriggers.Activate- (- -- * REST Resource- ProjectsJobTriggersActivateResource-- -- * Creating a Request- , projectsJobTriggersActivate- , ProjectsJobTriggersActivate-- -- * Request Lenses- , pjtaXgafv- , pjtaUploadProtocol- , pjtaAccessToken- , pjtaUploadType- , pjtaPayload- , pjtaName- , pjtaCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.jobTriggers.activate@ method which the--- 'ProjectsJobTriggersActivate' request conforms to.-type ProjectsJobTriggersActivateResource =- "v2" :>- CaptureMode "name" "activate" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2ActivateJobTriggerRequest- :> Post '[JSON] GooglePrivacyDlpV2DlpJob---- | Activate a job trigger. Causes the immediate execute of a trigger--- instead of waiting on the trigger event to occur.------ /See:/ 'projectsJobTriggersActivate' smart constructor.-data ProjectsJobTriggersActivate =- ProjectsJobTriggersActivate'- { _pjtaXgafv :: !(Maybe Xgafv)- , _pjtaUploadProtocol :: !(Maybe Text)- , _pjtaAccessToken :: !(Maybe Text)- , _pjtaUploadType :: !(Maybe Text)- , _pjtaPayload :: !GooglePrivacyDlpV2ActivateJobTriggerRequest- , _pjtaName :: !Text- , _pjtaCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsJobTriggersActivate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pjtaXgafv'------ * 'pjtaUploadProtocol'------ * 'pjtaAccessToken'------ * 'pjtaUploadType'------ * 'pjtaPayload'------ * 'pjtaName'------ * 'pjtaCallback'-projectsJobTriggersActivate- :: GooglePrivacyDlpV2ActivateJobTriggerRequest -- ^ 'pjtaPayload'- -> Text -- ^ 'pjtaName'- -> ProjectsJobTriggersActivate-projectsJobTriggersActivate pPjtaPayload_ pPjtaName_ =- ProjectsJobTriggersActivate'- { _pjtaXgafv = Nothing- , _pjtaUploadProtocol = Nothing- , _pjtaAccessToken = Nothing- , _pjtaUploadType = Nothing- , _pjtaPayload = pPjtaPayload_- , _pjtaName = pPjtaName_- , _pjtaCallback = Nothing- }----- | V1 error format.-pjtaXgafv :: Lens' ProjectsJobTriggersActivate (Maybe Xgafv)-pjtaXgafv- = lens _pjtaXgafv (\ s a -> s{_pjtaXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pjtaUploadProtocol :: Lens' ProjectsJobTriggersActivate (Maybe Text)-pjtaUploadProtocol- = lens _pjtaUploadProtocol- (\ s a -> s{_pjtaUploadProtocol = a})---- | OAuth access token.-pjtaAccessToken :: Lens' ProjectsJobTriggersActivate (Maybe Text)-pjtaAccessToken- = lens _pjtaAccessToken- (\ s a -> s{_pjtaAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pjtaUploadType :: Lens' ProjectsJobTriggersActivate (Maybe Text)-pjtaUploadType- = lens _pjtaUploadType- (\ s a -> s{_pjtaUploadType = a})---- | Multipart request metadata.-pjtaPayload :: Lens' ProjectsJobTriggersActivate GooglePrivacyDlpV2ActivateJobTriggerRequest-pjtaPayload- = lens _pjtaPayload (\ s a -> s{_pjtaPayload = a})---- | Resource name of the trigger to activate, for example--- \`projects\/dlp-test-project\/jobTriggers\/53234423\`.-pjtaName :: Lens' ProjectsJobTriggersActivate Text-pjtaName = lens _pjtaName (\ s a -> s{_pjtaName = a})---- | JSONP-pjtaCallback :: Lens' ProjectsJobTriggersActivate (Maybe Text)-pjtaCallback- = lens _pjtaCallback (\ s a -> s{_pjtaCallback = a})--instance GoogleRequest ProjectsJobTriggersActivate- where- type Rs ProjectsJobTriggersActivate =- GooglePrivacyDlpV2DlpJob- type Scopes ProjectsJobTriggersActivate =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsJobTriggersActivate'{..}- = go _pjtaName _pjtaXgafv _pjtaUploadProtocol- _pjtaAccessToken- _pjtaUploadType- _pjtaCallback- (Just AltJSON)- _pjtaPayload- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsJobTriggersActivateResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/JobTriggers/Create.hs
@@ -1,174 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.JobTriggers.Create--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a job trigger to run DLP actions such as scanning storage for--- sensitive information on a set schedule. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-job-triggers to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.jobTriggers.create@.-module Network.Google.Resource.DLP.Projects.JobTriggers.Create- (- -- * REST Resource- ProjectsJobTriggersCreateResource-- -- * Creating a Request- , projectsJobTriggersCreate- , ProjectsJobTriggersCreate-- -- * Request Lenses- , pjtcParent- , pjtcXgafv- , pjtcUploadProtocol- , pjtcAccessToken- , pjtcUploadType- , pjtcPayload- , pjtcCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.jobTriggers.create@ method which the--- 'ProjectsJobTriggersCreate' request conforms to.-type ProjectsJobTriggersCreateResource =- "v2" :>- Capture "parent" Text :>- "jobTriggers" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2CreateJobTriggerRequest- :> Post '[JSON] GooglePrivacyDlpV2JobTrigger---- | Creates a job trigger to run DLP actions such as scanning storage for--- sensitive information on a set schedule. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-job-triggers to learn--- more.------ /See:/ 'projectsJobTriggersCreate' smart constructor.-data ProjectsJobTriggersCreate =- ProjectsJobTriggersCreate'- { _pjtcParent :: !Text- , _pjtcXgafv :: !(Maybe Xgafv)- , _pjtcUploadProtocol :: !(Maybe Text)- , _pjtcAccessToken :: !(Maybe Text)- , _pjtcUploadType :: !(Maybe Text)- , _pjtcPayload :: !GooglePrivacyDlpV2CreateJobTriggerRequest- , _pjtcCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsJobTriggersCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pjtcParent'------ * 'pjtcXgafv'------ * 'pjtcUploadProtocol'------ * 'pjtcAccessToken'------ * 'pjtcUploadType'------ * 'pjtcPayload'------ * 'pjtcCallback'-projectsJobTriggersCreate- :: Text -- ^ 'pjtcParent'- -> GooglePrivacyDlpV2CreateJobTriggerRequest -- ^ 'pjtcPayload'- -> ProjectsJobTriggersCreate-projectsJobTriggersCreate pPjtcParent_ pPjtcPayload_ =- ProjectsJobTriggersCreate'- { _pjtcParent = pPjtcParent_- , _pjtcXgafv = Nothing- , _pjtcUploadProtocol = Nothing- , _pjtcAccessToken = Nothing- , _pjtcUploadType = Nothing- , _pjtcPayload = pPjtcPayload_- , _pjtcCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id.-pjtcParent :: Lens' ProjectsJobTriggersCreate Text-pjtcParent- = lens _pjtcParent (\ s a -> s{_pjtcParent = a})---- | V1 error format.-pjtcXgafv :: Lens' ProjectsJobTriggersCreate (Maybe Xgafv)-pjtcXgafv- = lens _pjtcXgafv (\ s a -> s{_pjtcXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pjtcUploadProtocol :: Lens' ProjectsJobTriggersCreate (Maybe Text)-pjtcUploadProtocol- = lens _pjtcUploadProtocol- (\ s a -> s{_pjtcUploadProtocol = a})---- | OAuth access token.-pjtcAccessToken :: Lens' ProjectsJobTriggersCreate (Maybe Text)-pjtcAccessToken- = lens _pjtcAccessToken- (\ s a -> s{_pjtcAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pjtcUploadType :: Lens' ProjectsJobTriggersCreate (Maybe Text)-pjtcUploadType- = lens _pjtcUploadType- (\ s a -> s{_pjtcUploadType = a})---- | Multipart request metadata.-pjtcPayload :: Lens' ProjectsJobTriggersCreate GooglePrivacyDlpV2CreateJobTriggerRequest-pjtcPayload- = lens _pjtcPayload (\ s a -> s{_pjtcPayload = a})---- | JSONP-pjtcCallback :: Lens' ProjectsJobTriggersCreate (Maybe Text)-pjtcCallback- = lens _pjtcCallback (\ s a -> s{_pjtcCallback = a})--instance GoogleRequest ProjectsJobTriggersCreate- where- type Rs ProjectsJobTriggersCreate =- GooglePrivacyDlpV2JobTrigger- type Scopes ProjectsJobTriggersCreate =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsJobTriggersCreate'{..}- = go _pjtcParent _pjtcXgafv _pjtcUploadProtocol- _pjtcAccessToken- _pjtcUploadType- _pjtcCallback- (Just AltJSON)- _pjtcPayload- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsJobTriggersCreateResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/JobTriggers/Delete.hs
@@ -1,157 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.JobTriggers.Delete--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes a job trigger. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-job-triggers to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.jobTriggers.delete@.-module Network.Google.Resource.DLP.Projects.JobTriggers.Delete- (- -- * REST Resource- ProjectsJobTriggersDeleteResource-- -- * Creating a Request- , projectsJobTriggersDelete- , ProjectsJobTriggersDelete-- -- * Request Lenses- , pjtdXgafv- , pjtdUploadProtocol- , pjtdAccessToken- , pjtdUploadType- , pjtdName- , pjtdCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.jobTriggers.delete@ method which the--- 'ProjectsJobTriggersDelete' request conforms to.-type ProjectsJobTriggersDeleteResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Delete '[JSON] GoogleProtobufEmpty---- | Deletes a job trigger. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-job-triggers to learn--- more.------ /See:/ 'projectsJobTriggersDelete' smart constructor.-data ProjectsJobTriggersDelete =- ProjectsJobTriggersDelete'- { _pjtdXgafv :: !(Maybe Xgafv)- , _pjtdUploadProtocol :: !(Maybe Text)- , _pjtdAccessToken :: !(Maybe Text)- , _pjtdUploadType :: !(Maybe Text)- , _pjtdName :: !Text- , _pjtdCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsJobTriggersDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pjtdXgafv'------ * 'pjtdUploadProtocol'------ * 'pjtdAccessToken'------ * 'pjtdUploadType'------ * 'pjtdName'------ * 'pjtdCallback'-projectsJobTriggersDelete- :: Text -- ^ 'pjtdName'- -> ProjectsJobTriggersDelete-projectsJobTriggersDelete pPjtdName_ =- ProjectsJobTriggersDelete'- { _pjtdXgafv = Nothing- , _pjtdUploadProtocol = Nothing- , _pjtdAccessToken = Nothing- , _pjtdUploadType = Nothing- , _pjtdName = pPjtdName_- , _pjtdCallback = Nothing- }----- | V1 error format.-pjtdXgafv :: Lens' ProjectsJobTriggersDelete (Maybe Xgafv)-pjtdXgafv- = lens _pjtdXgafv (\ s a -> s{_pjtdXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pjtdUploadProtocol :: Lens' ProjectsJobTriggersDelete (Maybe Text)-pjtdUploadProtocol- = lens _pjtdUploadProtocol- (\ s a -> s{_pjtdUploadProtocol = a})---- | OAuth access token.-pjtdAccessToken :: Lens' ProjectsJobTriggersDelete (Maybe Text)-pjtdAccessToken- = lens _pjtdAccessToken- (\ s a -> s{_pjtdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pjtdUploadType :: Lens' ProjectsJobTriggersDelete (Maybe Text)-pjtdUploadType- = lens _pjtdUploadType- (\ s a -> s{_pjtdUploadType = a})---- | Resource name of the project and the triggeredJob, for example--- \`projects\/dlp-test-project\/jobTriggers\/53234423\`.-pjtdName :: Lens' ProjectsJobTriggersDelete Text-pjtdName = lens _pjtdName (\ s a -> s{_pjtdName = a})---- | JSONP-pjtdCallback :: Lens' ProjectsJobTriggersDelete (Maybe Text)-pjtdCallback- = lens _pjtdCallback (\ s a -> s{_pjtdCallback = a})--instance GoogleRequest ProjectsJobTriggersDelete- where- type Rs ProjectsJobTriggersDelete =- GoogleProtobufEmpty- type Scopes ProjectsJobTriggersDelete =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsJobTriggersDelete'{..}- = go _pjtdName _pjtdXgafv _pjtdUploadProtocol- _pjtdAccessToken- _pjtdUploadType- _pjtdCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsJobTriggersDeleteResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/JobTriggers/Get.hs
@@ -1,156 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.JobTriggers.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets a job trigger. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-job-triggers to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.jobTriggers.get@.-module Network.Google.Resource.DLP.Projects.JobTriggers.Get- (- -- * REST Resource- ProjectsJobTriggersGetResource-- -- * Creating a Request- , projectsJobTriggersGet- , ProjectsJobTriggersGet-- -- * Request Lenses- , pjtgXgafv- , pjtgUploadProtocol- , pjtgAccessToken- , pjtgUploadType- , pjtgName- , pjtgCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.jobTriggers.get@ method which the--- 'ProjectsJobTriggersGet' request conforms to.-type ProjectsJobTriggersGetResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] GooglePrivacyDlpV2JobTrigger---- | Gets a job trigger. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-job-triggers to learn--- more.------ /See:/ 'projectsJobTriggersGet' smart constructor.-data ProjectsJobTriggersGet =- ProjectsJobTriggersGet'- { _pjtgXgafv :: !(Maybe Xgafv)- , _pjtgUploadProtocol :: !(Maybe Text)- , _pjtgAccessToken :: !(Maybe Text)- , _pjtgUploadType :: !(Maybe Text)- , _pjtgName :: !Text- , _pjtgCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsJobTriggersGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pjtgXgafv'------ * 'pjtgUploadProtocol'------ * 'pjtgAccessToken'------ * 'pjtgUploadType'------ * 'pjtgName'------ * 'pjtgCallback'-projectsJobTriggersGet- :: Text -- ^ 'pjtgName'- -> ProjectsJobTriggersGet-projectsJobTriggersGet pPjtgName_ =- ProjectsJobTriggersGet'- { _pjtgXgafv = Nothing- , _pjtgUploadProtocol = Nothing- , _pjtgAccessToken = Nothing- , _pjtgUploadType = Nothing- , _pjtgName = pPjtgName_- , _pjtgCallback = Nothing- }----- | V1 error format.-pjtgXgafv :: Lens' ProjectsJobTriggersGet (Maybe Xgafv)-pjtgXgafv- = lens _pjtgXgafv (\ s a -> s{_pjtgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pjtgUploadProtocol :: Lens' ProjectsJobTriggersGet (Maybe Text)-pjtgUploadProtocol- = lens _pjtgUploadProtocol- (\ s a -> s{_pjtgUploadProtocol = a})---- | OAuth access token.-pjtgAccessToken :: Lens' ProjectsJobTriggersGet (Maybe Text)-pjtgAccessToken- = lens _pjtgAccessToken- (\ s a -> s{_pjtgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pjtgUploadType :: Lens' ProjectsJobTriggersGet (Maybe Text)-pjtgUploadType- = lens _pjtgUploadType- (\ s a -> s{_pjtgUploadType = a})---- | Resource name of the project and the triggeredJob, for example--- \`projects\/dlp-test-project\/jobTriggers\/53234423\`.-pjtgName :: Lens' ProjectsJobTriggersGet Text-pjtgName = lens _pjtgName (\ s a -> s{_pjtgName = a})---- | JSONP-pjtgCallback :: Lens' ProjectsJobTriggersGet (Maybe Text)-pjtgCallback- = lens _pjtgCallback (\ s a -> s{_pjtgCallback = a})--instance GoogleRequest ProjectsJobTriggersGet where- type Rs ProjectsJobTriggersGet =- GooglePrivacyDlpV2JobTrigger- type Scopes ProjectsJobTriggersGet =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsJobTriggersGet'{..}- = go _pjtgName _pjtgXgafv _pjtgUploadProtocol- _pjtgAccessToken- _pjtgUploadType- _pjtgCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsJobTriggersGetResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/JobTriggers/List.hs
@@ -1,234 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.JobTriggers.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists job triggers. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-job-triggers to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.jobTriggers.list@.-module Network.Google.Resource.DLP.Projects.JobTriggers.List- (- -- * REST Resource- ProjectsJobTriggersListResource-- -- * Creating a Request- , projectsJobTriggersList- , ProjectsJobTriggersList-- -- * Request Lenses- , pjtlParent- , pjtlXgafv- , pjtlUploadProtocol- , pjtlOrderBy- , pjtlAccessToken- , pjtlUploadType- , pjtlFilter- , pjtlPageToken- , pjtlPageSize- , pjtlCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.jobTriggers.list@ method which the--- 'ProjectsJobTriggersList' request conforms to.-type ProjectsJobTriggersListResource =- "v2" :>- Capture "parent" Text :>- "jobTriggers" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "orderBy" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "filter" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON]- GooglePrivacyDlpV2ListJobTriggersResponse---- | Lists job triggers. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-job-triggers to learn--- more.------ /See:/ 'projectsJobTriggersList' smart constructor.-data ProjectsJobTriggersList =- ProjectsJobTriggersList'- { _pjtlParent :: !Text- , _pjtlXgafv :: !(Maybe Xgafv)- , _pjtlUploadProtocol :: !(Maybe Text)- , _pjtlOrderBy :: !(Maybe Text)- , _pjtlAccessToken :: !(Maybe Text)- , _pjtlUploadType :: !(Maybe Text)- , _pjtlFilter :: !(Maybe Text)- , _pjtlPageToken :: !(Maybe Text)- , _pjtlPageSize :: !(Maybe (Textual Int32))- , _pjtlCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsJobTriggersList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pjtlParent'------ * 'pjtlXgafv'------ * 'pjtlUploadProtocol'------ * 'pjtlOrderBy'------ * 'pjtlAccessToken'------ * 'pjtlUploadType'------ * 'pjtlFilter'------ * 'pjtlPageToken'------ * 'pjtlPageSize'------ * 'pjtlCallback'-projectsJobTriggersList- :: Text -- ^ 'pjtlParent'- -> ProjectsJobTriggersList-projectsJobTriggersList pPjtlParent_ =- ProjectsJobTriggersList'- { _pjtlParent = pPjtlParent_- , _pjtlXgafv = Nothing- , _pjtlUploadProtocol = Nothing- , _pjtlOrderBy = Nothing- , _pjtlAccessToken = Nothing- , _pjtlUploadType = Nothing- , _pjtlFilter = Nothing- , _pjtlPageToken = Nothing- , _pjtlPageSize = Nothing- , _pjtlCallback = Nothing- }----- | The parent resource name, for example \`projects\/my-project-id\`.-pjtlParent :: Lens' ProjectsJobTriggersList Text-pjtlParent- = lens _pjtlParent (\ s a -> s{_pjtlParent = a})---- | V1 error format.-pjtlXgafv :: Lens' ProjectsJobTriggersList (Maybe Xgafv)-pjtlXgafv- = lens _pjtlXgafv (\ s a -> s{_pjtlXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pjtlUploadProtocol :: Lens' ProjectsJobTriggersList (Maybe Text)-pjtlUploadProtocol- = lens _pjtlUploadProtocol- (\ s a -> s{_pjtlUploadProtocol = a})---- | Optional comma separated list of triggeredJob fields to order by,--- followed by \`asc\` or \`desc\` postfix. This list is case-insensitive,--- default sorting order is ascending, redundant space characters are--- insignificant. Example: \`name asc,update_time, create_time desc\`--- Supported fields are: - \`create_time\`: corresponds to time the--- JobTrigger was created. - \`update_time\`: corresponds to time the--- JobTrigger was last updated. - \`last_run_time\`: corresponds to the--- last time the JobTrigger ran. - \`name\`: corresponds to JobTrigger\'s--- name. - \`display_name\`: corresponds to JobTrigger\'s display name. ---- \`status\`: corresponds to JobTrigger\'s status.-pjtlOrderBy :: Lens' ProjectsJobTriggersList (Maybe Text)-pjtlOrderBy- = lens _pjtlOrderBy (\ s a -> s{_pjtlOrderBy = a})---- | OAuth access token.-pjtlAccessToken :: Lens' ProjectsJobTriggersList (Maybe Text)-pjtlAccessToken- = lens _pjtlAccessToken- (\ s a -> s{_pjtlAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pjtlUploadType :: Lens' ProjectsJobTriggersList (Maybe Text)-pjtlUploadType- = lens _pjtlUploadType- (\ s a -> s{_pjtlUploadType = a})---- | Optional. Allows filtering. Supported syntax: * Filter expressions are--- made up of one or more restrictions. * Restrictions can be combined by--- \`AND\` or \`OR\` logical operators. A sequence of restrictions--- implicitly uses \`AND\`. * A restriction has the form of \` \`. *--- Supported fields\/values for inspect jobs: - \`status\` ---- HEALTHY|PAUSED|CANCELLED - \`inspected_storage\` ---- DATASTORE|CLOUD_STORAGE|BIGQUERY - \'last_run_time\` - RFC 3339--- formatted timestamp, surrounded by quotation marks. Nanoseconds are--- ignored. - \'error_count\' - Number of errors that have occurred while--- running. * The operator must be \`=\` or \`!=\` for status and--- inspected_storage. Examples: * inspected_storage = cloud_storage AND--- status = HEALTHY * inspected_storage = cloud_storage OR--- inspected_storage = bigquery * inspected_storage = cloud_storage AND--- (state = PAUSED OR state = HEALTHY) * last_run_time >--- \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no--- more than 500 characters.-pjtlFilter :: Lens' ProjectsJobTriggersList (Maybe Text)-pjtlFilter- = lens _pjtlFilter (\ s a -> s{_pjtlFilter = a})---- | Optional page token to continue retrieval. Comes from previous call to--- ListJobTriggers. \`order_by\` field must not change for subsequent--- calls.-pjtlPageToken :: Lens' ProjectsJobTriggersList (Maybe Text)-pjtlPageToken- = lens _pjtlPageToken- (\ s a -> s{_pjtlPageToken = a})---- | Optional size of the page, can be limited by a server.-pjtlPageSize :: Lens' ProjectsJobTriggersList (Maybe Int32)-pjtlPageSize- = lens _pjtlPageSize (\ s a -> s{_pjtlPageSize = a})- . mapping _Coerce---- | JSONP-pjtlCallback :: Lens' ProjectsJobTriggersList (Maybe Text)-pjtlCallback- = lens _pjtlCallback (\ s a -> s{_pjtlCallback = a})--instance GoogleRequest ProjectsJobTriggersList where- type Rs ProjectsJobTriggersList =- GooglePrivacyDlpV2ListJobTriggersResponse- type Scopes ProjectsJobTriggersList =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsJobTriggersList'{..}- = go _pjtlParent _pjtlXgafv _pjtlUploadProtocol- _pjtlOrderBy- _pjtlAccessToken- _pjtlUploadType- _pjtlFilter- _pjtlPageToken- _pjtlPageSize- _pjtlCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsJobTriggersListResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/JobTriggers/Patch.hs
@@ -1,170 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.JobTriggers.Patch--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates a job trigger. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-job-triggers to learn--- more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.jobTriggers.patch@.-module Network.Google.Resource.DLP.Projects.JobTriggers.Patch- (- -- * REST Resource- ProjectsJobTriggersPatchResource-- -- * Creating a Request- , projectsJobTriggersPatch- , ProjectsJobTriggersPatch-- -- * Request Lenses- , pjtpXgafv- , pjtpUploadProtocol- , pjtpAccessToken- , pjtpUploadType- , pjtpPayload- , pjtpName- , pjtpCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.jobTriggers.patch@ method which the--- 'ProjectsJobTriggersPatch' request conforms to.-type ProjectsJobTriggersPatchResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2UpdateJobTriggerRequest- :> Patch '[JSON] GooglePrivacyDlpV2JobTrigger---- | Updates a job trigger. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-job-triggers to learn--- more.------ /See:/ 'projectsJobTriggersPatch' smart constructor.-data ProjectsJobTriggersPatch =- ProjectsJobTriggersPatch'- { _pjtpXgafv :: !(Maybe Xgafv)- , _pjtpUploadProtocol :: !(Maybe Text)- , _pjtpAccessToken :: !(Maybe Text)- , _pjtpUploadType :: !(Maybe Text)- , _pjtpPayload :: !GooglePrivacyDlpV2UpdateJobTriggerRequest- , _pjtpName :: !Text- , _pjtpCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsJobTriggersPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pjtpXgafv'------ * 'pjtpUploadProtocol'------ * 'pjtpAccessToken'------ * 'pjtpUploadType'------ * 'pjtpPayload'------ * 'pjtpName'------ * 'pjtpCallback'-projectsJobTriggersPatch- :: GooglePrivacyDlpV2UpdateJobTriggerRequest -- ^ 'pjtpPayload'- -> Text -- ^ 'pjtpName'- -> ProjectsJobTriggersPatch-projectsJobTriggersPatch pPjtpPayload_ pPjtpName_ =- ProjectsJobTriggersPatch'- { _pjtpXgafv = Nothing- , _pjtpUploadProtocol = Nothing- , _pjtpAccessToken = Nothing- , _pjtpUploadType = Nothing- , _pjtpPayload = pPjtpPayload_- , _pjtpName = pPjtpName_- , _pjtpCallback = Nothing- }----- | V1 error format.-pjtpXgafv :: Lens' ProjectsJobTriggersPatch (Maybe Xgafv)-pjtpXgafv- = lens _pjtpXgafv (\ s a -> s{_pjtpXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-pjtpUploadProtocol :: Lens' ProjectsJobTriggersPatch (Maybe Text)-pjtpUploadProtocol- = lens _pjtpUploadProtocol- (\ s a -> s{_pjtpUploadProtocol = a})---- | OAuth access token.-pjtpAccessToken :: Lens' ProjectsJobTriggersPatch (Maybe Text)-pjtpAccessToken- = lens _pjtpAccessToken- (\ s a -> s{_pjtpAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-pjtpUploadType :: Lens' ProjectsJobTriggersPatch (Maybe Text)-pjtpUploadType- = lens _pjtpUploadType- (\ s a -> s{_pjtpUploadType = a})---- | Multipart request metadata.-pjtpPayload :: Lens' ProjectsJobTriggersPatch GooglePrivacyDlpV2UpdateJobTriggerRequest-pjtpPayload- = lens _pjtpPayload (\ s a -> s{_pjtpPayload = a})---- | Resource name of the project and the triggeredJob, for example--- \`projects\/dlp-test-project\/jobTriggers\/53234423\`.-pjtpName :: Lens' ProjectsJobTriggersPatch Text-pjtpName = lens _pjtpName (\ s a -> s{_pjtpName = a})---- | JSONP-pjtpCallback :: Lens' ProjectsJobTriggersPatch (Maybe Text)-pjtpCallback- = lens _pjtpCallback (\ s a -> s{_pjtpCallback = a})--instance GoogleRequest ProjectsJobTriggersPatch where- type Rs ProjectsJobTriggersPatch =- GooglePrivacyDlpV2JobTrigger- type Scopes ProjectsJobTriggersPatch =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsJobTriggersPatch'{..}- = go _pjtpName _pjtpXgafv _pjtpUploadProtocol- _pjtpAccessToken- _pjtpUploadType- _pjtpCallback- (Just AltJSON)- _pjtpPayload- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsJobTriggersPatchResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/StoredInfoTypes/Create.hs
@@ -1,175 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.StoredInfoTypes.Create--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Creates a pre-built stored infoType to be used for inspection. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.storedInfoTypes.create@.-module Network.Google.Resource.DLP.Projects.StoredInfoTypes.Create- (- -- * REST Resource- ProjectsStoredInfoTypesCreateResource-- -- * Creating a Request- , projectsStoredInfoTypesCreate- , ProjectsStoredInfoTypesCreate-- -- * Request Lenses- , psitcParent- , psitcXgafv- , psitcUploadProtocol- , psitcAccessToken- , psitcUploadType- , psitcPayload- , psitcCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.storedInfoTypes.create@ method which the--- 'ProjectsStoredInfoTypesCreate' request conforms to.-type ProjectsStoredInfoTypesCreateResource =- "v2" :>- Capture "parent" Text :>- "storedInfoTypes" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2CreateStoredInfoTypeRequest- :> Post '[JSON] GooglePrivacyDlpV2StoredInfoType---- | Creates a pre-built stored infoType to be used for inspection. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ 'projectsStoredInfoTypesCreate' smart constructor.-data ProjectsStoredInfoTypesCreate =- ProjectsStoredInfoTypesCreate'- { _psitcParent :: !Text- , _psitcXgafv :: !(Maybe Xgafv)- , _psitcUploadProtocol :: !(Maybe Text)- , _psitcAccessToken :: !(Maybe Text)- , _psitcUploadType :: !(Maybe Text)- , _psitcPayload :: !GooglePrivacyDlpV2CreateStoredInfoTypeRequest- , _psitcCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsStoredInfoTypesCreate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'psitcParent'------ * 'psitcXgafv'------ * 'psitcUploadProtocol'------ * 'psitcAccessToken'------ * 'psitcUploadType'------ * 'psitcPayload'------ * 'psitcCallback'-projectsStoredInfoTypesCreate- :: Text -- ^ 'psitcParent'- -> GooglePrivacyDlpV2CreateStoredInfoTypeRequest -- ^ 'psitcPayload'- -> ProjectsStoredInfoTypesCreate-projectsStoredInfoTypesCreate pPsitcParent_ pPsitcPayload_ =- ProjectsStoredInfoTypesCreate'- { _psitcParent = pPsitcParent_- , _psitcXgafv = Nothing- , _psitcUploadProtocol = Nothing- , _psitcAccessToken = Nothing- , _psitcUploadType = Nothing- , _psitcPayload = pPsitcPayload_- , _psitcCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id or--- organizations\/my-org-id.-psitcParent :: Lens' ProjectsStoredInfoTypesCreate Text-psitcParent- = lens _psitcParent (\ s a -> s{_psitcParent = a})---- | V1 error format.-psitcXgafv :: Lens' ProjectsStoredInfoTypesCreate (Maybe Xgafv)-psitcXgafv- = lens _psitcXgafv (\ s a -> s{_psitcXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-psitcUploadProtocol :: Lens' ProjectsStoredInfoTypesCreate (Maybe Text)-psitcUploadProtocol- = lens _psitcUploadProtocol- (\ s a -> s{_psitcUploadProtocol = a})---- | OAuth access token.-psitcAccessToken :: Lens' ProjectsStoredInfoTypesCreate (Maybe Text)-psitcAccessToken- = lens _psitcAccessToken- (\ s a -> s{_psitcAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-psitcUploadType :: Lens' ProjectsStoredInfoTypesCreate (Maybe Text)-psitcUploadType- = lens _psitcUploadType- (\ s a -> s{_psitcUploadType = a})---- | Multipart request metadata.-psitcPayload :: Lens' ProjectsStoredInfoTypesCreate GooglePrivacyDlpV2CreateStoredInfoTypeRequest-psitcPayload- = lens _psitcPayload (\ s a -> s{_psitcPayload = a})---- | JSONP-psitcCallback :: Lens' ProjectsStoredInfoTypesCreate (Maybe Text)-psitcCallback- = lens _psitcCallback- (\ s a -> s{_psitcCallback = a})--instance GoogleRequest ProjectsStoredInfoTypesCreate- where- type Rs ProjectsStoredInfoTypesCreate =- GooglePrivacyDlpV2StoredInfoType- type Scopes ProjectsStoredInfoTypesCreate =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsStoredInfoTypesCreate'{..}- = go _psitcParent _psitcXgafv _psitcUploadProtocol- _psitcAccessToken- _psitcUploadType- _psitcCallback- (Just AltJSON)- _psitcPayload- dLPService- where go- = buildClient- (Proxy ::- Proxy ProjectsStoredInfoTypesCreateResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/StoredInfoTypes/Delete.hs
@@ -1,161 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.StoredInfoTypes.Delete--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Deletes a stored infoType. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.storedInfoTypes.delete@.-module Network.Google.Resource.DLP.Projects.StoredInfoTypes.Delete- (- -- * REST Resource- ProjectsStoredInfoTypesDeleteResource-- -- * Creating a Request- , projectsStoredInfoTypesDelete- , ProjectsStoredInfoTypesDelete-- -- * Request Lenses- , psitdXgafv- , psitdUploadProtocol- , psitdAccessToken- , psitdUploadType- , psitdName- , psitdCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.storedInfoTypes.delete@ method which the--- 'ProjectsStoredInfoTypesDelete' request conforms to.-type ProjectsStoredInfoTypesDeleteResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Delete '[JSON] GoogleProtobufEmpty---- | Deletes a stored infoType. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ 'projectsStoredInfoTypesDelete' smart constructor.-data ProjectsStoredInfoTypesDelete =- ProjectsStoredInfoTypesDelete'- { _psitdXgafv :: !(Maybe Xgafv)- , _psitdUploadProtocol :: !(Maybe Text)- , _psitdAccessToken :: !(Maybe Text)- , _psitdUploadType :: !(Maybe Text)- , _psitdName :: !Text- , _psitdCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsStoredInfoTypesDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'psitdXgafv'------ * 'psitdUploadProtocol'------ * 'psitdAccessToken'------ * 'psitdUploadType'------ * 'psitdName'------ * 'psitdCallback'-projectsStoredInfoTypesDelete- :: Text -- ^ 'psitdName'- -> ProjectsStoredInfoTypesDelete-projectsStoredInfoTypesDelete pPsitdName_ =- ProjectsStoredInfoTypesDelete'- { _psitdXgafv = Nothing- , _psitdUploadProtocol = Nothing- , _psitdAccessToken = Nothing- , _psitdUploadType = Nothing- , _psitdName = pPsitdName_- , _psitdCallback = Nothing- }----- | V1 error format.-psitdXgafv :: Lens' ProjectsStoredInfoTypesDelete (Maybe Xgafv)-psitdXgafv- = lens _psitdXgafv (\ s a -> s{_psitdXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-psitdUploadProtocol :: Lens' ProjectsStoredInfoTypesDelete (Maybe Text)-psitdUploadProtocol- = lens _psitdUploadProtocol- (\ s a -> s{_psitdUploadProtocol = a})---- | OAuth access token.-psitdAccessToken :: Lens' ProjectsStoredInfoTypesDelete (Maybe Text)-psitdAccessToken- = lens _psitdAccessToken- (\ s a -> s{_psitdAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-psitdUploadType :: Lens' ProjectsStoredInfoTypesDelete (Maybe Text)-psitdUploadType- = lens _psitdUploadType- (\ s a -> s{_psitdUploadType = a})---- | Resource name of the organization and storedInfoType to be deleted, for--- example \`organizations\/433245324\/storedInfoTypes\/432452342\` or--- projects\/project-id\/storedInfoTypes\/432452342.-psitdName :: Lens' ProjectsStoredInfoTypesDelete Text-psitdName- = lens _psitdName (\ s a -> s{_psitdName = a})---- | JSONP-psitdCallback :: Lens' ProjectsStoredInfoTypesDelete (Maybe Text)-psitdCallback- = lens _psitdCallback- (\ s a -> s{_psitdCallback = a})--instance GoogleRequest ProjectsStoredInfoTypesDelete- where- type Rs ProjectsStoredInfoTypesDelete =- GoogleProtobufEmpty- type Scopes ProjectsStoredInfoTypesDelete =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsStoredInfoTypesDelete'{..}- = go _psitdName _psitdXgafv _psitdUploadProtocol- _psitdAccessToken- _psitdUploadType- _psitdCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy ::- Proxy ProjectsStoredInfoTypesDeleteResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/StoredInfoTypes/Get.hs
@@ -1,160 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.StoredInfoTypes.Get--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Gets a stored infoType. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.storedInfoTypes.get@.-module Network.Google.Resource.DLP.Projects.StoredInfoTypes.Get- (- -- * REST Resource- ProjectsStoredInfoTypesGetResource-- -- * Creating a Request- , projectsStoredInfoTypesGet- , ProjectsStoredInfoTypesGet-- -- * Request Lenses- , psitgXgafv- , psitgUploadProtocol- , psitgAccessToken- , psitgUploadType- , psitgName- , psitgCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.storedInfoTypes.get@ method which the--- 'ProjectsStoredInfoTypesGet' request conforms to.-type ProjectsStoredInfoTypesGetResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON] GooglePrivacyDlpV2StoredInfoType---- | Gets a stored infoType. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ 'projectsStoredInfoTypesGet' smart constructor.-data ProjectsStoredInfoTypesGet =- ProjectsStoredInfoTypesGet'- { _psitgXgafv :: !(Maybe Xgafv)- , _psitgUploadProtocol :: !(Maybe Text)- , _psitgAccessToken :: !(Maybe Text)- , _psitgUploadType :: !(Maybe Text)- , _psitgName :: !Text- , _psitgCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsStoredInfoTypesGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'psitgXgafv'------ * 'psitgUploadProtocol'------ * 'psitgAccessToken'------ * 'psitgUploadType'------ * 'psitgName'------ * 'psitgCallback'-projectsStoredInfoTypesGet- :: Text -- ^ 'psitgName'- -> ProjectsStoredInfoTypesGet-projectsStoredInfoTypesGet pPsitgName_ =- ProjectsStoredInfoTypesGet'- { _psitgXgafv = Nothing- , _psitgUploadProtocol = Nothing- , _psitgAccessToken = Nothing- , _psitgUploadType = Nothing- , _psitgName = pPsitgName_- , _psitgCallback = Nothing- }----- | V1 error format.-psitgXgafv :: Lens' ProjectsStoredInfoTypesGet (Maybe Xgafv)-psitgXgafv- = lens _psitgXgafv (\ s a -> s{_psitgXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-psitgUploadProtocol :: Lens' ProjectsStoredInfoTypesGet (Maybe Text)-psitgUploadProtocol- = lens _psitgUploadProtocol- (\ s a -> s{_psitgUploadProtocol = a})---- | OAuth access token.-psitgAccessToken :: Lens' ProjectsStoredInfoTypesGet (Maybe Text)-psitgAccessToken- = lens _psitgAccessToken- (\ s a -> s{_psitgAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-psitgUploadType :: Lens' ProjectsStoredInfoTypesGet (Maybe Text)-psitgUploadType- = lens _psitgUploadType- (\ s a -> s{_psitgUploadType = a})---- | Resource name of the organization and storedInfoType to be read, for--- example \`organizations\/433245324\/storedInfoTypes\/432452342\` or--- projects\/project-id\/storedInfoTypes\/432452342.-psitgName :: Lens' ProjectsStoredInfoTypesGet Text-psitgName- = lens _psitgName (\ s a -> s{_psitgName = a})---- | JSONP-psitgCallback :: Lens' ProjectsStoredInfoTypesGet (Maybe Text)-psitgCallback- = lens _psitgCallback- (\ s a -> s{_psitgCallback = a})--instance GoogleRequest ProjectsStoredInfoTypesGet- where- type Rs ProjectsStoredInfoTypesGet =- GooglePrivacyDlpV2StoredInfoType- type Scopes ProjectsStoredInfoTypesGet =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsStoredInfoTypesGet'{..}- = go _psitgName _psitgXgafv _psitgUploadProtocol- _psitgAccessToken- _psitgUploadType- _psitgCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsStoredInfoTypesGetResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/StoredInfoTypes/List.hs
@@ -1,209 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.StoredInfoTypes.List--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Lists stored infoTypes. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.storedInfoTypes.list@.-module Network.Google.Resource.DLP.Projects.StoredInfoTypes.List- (- -- * REST Resource- ProjectsStoredInfoTypesListResource-- -- * Creating a Request- , projectsStoredInfoTypesList- , ProjectsStoredInfoTypesList-- -- * Request Lenses- , psitlParent- , psitlXgafv- , psitlUploadProtocol- , psitlOrderBy- , psitlAccessToken- , psitlUploadType- , psitlPageToken- , psitlPageSize- , psitlCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.storedInfoTypes.list@ method which the--- 'ProjectsStoredInfoTypesList' request conforms to.-type ProjectsStoredInfoTypesListResource =- "v2" :>- Capture "parent" Text :>- "storedInfoTypes" :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "orderBy" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "pageToken" Text :>- QueryParam "pageSize" (Textual Int32) :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- Get '[JSON]- GooglePrivacyDlpV2ListStoredInfoTypesResponse---- | Lists stored infoTypes. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ 'projectsStoredInfoTypesList' smart constructor.-data ProjectsStoredInfoTypesList =- ProjectsStoredInfoTypesList'- { _psitlParent :: !Text- , _psitlXgafv :: !(Maybe Xgafv)- , _psitlUploadProtocol :: !(Maybe Text)- , _psitlOrderBy :: !(Maybe Text)- , _psitlAccessToken :: !(Maybe Text)- , _psitlUploadType :: !(Maybe Text)- , _psitlPageToken :: !(Maybe Text)- , _psitlPageSize :: !(Maybe (Textual Int32))- , _psitlCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsStoredInfoTypesList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'psitlParent'------ * 'psitlXgafv'------ * 'psitlUploadProtocol'------ * 'psitlOrderBy'------ * 'psitlAccessToken'------ * 'psitlUploadType'------ * 'psitlPageToken'------ * 'psitlPageSize'------ * 'psitlCallback'-projectsStoredInfoTypesList- :: Text -- ^ 'psitlParent'- -> ProjectsStoredInfoTypesList-projectsStoredInfoTypesList pPsitlParent_ =- ProjectsStoredInfoTypesList'- { _psitlParent = pPsitlParent_- , _psitlXgafv = Nothing- , _psitlUploadProtocol = Nothing- , _psitlOrderBy = Nothing- , _psitlAccessToken = Nothing- , _psitlUploadType = Nothing- , _psitlPageToken = Nothing- , _psitlPageSize = Nothing- , _psitlCallback = Nothing- }----- | The parent resource name, for example projects\/my-project-id or--- organizations\/my-org-id.-psitlParent :: Lens' ProjectsStoredInfoTypesList Text-psitlParent- = lens _psitlParent (\ s a -> s{_psitlParent = a})---- | V1 error format.-psitlXgafv :: Lens' ProjectsStoredInfoTypesList (Maybe Xgafv)-psitlXgafv- = lens _psitlXgafv (\ s a -> s{_psitlXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-psitlUploadProtocol :: Lens' ProjectsStoredInfoTypesList (Maybe Text)-psitlUploadProtocol- = lens _psitlUploadProtocol- (\ s a -> s{_psitlUploadProtocol = a})---- | Optional comma separated list of fields to order by, followed by \`asc\`--- or \`desc\` postfix. This list is case-insensitive, default sorting--- order is ascending, redundant space characters are insignificant.--- Example: \`name asc, display_name, create_time desc\` Supported fields--- are: - \`create_time\`: corresponds to time the most recent version of--- the resource was created. - \`state\`: corresponds to the state of the--- resource. - \`name\`: corresponds to resource name. - \`display_name\`:--- corresponds to info type\'s display name.-psitlOrderBy :: Lens' ProjectsStoredInfoTypesList (Maybe Text)-psitlOrderBy- = lens _psitlOrderBy (\ s a -> s{_psitlOrderBy = a})---- | OAuth access token.-psitlAccessToken :: Lens' ProjectsStoredInfoTypesList (Maybe Text)-psitlAccessToken- = lens _psitlAccessToken- (\ s a -> s{_psitlAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-psitlUploadType :: Lens' ProjectsStoredInfoTypesList (Maybe Text)-psitlUploadType- = lens _psitlUploadType- (\ s a -> s{_psitlUploadType = a})---- | Optional page token to continue retrieval. Comes from previous call to--- \`ListStoredInfoTypes\`.-psitlPageToken :: Lens' ProjectsStoredInfoTypesList (Maybe Text)-psitlPageToken- = lens _psitlPageToken- (\ s a -> s{_psitlPageToken = a})---- | Optional size of the page, can be limited by server. If zero server--- returns a page of max size 100.-psitlPageSize :: Lens' ProjectsStoredInfoTypesList (Maybe Int32)-psitlPageSize- = lens _psitlPageSize- (\ s a -> s{_psitlPageSize = a})- . mapping _Coerce---- | JSONP-psitlCallback :: Lens' ProjectsStoredInfoTypesList (Maybe Text)-psitlCallback- = lens _psitlCallback- (\ s a -> s{_psitlCallback = a})--instance GoogleRequest ProjectsStoredInfoTypesList- where- type Rs ProjectsStoredInfoTypesList =- GooglePrivacyDlpV2ListStoredInfoTypesResponse- type Scopes ProjectsStoredInfoTypesList =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsStoredInfoTypesList'{..}- = go _psitlParent _psitlXgafv _psitlUploadProtocol- _psitlOrderBy- _psitlAccessToken- _psitlUploadType- _psitlPageToken- _psitlPageSize- _psitlCallback- (Just AltJSON)- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsStoredInfoTypesListResource)- mempty
− gen/Network/Google/Resource/DLP/Projects/StoredInfoTypes/Patch.hs
@@ -1,176 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.DLP.Projects.StoredInfoTypes.Patch--- Copyright : (c) 2015-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)------ Updates the stored infoType by creating a new version. The existing--- version will continue to be used until the new version is ready. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ <https://cloud.google.com/dlp/docs/ Cloud Data Loss Prevention (DLP) API Reference> for @dlp.projects.storedInfoTypes.patch@.-module Network.Google.Resource.DLP.Projects.StoredInfoTypes.Patch- (- -- * REST Resource- ProjectsStoredInfoTypesPatchResource-- -- * Creating a Request- , projectsStoredInfoTypesPatch- , ProjectsStoredInfoTypesPatch-- -- * Request Lenses- , psitpXgafv- , psitpUploadProtocol- , psitpAccessToken- , psitpUploadType- , psitpPayload- , psitpName- , psitpCallback- ) where--import Network.Google.DLP.Types-import Network.Google.Prelude---- | A resource alias for @dlp.projects.storedInfoTypes.patch@ method which the--- 'ProjectsStoredInfoTypesPatch' request conforms to.-type ProjectsStoredInfoTypesPatchResource =- "v2" :>- Capture "name" Text :>- QueryParam "$.xgafv" Xgafv :>- QueryParam "upload_protocol" Text :>- QueryParam "access_token" Text :>- QueryParam "uploadType" Text :>- QueryParam "callback" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON]- GooglePrivacyDlpV2UpdateStoredInfoTypeRequest- :> Patch '[JSON] GooglePrivacyDlpV2StoredInfoType---- | Updates the stored infoType by creating a new version. The existing--- version will continue to be used until the new version is ready. See--- https:\/\/cloud.google.com\/dlp\/docs\/creating-stored-infotypes to--- learn more.------ /See:/ 'projectsStoredInfoTypesPatch' smart constructor.-data ProjectsStoredInfoTypesPatch =- ProjectsStoredInfoTypesPatch'- { _psitpXgafv :: !(Maybe Xgafv)- , _psitpUploadProtocol :: !(Maybe Text)- , _psitpAccessToken :: !(Maybe Text)- , _psitpUploadType :: !(Maybe Text)- , _psitpPayload :: !GooglePrivacyDlpV2UpdateStoredInfoTypeRequest- , _psitpName :: !Text- , _psitpCallback :: !(Maybe Text)- }- deriving (Eq, Show, Data, Typeable, Generic)----- | Creates a value of 'ProjectsStoredInfoTypesPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'psitpXgafv'------ * 'psitpUploadProtocol'------ * 'psitpAccessToken'------ * 'psitpUploadType'------ * 'psitpPayload'------ * 'psitpName'------ * 'psitpCallback'-projectsStoredInfoTypesPatch- :: GooglePrivacyDlpV2UpdateStoredInfoTypeRequest -- ^ 'psitpPayload'- -> Text -- ^ 'psitpName'- -> ProjectsStoredInfoTypesPatch-projectsStoredInfoTypesPatch pPsitpPayload_ pPsitpName_ =- ProjectsStoredInfoTypesPatch'- { _psitpXgafv = Nothing- , _psitpUploadProtocol = Nothing- , _psitpAccessToken = Nothing- , _psitpUploadType = Nothing- , _psitpPayload = pPsitpPayload_- , _psitpName = pPsitpName_- , _psitpCallback = Nothing- }----- | V1 error format.-psitpXgafv :: Lens' ProjectsStoredInfoTypesPatch (Maybe Xgafv)-psitpXgafv- = lens _psitpXgafv (\ s a -> s{_psitpXgafv = a})---- | Upload protocol for media (e.g. \"raw\", \"multipart\").-psitpUploadProtocol :: Lens' ProjectsStoredInfoTypesPatch (Maybe Text)-psitpUploadProtocol- = lens _psitpUploadProtocol- (\ s a -> s{_psitpUploadProtocol = a})---- | OAuth access token.-psitpAccessToken :: Lens' ProjectsStoredInfoTypesPatch (Maybe Text)-psitpAccessToken- = lens _psitpAccessToken- (\ s a -> s{_psitpAccessToken = a})---- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").-psitpUploadType :: Lens' ProjectsStoredInfoTypesPatch (Maybe Text)-psitpUploadType- = lens _psitpUploadType- (\ s a -> s{_psitpUploadType = a})---- | Multipart request metadata.-psitpPayload :: Lens' ProjectsStoredInfoTypesPatch GooglePrivacyDlpV2UpdateStoredInfoTypeRequest-psitpPayload- = lens _psitpPayload (\ s a -> s{_psitpPayload = a})---- | Resource name of organization and storedInfoType to be updated, for--- example \`organizations\/433245324\/storedInfoTypes\/432452342\` or--- projects\/project-id\/storedInfoTypes\/432452342.-psitpName :: Lens' ProjectsStoredInfoTypesPatch Text-psitpName- = lens _psitpName (\ s a -> s{_psitpName = a})---- | JSONP-psitpCallback :: Lens' ProjectsStoredInfoTypesPatch (Maybe Text)-psitpCallback- = lens _psitpCallback- (\ s a -> s{_psitpCallback = a})--instance GoogleRequest ProjectsStoredInfoTypesPatch- where- type Rs ProjectsStoredInfoTypesPatch =- GooglePrivacyDlpV2StoredInfoType- type Scopes ProjectsStoredInfoTypesPatch =- '["https://www.googleapis.com/auth/cloud-platform"]- requestClient ProjectsStoredInfoTypesPatch'{..}- = go _psitpName _psitpXgafv _psitpUploadProtocol- _psitpAccessToken- _psitpUploadType- _psitpCallback- (Just AltJSON)- _psitpPayload- dLPService- where go- = buildClient- (Proxy :: Proxy ProjectsStoredInfoTypesPatchResource)- mempty
gogol-dlp.cabal view
@@ -1,93 +1,203 @@-name: gogol-dlp-version: 0.5.0-synopsis: Google Cloud Data Loss Prevention (DLP) SDK.-homepage: https://github.com/brendanhay/gogol-bug-reports: https://github.com/brendanhay/gogol/issues-license: OtherLicense-license-file: LICENSE-author: Brendan Hay-maintainer: Brendan Hay <brendan.g.hay@gmail.com>-copyright: Copyright (c) 2015-2016 Brendan Hay-category: Network, Google, Cloud-build-type: Simple-cabal-version: >= 1.10-extra-source-files: README.md src/.gitkeep+cabal-version: 2.2+name: gogol-dlp+version: 1.0.0+synopsis: Google Sensitive Data Protection (DLP) SDK.+homepage: https://github.com/brendanhay/gogol+bug-reports: https://github.com/brendanhay/gogol/issues+license: MPL-2.0+license-file: LICENSE+author: Brendan Hay+maintainer:+ Brendan Hay <brendan.g.hay+gogol@gmail.com>, Toni Cebrián <toni@tonicebrian.com> +copyright: Copyright (c) 2015-2025 Brendan Hay+category: Google+build-type: Simple+extra-source-files:+ README.md+ src/.gitkeep+ description:- Provides methods for detection, risk analysis, and de-identification of- privacy-sensitive fragments in text, images, and Google Cloud Platform- storage repositories.- .- /Warning:/ This is an experimental prototype/preview release which is still- under exploratory development and not intended for public use, caveat emptor!- .- This library is compatible with version @v2@- of the API.+ Discover and protect your sensitive data. A fully managed service designed to help you discover, classify, and protect your valuable data assets with ease.+ .+ /Warning:/ This is an experimental prototype/preview release which is still+ under exploratory development and not intended for public use, caveat emptor!+ .+ This library is compatible with version @v2@+ of the API. source-repository head- type: git- location: git://github.com/brendanhay/gogol.git+ type: git+ location: git://github.com/brendanhay/gogol.git+ subdir: gogol-dlp +flag field-selectors+ description:+ If record field selectors should be enabled. Disabling this requires GHC >=9.2 and the NoFieldSelectors extension.++ default: False+ manual: True+ library- default-language: Haskell2010- hs-source-dirs: src gen+ default-language: GHC2021+ hs-source-dirs: src gen+ ghc-options:+ -Wall -fwarn-incomplete-uni-patterns+ -fwarn-incomplete-record-updates -funbox-strict-fields+ -fwarn-unused-packages - ghc-options: -Wall+ if (!flag(field-selectors) && impl(ghc >=9.2))+ default-extensions: NoFieldSelectors - exposed-modules:- Network.Google.DLP- , Network.Google.DLP.Types- , Network.Google.Resource.DLP.InfoTypes.List- , Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Create- , Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Delete- , Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Get- , Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.List- , Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Patch- , Network.Google.Resource.DLP.Organizations.InspectTemplates.Create- , Network.Google.Resource.DLP.Organizations.InspectTemplates.Delete- , Network.Google.Resource.DLP.Organizations.InspectTemplates.Get- , Network.Google.Resource.DLP.Organizations.InspectTemplates.List- , Network.Google.Resource.DLP.Organizations.InspectTemplates.Patch- , Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Create- , Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Delete- , Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Get- , Network.Google.Resource.DLP.Organizations.StoredInfoTypes.List- , Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Patch- , Network.Google.Resource.DLP.Projects.Content.Deidentify- , Network.Google.Resource.DLP.Projects.Content.Inspect- , Network.Google.Resource.DLP.Projects.Content.Reidentify- , Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Create- , Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Delete- , Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Get- , Network.Google.Resource.DLP.Projects.DeidentifyTemplates.List- , Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Patch- , Network.Google.Resource.DLP.Projects.DlpJobs.Cancel- , Network.Google.Resource.DLP.Projects.DlpJobs.Create- , Network.Google.Resource.DLP.Projects.DlpJobs.Delete- , Network.Google.Resource.DLP.Projects.DlpJobs.Get- , Network.Google.Resource.DLP.Projects.DlpJobs.List- , Network.Google.Resource.DLP.Projects.Image.Redact- , Network.Google.Resource.DLP.Projects.InspectTemplates.Create- , Network.Google.Resource.DLP.Projects.InspectTemplates.Delete- , Network.Google.Resource.DLP.Projects.InspectTemplates.Get- , Network.Google.Resource.DLP.Projects.InspectTemplates.List- , Network.Google.Resource.DLP.Projects.InspectTemplates.Patch- , Network.Google.Resource.DLP.Projects.JobTriggers.Activate- , Network.Google.Resource.DLP.Projects.JobTriggers.Create- , Network.Google.Resource.DLP.Projects.JobTriggers.Delete- , Network.Google.Resource.DLP.Projects.JobTriggers.Get- , Network.Google.Resource.DLP.Projects.JobTriggers.List- , Network.Google.Resource.DLP.Projects.JobTriggers.Patch- , Network.Google.Resource.DLP.Projects.StoredInfoTypes.Create- , Network.Google.Resource.DLP.Projects.StoredInfoTypes.Delete- , Network.Google.Resource.DLP.Projects.StoredInfoTypes.Get- , Network.Google.Resource.DLP.Projects.StoredInfoTypes.List- , Network.Google.Resource.DLP.Projects.StoredInfoTypes.Patch+ exposed-modules:+ Gogol.DLP+ Gogol.DLP.InfoTypes.List+ Gogol.DLP.Locations.InfoTypes.List+ Gogol.DLP.Organizations.DeidentifyTemplates.Create+ Gogol.DLP.Organizations.DeidentifyTemplates.Delete+ Gogol.DLP.Organizations.DeidentifyTemplates.Get+ Gogol.DLP.Organizations.DeidentifyTemplates.List+ Gogol.DLP.Organizations.DeidentifyTemplates.Patch+ Gogol.DLP.Organizations.InspectTemplates.Create+ Gogol.DLP.Organizations.InspectTemplates.Delete+ Gogol.DLP.Organizations.InspectTemplates.Get+ Gogol.DLP.Organizations.InspectTemplates.List+ Gogol.DLP.Organizations.InspectTemplates.Patch+ Gogol.DLP.Organizations.Locations.ColumnDataProfiles.Get+ Gogol.DLP.Organizations.Locations.ColumnDataProfiles.List+ Gogol.DLP.Organizations.Locations.Connections.Create+ Gogol.DLP.Organizations.Locations.Connections.Delete+ Gogol.DLP.Organizations.Locations.Connections.Get+ Gogol.DLP.Organizations.Locations.Connections.List+ Gogol.DLP.Organizations.Locations.Connections.Patch+ Gogol.DLP.Organizations.Locations.Connections.Search+ Gogol.DLP.Organizations.Locations.DeidentifyTemplates.Create+ Gogol.DLP.Organizations.Locations.DeidentifyTemplates.Delete+ Gogol.DLP.Organizations.Locations.DeidentifyTemplates.Get+ Gogol.DLP.Organizations.Locations.DeidentifyTemplates.List+ Gogol.DLP.Organizations.Locations.DeidentifyTemplates.Patch+ Gogol.DLP.Organizations.Locations.DiscoveryConfigs.Create+ Gogol.DLP.Organizations.Locations.DiscoveryConfigs.Delete+ Gogol.DLP.Organizations.Locations.DiscoveryConfigs.Get+ Gogol.DLP.Organizations.Locations.DiscoveryConfigs.List+ Gogol.DLP.Organizations.Locations.DiscoveryConfigs.Patch+ Gogol.DLP.Organizations.Locations.DlpJobs.List+ Gogol.DLP.Organizations.Locations.FileStoreDataProfiles.Delete+ Gogol.DLP.Organizations.Locations.FileStoreDataProfiles.Get+ Gogol.DLP.Organizations.Locations.FileStoreDataProfiles.List+ Gogol.DLP.Organizations.Locations.InspectTemplates.Create+ Gogol.DLP.Organizations.Locations.InspectTemplates.Delete+ Gogol.DLP.Organizations.Locations.InspectTemplates.Get+ Gogol.DLP.Organizations.Locations.InspectTemplates.List+ Gogol.DLP.Organizations.Locations.InspectTemplates.Patch+ Gogol.DLP.Organizations.Locations.JobTriggers.Create+ Gogol.DLP.Organizations.Locations.JobTriggers.Delete+ Gogol.DLP.Organizations.Locations.JobTriggers.Get+ Gogol.DLP.Organizations.Locations.JobTriggers.List+ Gogol.DLP.Organizations.Locations.JobTriggers.Patch+ Gogol.DLP.Organizations.Locations.ProjectDataProfiles.Get+ Gogol.DLP.Organizations.Locations.ProjectDataProfiles.List+ Gogol.DLP.Organizations.Locations.StoredInfoTypes.Create+ Gogol.DLP.Organizations.Locations.StoredInfoTypes.Delete+ Gogol.DLP.Organizations.Locations.StoredInfoTypes.Get+ Gogol.DLP.Organizations.Locations.StoredInfoTypes.List+ Gogol.DLP.Organizations.Locations.StoredInfoTypes.Patch+ Gogol.DLP.Organizations.Locations.TableDataProfiles.Delete+ Gogol.DLP.Organizations.Locations.TableDataProfiles.Get+ Gogol.DLP.Organizations.Locations.TableDataProfiles.List+ Gogol.DLP.Organizations.StoredInfoTypes.Create+ Gogol.DLP.Organizations.StoredInfoTypes.Delete+ Gogol.DLP.Organizations.StoredInfoTypes.Get+ Gogol.DLP.Organizations.StoredInfoTypes.List+ Gogol.DLP.Organizations.StoredInfoTypes.Patch+ Gogol.DLP.Projects.Content.Deidentify+ Gogol.DLP.Projects.Content.Inspect+ Gogol.DLP.Projects.Content.Reidentify+ Gogol.DLP.Projects.DeidentifyTemplates.Create+ Gogol.DLP.Projects.DeidentifyTemplates.Delete+ Gogol.DLP.Projects.DeidentifyTemplates.Get+ Gogol.DLP.Projects.DeidentifyTemplates.List+ Gogol.DLP.Projects.DeidentifyTemplates.Patch+ Gogol.DLP.Projects.DlpJobs.Cancel+ Gogol.DLP.Projects.DlpJobs.Create+ Gogol.DLP.Projects.DlpJobs.Delete+ Gogol.DLP.Projects.DlpJobs.Get+ Gogol.DLP.Projects.DlpJobs.List+ Gogol.DLP.Projects.Image.Redact+ Gogol.DLP.Projects.InspectTemplates.Create+ Gogol.DLP.Projects.InspectTemplates.Delete+ Gogol.DLP.Projects.InspectTemplates.Get+ Gogol.DLP.Projects.InspectTemplates.List+ Gogol.DLP.Projects.InspectTemplates.Patch+ Gogol.DLP.Projects.JobTriggers.Activate+ Gogol.DLP.Projects.JobTriggers.Create+ Gogol.DLP.Projects.JobTriggers.Delete+ Gogol.DLP.Projects.JobTriggers.Get+ Gogol.DLP.Projects.JobTriggers.List+ Gogol.DLP.Projects.JobTriggers.Patch+ Gogol.DLP.Projects.Locations.ColumnDataProfiles.Get+ Gogol.DLP.Projects.Locations.ColumnDataProfiles.List+ Gogol.DLP.Projects.Locations.Connections.Create+ Gogol.DLP.Projects.Locations.Connections.Delete+ Gogol.DLP.Projects.Locations.Connections.Get+ Gogol.DLP.Projects.Locations.Connections.List+ Gogol.DLP.Projects.Locations.Connections.Patch+ Gogol.DLP.Projects.Locations.Connections.Search+ Gogol.DLP.Projects.Locations.Content.Deidentify+ Gogol.DLP.Projects.Locations.Content.Inspect+ Gogol.DLP.Projects.Locations.Content.Reidentify+ Gogol.DLP.Projects.Locations.DeidentifyTemplates.Create+ Gogol.DLP.Projects.Locations.DeidentifyTemplates.Delete+ Gogol.DLP.Projects.Locations.DeidentifyTemplates.Get+ Gogol.DLP.Projects.Locations.DeidentifyTemplates.List+ Gogol.DLP.Projects.Locations.DeidentifyTemplates.Patch+ Gogol.DLP.Projects.Locations.DiscoveryConfigs.Create+ Gogol.DLP.Projects.Locations.DiscoveryConfigs.Delete+ Gogol.DLP.Projects.Locations.DiscoveryConfigs.Get+ Gogol.DLP.Projects.Locations.DiscoveryConfigs.List+ Gogol.DLP.Projects.Locations.DiscoveryConfigs.Patch+ Gogol.DLP.Projects.Locations.DlpJobs.Cancel+ Gogol.DLP.Projects.Locations.DlpJobs.Create+ Gogol.DLP.Projects.Locations.DlpJobs.Delete+ Gogol.DLP.Projects.Locations.DlpJobs.Finish+ Gogol.DLP.Projects.Locations.DlpJobs.Get+ Gogol.DLP.Projects.Locations.DlpJobs.HybridInspect+ Gogol.DLP.Projects.Locations.DlpJobs.List+ Gogol.DLP.Projects.Locations.FileStoreDataProfiles.Delete+ Gogol.DLP.Projects.Locations.FileStoreDataProfiles.Get+ Gogol.DLP.Projects.Locations.FileStoreDataProfiles.List+ Gogol.DLP.Projects.Locations.Image.Redact+ Gogol.DLP.Projects.Locations.InspectTemplates.Create+ Gogol.DLP.Projects.Locations.InspectTemplates.Delete+ Gogol.DLP.Projects.Locations.InspectTemplates.Get+ Gogol.DLP.Projects.Locations.InspectTemplates.List+ Gogol.DLP.Projects.Locations.InspectTemplates.Patch+ Gogol.DLP.Projects.Locations.JobTriggers.Activate+ Gogol.DLP.Projects.Locations.JobTriggers.Create+ Gogol.DLP.Projects.Locations.JobTriggers.Delete+ Gogol.DLP.Projects.Locations.JobTriggers.Get+ Gogol.DLP.Projects.Locations.JobTriggers.HybridInspect+ Gogol.DLP.Projects.Locations.JobTriggers.List+ Gogol.DLP.Projects.Locations.JobTriggers.Patch+ Gogol.DLP.Projects.Locations.ProjectDataProfiles.Get+ Gogol.DLP.Projects.Locations.ProjectDataProfiles.List+ Gogol.DLP.Projects.Locations.StoredInfoTypes.Create+ Gogol.DLP.Projects.Locations.StoredInfoTypes.Delete+ Gogol.DLP.Projects.Locations.StoredInfoTypes.Get+ Gogol.DLP.Projects.Locations.StoredInfoTypes.List+ Gogol.DLP.Projects.Locations.StoredInfoTypes.Patch+ Gogol.DLP.Projects.Locations.TableDataProfiles.Delete+ Gogol.DLP.Projects.Locations.TableDataProfiles.Get+ Gogol.DLP.Projects.Locations.TableDataProfiles.List+ Gogol.DLP.Projects.StoredInfoTypes.Create+ Gogol.DLP.Projects.StoredInfoTypes.Delete+ Gogol.DLP.Projects.StoredInfoTypes.Get+ Gogol.DLP.Projects.StoredInfoTypes.List+ Gogol.DLP.Projects.StoredInfoTypes.Patch+ Gogol.DLP.Types - other-modules:- Network.Google.DLP.Types.Product- , Network.Google.DLP.Types.Sum+ other-modules:+ Gogol.DLP.Internal.Product+ Gogol.DLP.Internal.Sum - build-depends:- gogol-core == 0.5.0.*- , base >= 4.7 && < 5+ build-depends: gogol-core ^>=1.0.0