send: b'GET /discovery/v1/apis/admin/directory_v1/rest HTTP/1.1\r\nHost:
www.googleapis.com\r\nuser-agent: Python-httplib2/0.13.0 (gzip)\r\naccept-encoding: gzip, deflate\r\nif-none-match: "9eZ1uxVRThTDhLJCZHhqs3eQWz4/5HuD5_WBYDvRWcfO5I5hjCFh4pY"\r\n\r\n'
reply: 'HTTP/1.1 304 Not Modified\r\n'
header: Date: Sat, 24 Aug 2019 13:28:56 GMT
header: Expires: Sat, 24 Aug 2019 13:33:56 GMT
header: Age: 34
header: ETag: "9eZ1uxVRThTDhLJCZHhqs3eQWz4/5HuD5_WBYDvRWcfO5I5hjCFh4pY"
header: Alt-Svc: quic=":443"; ma=2592000; v="46,43,39"
send: b'grant_type=refresh_token&client_id=xxx&client_secret=xxx&refresh_token=1%2FhYTioaC4y9mUEAMWcRNpeB6A_gcTfWmTb8YZ3gYJnw9vuRp_NsVW5JRxUQLi6Dal'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json; charset=utf-8
header: Vary: Origin
header: Vary: X-Origin
header: Vary: Referer
header: Content-Encoding: gzip
header: Date: Sat, 24 Aug 2019 13:29:31 GMT
header: Server: scaffolding on HTTPServer2
header: Cache-Control: private
header: X-XSS-Protection: 0
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: Alt-Svc: quic=":443"; ma=2592000; v="46,43,39"
header: Transfer-Encoding: chunked
send: b'GET /discovery/v1/apis/groupssettings/v1/rest HTTP/1.1\r\nHost:
www.googleapis.com\r\nuser-agent: Python-httplib2/0.13.0 (gzip)\r\naccept-encoding: gzip, deflate\r\nif-none-match: "9eZ1uxVRThTDhLJCZHhqs3eQWz4/V2V-RMnoYCfSSC985XKqZdYWInI"\r\n\r\n'
reply: 'HTTP/1.1 304 Not Modified\r\n'
header: Date: Sat, 24 Aug 2019 13:25:59 GMT
header: Expires: Sat, 24 Aug 2019 13:30:59 GMT
header: Age: 212
header: ETag: "9eZ1uxVRThTDhLJCZHhqs3eQWz4/V2V-RMnoYCfSSC985XKqZdYWInI"
header: Alt-Svc: quic=":443"; ma=2592000; v="46,43,39"
send: b'POST /admin/directory/v1/groups?fields=&prettyPrint=true&alt=json HTTP/1.1\r\nHost:
www.googleapis.com\r\naccept: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: GAMADV-XTD3 4.90.09 -
https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs <
ross.s...@gmail.com> / Python 3.7.4 final / Windows-10-10.0.18362 AMD64 / google-api-python-client/1.7.8 (gzip)\r\ncontent-type: application/json\r\ncontent-length: 37\r\nauthorization: Bearer xxxx\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Cache-Control: no-cache, no-store, max-age=0, must-revalidate
header: Pragma: no-cache
header: Expires: Mon, 01 Jan 1990 00:00:00 GMT
header: Date: Sat, 24 Aug 2019 13:29:32 GMT
header: ETag: "SXFHf-A4wQx02aM-7Cegj6o2Lk8/f4buUjaX4mIBu2AqR7brdSehFbA"
header: Vary: Origin
header: Vary: X-Origin
header: Content-Type: application/json; charset=UTF-8
header: Content-Encoding: gzip
header: X-Content-Type-Options: nosniff
header: X-Frame-Options: SAMEORIGIN
header: X-XSS-Protection: 1; mode=block
header: Server: GSE
header: Alt-Svc: quic=":443"; ma=2592000; v="46,43,39"
header: Transfer-Encoding: chunked
send: b'PUT /groups/v1/groups/testgroupps%
40rdschool.org?fields=&prettyPrint=true&alt=json HTTP/1.1\r\nHost:
www.googleapis.com\r\naccept: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: GAMADV-XTD3 4.90.09 -
https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs <
ross.s...@gmail.com> / Python 3.7.4 final / Windows-10-10.0.18362 AMD64 / google-api-python-client/1.7.8 (gzip)\r\ncontent-type: application/json\r\ncontent-length: 2133\r\nauthorization: Bearer xxxx\r\n\r\n'
******* Note that description is set in the API call
send: b'{"name": "Test Group PS Name", "description": "Test Group PS Description", "allowExternalMembers": "true", "allowWebPosting": "false", "archiveOnly": "false", "customFooterText": "\' custom message \'", "customRolesEnabledForSettingsToBeMerged": "false", "defaultMessageDenyNotificationText": "Not Allowed", "enableCollaborativeInbox": "false", "includeCustomFooter": "true", "includeInGlobalAddressList": "true", "isArchived": "true", "membersCanPostAsTheGroup": "false", "messageModerationLevel": "MODERATE_NONE", "primaryLanguage": "en", "replyTo": "REPLY_TO_LIST", "sendMessageDenyNotification": "false", "spamModerationLevel": "MODERATE", "whoCanContactOwner": "ALL_MANAGERS_CAN_CONTACT", "whoCanJoin": "CAN_REQUEST_TO_JOIN", "whoCanLeaveGroup": "NONE_CAN_LEAVE", "whoCanPostMessage": "ALL_MANAGERS_CAN_POST", "whoCanViewGroup": "ALL_IN_DOMAIN_CAN_VIEW", "whoCanViewMembership": "ALL_MANAGERS_CAN_VIEW", "whoCanDiscoverGroup": "ALL_IN_DOMAIN_CAN_DISCOVER", "showInGroupDirectory": "true", "whoCanAssistContent": "OWNERS_AND_MANAGERS", "whoCanAssignTopics": "OWNERS_AND_MANAGERS", "whoCanEnterFreeFormTags": "OWNERS_AND_MANAGERS", "whoCanHideAbuse": "OWNERS_AND_MANAGERS", "whoCanMakeTopicsSticky": "OWNERS_AND_MANAGERS", "whoCanMarkDuplicate": "OWNERS_AND_MANAGERS", "whoCanMarkFavoriteReplyOnAnyTopic": "OWNERS_AND_MANAGERS", "whoCanMarkNoResponseNeeded": "OWNERS_AND_MANAGERS", "whoCanModifyTagsAndCategories": "OWNERS_AND_MANAGERS", "whoCanTakeTopics": "OWNERS_AND_MANAGERS", "whoCanUnassignTopic": "OWNERS_AND_MANAGERS", "whoCanUnmarkFavoriteReplyOnAnyTopic": "OWNERS_AND_MANAGERS", "whoCanModerateContent": "OWNERS_ONLY", "whoCanApproveMessages": "OWNERS_ONLY", "whoCanDeleteAnyPost": "OWNERS_ONLY", "whoCanDeleteTopics": "OWNERS_ONLY", "whoCanLockTopics": "OWNERS_ONLY", "whoCanMoveTopicsIn": "OWNERS_ONLY", "whoCanMoveTopicsOut": "OWNERS_ONLY", "whoCanPostAnnouncements": "OWNERS_ONLY", "whoCanModerateMembers": "OWNERS_ONLY", "whoCanAdd": "ALL_OWNERS_CAN_ADD", "whoCanApproveMembers": "ALL_OWNERS_CAN_APPROVE", "whoCanBanUsers": "OWNERS_ONLY", "whoCanInvite": "ALL_OWNERS_CAN_INVITE", "whoCanModifyMembers": "OWNERS_ONLY"}'
reply: 'HTTP/1.1 200 OK\r\n'
header: Cache-Control: no-cache, no-store, max-age=0, must-revalidate
header: Pragma: no-cache
header: Expires: Mon, 01 Jan 1990 00:00:00 GMT
header: Date: Sat, 24 Aug 2019 13:29:33 GMT
header: ETag: "35JxiCoy0C84zB9Pj9KVHRlY6LI/p8IuDNtceg8EEEqpTl-hcvrwbFg"
header: Vary: Origin
header: Vary: X-Origin
header: Content-Type: application/json; charset=UTF-8
header: Content-Encoding: gzip
header: X-Content-Type-Options: nosniff
header: X-Frame-Options: SAMEORIGIN
header: X-XSS-Protection: 1; mode=block
header: Server: GSE
header: Alt-Svc: quic=":443"; ma=2592000; v="46,43,39"
header: Transfer-Encoding: chunked
PS C:\GamTest> gam info group testgroupps
Group Settings:
id: 017dp8vu0hy8o94
name: Test Group PS Name
******* The description is set
description: Test Group PS Description
directMembersCount: 0
adminCreated: True