Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class HtmlSanitization.
Option for HTML content sanitization on user input fields, for example, job
description. By setting this option, user can determine whether and how
sanitization is performed on these fields.
Protobuf type google.cloud.talent.v4.HtmlSanitization
Namespace
Google \ Cloud \ Talent \ V4
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
HTML_SANITIZATION_UNSPECIFIED
Value: 0
Default value.
Generated from protobuf enum HTML_SANITIZATION_UNSPECIFIED = 0;
HTML_SANITIZATION_DISABLED
Value: 1
Disables sanitization on HTML input.
Generated from protobuf enum HTML_SANITIZATION_DISABLED = 1;
SIMPLE_FORMATTING_ONLY
Value: 2
Sanitizes HTML input, only accepts bold, italic, ordered list, and
unordered list markup tags.
Generated from protobuf enum SIMPLE_FORMATTING_ONLY = 2;
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Talent Solution V4 Client - Class HtmlSanitization (2.1.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.3 (latest)](/php/docs/reference/cloud-talent/latest/V4.HtmlSanitization)\n- [2.1.2](/php/docs/reference/cloud-talent/2.1.2/V4.HtmlSanitization)\n- [2.0.2](/php/docs/reference/cloud-talent/2.0.2/V4.HtmlSanitization)\n- [1.3.5](/php/docs/reference/cloud-talent/1.3.5/V4.HtmlSanitization)\n- [1.2.2](/php/docs/reference/cloud-talent/1.2.2/V4.HtmlSanitization)\n- [1.1.1](/php/docs/reference/cloud-talent/1.1.1/V4.HtmlSanitization)\n- [1.0.5](/php/docs/reference/cloud-talent/1.0.5/V4.HtmlSanitization) \nReference documentation and code samples for the Google Cloud Talent Solution V4 Client class HtmlSanitization.\n\nOption for HTML content sanitization on user input fields, for example, job\ndescription. By setting this option, user can determine whether and how\nsanitization is performed on these fields.\n\nProtobuf type `google.cloud.talent.v4.HtmlSanitization`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Talent \\\\ V4\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### HTML_SANITIZATION_UNSPECIFIED\n\n Value: 0\n\nDefault value.\n\nGenerated from protobuf enum `HTML_SANITIZATION_UNSPECIFIED = 0;`\n\n### HTML_SANITIZATION_DISABLED\n\n Value: 1\n\nDisables sanitization on HTML input.\n\nGenerated from protobuf enum `HTML_SANITIZATION_DISABLED = 1;`\n\n### SIMPLE_FORMATTING_ONLY\n\n Value: 2\n\nSanitizes HTML input, only accepts bold, italic, ordered list, and\nunordered list markup tags.\n\nGenerated from protobuf enum `SIMPLE_FORMATTING_ONLY = 2;`"]]