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

GmailSettingsService availability post April 20th, 2015

Will the GmailSettingsService class still be available after April 20th, and will the constructor still be as shown below (from…
S McKinley
  • 48
  • 6
0
votes
1 answer

Google directory API - List of modified users

I need to synchronize the users of a domain with a third party database. Using the method users.list I can query for the complete list of users. With the comlete list I can identify created users and deleted users. I don't find any way identify…
0
votes
1 answer

Bulk/Batch upload of users/groups into Google

I am able to use admin SDK API and using C# standalone code and I am able to implement below operation as well. Create User, Upadate User, Create Group, Add Membership, remove membership, reset password etc. However I have a requirement where we…
0
votes
0 answers

What is the proper way to set a user's primary email address using Google's Admin SDK?

I'm using Google's Admin SDK to provision user accounts, but when I try to set the primary Email account using Alias alias = new…
S McKinley
  • 48
  • 6
0
votes
2 answers

Google service account and quotas for admin

As I'm completing the migration to the new API I stumbled on the daily API request quotas. What determines quota limits for admin requests? My application provisions accounts, groups, etc... in Google apps and I've got many locations using it. Do I…
Zonus
  • 2,313
  • 2
  • 26
  • 48
0
votes
1 answer

what is the deprecation policy of google's appsforyourdomain clients

It is clear that some of the client classes in the appsforyourdomain package are being deprecated by April 20th, 2015. I'm having trouble finding the deprecation status and replacement of these…
0
votes
1 answer

Google SDK Report dont get info

I have a app in GAE. This belongs to a domain. This app get info from Reports Api. If I ask for information 4 days ago, I get the information from doc and gmail. If I ask for information 3 days ago I get only the information of gmail. If I ask for…
0
votes
1 answer

delete user alias with the Admin Directory API java library

I do not see a method with the java library to delete an alias from a user. Is there a way to do this? I tried using setAliases with a null value.
0
votes
2 answers

Where do I get Client Secret for Google Admin SDK?

This documentation: https://developers.google.com/admin-sdk/directory/v1/quickstart/quickstart-java#step_1_enable_the_admin_sdk_directory_api Mentions that I need to have client secret, and the code sample lower on that page uses client…
Artem
  • 7,275
  • 15
  • 57
  • 97
0
votes
1 answer

Does ADMIN Directory have API for dealing with EMAIL Settings

Does ADMIN Directory have API for dealing with EMAIL Settings. Or do we need to continue using GDATA API for Email Settings.
0
votes
1 answer

Trying to change a username in Python Google Admin SDK

I'm trying to change a username using the Admin SDK. I'm trying the following code to update this, using a dict object to store the new info, and using patch to update: userinfo['primaryEmail'] = D['new_user'] + '@' +…
0
votes
2 answers

google directory api java - Invalid Password

I'm trying to create a new user account via the Google Directory API using the code below. The result I get back is invalid password. What password? Problem with the P12 file I downloaded? Collection SCOPE =…
0
votes
2 answers

HttpError 403 when attempting to use Admin Directory SDK

I'm attempting to use the apiclient to interface with my Google Apps for Education account. I'm using a Service Account as the final goal is to tie this in with our existing in-house system (i.e. server-based system with console access). My code…
0
votes
1 answer

How to cancel google apps subscription through API?

From Google Apps Reseller API: Manage Subscriptions To immediately cancel a non Google Apps subscription, use the following DELETE HTTP request with a deletionType of 'transfer_to_direct' So, how to cancel google apps subscription ?
user4560201
0
votes
2 answers

How to set user manager in Google Directory api

I have a requirement to set the manager field on each User within my Google Apps domain. Previously I've used the API to update organisations, phones addresses etc. However, I do not see where to actually set/update the user manager field. I'm using…