Resource: Attachment
An Attachment contains metadata about a file that was uploaded to a case - it is NOT a file itself. That being said, the name of an Attachment object can be used to download its accompanying file through the media.download
endpoint.
While attachments can be uploaded in the console at the same time as a comment, they're associated on a "case" level, not a "comment" level.
JSON representation |
---|
{
"name": string,
"createTime": string,
"creator": {
object ( |
Fields | |
---|---|
name |
Output only. Identifier. The resource name of the attachment. |
createTime |
Output only. The time at which the attachment was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
creator |
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 |
The filename of the attachment (e.g. |
mimeType |
Output only. The MIME type of the attachment (e.g. text/plain). |
sizeBytes |
Output only. The size of the attachment in bytes. |
Methods |
|
---|---|
|
List all the attachments associated with a support case. |