Dialogflow API . projects . agent . environments . intents

Instance Methods

close()

Close httplib2 connections.

list(parent, intentView=None, languageCode=None, pageSize=None, pageToken=None, x__xgafv=None)

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, intentView=None, languageCode=None, pageSize=None, pageToken=None, x__xgafv=None)

Args:
  parent: string, A parameter (required)
  intentView: string, A parameter
    Allowed values
      INTENT_VIEW_UNSPECIFIED - 
      INTENT_VIEW_FULL - 
  languageCode: string, A parameter
  pageSize: integer, A parameter
  pageToken: string, A parameter
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "intents": [
    {
      "action": "A String",
      "defaultResponsePlatforms": [
        "A String",
      ],
      "displayName": "A String",
      "endInteraction": True or False,
      "events": [
        "A String",
      ],
      "followupIntentInfo": [
        {
          "followupIntentName": "A String",
          "parentFollowupIntentName": "A String",
        },
      ],
      "inputContextNames": [
        "A String",
      ],
      "isFallback": True or False,
      "liveAgentHandoff": True or False,
      "messages": [
        {
          "basicCard": {
            "buttons": [
              {
                "openUriAction": {
                  "uri": "A String",
                },
                "title": "A String",
              },
            ],
            "formattedText": "A String",
            "image": {
              "accessibilityText": "A String",
              "imageUri": "A String",
            },
            "subtitle": "A String",
            "title": "A String",
          },
          "browseCarouselCard": {
            "imageDisplayOptions": "A String",
            "items": [
              {
                "description": "A String",
                "footer": "A String",
                "image": {
                  "accessibilityText": "A String",
                  "imageUri": "A String",
                },
                "openUriAction": {
                  "url": "A String",
                  "urlTypeHint": "A String",
                },
                "title": "A String",
              },
            ],
          },
          "card": {
            "buttons": [
              {
                "postback": "A String",
                "text": "A String",
              },
            ],
            "imageUri": "A String",
            "subtitle": "A String",
            "title": "A String",
          },
          "carouselSelect": {
            "items": [
              {
                "description": "A String",
                "image": {
                  "accessibilityText": "A String",
                  "imageUri": "A String",
                },
                "info": {
                  "key": "A String",
                  "synonyms": [
                    "A String",
                  ],
                },
                "title": "A String",
              },
            ],
          },
          "image": {
            "accessibilityText": "A String",
            "imageUri": "A String",
          },
          "linkOutSuggestion": {
            "destinationName": "A String",
            "uri": "A String",
          },
          "listSelect": {
            "items": [
              {
                "description": "A String",
                "image": {
                  "accessibilityText": "A String",
                  "imageUri": "A String",
                },
                "info": {
                  "key": "A String",
                  "synonyms": [
                    "A String",
                  ],
                },
                "title": "A String",
              },
            ],
            "subtitle": "A String",
            "title": "A String",
          },
          "mediaContent": {
            "mediaObjects": [
              {
                "contentUrl": "A String",
                "description": "A String",
                "icon": {
                  "accessibilityText": "A String",
                  "imageUri": "A String",
                },
                "largeImage": {
                  "accessibilityText": "A String",
                  "imageUri": "A String",
                },
                "name": "A String",
              },
            ],
            "mediaType": "A String",
          },
          "payload": {
            "a_key": "", # Properties of the object.
          },
          "platform": "A String",
          "quickReplies": {
            "quickReplies": [
              "A String",
            ],
            "title": "A String",
          },
          "simpleResponses": {
            "simpleResponses": [
              {
                "displayText": "A String",
                "ssml": "A String",
                "textToSpeech": "A String",
              },
            ],
          },
          "suggestions": {
            "suggestions": [
              {
                "title": "A String",
              },
            ],
          },
          "tableCard": {
            "buttons": [
              {
                "openUriAction": {
                  "uri": "A String",
                },
                "title": "A String",
              },
            ],
            "columnProperties": [
              {
                "header": "A String",
                "horizontalAlignment": "A String",
              },
            ],
            "image": {
              "accessibilityText": "A String",
              "imageUri": "A String",
            },
            "rows": [
              {
                "cells": [
                  {
                    "text": "A String",
                  },
                ],
                "dividerAfter": True or False,
              },
            ],
            "subtitle": "A String",
            "title": "A String",
          },
          "text": {
            "text": [
              "A String",
            ],
          },
        },
      ],
      "mlDisabled": True or False,
      "name": "A String",
      "outputContexts": [
        {
          "lifespanCount": 42,
          "name": "A String",
          "parameters": {
            "a_key": "", # Properties of the object.
          },
        },
      ],
      "parameters": [
        {
          "defaultValue": "A String",
          "displayName": "A String",
          "entityTypeDisplayName": "A String",
          "isList": True or False,
          "mandatory": True or False,
          "name": "A String",
          "prompts": [
            "A String",
          ],
          "value": "A String",
        },
      ],
      "parentFollowupIntentName": "A String",
      "priority": 42,
      "resetContexts": True or False,
      "rootFollowupIntentName": "A String",
      "trainingPhrases": [
        {
          "name": "A String",
          "parts": [
            {
              "alias": "A String",
              "entityType": "A String",
              "text": "A String",
              "userDefined": True or False,
            },
          ],
          "timesAddedCount": 42,
          "type": "A String",
        },
      ],
      "webhookState": "A String",
    },
  ],
  "nextPageToken": "A String",
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.