Questions tagged [google-groups-api]

145 questions
1
vote
0 answers

Searching Google Groups using Directory API

I am trying to retrieve Google groups using the directory API with partial matches and wildcards. The API allows me to retrieve a group if I know an alias using GET https://www.googleapis.com/admin/directory/v1/groups/groupKey I can retrieve all…
Matt King
  • 136
  • 2
  • 6
1
vote
1 answer

How to set Google Groups moderation and posting permissions

I have got the below script working for me.... (Script auto creates a google group with data from a spreadsheet that is auto populated with data from a form...) function onFormSubmit() { var sheet =…
1
vote
1 answer

How to access google groups api using RESTful client?

I need to add member to my existing group from a web app using HTTP request, i am not able to understand how to get auth token so that i can access the endpoint. Below is the endpoint which i want to access. Google group member insert
1
vote
1 answer

Add member to google groups using Google Apps Script

I am looking for a method to add an user to my own google-group (at least to send him an invitation) from google apps script. The snippet is: var options = { "method" : "POST", "payload" : {"email": email,"role": "MEMBER"}, …
Manuel
  • 55
  • 1
  • 8
1
vote
1 answer

How to fetch user created Group information using Google apps script

How we can find user created groups following attributes using Google apps Script. 1. Group Creation Time(Group created by user) 2. Posting permission Change by user (Name or ID).
1
vote
1 answer

Getting "Insufficient Permission [403]" while trying to add a member to a Google group (directory services API, .Net)

Keep getting Insufficient Permission [403] when trying to add a member to a group using the Google Directory Services API in .Net. *We have a Google domain set up. *User xxxxx is an admin on the domain. *I've logged in as user xxxxx into the Admin…
1
vote
1 answer

Google Group Setting API, shows error on updating group setting

I am working on client interface which pushes and pulls information from Google Group Setting API and google group api. This client interface is written in asp.net (vb.net). I have successfully created group, added members, removed members and…
Anjum
  • 681
  • 3
  • 14
  • 38
1
vote
1 answer

Google Groups PHP API Get existing Group

Using Groups PHP API and trying to get existing group settings and members. Thanks to help from divideandconquer.se, I have modified my code: function get_google_group($groupId) { $group = false; try { echo '
Getting Google…
Bob Jones
  • 2,049
  • 5
  • 32
  • 60
1
vote
1 answer

Correct syntax for Google API PATCH request using UrlFetchApp for HTTPS Request

I'm trying to use UrlFetchApp.fetch(url) method in Apps Script to PATCH a groups resource using the Google Groups Settings API. The code below allows me to GET the groups properties, but I'm unable to figure out the syntax for a PATCH…
1
vote
3 answers

How do I programmatically find the members of a Google Group?

I have a webapp, and I want to tell if the currently-logged-in user is a member, manager, or owner of a specific Google Group (the same information that you could find by clicking on "members" from a group page). Ideally, it would also be nice to…
Sam King
  • 2,068
  • 18
  • 29
1
vote
0 answers

Undocumented field - CUSTOMER added to Googler Groups Member Resource 'type'

Is this a recent change or has it always been there? We noticed today that when a domain has the 'everyone in the company' option selected, the membership resource comes back with a type of 'CUSTOMER' instead of 'USER' or…
1
vote
2 answers

Creating google groups programmatically

I need to create a google group using my google app engine application. Please guide me where should i look for info regarding this. Where should i start my learning.
1
vote
1 answer

List suspended group members

Following on from my previous question, I am trying to retrieve a list of members for a given group using the new Google Admin Directory API and the current client library, Google.Apis.Admin.directory_v1. I have the following code (possibly not the…
1
vote
1 answer

Trying to update Google Groups with PATCH via Javascript

I am trying to update a Google Group using PATCH and cannot get it to work. I am not sure if it is a syntax issue or it cannot be done via Javascript. I can successfully perform a "get" operation using OAUTH, but not the PATCH. Should I be using…
1
vote
2 answers

New settings in the Group Settings API...were these announced?

I noticed some new settings in the Google Group Settings API...were these announced? Where should we look for such announcements?