Timeline.attachments
Stay organized with collections
Save and categorize content based on your preferences.
For a list of methods for this resource, see the end of this page.
Resource representations
Represents media content, such as a photo, that can be attached to a timeline item.
{
"id": string,
"contentType": string,
"contentUrl": string,
"isProcessingContent": boolean
}
Property name |
Value |
Description |
Notes |
id |
string |
The ID of the attachment. |
|
contentType |
string |
The MIME type of the attachment. |
|
contentUrl |
string |
The URL for the content. |
|
isProcessingContent |
boolean |
Indicates that the contentUrl is not available because the attachment content is still being processed. If the caller wishes to retrieve the content, it should try again later. |
|
{
"id": string,
"contentType": string,
"contentUrl": string,
"isProcessingContent": boolean
}
Property name |
Value |
Description |
Notes |
contentType |
string |
The MIME type of the attachment. |
|
contentUrl |
string |
The URL for the content. |
|
id |
string |
The ID of the attachment. |
|
isProcessingContent |
boolean |
Indicates that the contentUrl is not available because the attachment content is still being processed. If the caller wishes to retrieve the content, it should try again later. |
|
Methods
- delete
- Deletes an attachment from a timeline item.
- get
- Retrieves an attachment on a timeline item by item ID and attachment ID.
- insert
- Adds a new attachment to a timeline item.
- list
- Returns a list of attachments for a timeline item.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["Represents media content, such as photos, that can be attached to timeline items."],["Provides properties like `id`, `contentType`, `contentUrl`, and `isProcessingContent` to describe the attachment."],["Includes methods to manage attachments such as `delete`, `get`, `insert`, and `list`."],["`contentUrl` might be temporarily unavailable if `isProcessingContent` is true, requiring the caller to retry later."]]],[]]