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
1 answer

Trying to auto forward an email to a parsing API with subject intact

So this is kind of a strange/specific question having to do with Google's forwarding. I'm trying to automatically forward emails sent to trips@my-app.com to an email parsing service called Worldmate without having the Subject of the forwarded email…
0
votes
2 answers

Which API to change Google group auto-message settings?

I'm trying to change the auto-response messages for a google group in my company's google account via one of their API's (these messages need to be turned on and off automatically). I've used the group settings api to change other settings on the…
Brendan Abel
  • 35,343
  • 14
  • 88
  • 118
0
votes
2 answers

Google Apps Script : Populate Sheet with Gmail User listing

I am trying to create a Google Apps Script that will compile a listing of all Gmail Users in our domain and populate the info in a Google Sheet. Some of the User info that I want to retrieve is as follows: Full name Email address Organizational…
0
votes
1 answer

how to use google email audit API (particularly createMailMonitor) with OAUTH

Summary: I need help getting a service (service account in developers console) to authenticate to be able to create a Mail Monitor (email audit API) The most relevant/official pages I've read…
Julio Endara
  • 65
  • 1
  • 7
0
votes
2 answers

Is there a way for me to mock GoogleJsonResponseExceptions?

I currently have a script that continuously polls a Google API - I have integrated error handling, and would like to test that the expected behavior ensues when receiving such errors. I would like to know how to create mock…
loonyuni
  • 1,373
  • 3
  • 16
  • 24
0
votes
1 answer

Is there a way to retrieve all groups for a member as a Non Admin in the Google Directory API?

I am working with the Google Directory API to retrieve all of the groups that a person is part of for role based privileging in the app I'm working on. https://developers.google.com/admin-sdk/directory/v1/guides/manage-groups#get_all_member_groups…
Airn5475
  • 2,452
  • 29
  • 51
0
votes
1 answer

Listing Password complexity Google Admin SDK

From the Google Admin panel there is a nice password strength meter and password length feature. From the admin panel go to Security >> Password Monitoring. Is there a programatic way of getting this info exported in a report?
daguy666
  • 55
  • 7
0
votes
0 answers

How to retrieve attachment name and size using Google email audit API?

I have a code in Java used for email auditing. I do receive mails that are monitored. I am only requesting for HEADERS and what I really want is the attachment name and size, if any. But I am not getting this information in the headers. Any settings…
Sudhanshu Umalkar
  • 4,174
  • 1
  • 23
  • 33
0
votes
1 answer

How to get a specific content type response

It seems that whatever I throw at google api I will always get the same type of content (JSON or XML). For example: https://developers.google.com/admin-sdk/groups-settings/v1/reference/groups/get I want to get a JSON response about groups settings…
Merstzik
  • 94
  • 8
0
votes
1 answer

Finding gapps users groups using the python admin-sdk libraries via the Directory API?

I'm porting our old user management scripts from the Google Provisioning API (which used the python gdata libraries) to the Google Directory API (the python admin-sdk libaries). So far most things have gone fine, however I've run into issues when…
Andrew H.
  • 21
  • 4
0
votes
0 answers

google-admin-sdk Directory User how to add custom fields using Java

I am currently working on a project to update user details from our in house system and have a handle on the various information required to fill out the fields on a User object, however i am currently unable to set a custom field on the User…
0
votes
2 answers

Not Getting access token from of Gmail Contacts API using Oauth2 while code is in Google App Engine Server

I am using zend-framework2 and google-app-engine server to import all gmail contact list. I am getting authorization code from gmail after login. When hitting curl using this authorization code to get access token, it gives blank array as…
0
votes
1 answer

Exception using Google.GData.Apps : The remote server returned an error: (503) Server Unavailable

I am using google provisioning api on my website. I want to authenticate user using AppsService class. AppsService service = new AppsService("domain", "admin username", "admin password"); UserEntry user = service.RetrieveUser("username"); But it…
0
votes
1 answer

How to use nextPageToken in Google Apps Reseller API?

I am writing a simple Java application that fetches all customer subscriptions from Google Apps Reseller using the Reseller API. However I am stuck at paging through the results as the max size is 100 per page and I cannot figure out the next page…
0
votes
1 answer

Is there an google (REST) API to list the Admin Roles in a Google Apps account?

I can view the Admin roles and the users is each admin role in my Google Apps account from the Admin Console. The default admin roles being: Super Admin Group Admin Services Admin I wanted to know if i could programmatically list all the Admin…
Ryan Sequeira
  • 330
  • 3
  • 8