content
Creates, updates, deletes, gets or lists a content resource.
Overview
| Name | content |
| Type | Resource |
| Id | google.dlp.content |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
projects_locations_content_deidentify | exec | projectsId, locationsId | 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. | |
projects_locations_content_reidentify | exec | projectsId, locationsId | 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. | |
projects_locations_content_inspect | exec | projectsId, locationsId | 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, | |
projects_content_inspect | exec | projectsId | 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, | |
projects_content_reidentify | exec | projectsId | 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. | |
projects_content_deidentify | exec | projectsId | 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. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
locationsId | string | |
projectsId | string |
Lifecycle Methods
- projects_locations_content_deidentify
- projects_locations_content_reidentify
- projects_locations_content_inspect
- projects_content_inspect
- projects_content_reidentify
- projects_content_deidentify
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.
EXEC google.dlp.content.projects_locations_content_deidentify
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"locationId": "{{ locationId }}",
"inspectTemplateName": "{{ inspectTemplateName }}",
"inspectConfig": "{{ inspectConfig }}",
"deidentifyTemplateName": "{{ deidentifyTemplateName }}",
"item": "{{ item }}",
"deidentifyConfig": "{{ deidentifyConfig }}"
}'
;
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.
EXEC google.dlp.content.projects_locations_content_reidentify
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"reidentifyTemplateName": "{{ reidentifyTemplateName }}",
"inspectConfig": "{{ inspectConfig }}",
"locationId": "{{ locationId }}",
"item": "{{ item }}",
"reidentifyConfig": "{{ reidentifyConfig }}",
"inspectTemplateName": "{{ inspectTemplateName }}"
}'
;
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,
EXEC google.dlp.content.projects_locations_content_inspect
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"inspectConfig": "{{ inspectConfig }}",
"locationId": "{{ locationId }}",
"inspectTemplateName": "{{ inspectTemplateName }}",
"item": "{{ item }}"
}'
;
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,
EXEC google.dlp.content.projects_content_inspect
@projectsId='{{ projectsId }}' --required
@@json=
'{
"inspectConfig": "{{ inspectConfig }}",
"locationId": "{{ locationId }}",
"inspectTemplateName": "{{ inspectTemplateName }}",
"item": "{{ item }}"
}'
;
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.
EXEC google.dlp.content.projects_content_reidentify
@projectsId='{{ projectsId }}' --required
@@json=
'{
"reidentifyTemplateName": "{{ reidentifyTemplateName }}",
"inspectConfig": "{{ inspectConfig }}",
"locationId": "{{ locationId }}",
"item": "{{ item }}",
"reidentifyConfig": "{{ reidentifyConfig }}",
"inspectTemplateName": "{{ inspectTemplateName }}"
}'
;
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.
EXEC google.dlp.content.projects_content_deidentify
@projectsId='{{ projectsId }}' --required
@@json=
'{
"locationId": "{{ locationId }}",
"inspectTemplateName": "{{ inspectTemplateName }}",
"inspectConfig": "{{ inspectConfig }}",
"deidentifyTemplateName": "{{ deidentifyTemplateName }}",
"item": "{{ item }}",
"deidentifyConfig": "{{ deidentifyConfig }}"
}'
;