2,029 questions
0
votes
1
answer
54
views
How do I call domainAliases.list with the discovery API?
Looking at the docs this is the only perm I should need to grant my service account: https://www.googleapis.com/auth/admin.directory.domain.readonly
The service account I'm using has domain ...
0
votes
1
answer
73
views
How do I use the Terraform format function to truncate from the start of the string instead of the end?
If a string is longer than 14 characters I want to truncate it from the start of the string.
Per this popular solution I can use format() but I can't figure out how to truncate from the beginning ...
0
votes
2
answers
36
views
Add-on not using the full height
I have a very simple homepage with my Workspace add-on which is a Card with some text. I can't get the card to expand to the full height of the screen. It only leaves about ~340px of space. Other (...
0
votes
0
answers
24
views
How can I correctly set the nestingLevel (0, 1, 2) for items created by createParagraphBullets in Google Docs using the Google Docs API?
I am trying to programmatically create a hierarchical bulleted list in a Google Doc. The goal is to have items at different nesting levels (e.g., Level 0 ●, Level 1 ○, Level 2 ■). My process involves:
...
0
votes
0
answers
56
views
Google Script Cannot Fetch Users With Licenses (Via SKU ID)
I have recently gotten into Google Scripting to manage a School's IT space. I am currently working on a script that should check any students who have left and remove their paid licenses. However, I ...
0
votes
0
answers
65
views
Activities.Watch() gives me the 'sync' event only
I want to get notifications when an admin adds a user in a group in Google Workspace. And I call the Watch method to do it:
var channel = new Google.Apis.Admin.Reports.reports_v1.Data.Channel
{
...
0
votes
0
answers
60
views
Gmail API 403 "Delegation denied" error using Service Account DWD (Apps Script) despite Super Admin role
I am running a Google Apps Script to programmatically update Gmail signatures for users across my Google Workspace domain using a Service Account with Domain-Wide Delegation (DWD).
Despite confirming ...
0
votes
1
answer
67
views
Guide User to Log Into Workpace Account with Published Apps Script Web App for Only My Domain
I have a published Web App in Apps Script set to "anyone in my domain can view" that I need to "execute as me". If an end user is only signed into Google accounts that aren't in my ...
0
votes
0
answers
52
views
Drive API Impersonation Ignored Despite Correct Admin/GCP Configuration
I am a Google Workspace Admin attempting to set up a scheduled Apps Script using a Service Account (SA) and Domain-Wide Delegation (DWD). The goal is to iterate through all user Drives, find "...
0
votes
0
answers
29
views
Completed tasks are missing in Google App Scripts when showHidden is false
I'm using the Task API in Google App Scripts.
When getting a list of tasks, if I don't explicitly specify showHidden: true in the request, the completed tasks are missing.
Shouldn't showCompleted: ...
0
votes
0
answers
63
views
What function should I use to search a 2d Array for a value and return all values from left most column
I Have a sheet that is bringing across all the article ID's listed there (and associated names) in line with the said name of that sheet.
Also above this information I am looking to make a simple ...
0
votes
0
answers
65
views
Why doesn’t the Google Cloud Identity Policy API reflect changes to password settings like max length?
I'm working with the **Google Cloud Identity Policy API **to programmatically retrieve the configured security policies of my organization. Specifically, I updated the maximum password length from the ...
0
votes
2
answers
115
views
Making a Google Workspace add-on interface in HTML [closed]
I am planning to build a Google Workspace add-on. However, I am not fond of their CardService that isn't very flexible. I would like to make a more visually appealing interface of my own, using HTML, ...
1
vote
1
answer
96
views
How do I convert a newly generated Google Apps Script url into a hyperlink that is also displayed within the Google Apps Script?
The following Google Apps Script runs with absolute perfection. I prefer the newly generated Google Forms url be converted into a hyperlink to avoid copying and pasting, but I am not sure how and ...
2
votes
0
answers
95
views
How to display formatted code blocks in Google Chat cardsV2 API notifications?
I am trying to add code block formatting to a card sent as a notification via Google Chat cardsV2 API. However, the code block formatting is completely ignored and fails to render properly.
I have ...