FeedItemOperation
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-10-12 UTC.
[null,null,["Last updated 2024-10-12 UTC."],[[["This page describes a single operation (create, update, or remove) on a feed item."],["Operations are defined using the `operation` field, which can contain either a `create`, `update`, or `remove` request."],["`create` operations create new feed items, `update` operations modify existing ones, and `remove` operations delete them."],["Each operation type has specific requirements, such as providing a resource name for updates and removals."],["An `update_mask` can be used to specify which fields should be modified during an update operation."]]],[]]