Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class Parameter.
Represents an intent parameter.
Generated from protobuf messagegoogle.cloud.dialogflow.cx.v3.Intent.Parameter
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ Intent
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ id
string
Required. The unique identifier of the parameter. This field is used bytraining phrasesto annotate theirparts.
↳ entity_type
string
Required. The entity type of the parameter. Format:projects/-/locations/-/agents/-/entityTypes/<SystemEntityTypeID>for system entity types (for example,projects/-/locations/-/agents/-/entityTypes/sys.date), orprojects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>for developer entity types.
↳ is_list
bool
Indicates whether the parameter represents a list of values.
↳ redact
bool
Indicates whether the parameter content should be redacted in log. If redaction is enabled, the parameter content will be replaced by parameter name during logging. Note: the parameter content is subject to redaction if either parameter level redaction orentity type level redactionis enabled.
getId
Required. The unique identifier of the parameter. This field
is used bytraining
phrasesto annotate
theirparts.
Returns
Type
Description
string
setId
Required. The unique identifier of the parameter. This field
is used bytraining
phrasesto annotate
theirparts.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getEntityType
Required. The entity type of the parameter.
Format:projects/-/locations/-/agents/-/entityTypes/<SystemEntityTypeID>for
system entity types (for example,projects/-/locations/-/agents/-/entityTypes/sys.date), orprojects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>for developer entity types.
Returns
Type
Description
string
setEntityType
Required. The entity type of the parameter.
Format:projects/-/locations/-/agents/-/entityTypes/<SystemEntityTypeID>for
system entity types (for example,projects/-/locations/-/agents/-/entityTypes/sys.date), orprojects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>for developer entity types.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getIsList
Indicates whether the parameter represents a list of values.
Returns
Type
Description
bool
setIsList
Indicates whether the parameter represents a list of values.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getRedact
Indicates whether the parameter content should be redacted in log. If
redaction is enabled, the parameter content will be replaced by parameter
name during logging.
Note: the parameter content is subject to redaction if either parameter
level redaction orentity type level
redactionis enabled.
Returns
Type
Description
bool
setRedact
Indicates whether the parameter content should be redacted in log. If
redaction is enabled, the parameter content will be replaced by parameter
name during logging.
Note: the parameter content is subject to redaction if either parameter
level redaction orentity type level
redactionis enabled.
[[["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-04 UTC."],[],[],null,["# Google Cloud Dialogflow Cx V3 Client - Class Parameter (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Intent.Parameter)\n- [0.8.0](/php/docs/reference/cloud-dialogflow-cx/0.8.0/V3.Intent.Parameter)\n- [0.7.2](/php/docs/reference/cloud-dialogflow-cx/0.7.2/V3.Intent.Parameter)\n- [0.6.0](/php/docs/reference/cloud-dialogflow-cx/0.6.0/V3.Intent.Parameter)\n- [0.5.2](/php/docs/reference/cloud-dialogflow-cx/0.5.2/V3.Intent.Parameter)\n- [0.4.1](/php/docs/reference/cloud-dialogflow-cx/0.4.1/V3.Intent.Parameter)\n- [0.3.4](/php/docs/reference/cloud-dialogflow-cx/0.3.4/V3.Intent.Parameter)\n- [0.2.1](/php/docs/reference/cloud-dialogflow-cx/0.2.1/V3.Intent.Parameter)\n- [0.1.1](/php/docs/reference/cloud-dialogflow-cx/0.1.1/V3.Intent.Parameter) \nReference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class Parameter.\n\nRepresents an intent parameter.\n\nGenerated from protobuf message `google.cloud.dialogflow.cx.v3.Intent.Parameter`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ Cx \\\\ V3 \\\\ Intent\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getId\n\nRequired. The unique identifier of the parameter. This field\nis used by [training\nphrases](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Intent.TrainingPhrase) to annotate\ntheir [parts](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Intent.TrainingPhrase.Part).\n\n### setId\n\nRequired. The unique identifier of the parameter. This field\nis used by [training\nphrases](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Intent.TrainingPhrase) to annotate\ntheir [parts](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Intent.TrainingPhrase.Part).\n\n### getEntityType\n\nRequired. The entity type of the parameter.\n\nFormat:\n`projects/-/locations/-/agents/-/entityTypes/\u003cSystemEntityTypeID\u003e` for\nsystem entity types (for example,\n`projects/-/locations/-/agents/-/entityTypes/sys.date`), or\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/entityTypes/\u003cEntityTypeID\u003e`\nfor developer entity types.\n\n### setEntityType\n\nRequired. The entity type of the parameter.\n\nFormat:\n`projects/-/locations/-/agents/-/entityTypes/\u003cSystemEntityTypeID\u003e` for\nsystem entity types (for example,\n`projects/-/locations/-/agents/-/entityTypes/sys.date`), or\n`projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e/entityTypes/\u003cEntityTypeID\u003e`\nfor developer entity types.\n\n### getIsList\n\nIndicates whether the parameter represents a list of values.\n\n### setIsList\n\nIndicates whether the parameter represents a list of values.\n\n### getRedact\n\nIndicates whether the parameter content should be redacted in log. If\nredaction is enabled, the parameter content will be replaced by parameter\nname during logging.\n\nNote: the parameter content is subject to redaction if either parameter\nlevel redaction or [entity type level\nredaction](/php/docs/reference/cloud-dialogflow-cx/latest/V3.EntityType#_Google_Cloud_Dialogflow_Cx_V3_EntityType__getRedact__) is enabled.\n\n### setRedact\n\nIndicates whether the parameter content should be redacted in log. If\nredaction is enabled, the parameter content will be replaced by parameter\nname during logging.\n\nNote: the parameter content is subject to redaction if either parameter\nlevel redaction or [entity type level\nredaction](/php/docs/reference/cloud-dialogflow-cx/latest/V3.EntityType#_Google_Cloud_Dialogflow_Cx_V3_EntityType__getRedact__) is enabled."]]