# Chrome Browser Cloud Management - [API documentation](#api-documentation) - [Query documentation](#query-documentation) - [Definitions](#definitions) - [Raw Fields](#raw-fields) - [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 * [Chrome Enterprise Core API](https://support.google.com/chrome/a/answer/9681204) * [Chrome Browser Enrollment Token API](https://support.google.com/chrome/a/answer/9949706) ## Query documentation * [Search Chrome Browser Devices](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 ::= "(,)*" ``` ## Raw Fields This is the list of Browser fields showing their subfields. You enter `rawfields` like this: the field names must be entered exactly as shown. ``` rawfields "deviceId,browsers(profiles(id,name,extensions(appType,name))),lastDeviceUsers(userName),osPlatform,osVersion" ``` ``` annotatedAssetId annotatedLocation annotatedNotes annotatedUser deviceId browserVersions browsers browserVersion channel executablePath lastStatusReportTime pendingInstallVersion profiles id chromeSignedInUserEmail lastPolicyFetchTime lastStatusReportTime name extensions appType description extensionId homepageUrl installType manifestVersion name permissions version deviceIdentifiersHistory records firstRecordTime identifiers machineName lastActivityTime extensionCount lastActivityTime lastDeviceUser lastDeviceUsers lastStatusReportTime userName lastPolicyFetchTime lastRegistrationTime lastStatusReportTime machineName machinePolicies error name source value orgUnitPath osArchitecture osPlatform osPlatformVersion osVersion policyCount safeBrowsingClickThroughCount serialNumber virtualDeviceId ``` ## 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