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
2 answers

Google SAML APP SSO authentication in php application

I have php application build in Laravel and hosted it in a server. I have also created a (G-suit) google admin account(https://admin.google.com) with my domainname(http://www.example.com) as a admin i have created few users (abc@myhost.com,…
Selvesan Malakar
  • 511
  • 2
  • 7
  • 20
0
votes
1 answer

Google Directory API - Getting error Insufficient Permission (403) While updating user's password

I am trying to change the password for a user using Google Admin SDK and consuming Google Directory API. Here is my code:
0
votes
1 answer

Modify "View Member Email Addresses" Setting

Is there a way to modify the "View Member Email Addresses" settings via the google admin API? From some cursory investigation this doesn't seem to be the case but I'd be happy to be proven wrong. Note that this setting is different than the existing…
SElaschuk
  • 45
  • 1
  • 1
  • 5
0
votes
0 answers

Google Admin SDK - Users: Patch - Issue using Strings

i have an issue using the Users: Patch - API. I try to patch the name of the primary organization of a user using the following Request Body: { "organizations":[ { "name":"Org. Name", "primary":true, "type":work } ] } The…
0
votes
1 answer

Admin SDK Email setting API to delegate Email

I am looking for email delegation using google admin sdk. I am using admin sdk because still its not available in Gmail API. I checked google doc https://developers.google.com/admin-sdk/email-settings/#delegation_examples But it gives only feed…
compyutech
  • 578
  • 3
  • 8
  • 26
0
votes
1 answer

Created Google G-Suite shared contact missing name and title

I have written a script to create a shared contact in my G-Suite domain. I have done the OAuth work, and am able to create a contact. However, when I have created the contact, it does not have all the data I submitted. For example, it does not…
Dave H
  • 23
  • 2
0
votes
1 answer

Google Reports API activities.list gives ipAddress: 0.1.0.40

While retrieving audit events from activities.list() in Google Apps Admin SDK, some activities have their ipAddress field as 0.1.0.40 and 0.1.0.0. In what cases could this be the source IP address, since they seem to be private or restricted IP…
Jesna James
  • 75
  • 1
  • 8
0
votes
2 answers

Implementing Google Directory API users watch with Python

I'm having some trouble understanding and implementing the Google Directory API's users watch function and push notification system (https://developers.google.com/admin-sdk/reports/v1/guides/push#creating-notification-channels) in my Python GAE app.…
rok
  • 557
  • 4
  • 20
0
votes
1 answer

Google admin SDK custom scheme issue

I need help on custom scheme on Google. I successfully get the user list from delegation. Below is my code. $client = new \Google_Client(); $client->setApplicationName('xx'); $scopes =…
Jerry
  • 3
  • 2
0
votes
1 answer

In group settings API, what is "customFooterText" supposed to do?

I'm trying to figure out what the property "customFooterText" in https://www.googleapis.com/groups/v1/groups/groupUniqueId does. The docs say Set the content of custom footer text. [..] so I played around with it (in combination with a true…
Daniel
  • 3
  • 1
0
votes
1 answer

Need to return "gmail_used_quota_in_mb" from user usage report with C# and Reports API

I am using the .NET client library on C# to build a small application for a specific purpose. I need to return the value of 'gmail_used_quota_in_mb' and 'total_quota_in_mb', and 'used_quota_in_mb' Based on this page…
0
votes
1 answer

Explore tab that tracks "topics" in google docs

In google docs I noticed there is function in the new Explore tab that tracks "topics". I was wondering how this works and what function it uses to find out the topics specifically about what I'm currently writing about in the google doc?
0
votes
1 answer

Retrieve and display image from Base64 from Google Admin SDK

I'm using the Google Admin SDK in NodeJS to get a list of users. I can't seem to use the thumbnail there in a public fashion, so I'm taking their use ID and calling users.photos.get (NodeJS SDK) and in return I get web-safe Base64 photo data and…
Ivan
  • 1,093
  • 1
  • 10
  • 15
0
votes
2 answers

Request email audit export fails with status 400 and "Premature end of file."

according to https://developers.google.com/admin-sdk/email-audit/#creating_a_mailbox_for_export I am trying to request the email audit export of an user in G Suite this way: def requestAuditExport(account): credentials = getCredentials() …
0
votes
1 answer

How can I retrieve phone numbers from Google Directory API?

I'm using Directory API with PHP to retrieve all users. A response for a user who has a phone number added looks like this: Google_Service_Directory_User Object ( [collection_key:protected] => nonEditableAliases [addresses] => [agreedToTerms] =>…