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

question on accessing or getting specific google app script query parameter

I was wondering if I can access a specific query parameter from a method from activities.list API specifically this piece of code activity.events[0].parameters I've already tried accessing through array like…
0
votes
1 answer

Can One Gmail Account Has Access to Two Apps with different Custom Claims in Firebase Admin SDK

I want to ask about Firebase Admin SDK in case for using Custom Claim between two related apps: Server App and Client App. Each of them has different features. They are all placed inside the same Firebase project, but using different collection.…
0
votes
1 answer

How can I get the userid of google account for data transfer api?

I want to transfer data from one google account to another before deleting the google account . I came across data transfer api in admin sdk . I need to send olduserid and newuserid in request body . I dont know where to find it . can someone help…
0
votes
1 answer

Script to transfer user data to (for example, a md@org.com) after deleting a user account from G Suite Admin SDK

I'm trying to develop a google script to transfer user data to (for example, a md@org.com), after deleting a user account from G Suite Admin SDK. I've tried and am unable to find it anywhere the script to transfer user data after google mail…
0
votes
1 answer

How to remove the browser dependency for getting response in google oauth2.0

I am creating a server side web application on google console and I have taken reference from this website https://developers.google.com/identity/protocols/oauth2/web-server Here the flow is at first it will ask for login account and password on…
0
votes
0 answers

Enterprise License Manager API Backend Error

I am try to call Google Enterprise License Manager API, but server always response "Backend Error". I don't know that this problem is my code error or Google's server error. Can anyone help me find out a solution. My call: curl…
劉明輝
  • 1
  • 1
0
votes
0 answers

How can I add an IP range to the SMTP relay service?

We continually add and remove IP's of servers that use the SMTP relay service and we do it manually, in the admin console. We've looked at the documentation, and we don't see any reference to setting these rules in the API. Is this possible to…
0
votes
1 answer

Is there a way to programmtically check via an API on that status of Google Workspace Apps?

Google has a Google Workspace Status Dashboard where they indicate whether any of their core services are experiencing an outage or not. Accordingly, I would like to be able to fetch the status for a particular service. For example, I would like to…
geekygeek
  • 611
  • 4
  • 15
0
votes
1 answer

Automate user creation using google app script in Google Admin SDK

I want to automate user creation in google as an Admin where I use app script to do it, however from the documentation I'm reading I'm not quite sure if I'm doing it right since I'm getting some errors in my code, like after POST and the Script not…
jpf911
  • 117
  • 2
  • 9
0
votes
1 answer

Every error in the book from google-api-ruby-client but no data

I have been attempting to work on a request from my boss this week that requires using the google admin directory api. At this point I am questioning if what I am trying to do is even possible. Can I retrieve data from the scope…
0
votes
0 answers

Is there a programmatic way to access and retrieve data from the Google Admin Dashboard Settings?

Is there any way to get the settings data from Google Admin Dashboard. I have a list of policies that need to be satisfied with this. I've already gone through Google's documentation for Workspace Admin SDK and none of the settings are exposed.…
0
votes
0 answers

google sheet oauth error I cant figure out

I'm new to google apps scripts and I'm running into an error I cant figure out how to correct. The script below runs correctly scrips apps editor, but when I call the function from my spreadsheet I get an error that line 6 (the call to…
Hal Clark
  • 3
  • 1
0
votes
1 answer

Modifying the Employee Information field in Suite Admin SDK Python

Is there a way to modify these fields through the Admin SDK without manually doing it through the admin console? Specifically under the employee information, the job title, type of employee, manager's email and department. I've looked at…
SpaceTurtle0
  • 163
  • 3
  • 18
0
votes
0 answers

Consult chat reports using admin sdk google workspace

I'm new to integrations with the API SDK GOOGLE, and I need to consume the Workspace activity reports regarding the use of google Chat, I configured the following code, but I believe it is wrong, I didn't find a documentation that helps me to…
0
votes
1 answer

Find all Google Groups with members with emails from a specific domain

My org uses Google Groups for Drive and site access for external parties. I need to make sure that all members from a specific domain are removed from all the groups they may be in. I've tried finding an appropriate report or audit in Workspace…