Method: chatMessages.list

Full name: projects.locations.instances.cases.chatMessages.list

Lists all Case-chat messages for a given case.

HTTP request


Path parameters

Parameters
parent

string

Required. The instance to list Casechats for. Format: projects/{project}/locations/{location}/instances/{instance}/cases/{case}/chatMessage/{chatMessage}

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of RequestTemplates to return.

pageToken

string

Optional. A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

filter

string

Optional. Filter expression to filter the RequestTemplates.

orderBy

string

Optional. Configures order of the returned RequestTemplates.

Request body

The request body must be empty.

Response body

Response message for listing Casechat messages.

If successful, the response body contains data with the following structure:

JSON representation
{
  "chatMessages": [
    {
      object (ChatMessage)
    }
  ],
  "nextPageToken": string,
  "totalSize": integer
}
Fields
chatMessages[]

object (ChatMessage)

Output only. The list of Casechat Messages.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

totalSize

integer

The total number of Casechat Messages.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.