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

How to initialize admin sdk with firebase-functions-test?

As Document says: Initialize SDK in online mode (recommended) If you would like to write tests that interact with a test project, you need to supply the project config values that are needed for initializing the app through firebase-admin, and the…
flutroid
  • 1,166
  • 8
  • 24
0
votes
0 answers

How do I authenticate to Google Workspace though a Website for User Management?

So we have google login on the website, which is part of the CMS. CMS is hooked up to ActiveDirectory which has GoogleADSync installed. Our admins are having to make accounts in AD, and on Google, and I want to fix this because it seems beyond…
Steve McNiven-Scott
  • 1,770
  • 2
  • 15
  • 29
0
votes
0 answers

Is there a way to sync Google Admin directory users list with the people API directory contacts list?

We've been using the google people api to list internal contacts in a custom staff directory on our company's intranet. We've been using the people api so that we can retrieve profile pictures as well as standard profile fields, as the pictures are…
0
votes
2 answers

Why is this obscure property necessary for Google Admin API to confirm that someone is a member of a Google Group?

I stood up OAuth2-proxy as a reverse proxy in front of my application, following their instructions. The reverse proxy uses Google accounts for authentication, and uses an existing Google Group for authorization, per those same…
0
votes
1 answer

Google API to discover third party app access

Google Admin Console allows us to manage third-party App Access Control for OAuth apps registered and used for SSO. Is there an API to discover this list?
Chandermani
  • 42,589
  • 12
  • 85
  • 88
0
votes
0 answers

unable to fetch license using Enterprise License Manager API

I am retrieving the user license associated to a domain using https://developers.google.com/admin-sdk/licensing/reference/rest/v1/licenseAssignments/listForProductAndSku?authuser=2#http-request It was working fine till 4 Aug 2022 and suddenly stop…
0
votes
1 answer

Consultation on limits

I would like to get advice on limits. We are developing an application that collects data (mails) of employees working in client companies. The average size of a client company is 10,000 - 30,000 employees, each employee creates about 30 mails per…
0
votes
1 answer

Better approach to store FCM tokens array in a collection/doc and update it on token refresh

I am building an application where people can host events. It allows for users to follow the events and all the event followers can chat in a group. I am storing the FCM token for push notifications in a user collection in Firestore. But when I send…
0
votes
1 answer

Is there an API to get which user groups are assigned to a certain application in Google Workspace?

In Google Workspace admin console, we can configure SSO for applications, and assign user groups to the application. The group assignment can be checked using the following…
Leo Wang
  • 41
  • 6
0
votes
1 answer

Google admin SDK give atlassian token instead of jira

We are using google admin sdk token api to find user's logged in third party application using G-suite account. If we login using G-suite in Jira google create a token for atlassian application instead of jira. Any google admin api is there where we…
0
votes
1 answer

Where can we find the host name in device information?

When I sign in the Admin console of Google Workspace, I can find the device information and host name at Devices > Mobile and endpoints > Devices. I noticed several devices which installed the endpoint verification can have the information of Host…
taro
  • 34
  • 2
0
votes
1 answer

Google Admin API to Restore Permanently Deleted Files

Is there a way to restore permanently deleted files in Google Drive via the API? I know that it is possible from the admin console, butI can't seem to find anything about an API to do it.
Yitzchak Blank
  • 328
  • 3
  • 18
0
votes
1 answer

Google Workplace Archived user suspended

I'm using Directory API to fetch users. Some archived users are returning Suspended = True and others Suspended = False. How can it happen? From my understanding an archived user can't be Suspended. Moreover, when I look at my admin page both of…
rafasalo
  • 243
  • 2
  • 16
0
votes
0 answers

How do I add Google Directory API user's fullName and email address in a string?

I am working on deploying signatures for new employees after creating their accounts in the Google Admin Console. I've retrieved this sample Python script. https://github.com/jnyada/Learning-Google-Workspace-API/blob/master/signatures.py Line 25 is…
Phil Engel
  • 11
  • 2
0
votes
1 answer

In the Google Workspace Admin SDK userUsageReport API, is the specified date affected by any time zone?

We specify the "date" in the userUsageReport as shown in the reference below. https://developers.google.com/admin-sdk/reports/reference/rest/v1/userUsageReport/get It is written as follows on the reference, but I'm not sure what it means. "We…