Comment

A comment on a ticket.

JSON representation
{
  "name": string,
  "text": string,
  "additionalCcUsers": [
    string
  ],
  "attachments": [
    {
      object (Attachment)
    }
  ],
  "commentSource": enum (CommentSource)
}
Fields
name

string

Identifier. Resource name of the comment. Format: partners/{partner}/tickets/{ticket}/comments/{comment}

text

string

Required. Plain text content of the comment.

additionalCcUsers[]

string

Optional. Temporarily appends all the listed users to the cc_users on the ticket when emailed.

attachments[]

object (Attachment)

Output only. Attachments associated with this comment for download.

commentSource

enum (CommentSource)

Output only. Source of the comment.

Attachment

Represents an attachment on a comment.

JSON representation
{
  "attachmentId": string,
  "filename": string,
  "mimeType": string,
  "data": string
}
Fields
attachmentId

string (int64 format)

Output only. Attachment ID.

filename

string

Output only. Attachment file name.

mimeType

string

Output only. Attachment mime type.

data

string (bytes format)

Output only. Attachment content. Will be Base64-encoded in JSON responses.

A base64-encoded string.

CommentSource

Source of the comment.

Enums
COMMENT_SOURCE_UNSPECIFIED Unspecified comment source.
GOOGLE The comment was added by a member of the Google organization.
PARTNER The comment was added by a member of a partner organization.