REST Resource: cases.comments

Resource: Comment

Case comments are the main way Google Support communicates with a user who has opened a case. When a user responds to Google Support, the user's responses also appear as comments.

JSON representation
{
  "name": string,
  "createTime": string,
  "creator": {
    object (Actor)
  },
  "body": string,
  "plainTextBody": string
}
Fields
name

string

Output only. The resource name for the comment.

createTime

string (Timestamp format)

Output only. The time when this comment was created.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

creator

object (Actor)

Output only. The user or Google Support agent created this comment.

body

string

The full comment body. Maximum of 12800 characters. This can contain rich text syntax.

plainTextBody

string

Output only. DEPRECATED. An automatically generated plain text version of body with all rich text syntax stripped.

Methods

create

Add a new comment to a case.

list

List all the comments associated with a case.