AppliedLabel
Stay organized with collections
Save and categorize content based on your preferences.
Represents a Label that can be applied to an entity.
JSON representation |
{
"label": string,
"negated": boolean
} |
Fields |
label |
string
Required. The label to be applied. Format: "networks/{networkCode}/labels/{labelId}"
|
negated |
boolean
Specifies whether or not to negate the effects of the label.
|
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-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eLabel entities using a specific format that includes network code and label ID.\u003c/p\u003e\n"],["\u003cp\u003eControl the label's effect by setting the \u003ccode\u003enegated\u003c/code\u003e field to true or false, indicating whether to apply or negate the label's impact.\u003c/p\u003e\n"],["\u003cp\u003eJSON representation simplifies the process of applying or removing labels from entities within a network.\u003c/p\u003e\n"]]],["A Label is represented in JSON as an object with two fields. The `label` field, a required string, indicates the label to be applied using the format \"networks/{networkCode}/labels/{labelId}\". The `negated` field, a boolean, determines if the label's effects should be reversed. This structure defines how a label and its application status are conveyed.\n"],null,["# AppliedLabel\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresents a Label that can be applied to an entity.\n\n| JSON representation |\n|-------------------------------------------------|\n| ``` { \"label\": string, \"negated\": boolean } ``` |\n\n| Fields ||\n|-----------|-----------------------------------------------------------------------------------------------|\n| `label` | `string` Required. The label to be applied. Format: \"networks/{networkCode}/labels/{labelId}\" |\n| `negated` | `boolean` Specifies whether or not to negate the effects of the label. |"]]