# Chrome Browser Cloud Management - [Chrome Browser Cloud Management](#chrome-browser-cloud-management) - [API documentation](#api-documentation) - [Query documentation](#query-documentation) - [Definitions](#definitions) - [Manage Chrome browsers](#manage-chrome-browsers) - [Update Chrome browsers](#update-chrome-browsers) - [Example: Add a new note to existing notes](#example-add-a-new-note-to-existing-notes) - [Move Chrome browsers from one OU to another](#move-chrome-browsers-from-one-ou-to-another) - [Delete Chrome browsers](#delete-chrome-browsers) - [Display Chrome browsers](#display-chrome-browsers) - [Examples](#examples) - [Browser Query Searchable Fields](#browser-query-searchable-fields) - [Manage Chrome browser enrollment tokens](#manage-chrome-browser-enrollment-tokens) - [Display Chrome browser enrollment tokens](#display-chrome-browser-enrollment-tokens) ## API documentation * https://support.google.com/chrome/a/answer/9681204 * https://support.google.com/chrome/a/answer/9949706 ## Query documentation * https://support.google.com/chrome/a/answer/9681204#retrieve_all_chrome_devices_for_an_account ## Definitions * [``](Collections-of-ChromeOS-Devices) ``` ::= ::= /|(/ ::= See: https://support.google.com/chrome/a/answer/9681204#retrieve_all_chrome_devices_for_an_account ::= "(,)*" ::= https://support.google.com/chrome/a/answer/9949706, scroll down to Filter Query Language ::= "(,)*" ::= ::= "(,)*" ::= | (query:)|(query:orgunitpath:)|(query ) | (browserou ) | (browserous ) | | See: https://github.com/GAM-team/GAM/wiki/Collections-of-Items ::= (annotatedassetid|asset|assetid )| (annotatedlocation|location )| (annotatednotes|notes )|(updatenotes )| (annotateduser|user ::= annotatedassetid|asset|assetid| annotatedlocation|location| annotatednotes|notes| annotateduser|user| browsers| browserversions| deviceid| deviceidentifiershistory| extensioncount| lastactivitytime| lastdeviceuser| lastdeviceusers| lastpolicyfetchtime| lastregistrationtime| laststatusreporttime| machinename| machinepolicies| orgunitpath|org|orgunit|ou| osarchitecture| osplatform| osplatformversion| osversion| policycount| safebrowsingclickthroughcount| serialnumber| virtualdeviceid ::= "(,)*" ::= annotatedassetid|assetassetid| annotatedlocation|location| annotatednotes|notes| annotateduser|user| browserversionchannel| browserversionsortable| deviceid|id| enrollmentdate| extensioncount| lastactivity| lastsignedinuser| lastsync| machinename| orgunit|ou|org| osversion| osversionsortable| platformmajorversion| policycount ``` ``` ::= createtime| creatorid| customerid| expiretime| org| orgunit| orgunitpath| revoketime| revokerid| state| token| tokenpermanentid ::= "(,)*" ``` ## Manage Chrome browsers ## Update Chrome browsers There are four attributes that can be set for a browser. ``` gam update browser + ``` ### Example: Add a new note to existing notes If you specify the `updatenotes ` option and it contains the string `#notes#`, the existing notes value will replace `#notes#`. This requires an additional API to get the existing value. If you have a CSV file, UpdateBrowsers.csv with two columns: deviceId,notes this command will add a new line of notes to the front of the existing notes: ``` gam csv UpdateBrowsers.csv gam update browser "~deviceId" updatenotes "~~notes~~\n#notes#" ``` ## Move Chrome browsers from one OU to another ``` gam move browsers ou|org|orgunit ((ids ) | (queries [querytime