Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the
REST Introduction for details.
CustomerFeedOperation
A single operation (create, update, remove) on a customer feed.
JSON representation |
{
"updateMask": string,
// Union field operation can be only one of the following:
"create": {
object (CustomerFeed )
},
"update": {
object (CustomerFeed )
},
"remove": string
// End of list of possible types for union field operation .
} |
Fields |
updateMask |
string (FieldMask format)
FieldMask that determines which resource fields are modified in an update. This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .
|
Union field operation . The mutate operation. operation can be only one of the following: |
create |
object (CustomerFeed )
Create operation: No resource name is expected for the new customer feed.
|
update |
object (CustomerFeed )
Update operation: The customer feed is expected to have a valid resource name.
|
remove |
string
Remove operation: A resource name for the removed customer feed is expected, in this format: customers/{customerId}/customerFeeds/{feedId}
|
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 2025-03-06 UTC.
[null,null,["Last updated 2025-03-06 UTC."],[[["This operation allows for creating, updating, or removing a customer feed through a single request."],["The `updateMask` field specifies which fields of the resource should be modified during an update operation."],["You can create a new customer feed, update an existing one, or remove a customer feed using the corresponding operation type within the request."],["When removing a customer feed, you must provide the resource name in the format `customers/{customerId}/customerFeeds/{feedId}`."]]],["The core content details operations on a customer feed, which can be a create, update, or remove action. These actions are represented in JSON. `updateMask`, a string in FieldMask format, specifies modified fields during an update. The `create` operation requires a CustomerFeed object, while `update` also needs a valid resource name. The `remove` operation needs a resource name in a specific format. Only one of these operations can be selected at a time.\n"]]