Skip to main content

@swamp/gcp/dlp

v2026.04.23.1

Google Cloud dlp infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-clouddlpcloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/gcp/dlp

@swamp/gcp/dlp/columndataprofilesv2026.04.23.1columndataprofiles.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a columnDataProfiles
ArgumentTypeDescription
identifierstringThe name of the columnDataProfiles
syncSync columnDataProfiles state from GCP

Resources

state(infinite)— The profile for a scanned column within a table.
@swamp/gcp/dlp/connectionsv2026.04.23.1connections.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
connection?objectA data connection to allow the DLP API to profile data in locations that require additional configuration.
updateMask?stringOptional. Mask to control which fields get updated.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a connections
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a connections
ArgumentTypeDescription
identifierstringThe name of the connections
updateUpdate connections attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the connections
ArgumentTypeDescription
identifierstringThe name of the connections
syncSync connections state from GCP
searchsearch

Resources

state(infinite)— A data connection to allow the DLP API to profile data in locations that requ...
@swamp/gcp/dlp/deidentifytemplatesv2026.04.23.1deidentifytemplates.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
deidentifyTemplate?objectDeidentifyTemplates contains instructions on how to de-identify content. See https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to learn more.
locationId?stringDeprecated. This field has no effect.
templateId?stringThe 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.
updateMask?stringMask to control which fields get updated.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a deidentifyTemplates
getGet a deidentifyTemplates
ArgumentTypeDescription
identifierstringThe name of the deidentifyTemplates
updateUpdate deidentifyTemplates attributes
deleteDelete the deidentifyTemplates
ArgumentTypeDescription
identifierstringThe name of the deidentifyTemplates
syncSync deidentifyTemplates state from GCP

Resources

state(infinite)— DeidentifyTemplates contains instructions on how to de-identify content. See ...
@swamp/gcp/dlp/discoveryconfigsv2026.04.23.1discoveryconfigs.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
configId?stringThe 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.
actions?arrayActions to execute at the completion of scanning.
createTime?stringOutput only. The creation timestamp of a DiscoveryConfig.
displayName?stringDisplay name (max 100 chars)
errors?arrayOutput 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.
inspectTemplates?arrayDetection 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 instea
lastRunTime?stringOutput only. The timestamp of the last time this config was executed.
name?stringUnique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created, for example `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`.
orgConfig?objectProject and scan location information. Only set when the parent is an org.
otherCloudStartingLocation?objectThe other cloud starting location for discovery.
processingLocation?objectConfigure 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.
status?enumRequired. A status for this configuration.
targets?arrayConfiguration 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).
updateMask?stringMask to control which fields get updated.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a discoveryConfigs
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a discoveryConfigs
ArgumentTypeDescription
identifierstringThe name of the discoveryConfigs
updateUpdate discoveryConfigs attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the discoveryConfigs
ArgumentTypeDescription
identifierstringThe name of the discoveryConfigs
syncSync discoveryConfigs state from GCP

Resources

state(infinite)— Configuration for discovery to scan resources for profile generation. Only on...
@swamp/gcp/dlp/dlpjobsv2026.04.23.1dlpjobs.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a dlpJobs
ArgumentTypeDescription
identifierstringThe name of the dlpJobs
syncSync dlpJobs state from GCP

Resources

state(infinite)— Combines all of the information about a DLP job.
@swamp/gcp/dlp/filestoredataprofilesv2026.04.23.1filestoredataprofiles.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a fileStoreDataProfiles
ArgumentTypeDescription
identifierstringThe name of the fileStoreDataProfiles
deleteDelete the fileStoreDataProfiles
ArgumentTypeDescription
identifierstringThe name of the fileStoreDataProfiles
syncSync fileStoreDataProfiles state from GCP

Resources

state(infinite)— The profile for a file store. * Cloud Storage: maps 1:1 with a bucket. * Amaz...
@swamp/gcp/dlp/infotypesv2026.04.23.1infotypes.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a infoTypes
ArgumentTypeDescription
identifierstringThe name of the infoTypes
syncSync infoTypes state from GCP

Resources

state(infinite)— InfoType description.
@swamp/gcp/dlp/inspecttemplatesv2026.04.23.1inspecttemplates.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
inspectTemplate?objectThe 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.
locationId?stringDeprecated. This field has no effect.
templateId?stringThe 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.
updateMask?stringMask to control which fields get updated.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a inspectTemplates
getGet a inspectTemplates
ArgumentTypeDescription
identifierstringThe name of the inspectTemplates
updateUpdate inspectTemplates attributes
deleteDelete the inspectTemplates
ArgumentTypeDescription
identifierstringThe name of the inspectTemplates
syncSync inspectTemplates state from GCP

Resources

state(infinite)— The inspectTemplate contains a configuration (set of types of sensitive data ...
@swamp/gcp/dlp/jobtriggersv2026.04.23.1jobtriggers.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
jobTrigger?objectContains 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.
locationId?stringDeprecated. This field has no effect.
triggerId?stringThe 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.
updateMask?stringMask to control which fields get updated.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a jobTriggers
getGet a jobTriggers
ArgumentTypeDescription
identifierstringThe name of the jobTriggers
updateUpdate jobTriggers attributes
deleteDelete the jobTriggers
ArgumentTypeDescription
identifierstringThe name of the jobTriggers
syncSync jobTriggers state from GCP

Resources

state(infinite)— Contains a configuration to make API calls on a repeating basis. See https://...
@swamp/gcp/dlp/projectdataprofilesv2026.04.23.1projectdataprofiles.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a projectDataProfiles
ArgumentTypeDescription
identifierstringThe name of the projectDataProfiles
syncSync projectDataProfiles state from GCP

Resources

state(infinite)— An aggregated profile for this project, based on the resources profiled withi...
@swamp/gcp/dlp/storedinfotypesv2026.04.23.1storedinfotypes.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
config?objectConfiguration 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.
locationId?stringDeprecated. This field has no effect.
storedInfoTypeId?stringThe 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.
updateMask?stringMask to control which fields get updated.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a storedInfoTypes
getGet a storedInfoTypes
ArgumentTypeDescription
identifierstringThe name of the storedInfoTypes
updateUpdate storedInfoTypes attributes
deleteDelete the storedInfoTypes
ArgumentTypeDescription
identifierstringThe name of the storedInfoTypes
syncSync storedInfoTypes state from GCP

Resources

state(infinite)— StoredInfoType resource message that contains information about the current v...
@swamp/gcp/dlp/tabledataprofilesv2026.04.23.1tabledataprofiles.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a tableDataProfiles
ArgumentTypeDescription
identifierstringThe name of the tableDataProfiles
deleteDelete the tableDataProfiles
ArgumentTypeDescription
identifierstringThe name of the tableDataProfiles
syncSync tableDataProfiles state from GCP

Resources

state(infinite)— The profile for a scanned table.