Dialogflow API . projects . locations . conversations

Instance Methods

messages()

Returns the messages Resource.

participants()

Returns the participants Resource.

suggestions()

Returns the suggestions Resource.

close()

Close httplib2 connections.

complete(name, body=None, x__xgafv=None)

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

get(name, x__xgafv=None)

ingestContextReferences(conversation, body=None, x__xgafv=None)

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

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
complete(name, body=None, x__xgafv=None)

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

{
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "conversationProfile": "A String",
  "conversationStage": "A String",
  "endTime": "A String",
  "ingestedContextReferences": {
    "a_key": {
      "contextContents": [
        {
          "answerRecord": "A String",
          "content": "A String",
          "contentFormat": "A String",
          "ingestionTime": "A String",
        },
      ],
      "createTime": "A String",
      "languageCode": "A String",
      "updateMode": "A String",
    },
  },
  "lifecycleState": "A String",
  "name": "A String",
  "phoneNumber": {
    "countryCode": 42,
    "phoneNumber": "A String",
  },
  "startTime": "A String",
  "telephonyConnectionInfo": {
    "dialedNumber": "A String",
    "extraMimeContents": [
      {
        "content": "A String",
        "mimeType": "A String",
      },
    ],
    "sdp": "A String",
    "sipHeaders": [
      {
        "name": "A String",
        "value": "A String",
      },
    ],
  },
}
create(parent, body=None, conversationId=None, x__xgafv=None)

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

{
  "conversationProfile": "A String",
  "conversationStage": "A String",
  "endTime": "A String",
  "ingestedContextReferences": {
    "a_key": {
      "contextContents": [
        {
          "answerRecord": "A String",
          "content": "A String",
          "contentFormat": "A String",
          "ingestionTime": "A String",
        },
      ],
      "createTime": "A String",
      "languageCode": "A String",
      "updateMode": "A String",
    },
  },
  "lifecycleState": "A String",
  "name": "A String",
  "phoneNumber": {
    "countryCode": 42,
    "phoneNumber": "A String",
  },
  "startTime": "A String",
  "telephonyConnectionInfo": {
    "dialedNumber": "A String",
    "extraMimeContents": [
      {
        "content": "A String",
        "mimeType": "A String",
      },
    ],
    "sdp": "A String",
    "sipHeaders": [
      {
        "name": "A String",
        "value": "A String",
      },
    ],
  },
}

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

    {
  "conversationProfile": "A String",
  "conversationStage": "A String",
  "endTime": "A String",
  "ingestedContextReferences": {
    "a_key": {
      "contextContents": [
        {
          "answerRecord": "A String",
          "content": "A String",
          "contentFormat": "A String",
          "ingestionTime": "A String",
        },
      ],
      "createTime": "A String",
      "languageCode": "A String",
      "updateMode": "A String",
    },
  },
  "lifecycleState": "A String",
  "name": "A String",
  "phoneNumber": {
    "countryCode": 42,
    "phoneNumber": "A String",
  },
  "startTime": "A String",
  "telephonyConnectionInfo": {
    "dialedNumber": "A String",
    "extraMimeContents": [
      {
        "content": "A String",
        "mimeType": "A String",
      },
    ],
    "sdp": "A String",
    "sipHeaders": [
      {
        "name": "A String",
        "value": "A String",
      },
    ],
  },
}
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:

    {
  "conversationProfile": "A String",
  "conversationStage": "A String",
  "endTime": "A String",
  "ingestedContextReferences": {
    "a_key": {
      "contextContents": [
        {
          "answerRecord": "A String",
          "content": "A String",
          "contentFormat": "A String",
          "ingestionTime": "A String",
        },
      ],
      "createTime": "A String",
      "languageCode": "A String",
      "updateMode": "A String",
    },
  },
  "lifecycleState": "A String",
  "name": "A String",
  "phoneNumber": {
    "countryCode": 42,
    "phoneNumber": "A String",
  },
  "startTime": "A String",
  "telephonyConnectionInfo": {
    "dialedNumber": "A String",
    "extraMimeContents": [
      {
        "content": "A String",
        "mimeType": "A String",
      },
    ],
    "sdp": "A String",
    "sipHeaders": [
      {
        "name": "A String",
        "value": "A String",
      },
    ],
  },
}
ingestContextReferences(conversation, body=None, x__xgafv=None)

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

{
  "contextReferences": {
    "a_key": {
      "contextContents": [
        {
          "answerRecord": "A String",
          "content": "A String",
          "contentFormat": "A String",
          "ingestionTime": "A String",
        },
      ],
      "createTime": "A String",
      "languageCode": "A String",
      "updateMode": "A String",
    },
  },
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "ingestedContextReferences": {
    "a_key": {
      "contextContents": [
        {
          "answerRecord": "A String",
          "content": "A String",
          "contentFormat": "A String",
          "ingestionTime": "A String",
        },
      ],
      "createTime": "A String",
      "languageCode": "A String",
      "updateMode": "A String",
    },
  },
}
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

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

    {
  "conversations": [
    {
      "conversationProfile": "A String",
      "conversationStage": "A String",
      "endTime": "A String",
      "ingestedContextReferences": {
        "a_key": {
          "contextContents": [
            {
              "answerRecord": "A String",
              "content": "A String",
              "contentFormat": "A String",
              "ingestionTime": "A String",
            },
          ],
          "createTime": "A String",
          "languageCode": "A String",
          "updateMode": "A String",
        },
      },
      "lifecycleState": "A String",
      "name": "A String",
      "phoneNumber": {
        "countryCode": 42,
        "phoneNumber": "A String",
      },
      "startTime": "A String",
      "telephonyConnectionInfo": {
        "dialedNumber": "A String",
        "extraMimeContents": [
          {
            "content": "A String",
            "mimeType": "A String",
          },
        ],
        "sdp": "A String",
        "sipHeaders": [
          {
            "name": "A String",
            "value": "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.