Dialogflow API . projects . locations

Instance Methods

agent()

Returns the agent Resource.

answerRecords()

Returns the answerRecords Resource.

conversationDatasets()

Returns the conversationDatasets Resource.

conversationModels()

Returns the conversationModels Resource.

conversationProfiles()

Returns the conversationProfiles Resource.

conversations()

Returns the conversations Resource.

encryptionSpec()

Returns the encryptionSpec Resource.

generators()

Returns the generators Resource.

knowledgeBases()

Returns the knowledgeBases Resource.

operations()

Returns the operations Resource.

sipTrunks()

Returns the sipTrunks Resource.

statelessSuggestion()

Returns the statelessSuggestion Resource.

suggestions()

Returns the suggestions Resource.

tools()

Returns the tools Resource.

close()

Close httplib2 connections.

deleteAgent(parent, x__xgafv=None)

get(name, x__xgafv=None)

getAgent(parent, x__xgafv=None)

getEncryptionSpec(name, x__xgafv=None)

list(name, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

list_next()

Retrieves the next page of results.

setAgent(parent, body=None, updateMask=None, x__xgafv=None)

Method Details

close()
Close httplib2 connections.
deleteAgent(parent, x__xgafv=None)

Args:
  parent: 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:

    {
  "displayName": "A String",
  "labels": {
    "a_key": "A String",
  },
  "locationId": "A String",
  "metadata": {
    "a_key": "", # Properties of the object. Contains field @type with type URL.
  },
  "name": "A String",
}
getAgent(parent, x__xgafv=None)

Args:
  parent: 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:

    {
  "apiVersion": "A String",
  "avatarUri": "A String",
  "classificationThreshold": 3.14,
  "defaultLanguageCode": "A String",
  "description": "A String",
  "displayName": "A String",
  "enableLogging": True or False,
  "matchMode": "A String",
  "parent": "A String",
  "supportedLanguageCodes": [
    "A String",
  ],
  "tier": "A String",
  "timeZone": "A String",
}
getEncryptionSpec(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:

    {
  "kmsKey": "A String",
  "name": "A String",
}
list(name, extraLocationTypes=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

Args:
  name: string, A parameter (required)
  extraLocationTypes: string, A parameter (repeated)
  filter: 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:

    {
  "locations": [
    {
      "displayName": "A String",
      "labels": {
        "a_key": "A String",
      },
      "locationId": "A String",
      "metadata": {
        "a_key": "", # Properties of the object. Contains field @type with type URL.
      },
      "name": "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.
        
setAgent(parent, body=None, updateMask=None, x__xgafv=None)

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

{
  "apiVersion": "A String",
  "avatarUri": "A String",
  "classificationThreshold": 3.14,
  "defaultLanguageCode": "A String",
  "description": "A String",
  "displayName": "A String",
  "enableLogging": True or False,
  "matchMode": "A String",
  "parent": "A String",
  "supportedLanguageCodes": [
    "A String",
  ],
  "tier": "A String",
  "timeZone": "A String",
}

  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:

    {
  "apiVersion": "A String",
  "avatarUri": "A String",
  "classificationThreshold": 3.14,
  "defaultLanguageCode": "A String",
  "description": "A String",
  "displayName": "A String",
  "enableLogging": True or False,
  "matchMode": "A String",
  "parent": "A String",
  "supportedLanguageCodes": [
    "A String",
  ],
  "tier": "A String",
  "timeZone": "A String",
}