Add external ID to host output (#1705)

This also fixes a bug if no hosts were returned where the job would run
over and over in a loop, and some other cleanup.
This commit is contained in:
Jeff Mitchell authored and GitHub committed 2021-11-13 17:18:20 -05:00
1 parent 4bf86e6394
commit b3fd23863f
13 files changed
+147 -54

No files matched your search

@@ -56,6 +56,9 @@ message Host {
// Output only. The list of dns addresses associated with this host.
repeated string dns_names = 130;
// Output only. The external ID of the host, if any.
string external_id = 140;
// Output only. The available actions on this resource for this user.
repeated string authorized_actions = 300 [json_name="authorized_actions"];
}