41 lines
1.4 KiB
YAML
41 lines
1.4 KiB
YAML
release_tracks: [ALPHA]
|
|
help_text:
|
|
brief: Update a Dialogflow entity type for the agent of the current project.
|
|
description: |
|
|
Update a Dialogflow intent for the agent of the current project.
|
|
examples: |
|
|
To update the training phrases of an intent:
|
|
|
|
$ {command} 12345678-1234-1234-1234-1234567890ab --training-phrases="example query"
|
|
|
|
arguments:
|
|
resource:
|
|
help_text: Intent to update.
|
|
spec: !REF googlecloudsdk.command_lib.dialogflow.resources:intent
|
|
params:
|
|
- _COMMON_: flags.priority
|
|
- _COMMON_: flags.is_fallback
|
|
- _COMMON_: flags.training_phrases
|
|
- _COMMON_: flags.responses
|
|
- _COMMON_: flags.ml_enabled
|
|
- arg_name: other-properties
|
|
metavar: KEY=VALUE
|
|
type: "googlecloudsdk.calliope.arg_parsers:ArgDict:"
|
|
help_text: |
|
|
Map containing other properties to set on the intent.
|
|
|
|
Only the properties specified will be updated.
|
|
|
|
For more information on available properties, see:
|
|
https://cloud.google.com/dialogflow-enterprise/docs/reference/rest/Shared.Types/Intent
|
|
|
|
To set complex types, specify this flag with `--flags-file`. For more information, see
|
|
`gcloud topics flags-file`.
|
|
|
|
Other flags take precedence over properties specified here.
|
|
|
|
request:
|
|
collection: dialogflow.projects.agent.intents
|
|
modify_request_hooks:
|
|
- googlecloudsdk.command_lib.dialogflow.intents.hooks:AddOtherPropertiesToRequest
|