diff --git a/docs/Groups-Membership.md b/docs/Groups-Membership.md index 9c19e135..ad75f0fc 100644 --- a/docs/Groups-Membership.md +++ b/docs/Groups-Membership.md @@ -136,6 +136,11 @@ gam update group|groups create|add [] [preview] [actioncsv] | ``` +To add a group as a memmber of another group, just specify its email address. +``` +gam update group group1@domain.com add member group2@domain.com +``` + When `` specifies a group or groups: * `usersonly` - Only the user members from the specified groups are added * `groupsonly` - Only the group members from the specified groups are added @@ -187,6 +192,11 @@ gam update group|groups delete|remove [] ``` `` is ignored, deletions take place regardless of role. +To remove a group as a memmber of another group, just specify its email address. +``` +gam update group group1@domain.com remove group2@domain.com +``` + When `` specifies a group or groups: * `usersonly` - Only the user members from the specified groups are deleted * `groupsonly` - Only the group members from the specified groups are deleted diff --git a/docs/Resources.md b/docs/Resources.md index b40dc0ff..26d39417 100644 --- a/docs/Resources.md +++ b/docs/Resources.md @@ -452,7 +452,7 @@ gam show resources [formatjson] ``` Optional data may be displayed for the resource: -* `acls` - Display the resource calendar ACLs +* `acls` - Display the resource calendar ACLs. This adds Scope and Role values. * `calendar` - Display the resource calendar settings Option `noselfowner` suppresses the display of ACLs that reference the calendar itself as its owner. @@ -467,7 +467,7 @@ gam print resources [todrive *] [formatjson [quotechar ]] ``` Optional data may be displayed for the resource: -* `acls` - Display the resource calendar ACLs +* `acls` - Display the resource calendar ACLs. This adds columns: id, role, scope.type, scope.value * `calendar` - Display the resource calendar settings Option `noselfowner` suppresses the display of ACLs that reference the calendar itself as its owner. diff --git a/docs/Users-Chat.md b/docs/Users-Chat.md index 3d90e3db..1f7a53a5 100644 --- a/docs/Users-Chat.md +++ b/docs/Users-Chat.md @@ -78,6 +78,8 @@ Getting all Chat Spaces that match query (customer = "customers/my_customer" AND Chat Admin: admin@domain.com(asadmin), Show Failed: Method not found. ``` +To enroll in the Developer Preview program, see: https://developers.google.com/workspace/preview + Google requires that you have a Chat Bot configured in order to use the Chat API; set up a Chat Bot as described in the next section. ## Set up a Chat Bot diff --git a/docs/Users-Drive-Files-Manage.md b/docs/Users-Drive-Files-Manage.md index 5027a7fd..7868a478 100644 --- a/docs/Users-Drive-Files-Manage.md +++ b/docs/Users-Drive-Files-Manage.md @@ -544,6 +544,7 @@ gam get drivefile [revision )|(gsheet|csvsheet )] [exportsheetaspdf ] [targetfolder ] [targetname |-] [donotfollowshortcuts []] [overwrite []] [showprogress []] + [acknowledgeabuse []] ``` By default, Google Docs/Sheets/Slides are converted to Open Office format when downloaded. If you want a different format for these files or are downloading a different type of file, you must specify the format. @@ -613,6 +614,16 @@ When getting a drivefile, you can show download progress information with the `s * `showprogress true` - Show download progress information * `showprogress false` - Do not show download progress information +You may get the following error from Google when trying to download a file: +``` +Download Failed: This file has been identified as malware or spam and cannot be downloaded. +``` +Use the `acknowledgeabuse` option to control downloading the file. +* `acknowledgeabuse` - Download the file +* `acknowledgeabuse true` - Download the file +* `acknowledgeabuse false` - Do not download the file; this is the default + +Whether the user is acknowledging the risk of downloading known malware or other abusive files. ### Example: Download a CSV file and execute a Gam command on its contents Suppose you have a Google Sheets file UserSheet with multiple sheets, one of which is named NewUsers; it has a column labelled primaryEmail.