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

Google Apps - Data Transfer API - transfert only some ressources

I'm trying to use the new Data Transfer API for Google Apps Domain and I would like to transfer some specific Google Drive files from one user to another. It seems we can use this API to transfer a "full service" (eg: all files from Google Drive)…
Loïc B.
  • 93
  • 3
  • 11
0
votes
2 answers

Google Directory API using Service Account via Proxy

So I am new to using Google API's. My need is to read a user's account status in the company's domain via a Service Account. Am using the Admin SDK i.e .Directory API's for this. Due to organization's network and security policies, the call has to…
Sudesh
  • 9
0
votes
1 answer

Retrieve all mobile devices Google Directory API in .NET Application

I want to Manage Device using Google API in my appilcation.How to retrieve all mobile/chrome OS device ? CODE : var listReq1 = service.Mobiledevices.List(serviceAccountEmail); MobileDevices allUsers = listReq1.Execute(); Here,…
0
votes
1 answer

The Google Admin SDK Email Settings API is not listed in the APIs Discovery Service

In working with the .NET client library we found that the Email Settings API was not available in it or any of the other client libraries. After communicating with the developers of the .NET library on how the library is generated we noticed that…
0
votes
1 answer

How to retrieve a list of verified domains and alias domains connected to a primary domain

I have looked at all to documentation and I cannot find any API to allow me to get a list of the domains from a Google Apps instance: is there really no query I can do to get all of the verified domains?
user3412868
  • 99
  • 1
  • 3
0
votes
0 answers

Google SDK EMail Signature with HTML

According to Google's Official Documentation on the Email Settings Signature API https://developers.google.com/admin-sdk/email-settings/#updating_a_signature I was trying to set the signature value to be html but was getting an error saying that I…
0
votes
1 answer

Google API BlackList

our company is developing some services which use Google's ADMIN SDK apis. Our problem is that when we call the apis endpoints it starts to say "403 insufficient permissions". If we change the server with another IP then the service works again…
0
votes
0 answers

Google Calendar API new event creation from address issue

I was creating new google calendar event using google calendar API through service account email in c#. I succeeded in creating the event but the invitation mail I received has service account email address as…
0
votes
1 answer

Google Admin Activity API recurring calendar events

If I create recurring calendar event (let's say 5pm-6pm Mon-Fri), will I be able to see this event in Admin.activities.list daily? or will I only see just for once, on the day I created it?
Surya
  • 4,824
  • 6
  • 38
  • 63
0
votes
1 answer

Adding User to Organization Unit and Group using Google Directory API

I am successful to create new user account using Google Directory API in .Net platform, but now I need to add that created user to Organization Unit and Group. I see the API details in this link to add the user to Organization Unit but any example…
TechPro
  • 331
  • 1
  • 10
  • 29
0
votes
1 answer

Executing Group Operations with the Admin SDK via Java

I have an application which integrates with a Google Apps for Work domain and requires to be migrated from oauth 1 to oauth 2. The is a server application which requires simply requires to: list all groups in the domain. list users in a specified…
Alan Hay
  • 22,665
  • 4
  • 56
  • 110
0
votes
1 answer

Google Apps Script admin SDK speed

i'm creating a google sheet which translates given data from schools to a admin SDK Upload to Google Apps. I know there a create user limit of 10 per second, hence the 120ms Delay time. but, when coloring each row in sheets which is processed the…
0
votes
1 answer

updating user-fields through Directory API (admin sdk)

I'm working with Google Directory API (admin sdk) through python and some user updates seem to be doing less than expected. I want to update addresses/emails/...-fields, overwriting the list with an empty one. I tested in Try it! and even that…
0
votes
1 answer

python code for directory api to batch retrieve all users from domain

Currently I have a method that retrieves all ~119,000 gmail accounts and writes them to a csv file using python code below and the enabled admin.sdk + auth 2.0: def get_accounts(self): students = [] page_token = None params =…
0
votes
0 answers

Getting images from Directory API using PHP

I'm trying to use the Directory API to pull user information, which I'm able to do, but I can't seem to find any good examples on how to access user images. I tried the following, which gets me a photo resource: $photo =…