Gcp/dlp
@swamp/gcp/dlpv2026.05.20.1
01README
Google Cloud dlp infrastructure models
02Release Notes
- Updated: inspecttemplates, dlpjobs
03Models
@swamp/gcp/dlp/columndataprofilesv2026.05.19.2columndataprofiles.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a columnDataProfiles
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the columnDataProfiles |
fn sync()
Sync columnDataProfiles state from GCP
Resources
state(infinite)— The profile for a scanned column within a table.
@swamp/gcp/dlp/connectionsv2026.05.19.2connections.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| connection? | object | A data connection to allow the DLP API to profile data in locations that require additional configuration. |
| updateMask? | string | Optional. Mask to control which fields get updated. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create(waitForReady?: boolean)
Create a connections
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
fn get(identifier: string)
Get a connections
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the connections |
fn update(waitForReady?: boolean)
Update connections attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
fn delete(identifier: string)
Delete the connections
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the connections |
fn sync()
Sync connections state from GCP
fn search()
search
Resources
state(infinite)— A data connection to allow the DLP API to profile data in locations that requ...
@swamp/gcp/dlp/deidentifytemplatesv2026.05.19.2deidentifytemplates.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| deidentifyTemplate? | object | DeidentifyTemplates contains instructions on how to de-identify content. See https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to learn more. |
| locationId? | string | Deprecated. This field has no effect. |
| templateId? | string | 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. |
| updateMask? | string | Mask to control which fields get updated. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a deidentifyTemplates
fn get(identifier: string)
Get a deidentifyTemplates
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the deidentifyTemplates |
fn update()
Update deidentifyTemplates attributes
fn delete(identifier: string)
Delete the deidentifyTemplates
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the deidentifyTemplates |
fn sync()
Sync deidentifyTemplates state from GCP
Resources
state(infinite)— DeidentifyTemplates contains instructions on how to de-identify content. See ...
@swamp/gcp/dlp/discoveryconfigsv2026.05.19.2discoveryconfigs.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| configId? | string | 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. |
| actions? | array | Actions to execute at the completion of scanning. |
| createTime? | string | Output only. The creation timestamp of a DiscoveryConfig. |
| displayName? | string | Display name (max 100 chars) |
| errors? | array | 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. |
| inspectTemplates? | array | 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 instea |
| lastRunTime? | string | Output only. The timestamp of the last time this config was executed. |
| name? | string | 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`. |
| orgConfig? | object | Project and scan location information. Only set when the parent is an org. |
| otherCloudStartingLocation? | object | The other cloud starting location for discovery. |
| processingLocation? | object | 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. |
| status? | enum | Required. A status for this configuration. |
| targets? | array | 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). |
| updateMask? | string | Mask to control which fields get updated. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create(waitForReady?: boolean)
Create a discoveryConfigs
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
fn get(identifier: string)
Get a discoveryConfigs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the discoveryConfigs |
fn update(waitForReady?: boolean)
Update discoveryConfigs attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
fn delete(identifier: string)
Delete the discoveryConfigs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the discoveryConfigs |
fn sync()
Sync discoveryConfigs state from GCP
Resources
state(infinite)— Configuration for discovery to scan resources for profile generation. Only on...
@swamp/gcp/dlp/dlpjobsv2026.05.20.1dlpjobs.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a dlpJobs
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the dlpJobs |
fn sync()
Sync dlpJobs state from GCP
Resources
state(infinite)— Combines all of the information about a DLP job.
@swamp/gcp/dlp/filestoredataprofilesv2026.05.19.2filestoredataprofiles.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a fileStoreDataProfiles
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the fileStoreDataProfiles |
fn delete(identifier: string)
Delete the fileStoreDataProfiles
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the fileStoreDataProfiles |
fn sync()
Sync 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.05.19.2infotypes.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a infoTypes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the infoTypes |
fn sync()
Sync infoTypes state from GCP
Resources
state(infinite)— InfoType description.
@swamp/gcp/dlp/inspecttemplatesv2026.05.20.1inspecttemplates.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| inspectTemplate? | object | 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. |
| locationId? | string | Deprecated. This field has no effect. |
| templateId? | string | 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. |
| updateMask? | string | Mask to control which fields get updated. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a inspectTemplates
fn get(identifier: string)
Get a inspectTemplates
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the inspectTemplates |
fn update()
Update inspectTemplates attributes
fn delete(identifier: string)
Delete the inspectTemplates
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the inspectTemplates |
fn sync()
Sync inspectTemplates state from GCP
Resources
state(infinite)— The inspectTemplate contains a configuration (set of types of sensitive data ...
@swamp/gcp/dlp/jobtriggersv2026.05.19.2jobtriggers.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| jobTrigger? | object | 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. |
| locationId? | string | Deprecated. This field has no effect. |
| triggerId? | string | 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. |
| updateMask? | string | Mask to control which fields get updated. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a jobTriggers
fn get(identifier: string)
Get a jobTriggers
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the jobTriggers |
fn update()
Update jobTriggers attributes
fn delete(identifier: string)
Delete the jobTriggers
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the jobTriggers |
fn sync()
Sync jobTriggers state from GCP
Resources
state(infinite)— Contains a configuration to make API calls on a repeating basis. See https://...
@swamp/gcp/dlp/projectdataprofilesv2026.05.19.2projectdataprofiles.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a projectDataProfiles
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the projectDataProfiles |
fn sync()
Sync projectDataProfiles state from GCP
Resources
state(infinite)— An aggregated profile for this project, based on the resources profiled withi...
@swamp/gcp/dlp/storedinfotypesv2026.05.19.2storedinfotypes.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| config? | object | 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. |
| locationId? | string | Deprecated. This field has no effect. |
| storedInfoTypeId? | string | 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. |
| updateMask? | string | Mask to control which fields get updated. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn create()
Create a storedInfoTypes
fn get(identifier: string)
Get a storedInfoTypes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the storedInfoTypes |
fn update()
Update storedInfoTypes attributes
fn delete(identifier: string)
Delete the storedInfoTypes
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the storedInfoTypes |
fn sync()
Sync storedInfoTypes state from GCP
Resources
state(infinite)— StoredInfoType resource message that contains information about the current v...
@swamp/gcp/dlp/tabledataprofilesv2026.05.19.2tabledataprofiles.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a tableDataProfiles
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tableDataProfiles |
fn delete(identifier: string)
Delete the tableDataProfiles
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the tableDataProfiles |
fn sync()
Sync tableDataProfiles state from GCP
Resources
state(infinite)— The profile for a scanned table.
04Previous Versions
2026.05.19.2May 19, 2026
2026.05.19.1May 19, 2026
2026.05.18.2May 18, 2026
2026.05.15.1May 15, 2026
- Updated: inspecttemplates, dlpjobs
2026.04.23.1Apr 23, 2026
2026.04.04.1Apr 4, 2026
- Updated: deidentifytemplates, inspecttemplates, connections, discoveryconfigs, dlpjobs, filestoredataprofiles, jobtriggers, storedinfotypes, tabledataprofiles
2026.04.03.3Apr 3, 2026
- Updated: infotypes, deidentifytemplates, inspecttemplates, columndataprofiles, connections, discoveryconfigs, dlpjobs, filestoredataprofiles, jobtriggers, projectdataprofiles, storedinfotypes, tabledataprofiles
2026.04.03.1Apr 3, 2026
- Updated: infotypes, deidentifytemplates, inspecttemplates, columndataprofiles, connections, discoveryconfigs, dlpjobs, filestoredataprofiles, jobtriggers, projectdataprofiles, storedinfotypes, tabledataprofiles
2026.04.02.2Apr 2, 2026
2026.03.27.1Mar 27, 2026
- Added: infotypes, deidentifytemplates, inspecttemplates, columndataprofiles, connections, discoveryconfigs, dlpjobs, filestoredataprofiles, jobtriggers, projectdataprofiles, storedinfotypes, tabledataprofiles
05Stats
A
100 / 100
Downloads
0
Archive size
167.7 KB
Verified by Swamp
- 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
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
06Platforms
07Labels