1,574 questions
-1
votes
0
answers
17
views
Get Storage Usage for an Individual Shared Drive using Google Workspace APIs?
We can easily view the Storage used metric for individual Shared Drives within the Google Workspace Admin Console (admin.google.com/ac/drive/manageshareddrives).
However, the Drive API (v3)'s drives....
1
vote
0
answers
64
views
How to get email address of Matter owner?
I am working with the Google Vault API in C# and need to retrieve the email address of the user who created a Matter (i.e., the owner). Specifically, I want the email address to be visible when:
...
0
votes
1
answer
98
views
Data Transfer API 401 error with service account (Domain-wide Delegation), but Directory API works
I'm trying to use a service account with domain-wide delegation to transfer Google Drive data between users in my Workspace domain.
The service account works fine with Directory API, but the Data ...
0
votes
1
answer
68
views
To managed the field "description"
I have written the following script to manage my User.
In the debugger I can see the field I want to address, but how can I access this field via script or how can I edit it?
function getAllUsers() {
...
0
votes
0
answers
69
views
ChromeOsDevices List ignores "&fields=" parameter
I'm trying to filter the fields that I get back from the chromeOsDevices api when listing devices.
I think this used to work.
GET
{{baseUrl}}admin/directory/v1/customer/my_customer/devices/chromeos?...
0
votes
1
answer
46
views
Setting a Google user's Building ID: Locations property throws exception: "Required parameter: [resource.location.field[0].Value]"
I'm trying to set a new user's Building id using the .NET Google Admin SDK. I'm using the Locations property to do that.
Here's Building id in the Google Admin Console:
And in my code:
var newUser = ...
0
votes
0
answers
59
views
ChromeOS Kiosk links in Google Admin Console keep fetching old version
To verify the issue, I added a simple empty HTML page, just displaying icon and title,
to Google Admin Console "Kiosks", under menu: “Devices“ - “Chrome“ - “Apps & Extensions“.
However, ...
0
votes
2
answers
184
views
Filters Not Functioning for Admin Application Logs in Google Admin SDK
I am using the Google Admin SDK (Reports API) in a C# .NET console application to retrieve logs for the Admin application. While the API supports filters to refine the results, none of the filters ...
-5
votes
1
answer
292
views
AdminReports is not defined in Google Apps Script
I’m trying to create a script in Google Apps Script to edit/create reports and view them using the Admin SDK. I started with this documentation. However, the example script provided doesn’t work, and ...
2
votes
2
answers
245
views
Google Workspace Admin SDK Email Log Search Reports API: How to retrieve email delivery status?
I'm using the Google Workspace Admin SDK Reports API - Email Log Search in Node.js to retrieve email logs for messages sent from my domain. I'm able to get details like:
Sender email
Recipient email
...
2
votes
1
answer
396
views
How to add data to a new Custom Attribute e.g. customSchema?
I'm trying to use Google Apps Script to copy a value from a default Google field to a custom attribute that I created in the Google Admin console. As seen by the API, this is a customSchema.
I can't ...
0
votes
1
answer
194
views
Google Directory API - 403 [Not Authorized to access this resource/api] for Method: roles.list
I am using Google Directory API .NET Client to fetch a list of roles in a domain (https://developers.google.com/admin-sdk/directory/reference/rest/v1/roles/list).
I use a service account to ...
0
votes
0
answers
64
views
How to customize the name of the organization in the "Sign In With Google" initial page?
In the sign in with Google, the immediate page has a text "Choose an account to continue to something.com". That "something.com" is by default the domain of the authorization ...
0
votes
0
answers
130
views
Why is OAuth2 Token missing scopes?
I'm trying to get a list of users in a google test domain.
Using Powershell and PSGSuite. I'm trying to work through the process.
I've created a project added the Admin API enabled the following ...
1
vote
2
answers
110
views
Update addresses for Google users via apps script
I have written a small script with which I can assign a new work address to a Google user via Google Apps Script. The script also runs without errors and if a value is already stored in the field for ...
0
votes
1
answer
185
views
How to access rules in content compliance in gmail setting , google workspace admin console , "PROGRAMMATICALLY"
I need to programmatically access the content compliance rules set in the Gmail settings from the Google Workspace Admin Console.
Could you please advise if there is an available API or any other ...
1
vote
1
answer
169
views
How to find whether a group is dynamic or not from the Google Admin Sdk Api?
I have tried checking the group response(https://developers.google.com/admin-sdk/directory/reference/rest/v1/groups) from the Google Admin Sdk Directory Api but couldn’t find any property which could ...
1
vote
1
answer
76
views
Google Chrome Roles/Privileges API's are not accessible to non-super admin role user
I am trying to invoke below Google Chrome API's with non-super admin user
https://admin.googleapis.com/admin/directory/v1/customer/customer_id/roles
https://admin.googleapis.com/admin/directory/v1/...
0
votes
1
answer
88
views
Google notification api for groups
so i am using google users api, so for users whenever there is a change there is https://admin.googleapis.com/admin/directory/v1/users/watch api with which i can register my url and once registered i ...
0
votes
0
answers
49
views
Using Google Apps Script to Document File Information in a Shared Drive and Retrieve the Creator's Email
Process Overview
I'm working with a Google Sheet to document information about files in a shared Google Drive folder. The goal is to log details like file ID, title, URL, submission date and time, and ...
0
votes
2
answers
74
views
How can i automate export of all users and status (Active, Suspended, Archived) on GWS and then have the report sent to a list of users
Im trying to automate user reports on my Google workspace account showing their statuses and have the report sent via email to a list of recipients monthly.
I am trying to get all users with their ...
0
votes
1
answer
184
views
Is it safe to add the Google firebase admin sdk json file to c# WPF application this way?
I create a WPF application to connect to Google firestore database and everything works fine.I create the firebase admin sdk json file in firebase console:
enter image description here
Then in WPF ...
0
votes
1
answer
190
views
How to manage archived accounts in Google Workspace?
I am very new to the Google world and trying to get some automation done to see if the below would work in App-script. I am also not a Java guy, so I try my best. We use Okta as our SSO. Once a user ...
1
vote
2
answers
267
views
Unable to Access User Data Using Google Admin SDK Directory API with Service Account
I'm encountering an issue while attempting to access user data using the Google Admin SDK Directory API with a service account. Here's the scenario:
I have a Python script that utilizes the Google ...
0
votes
0
answers
103
views
Google Device Deletion using Google App Script
Does anyone have experience deleting the device in Google using Google App Script?
We want to delete the device which is not synced within 60 days.
The reason we need to create a script is that we don'...