Questions tagged [google-admin-sdk]

Use for questions about using APIs and services that are part of the Google (G Suite) Admin SDK, platform for developers that write applications to manage G Suite domains, migrate from and integrate with existing IT infrastructure, create users, update settings, audit activity, and more.

About

The Google (G Suite) Admin SDK allows developers to write applications to manage Google Apps domains, migrate from and integrate with existing IT infrastructure, create users, update settings, audit activity, and more.

Use for questions

About APIs and services that are part of the G Suite Admin SDK

Do not use for questions

About general interaction with Google APIs, use instead.

Admin SDK APIs

: Admin Settings API
: Alert Center API
: Directory API
: Domain Shared Contacts API
: Email Audit API
: Enterprise License Manager API
: Groups Migration API
: Groups Settings API
: GSuite Email Audit API
: GSuite Reseller API (former Enterprise Apps Reseller API)
: Reports API

Deprecated APIs

  1. Email Migration API on November 1, 2015
  2. Email Settings API on October 16, 2019
1554 questions
0
votes
0 answers

Gathering "Rules" Data from the Api

From the GSuite Admin Panel you can access the Rules -> Audit page. Does anyone know of a way to pull out that data out using their Api? I am doing something similar with the Reports section for Tokens, Login, and Admin actions.
daguy666
  • 55
  • 7
0
votes
3 answers

Admin SDK Chromeosdevices method

I'm using Google Scripts to maintain a list of Chrome devices on our domain. I'm using the AdminDirectory.Chromeosdevices.list method to get all the information I require and write it to a sheet. I am then trying to write a script to write…
James D
  • 3,102
  • 1
  • 11
  • 21
0
votes
1 answer

Is it possible to retrieve a users browser history via the API?

We are moving to Chromebooks in our school and would like to know if it's possible to retrieve the users browser history. Every month we perform a device check in where the teacher physically inspects each students device for anything "suspicious".…
Richard Hurt
  • 2,049
  • 24
  • 32
0
votes
1 answer

Statistics on number of Google Spreadsheets using the new Google Drive User Metrics

Google Admin SDK used to have the "Google Docs" User Metrics for reporting. With it we were able to fetch the property "docs:num_spreadsheets" to get the number of spreadsheets owned by the each user. The Google docs metrics are now being…
Rafael
  • 11
  • 3
0
votes
2 answers

Add user's secondary values (Employee Details) such as Title to Google Directory

I have wrote a script that successfully takes a Google Sheet full of User information and adds them to our Google Domain. I however can't seem to figure out how to add certain secondary values that are specific to our org. Some of the values are…
0
votes
0 answers

Google drive SDK API Explorer | getting empty result with next page link.

I am using google Account having approx 5K files for exploring Google drive SDK API Explorer.Where I am getting getting empty result with next page link. To overcome it I have to make continuous call to google drive API until I didn't result,these…
user4768611
0
votes
1 answer

Data transfer between two users don't work from Admin SDK and Admin Web Panel

I'm writing code in Python that has the task to suspend user and transfer his data to other user. Unfortunatelly I discovered that that functionality doesn't work. Acording to documentation of…
wszychtaff
  • 21
  • 2
0
votes
1 answer

Is Google Admin Token Audit Log Broken?

I used the Google admin token audit logs and they have not been returning data as the events show up. This has been going on. Is this a known issue with the audit api?
0
votes
1 answer

Check MaxGsuiteAccounts using Admin Directory API

I wanted to know where can we check total and currently used user accounts? For example a month ago there was a Feedback button on lower right corner to get this info: Image showing all the user info I know we can get customerCreationTime and…
Jimm
  • 1
0
votes
1 answer

Getting around 100 maxresult with AdminDirectory.Chromeosdevices.list

I am writing a Google App Script that pulls Chromebook device information from gSuite. I need to export it as a CSV to ingest it into a database. I ran into an issue, however. The API 'AdminDirectory.Chromeosdevices.list' is limited to 100…
mackhax0r
  • 435
  • 2
  • 7
  • 16
0
votes
1 answer

How to replace deprecated "num_docs_shared_outside_domain" metric

On May 15th, 2017, three metrics will be removed from the Reporting API of the Google Apps Admin SDK: num_docs_internally_visible num_docs_externally_visible num_docs_shared_outside_domain I use all of these metrics in a scripts that performs some…
dorian
  • 5,667
  • 1
  • 19
  • 36
0
votes
1 answer

Exporting Google suite users from group API app scripting

First post ever, Looking to get some help here. I'm trying to run a daily job using googles apps scripts. I essentially want to export all groups within my google apps/suite domain (im a super admin) and list the users within them then have that…
0
votes
1 answer

Add message to Google Group

I am attempting to add a message to a G-suite group using the group migration API. The POST command looks like this: https://www.googleapis.com/upload/groups/v1/groups/groupname@domain.com/archive?uploadType=media&access_token=ya29.Gm03... Assume…
0
votes
1 answer

Gsuit : API to access drive of all users by SuperAdmin Token

I need to access google drive of all the user by admin account token using Gsuit API. Using Google Apps Admin SDK API I can access information of all account but unable to access their Drive. I have seen admin can access google drive of all the…
user4768611
0
votes
1 answer

sendAs vs directory API alias

If I set a users aliases using DirectoryService.users().aliases(), is there any reason to set the sendAs using Gmail.users().settings().sendAs()? I don't need to set any signatures or anything using the Gmail API.
Kevin C
  • 1
  • 1