HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/lib/surface/dialogflow/intents/create.yaml
release_tracks: [ALPHA]
help_text:
  brief: Create a Dialogflow entity type for the agent of the current project.
  description: |
    Create a Dialogflow intent for the agent of the current project.
  examples: |
    To create an intent with a training phrase and a response:

      $ {command} --display-name="test-intent" --priority=1 --training-phrases="example query"
        --responses="example response"

arguments:
  resource:
    help_text: The agent to create the entity type under.
    spec: !REF googlecloudsdk.command_lib.dialogflow.resources:agent
    is_parent_resource: true
  params:
  - arg_name: display-name
    api_field: googleCloudDialogflowV2Intent.displayName
    required: true
    help_text: Human-readable name for the intent.
  - _COMMON_: flags.priority
  - _COMMON_: flags.is_fallback
  - _COMMON_: flags.training_phrases
  - _COMMON_: flags.responses
  - _COMMON_: flags.ml_enabled
  - arg_name: other-properties
    type: "googlecloudsdk.calliope.arg_parsers:ArgDict:"
    metavar: KEY=VALUE
    help_text: |
      Map containing other properties to set on the intent.

      For more information on available properties, see:
      https://cloud.google.com/dialogflow-enterprise/docs/reference/rest/v2/projects.agent.intents

      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
  display_resource_type: intent
  modify_request_hooks:
  - googlecloudsdk.command_lib.dialogflow.intents.hooks:AddOtherPropertiesToRequest