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.
A single operation (create, remove) on a customer-label relationship.
JSON representation
{// Union field operation can be only one of the following:"create": {object (CustomerLabel)},"remove": string// End of list of possible types for union field operation.}
Fields
Union field operation. The mutate operation. operation can be only one of the following:
[[["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-05-29 UTC."],[[["This page documents a single operation for managing the relationship between a customer and a label, either creating or removing the association."],["The operation is represented using JSON, with a `create` operation requiring a CustomerLabel object and a `remove` operation requiring a resource name."],["The resource name for removing a customer-label relationship follows a specific format: `customers/{customerId}/customerLabels/{label_id}`."]]],["The content describes operations on a customer-label relationship, specifically `create` and `remove`. The `create` operation involves creating a new relationship, expecting a `CustomerLabel` object. The `remove` operation deletes an existing relationship using a resource name in the format `customers/{customerId}/customerLabels/{label_id}`. Only one operation, either `create` or `remove`, can be performed at a time. The provided JSON defines the structure of operations.\n"]]