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_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_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. | |
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_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_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. |
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_content_inspect
- projects_content_deidentify
- projects_content_reidentify
- projects_locations_content_inspect
- projects_locations_content_deidentify
- projects_locations_content_reidentify
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 }}",
"item": "{{ item }}",
"inspectTemplateName": "{{ inspectTemplateName }}",
"locationId": "{{ locationId }}"
}';
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=
'{
"deidentifyConfig": "{{ deidentifyConfig }}",
"inspectConfig": "{{ inspectConfig }}",
"item": "{{ item }}",
"inspectTemplateName": "{{ inspectTemplateName }}",
"deidentifyTemplateName": "{{ deidentifyTemplateName }}",
"locationId": "{{ locationId }}"
}';
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=
'{
"reidentifyConfig": "{{ reidentifyConfig }}",
"inspectConfig": "{{ inspectConfig }}",
"item": "{{ item }}",
"inspectTemplateName": "{{ inspectTemplateName }}",
"reidentifyTemplateName": "{{ reidentifyTemplateName }}",
"locationId": "{{ locationId }}"
}';
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 }}",
"item": "{{ item }}",
"inspectTemplateName": "{{ inspectTemplateName }}",
"locationId": "{{ locationId }}"
}';
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=
'{
"deidentifyConfig": "{{ deidentifyConfig }}",
"inspectConfig": "{{ inspectConfig }}",
"item": "{{ item }}",
"inspectTemplateName": "{{ inspectTemplateName }}",
"deidentifyTemplateName": "{{ deidentifyTemplateName }}",
"locationId": "{{ locationId }}"
}';
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=
'{
"reidentifyConfig": "{{ reidentifyConfig }}",
"inspectConfig": "{{ inspectConfig }}",
"item": "{{ item }}",
"inspectTemplateName": "{{ inspectTemplateName }}",
"reidentifyTemplateName": "{{ reidentifyTemplateName }}",
"locationId": "{{ locationId }}"
}';