Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class UpdateIntentRequest.
The request message for Intents.UpdateIntent .
Generated from protobuf message google.cloud.dialogflow.v2.UpdateIntentRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ intent
↳ language_code
string
Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data .
↳ update_mask
↳ intent_view
int
Optional. The resource view to apply to the returned intent.
getIntent
Required. The intent to update.
hasIntent
clearIntent
setIntent
Required. The intent to update.
$this
getLanguageCode
Optional. The language used to access language-specific data.
If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data .
string
setLanguageCode
Optional. The language used to access language-specific data.
If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data .
var
string
$this
getUpdateMask
Optional. The mask to control which fields get updated.
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. The mask to control which fields get updated.
$this
getIntentView
Optional. The resource view to apply to the returned intent.
int
setIntentView
Optional. The resource view to apply to the returned intent.
var
int
$this