TargetAttribute
Stay organized with collections
Save and categorize content based on your preferences.
Contains criteria for selecting Targets. This could be used to select targets for a Deploy Policy or for an Automation.
| JSON representation |
{
"id": string,
"labels": {
string: string,
...
}
} |
| Fields |
id |
string
Optional. ID of the Target. The value of this field could be one of the following:
- The last segment of a target name
- "*", all targets in a location
|
labels |
map (key: string, value: string)
Target labels. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
|
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-06-13 UTC.
[null,null,["Last updated 2025-06-13 UTC."],[],[]]