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

What does orgUnitPath == null imply on a User resource?

Quandry When making a call to User GET in the Google Admin SDK's Directory API through the JVM client, null is a valid value for orgUnitPath according to documentation, but I can find no information on what this value implies about a user's position…
mirichan
  • 1,370
  • 1
  • 12
  • 25
0
votes
1 answer

Can the Google Directory API be used to add arbitrary privileges to users in my own application domain?

Lets say I am building an application which allows users to submit code reviews. Some users are allowed to review the submitted reviews. Others are allowed to delete them for various reasons, etc. Can the Google Directory API be used to assign such…
Thijs Riezebeek
  • 1,762
  • 1
  • 15
  • 22
0
votes
1 answer

How do you search users in the Google admin sdk api using custom queries?

I am attempting to pull users who have suspended email accounts from one of my company domains. Since we have more than one domain i realize i will need to use custom queries to do this. However, if you look below whenever i run my code, i am give a…
MesamH
  • 91
  • 1
  • 2
  • 6
0
votes
1 answer

How do I retrieve Google Calendar Resources PHP API client?

How fetch google calendar resource using php-client I found same question here , I did not get any help from answer. Can there is get all resource from google calendar of my company using download google admin sdk PHP I could not get any sample or…
Vipin Sharma
  • 421
  • 5
  • 24
0
votes
2 answers

Google Group Migration API - gives com.google.gaia.client.invaliduseridexception

I'm trying to run the Quickstart in Python for the Group Migration API. The goal is to insert a message to a Google group that I created for testing. I've created a Google for Work account, and made a Google group that is owned by admin. I created…
Peter M.
  • 713
  • 1
  • 5
  • 14
0
votes
1 answer

Authenticate google apps user account credentials

I am working with google admin .net apis .I want to authenticate a user in my application without redirecting to google's own authentication page.I have drilled it down on internet but nothing found any thing helpful regarding this.kindly suggest me…
0
votes
1 answer

Google Admin SDK Error 401 when trying to authorize

I am using the Google Admin SDK Reports V1 Api to gather all admin activities from the Google Apps admin panel. My Google Api python client was recently updated to version "google-api-python-client (1.5.1)" Previously I was using the following:…
daguy666
  • 55
  • 7
0
votes
0 answers

Access Google Groups API after revoking permission to user

I've noticed a strange behaviour with Google Groups API (Admin SDK v1), while trying to create/retrieve a group: Initially, I use an user X to create/retrieve Google Groups with Admin SDK; user X does have permissions to operate on groups and all…
user1781028
  • 1,478
  • 4
  • 22
  • 45
0
votes
1 answer

User rate limits and service accounts for Google APIs

Are the user rate limits applied when using service accounts with delegated users requests to Google APIs?
Carlo Pires
  • 4,606
  • 7
  • 32
  • 32
0
votes
2 answers

Phantom Entry created in Google Shared Contacts

While developing and testing against the Google Contacts v3 API (scope https://www.google.com/m8/feeds/) i created an entry in our company's shared contacts list (i.e. the Directory folder) which doesn't have an id nor is it clickable ("Contact…
0
votes
1 answer

Is it possible to set a user's group email notification settings via API using google admin sdk?

I know there is already a question asked before like this. but they doesn't have solution. I've found the API to add a member to a group (https://developers.google.com/apis-explorer/#p/admin/directory_v1/directory.members.insert), but not to set…
0
votes
0 answers

Google Admin API - User Phone Number

I am trying to fetch phone number of the domain users using Admin api,but in response always users phone number is empty. Do I have to set any specific scope for it ? Any help will be much appreciated.
0
votes
2 answers

google-admin-sdk - Gmail Usage - Specific Definition Not Mentioned in API Guide

Using the Reports API, I have made a simple command line app to return users with unused Gmail accounts. I am using the attribute accounts:last_login_time. I am writing to ask if this parameter includes the user's usage of the Gmail app for…
0
votes
1 answer

Email Audit API usage

I am using Email Audit API in a daily basis (setting/deleting monitors). According to the Usage Limits and Quotas, the limit for monitor creation and deletion is 1000 per day. However, its API usage is not showing anywhere. In Google API console,…
Pei Deng
  • 13
  • 3
0
votes
1 answer

Resource id in admin directory api

Hello can some one please tell me what is resource id in below image? enter image description here