---
title: "Google Apps Script Patterns: Keeping a gam generated users report up-to-date with Google Apps Script"
author: "Martin Hawksey"
date: 2023-03-20T22:08:04+00:00
modified: 2023-03-21T09:26:14+00:00
canonical_url: https://pulse.appsscript.info/p/2023/03/google-apps-script-patterns-keeping-a-gam-generated-users-report-up-to-date-with-google-apps-script/
markdown_url: https://pulse.appsscript.info/p/2023/03/google-apps-script-patterns-keeping-a-gam-generated-users-report-up-to-date-with-google-apps-script.md
categories:
  - "Admin SDK"
  - "Intermediate"
  - "Sheets"
  - "Solutions"
tags:
  - "hawksey.info"
featured_image: https://pulse.appsscript.info/files/2023/03/workspace-api-explorer-01.jpeg
description: "In Google Workspace gam is probably the 'go to' tool command line tool which allows administrators to easily manage domain and user settings. Recently I was asked about how you can keep gam generated reports up-to-date using Google Apps Script. It's worth remember that gam uses public Google Workspace APIs when it performs actions and reports. In this post I show you a pattern for building script to keep gam reports fresh."
---

# Google Apps Script Patterns: Keeping a gam generated users report up-to-date with Google Apps Script

![Google Apps Script Patterns: Keeping a gam generated users report up-to-date with Google Apps Script](https://pulse.appsscript.info/files/2023/03/workspace-api-explorer-01.jpeg)

> [https://hawksey.info/blog/2023/03/google-apps-script-patterns-keeping-a-gam-generated-users-report-up-to-date-with-google-apps-script/](https://hawksey.info/blog/2023/03/google-apps-script-patterns-keeping-a-gam-generated-users-report-up-to-date-with-google-apps-script/)
> In Google Workspace gam is probably the ‘go to’ tool command line tool which allows administrators to easily manage domain and user settings. Recently I was asked about how you can keep gam generated reports up-to-date using Google Apps Script. It’s worth remember that gam uses public Google Workspace APIs when it performs actions and reports. In this post I show you a pattern for building script to keep gam reports fresh.

Source: *[Google Apps Script Patterns: Keeping a gam generated users report up-to-date with Google Apps Script*](https://hawksey.info/blog/2023/03/google-apps-script-patterns-keeping-a-gam-generated-users-report-up-to-date-with-google-apps-script/)

---

*Published by [Martin Hawksey](https://pulse.appsscript.info/p/author/admin/) on [Pulse](https://pulse.appsscript.info/). Original article: [https://pulse.appsscript.info/p/2023/03/google-apps-script-patterns-keeping-a-gam-generated-users-report-up-to-date-with-google-apps-script/](https://pulse.appsscript.info/p/2023/03/google-apps-script-patterns-keeping-a-gam-generated-users-report-up-to-date-with-google-apps-script/)*
