Dialogflow API . projects . locations . agent . environments

Instance Methods

intents()

Returns the intents Resource.

users()

Returns the users Resource.

close()

Close httplib2 connections.

create(parent, body=None, environmentId=None, x__xgafv=None)

delete(name, x__xgafv=None)

get(name, x__xgafv=None)

getHistory(parent, pageSize=None, pageToken=None, x__xgafv=None)

getHistory_next()

Retrieves the next page of results.

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

list_next()

Retrieves the next page of results.

patch(name, allowLoadToDraftAndDiscardChanges=None, body=None, updateMask=None, x__xgafv=None)

Method Details

close()
Close httplib2 connections.
create(parent, body=None, environmentId=None, x__xgafv=None)

Args:
  parent: string, A parameter (required)
  body: object, The request body.
    The object takes the form of:

{
  "agentVersion": "A String",
  "description": "A String",
  "fulfillment": {
    "displayName": "A String",
    "enabled": True or False,
    "features": [
      {
        "type": "A String",
      },
    ],
    "genericWebService": {
      "isCloudFunction": True or False,
      "password": "A String",
      "requestHeaders": {
        "a_key": "A String",
      },
      "uri": "A String",
      "username": "A String",
    },
    "name": "A String",
  },
  "name": "A String",
  "state": "A String",
  "textToSpeechSettings": {
    "enableTextToSpeech": True or False,
    "outputAudioEncoding": "A String",
    "sampleRateHertz": 42,
    "synthesizeSpeechConfigs": {
      "a_key": {
        "effectsProfileId": [
          "A String",
        ],
        "pitch": 3.14,
        "pronunciations": [
          {
            "phoneticEncoding": "A String",
            "phrase": "A String",
            "pronunciation": "A String",
          },
        ],
        "speakingRate": 3.14,
        "voice": {
          "name": "A String",
          "ssmlGender": "A String",
        },
        "volumeGainDb": 3.14,
      },
    },
  },
  "updateTime": "A String",
}

  environmentId: 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:

    {
  "agentVersion": "A String",
  "description": "A String",
  "fulfillment": {
    "displayName": "A String",
    "enabled": True or False,
    "features": [
      {
        "type": "A String",
      },
    ],
    "genericWebService": {
      "isCloudFunction": True or False,
      "password": "A String",
      "requestHeaders": {
        "a_key": "A String",
      },
      "uri": "A String",
      "username": "A String",
    },
    "name": "A String",
  },
  "name": "A String",
  "state": "A String",
  "textToSpeechSettings": {
    "enableTextToSpeech": True or False,
    "outputAudioEncoding": "A String",
    "sampleRateHertz": 42,
    "synthesizeSpeechConfigs": {
      "a_key": {
        "effectsProfileId": [
          "A String",
        ],
        "pitch": 3.14,
        "pronunciations": [
          {
            "phoneticEncoding": "A String",
            "phrase": "A String",
            "pronunciation": "A String",
          },
        ],
        "speakingRate": 3.14,
        "voice": {
          "name": "A String",
          "ssmlGender": "A String",
        },
        "volumeGainDb": 3.14,
      },
    },
  },
  "updateTime": "A String",
}
delete(name, x__xgafv=None)

Args:
  name: string, A parameter (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
}
get(name, x__xgafv=None)

Args:
  name: string, A parameter (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "agentVersion": "A String",
  "description": "A String",
  "fulfillment": {
    "displayName": "A String",
    "enabled": True or False,
    "features": [
      {
        "type": "A String",
      },
    ],
    "genericWebService": {
      "isCloudFunction": True or False,
      "password": "A String",
      "requestHeaders": {
        "a_key": "A String",
      },
      "uri": "A String",
      "username": "A String",
    },
    "name": "A String",
  },
  "name": "A String",
  "state": "A String",
  "textToSpeechSettings": {
    "enableTextToSpeech": True or False,
    "outputAudioEncoding": "A String",
    "sampleRateHertz": 42,
    "synthesizeSpeechConfigs": {
      "a_key": {
        "effectsProfileId": [
          "A String",
        ],
        "pitch": 3.14,
        "pronunciations": [
          {
            "phoneticEncoding": "A String",
            "phrase": "A String",
            "pronunciation": "A String",
          },
        ],
        "speakingRate": 3.14,
        "voice": {
          "name": "A String",
          "ssmlGender": "A String",
        },
        "volumeGainDb": 3.14,
      },
    },
  },
  "updateTime": "A String",
}
getHistory(parent, pageSize=None, pageToken=None, x__xgafv=None)

Args:
  parent: string, A parameter (required)
  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:

    {
  "entries": [
    {
      "agentVersion": "A String",
      "createTime": "A String",
      "description": "A String",
    },
  ],
  "nextPageToken": "A String",
  "parent": "A String",
}
getHistory_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.
        
list(parent, pageSize=None, pageToken=None, x__xgafv=None)

Args:
  parent: string, A parameter (required)
  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:

    {
  "environments": [
    {
      "agentVersion": "A String",
      "description": "A String",
      "fulfillment": {
        "displayName": "A String",
        "enabled": True or False,
        "features": [
          {
            "type": "A String",
          },
        ],
        "genericWebService": {
          "isCloudFunction": True or False,
          "password": "A String",
          "requestHeaders": {
            "a_key": "A String",
          },
          "uri": "A String",
          "username": "A String",
        },
        "name": "A String",
      },
      "name": "A String",
      "state": "A String",
      "textToSpeechSettings": {
        "enableTextToSpeech": True or False,
        "outputAudioEncoding": "A String",
        "sampleRateHertz": 42,
        "synthesizeSpeechConfigs": {
          "a_key": {
            "effectsProfileId": [
              "A String",
            ],
            "pitch": 3.14,
            "pronunciations": [
              {
                "phoneticEncoding": "A String",
                "phrase": "A String",
                "pronunciation": "A String",
              },
            ],
            "speakingRate": 3.14,
            "voice": {
              "name": "A String",
              "ssmlGender": "A String",
            },
            "volumeGainDb": 3.14,
          },
        },
      },
      "updateTime": "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.
        
patch(name, allowLoadToDraftAndDiscardChanges=None, body=None, updateMask=None, x__xgafv=None)

Args:
  name: string, A parameter (required)
  body: object, The request body.
    The object takes the form of:

{
  "agentVersion": "A String",
  "description": "A String",
  "fulfillment": {
    "displayName": "A String",
    "enabled": True or False,
    "features": [
      {
        "type": "A String",
      },
    ],
    "genericWebService": {
      "isCloudFunction": True or False,
      "password": "A String",
      "requestHeaders": {
        "a_key": "A String",
      },
      "uri": "A String",
      "username": "A String",
    },
    "name": "A String",
  },
  "name": "A String",
  "state": "A String",
  "textToSpeechSettings": {
    "enableTextToSpeech": True or False,
    "outputAudioEncoding": "A String",
    "sampleRateHertz": 42,
    "synthesizeSpeechConfigs": {
      "a_key": {
        "effectsProfileId": [
          "A String",
        ],
        "pitch": 3.14,
        "pronunciations": [
          {
            "phoneticEncoding": "A String",
            "phrase": "A String",
            "pronunciation": "A String",
          },
        ],
        "speakingRate": 3.14,
        "voice": {
          "name": "A String",
          "ssmlGender": "A String",
        },
        "volumeGainDb": 3.14,
      },
    },
  },
  "updateTime": "A String",
}

  allowLoadToDraftAndDiscardChanges: boolean, A parameter
  updateMask: 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:

    {
  "agentVersion": "A String",
  "description": "A String",
  "fulfillment": {
    "displayName": "A String",
    "enabled": True or False,
    "features": [
      {
        "type": "A String",
      },
    ],
    "genericWebService": {
      "isCloudFunction": True or False,
      "password": "A String",
      "requestHeaders": {
        "a_key": "A String",
      },
      "uri": "A String",
      "username": "A String",
    },
    "name": "A String",
  },
  "name": "A String",
  "state": "A String",
  "textToSpeechSettings": {
    "enableTextToSpeech": True or False,
    "outputAudioEncoding": "A String",
    "sampleRateHertz": 42,
    "synthesizeSpeechConfigs": {
      "a_key": {
        "effectsProfileId": [
          "A String",
        ],
        "pitch": 3.14,
        "pronunciations": [
          {
            "phoneticEncoding": "A String",
            "phrase": "A String",
            "pronunciation": "A String",
          },
        ],
        "speakingRate": 3.14,
        "voice": {
          "name": "A String",
          "ssmlGender": "A String",
        },
        "volumeGainDb": 3.14,
      },
    },
  },
  "updateTime": "A String",
}