ProjectsContent
class ProjectsContent extends Resource (View source)
The "content" collection of methods.
Typical usage is:
$dlpService = new Google\Service\DLP(...);
$content = $dlpService->projects_content;
Methods
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. (content.deidentify)
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, (content.inspect)
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. (content.reidentify)
Details
GooglePrivacyDlpV2DeidentifyContentResponse
deidentify(string $parent, GooglePrivacyDlpV2DeidentifyContentRequest $postBody, array $optParams = [])
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. (content.deidentify)
GooglePrivacyDlpV2InspectContentResponse
inspect(string $parent, GooglePrivacyDlpV2InspectContentRequest $postBody, array $optParams = [])
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, (content.inspect)
GooglePrivacyDlpV2ReidentifyContentResponse
reidentify(string $parent, GooglePrivacyDlpV2ReidentifyContentRequest $postBody, array $optParams = [])
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. (content.reidentify)