REST Resource: cases.attachments

Resource: Attachment

Represents a file attached to a support case.

JSON representation
{
  "name": string,
  "createTime": string,
  "creator": {
    object (Actor)
  },
  "filename": string,
  "mimeType": string,
  "sizeBytes": string
}
Fields
name

string

Output only. The resource name of the attachment.

createTime

string (Timestamp format)

Output only. The time at which the attachment 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 who uploaded the attachment. Note, the name and email will be obfuscated if the attachment was uploaded by Google support.

filename

string

The filename of the attachment (e.g. "graph.jpg").

mimeType

string

Output only. The MIME type of the attachment (e.g. text/plain).

sizeBytes

string (int64 format)

Output only. The size of the attachment in bytes.

Methods

list

Retrieve all attachments associated with a support case.