FeedItemOperation
Stay organized with collections
Save and categorize content based on your preferences.
A single operation (create, update, remove) on an feed item.
Fields |
update_mask
|
FieldMask
FieldMask that determines which resource fields are modified in an update.
|
Union field operation
operation . The mutate operation. operation can be only one of the following: |
create
|
FeedItem
Create operation: No resource name is expected for the new feed item.
|
update
|
FeedItem
Update operation: The feed item is expected to have a valid resource name.
|
remove
|
string
Remove operation: A resource name for the removed feed item is expected, in this format: customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}
|
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-11-25 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-11-25 UTC."],[[["MutateFeedItems method enables single operations (create, update, or remove) on an existing feed item."],["Operations utilize a `field_mask` to specify fields to modify during updates and a union field `operation` to define the operation type."],["Creating a new feed item doesn't require a resource name, updating necessitates a valid resource name for the existing item, and removing expects the resource name of the item to be deleted."]]],[]]