LabelOperation
Stay organized with collections
Save and categorize content based on your preferences.
A single operation (create, remove, update) on a label.
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
|
Label
Create operation: No resource name is expected for the new label.
|
update
|
Label
Update operation: The label is expected to have a valid resource name.
|
remove
|
string
Remove operation: A resource name for the label being removed, in this format: customers/{customer_id}/labels/{label_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."],[[["The MutateLabelOperations service allows for creating, updating, or removing a single label."],["`update_mask` specifies which fields of the label are modified during an update."],["Operations are defined within the `operation` field and can be either `create`, `update`, or `remove`, each with specific requirements."],["`create` operations do not require a resource name for the new label."],["`update` and `remove` operations require a valid resource name for the existing label."]]],[]]