From 2a32f6d2e4cf569d1ba96d9f173d43b017b97c9e Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Sat, 31 May 2025 21:13:22 -0700 Subject: [PATCH] teamdrive -> shareddrive --- wiki/Shared-Drives.md | 105 +++++++++++++++++++----------------- wiki/Users-Shared-Drives.md | 38 ++++++------- 2 files changed, 74 insertions(+), 69 deletions(-) diff --git a/wiki/Shared-Drives.md b/wiki/Shared-Drives.md index 278d5088..83e201c5 100644 --- a/wiki/Shared-Drives.md +++ b/wiki/Shared-Drives.md @@ -232,14 +232,14 @@ Three forms of the commands are available: ## Display Shared Drive themes ``` -gam show teamdrivethemes +gam show shareddrivethemes ``` ## Manage Shared Drives ## Create a Shared Drive The user that creates a Shared Drive is given the permission role organizer for the Shared Drive, ``` -gam [] create teamdrive +gam [] create shareddrive [(theme|themeid )| ([customtheme ] [color ])] ( )* @@ -248,7 +248,7 @@ gam [] create teamdrive [(csv [todrive *] (addcsvdata )*) | returnidonly] [adminaccess|asadmin] ``` -* `themeid` - a Shared Drive themeId obtained from `show teamdrivethemes` +* `themeid` - a Shared Drive themeId obtained from `show shareddrivethemes` * `customtheme` - set the backgroundImageFile property described here: https://developers.google.com/drive/v3/reference/teamdrives * `` - X coordinate, typically 0.0 * `` - Y coordinate, typically 0.0 @@ -281,9 +281,9 @@ When either of these options is chosen, no infomation about Shared Drive restric To retrieve the Shared Drive ID with `returnidonly`: ``` Linux/MacOS -teamDriveId=$(gam create teamdrive ... returnidonly) +teamDriveId=$(gam create shareddrive ... returnidonly) Windows PowerShell -$teamDriveId = & gam create teamdrive ... returnidonly +$teamDriveId = & gam create shareddrive ... returnidonly ``` ## Bulk Create Shared Drives @@ -293,7 +293,7 @@ As a newly created Drive can't be updated for 30+ seconds; split the operation i Make a CSV file SharedDriveNames.csv with at least one column, name. ``` -gam redirect csv ./SharedDrivesCreated.csv multiprocess csv SharedDriveNames.csv gam create teamdrive "~name" csv +gam redirect csv ./SharedDrivesCreated.csv multiprocess csv SharedDriveNames.csv gam create shareddrive "~name" csv ``` This will create a three column CSV file SharedDrivesCreated.csv with columns: User,name,id * There will be a row for each Shared Drive. @@ -324,14 +324,14 @@ gam redirect stdout ./StudentSharedDrivesAccess.txt multiprocess redirect stderr These commands are used to set basic Shared Drive settings. ``` -gam [] update teamdrive [name ] +gam [] update shareddrive [name ] [adminaccess|asadmin] [(theme|themeid )| ([customtheme ] [color ])] ( )* [hide|hidden ] [ou|org|orgunit ] ``` -* `themeid` - a Shared Drive themeId obtained from `show teamdrivethemes` +* `themeid` - a Shared Drive themeId obtained from `show shareddrivethemes` * `customtheme` - set the backgroundImageFile property described here: https://developers.google.com/drive/v3/reference/teamdrives * `color` - set the Shared Drive color * ` ` - Set Shared Drive Restrictions @@ -343,7 +343,7 @@ This option is only available when the command is run as an administrator. ## Delete a Shared Drive ``` -gam [] delete teamdrive +gam [] delete shareddrive [adminaccess|asadmin] [allowitemdeletion] ``` By default, deleting a Shared Drive that contains any files/folders will fail. @@ -352,24 +352,24 @@ This is not reversible, proceed with caution. ## Change Shared Drive visibility ``` -gam [] hide teamdrive -gam [] unhide teamdrive +gam [] hide shareddrive +gam [] unhide shareddrive ``` ## Display Shared Drives These commands are used to get information about Shared Drives themselves, not the files/folders on the Shared Drives. ``` -gam [] info teamdrive +gam [] info shareddrive [adminaccess|asadmin] [fields ] [formatjson] -gam [] show teamdriveinfo +gam [] show shareddriveinfo [adminaccess|asadmin] [fields ] [formatjson] ``` By default, Gam displays the information as an indented list of keys and values. * `formatjson` - Display the fields in JSON format. ``` -gam [] show teamdrives +gam [] show shareddrives [adminaccess|asadmin] [teamdriveadminquery|query ] [matchname ] [orgunit|org|ou ] [fields ] [formatjson] @@ -382,7 +382,7 @@ By default, all Shared Drives are displayed; use the following options to select By default, Gam displays the information as an indented list of keys and values. * `formatjson` - Display the fields in JSON format. ``` -gam [] print teamdrives [todrive *] +gam [] print shareddrives [todrive *] [adminaccess|asadmin] [teamdriveadminquery|query ] [matchname ] [orgunit|org|ou ] [fields ] [formatjson [quotechar ]] @@ -404,12 +404,12 @@ The `quotechar ` option allows you to choose an alternate quote chara ### Examples Print information about all Shared Drives in the organization. ``` -gam print teamdrives -gam user admin@domain.com print teamdrives adminaccess +gam print shareddrives +gam user admin@domain.com print shareddrives adminaccess ``` Print information about Shared Drives that have admin@domain.com as a member. ``` -gam user admin@domain.com print teamdrives +gam user admin@domain.com print shareddrives ``` ## Display Shared Drive Organizers @@ -427,6 +427,11 @@ gam [] print shareddriveorganizers [todrive *] [includefileorganizers []] [delimiter ] ``` +By default, all Shared Drives are displayed; use the following options to select a subset of Shared Drives: +* `teamdriveadminquery|query ` - Use a query to select Shared Drives +* `matchname ` - Retrieve Shared Drives with names that match a pattern. +* `orgunit|org|ou ` - Only Shared Drives in the specified Org Unit are selected + For multiple organizers: * `delimiter ` - Separate `organizers` entries with ``; the default value is `csv_output_field_delimiter` from `gam.cfg`. @@ -444,12 +449,12 @@ gam redirect csv ./TeamDriveOrganizers.csv print shareddriveorganizers domainlis ## Display all Shared Drives with no members ``` -gam print teamdrives query "memberCount = 0" +gam print shareddrives query "memberCount = 0" ``` ## Display all Shared Drives with no organizers ``` -gam print teamdrives query "organizerCount = 0" +gam print shareddrives query "organizerCount = 0" ``` ## Display Shared Drive Counts @@ -485,20 +490,20 @@ count = & gam print shareddrives showitemcountonly ## Display all Shared Drives with a specific organizer Substitute actual email address for `organizer@domain.com`. ``` -gam config csv_output_header_filter "id,name" print teamdriveacls pm emailaddress organizer@domain.com role organizer em pma process pmselect +gam config csv_output_header_filter "id,name" print shareddriveacls pm emailaddress organizer@domain.com role organizer em pma process pmselect ``` ## Display all Shared Drives without a specific organizer Substitute actual email address for `organizer@domain.com`. ``` -gam config csv_output_header_filter "id,name" print teamdriveacls pm emailaddress organizer@domain.com role organizer em pma skip pmselect +gam config csv_output_header_filter "id,name" print shareddriveacls pm emailaddress organizer@domain.com role organizer em pma skip pmselect ``` ## Display List of Shared Drives in an Organizational Unit Get the orgUnitID of the desired OU and use it (without the id:) in the print|show command. Adjust fields as desired. ``` -gam show teamdrives query "orgUnitId='03ph8a2z21rexy'" fields id,name,orgunit,createdtime -gam print teamdrives query "orgUnitId='03ph8a2z21rexy'" fields id,name,orgunit,createdtime +gam show shareddrives query "orgUnitId='03ph8a2z21rexy'" fields id,name,orgunit,createdtime +gam print shareddrives query "orgUnitId='03ph8a2z21rexy'" fields id,name,orgunit,createdtime ``` Alternative method; `` defaults to `/`. ``` @@ -586,12 +591,12 @@ These commands are used to transfer ACLs from one Shared Drive to another. * `copy` - Copy all ACLs from the source Shared Drive to the target Shared Drive. The role of an existing ACL in the target Shared Drive will never be reduced. * `sync` - Add/delete/update ACLs in the target Shared Drive to match those in the source Shared Drive. ``` -gam [] copy teamdriveacls to +gam [] copy shareddriveacls to [showpermissionsmessages []] [excludepermissionsfromdomains|includepermissionsfromdomains ] (mappermissionsdomain )* [adminaccess|asadmin] -gam [] sync teamdriveacls with +gam [] sync shareddriveacls with [showpermissionsmessages []] [excludepermissionsfromdomains|includepermissionsfromdomains ] (mappermissionsdomain )* @@ -629,7 +634,7 @@ gam [] print drivefileacls [todrive ] show teamdriveacls +gam [] show shareddriveacls [adminaccess|asadmin] [teamdriveadminquery|query ] [matchname ] [orgunit|org|ou ] [user|group [checkgroups]] (role|roles )* @@ -669,7 +674,7 @@ gam [] show teamdriveacls [shownopermissionsdrives false|true|only] [formatjson] -gam [] print teamdriveacls [todrive *] +gam [] print shareddriveacls [todrive *] [adminaccess|asadmin] [teamdriveadminquery|query ] [matchname ] [orgunit|org|ou ] [user|group [checkgroups]] (role|roles )* @@ -696,7 +701,7 @@ By default, all ACLS are displayed; use the following options to select a subset * `role|roles ` - Display ACLs for the specified roles only. * `* []` - Use permission matching to display a subset of the ACLs for each Shared Drive; this only applies when `pmselect` is not specified -With `print teamdriveacls` or `show teamdrivecls formatjson`, the ACLs selected for display are all output on one row/line as a repeating item with the matching Shared Drive id. +With `print shareddriveacls` or `show shareddrivecls formatjson`, the ACLs selected for display are all output on one row/line as a repeating item with the matching Shared Drive id. When `oneitemperrow` is specified, each ACL is output on a separate row/line with the matching Shared Drive id and name. This simplifies processing the CSV file with subsequent Gam commands. By default, when writing CSV files, Gam uses a quote character of double quote `"`. The quote character is used to enclose columns that contain @@ -708,35 +713,35 @@ The `quotechar ` option allows you to choose an alternate quote chara ### Examples Find all organizers and viewers on the shared drive Heart of Gold in CSV form. ``` - gam print teamdriveacls matchname "Heart of Gold" role organizer,reader oneitemperrow + gam print shareddriveacls matchname "Heart of Gold" role organizer,reader oneitemperrow ``` Print ACLs for all Shared Drives in the organization created after November 1, 2017. ``` -gam print teamdriveacls teamdriveadminquery "createdTime > '2017-11-01T00:00:00'" +gam print shareddriveacls shareddriveadminquery "createdTime > '2017-11-01T00:00:00'" ``` Print ACLs for all Shared Drives in the organization with foo@bar.com as an organizer. ``` -gam print teamdriveacls user foo@bar.com role organizer +gam print shareddriveacls user foo@bar.com role organizer ``` Print ACLs for all Shared Drives in the organization with foo@bar.com or groups that contain foo@bar.com as a reader. ``` -gam print teamdriveacls user foo@bar.com role reader checkgroups +gam print shareddriveacls user foo@bar.com role reader checkgroups ``` ## Display ACLs for Shared Drives with no organizers ### For all Shared Drives ``` One row per Shared Drive, all ACLs on the same row -gam redirect csv ./SharedDriveACLsNoOrganizers.csv print teamdriveacls fields id,domain,emailaddress,role,type,deleted query "organizerCount = 0" +gam redirect csv ./SharedDriveACLsNoOrganizers.csv print shareddriveacls fields id,domain,emailaddress,role,type,deleted query "organizerCount = 0" A row per Shared Drive/ACL combination -gam redirect csv ./SharedDriveACLsNoOrganizers.csv print teamdriveacls fields id,domain,emailaddress,role,type,deleted query "organizerCount = 0" oneitemperrow +gam redirect csv ./SharedDriveACLsNoOrganizers.csv print shareddriveacls fields id,domain,emailaddress,role,type,deleted query "organizerCount = 0" oneitemperrow ``` ### For selected Shared Drives -Create a CSV file TeamDrives.csv with at least two columns (id, name) for the selected Shared Drives. +Create a CSV file shareddrives.csv with at least two columns (id, name) for the selected Shared Drives. ``` One row per Shared Drive, all ACLs on the same row gam redirect csv ./SharedDriveACLsNoOrganizers.csv multiprocess csv ./SharedDrives.csv gam print drivefileacls "~id" addtitle "~name" fields id,domain,emailaddress,role,type,deleted pm role organizer em pma skip pmselect @@ -749,13 +754,13 @@ gam redirect csv ./SharedDriveACLsNoOrganizersOIPR.csv multiprocess csv ./Shared ### For all Shared Drives ``` One row per Shared Drive, all ACLs on the same row -gam redirect csv ./SharedDriveACLsAllExternalOrganizers.csv print teamdriveacls fields id,domain,emailaddress,role,type,deleted role organizer pm role organizer domainlist domain.com,... em pma skip pmselect +gam redirect csv ./SharedDriveACLsAllExternalOrganizers.csv print shareddriveacls fields id,domain,emailaddress,role,type,deleted role organizer pm role organizer domainlist domain.com,... em pma skip pmselect A row per Shared Drive/ACL combination -gam redirect csv ./SharedDriveACLsAllExternalOrganizers.csv print teamdriveacls fields id,domain,emailaddress,role,type,deleted role organizer pm role organizer domainlist domain.com,... em pma skip pmselect +gam redirect csv ./SharedDriveACLsAllExternalOrganizers.csv print shareddriveacls fields id,domain,emailaddress,role,type,deleted role organizer pm role organizer domainlist domain.com,... em pma skip pmselect ``` ### For selected Shared Drives -Create a CSV file TeamDrives.csv with at least two columns (id, name) for the selected Shared Drives. +Create a CSV file shareddrives.csv with at least two columns (id, name) for the selected Shared Drives. ``` One row per Shared Drive, all ACLs on the same row gam redirect csv ./SharedDriveACLsAllExternalOrganizers.csv multiprocess csv ./SharedDrives.csv gam print drivefileacls "~id" addtitle "~name" fields id,domain,emailaddress,role,type,deleted pm role organizer domainlist domain.com,... em pma skip pmselect @@ -769,13 +774,13 @@ gam redirect csv ./SharedDriveACLsAllExternalOrganizersOIPR.csv multiprocess csv Include a permission match `pm domainlist domain.com,... em` that lists your internal domain(s). ``` One row per Shared Drive, all ACLs on the same row -gam redirect csv ./SharedDriveACLsAllExternal.csv print teamdriveacls fields id,domain,emailaddress,role,type,deleted pm domainlist domain.com,... em pma skip pmselect +gam redirect csv ./SharedDriveACLsAllExternal.csv print shareddriveacls fields id,domain,emailaddress,role,type,deleted pm domainlist domain.com,... em pma skip pmselect A row per Shared Drive/ACL combination -gam redirect csv ./SharedDriveACLsAllExternalOIPR.csv print teamdriveacls fields id,domain,emailaddress,role,type,deleted pm domainlist domain.com,... em pma skip pmselect oneitemperrow +gam redirect csv ./SharedDriveACLsAllExternalOIPR.csv print shareddriveacls fields id,domain,emailaddress,role,type,deleted pm domainlist domain.com,... em pma skip pmselect oneitemperrow ``` ### For selected Shared Drives -Create a CSV file TeamDrives.csv with at least two columns (id, name) for the selected Shared Drives. +Create a CSV file shareddrives.csv with at least two columns (id, name) for the selected Shared Drives. Include a permission match `pm domainlist domain.com,... em` that lists your internal domain(s). ``` @@ -798,16 +803,16 @@ to get the Shared Drive ACLs for the scammed Shared Drives. ``` One row per Shared Drive, all ACLs on the same row -gam redirect csv ./SharedDriveACLsAllExternal.csv print teamdriveacls fields id,domain,emailaddress,role,type,deleted pm domainlist domain.com,... em pma skip pmselect +gam redirect csv ./SharedDriveACLsAllExternal.csv print shareddriveacls fields id,domain,emailaddress,role,type,deleted pm domainlist domain.com,... em pma skip pmselect A row per Shared Drive/ACL combination -gam redirect csv ./SharedDriveACLsAllExternalOIPR.csv print teamdriveacls fields id,domain,emailaddress,role,type,deleted pm domainlist domain.com,... em pma skip pmselect oneitemperrow +gam redirect csv ./SharedDriveACLsAllExternalOIPR.csv print shareddriveacls fields id,domain,emailaddress,role,type,deleted pm domainlist domain.com,... em pma skip pmselect oneitemperrow ``` ### Add an organizer from your domain Sustitute an appropriate value for `admin@domain.com`. ``` -gam redirect stdout ./AddOrganizer.txt multiprocess redirect stderr stdout csv ./SharedDriveACLsAllExternal.csv gam add drivefileacl teamdriveid "~id" user admin@domain.com role organizer +gam redirect stdout ./AddOrganizer.txt multiprocess redirect stderr stdout csv ./SharedDriveACLsAllExternal.csv gam add drivefileacl shareddriveid "~id" user admin@domain.com role organizer ``` ### Delete non domain ACLs @@ -816,7 +821,7 @@ you must delete all rows in `SharedDriveACLsAllExternalOIPR.csv` that have the s This will disable all non-domain users access to the Shared Drive. ``` -gam redirect stdout ./DeleteExternalACLs.txt multiprocess redirect stderr stdout csv ./SharedDriveACLsAllExternalOIPR.csv gam delete drivefileacl teamdriveid "~id" "id:~~permission.id~~" +gam redirect stdout ./DeleteExternalACLs.txt multiprocess redirect stderr stdout csv ./SharedDriveACLsAllExternalOIPR.csv gam delete drivefileacl shareddriveid "~id" "id:~~permission.id~~" ``` ### Delete the Shared Drives @@ -824,7 +829,7 @@ The `allowitemdeletion` option allows deletion of non-empty Shared Drives. This This is not reversible, proceed with caution. ``` -gam redirect stdout ./DeleteSharedDrives.txt multiprocess redirect stderr stdout csv ./SharedDriveACLsAllExternal.csv gam delete teamdrive "~id" allowitemdeletion +gam redirect stdout ./DeleteSharedDrives.txt multiprocess redirect stderr stdout csv ./SharedDriveACLsAllExternal.csv gam delete shareddrive "~id" allowitemdeletion ``` ## Delete old empty Shared Drives @@ -832,10 +837,10 @@ gam redirect stdout ./DeleteSharedDrives.txt multiprocess redirect stderr stdout # Get a list of Shared Drives organizers for Shared Drives created before one year ago; alter date<-1y as required. gam config csv_output_row_filter "createdTime:date<-1y" redirect csv ./TeamDriveOrganizers.csv print shareddriveorganizers domainlist mydomain.com includetypes user oneorganizer shownoorganizerdrives -# Inspect TeamDriveOrganizers.csv, you'll have to deal with Shared Drives with no organizer/manager +# Inspect shareddriveOrganizers.csv, you'll have to deal with Shared Drives with no organizer/manager # Get old empty Shared Drives -gam config num_threads 10 csv_input_row_filter "organizers:regex:^.+$" csv_output_row_filter "Total:count=0" redirect csv ./OldEmptySharedDrives.csv multiprocess redirect stderr - multiprocess csv ./TeamDriveOrganizers.csv gam user "~organizers" print filecounts select teamdriveid "~id" showsize +gam config num_threads 10 csv_input_row_filter "organizers:regex:^.+$" csv_output_row_filter "Total:count=0" redirect csv ./OldEmptySharedDrives.csv multiprocess redirect stderr - multiprocess csv ./TeamDriveOrganizers.csv gam user "~organizers" print filecounts select shareddriveid "~id" showsize # Inspect OldEmptySharedDrives.csv, if you're confident of the results, proceed diff --git a/wiki/Users-Shared-Drives.md b/wiki/Users-Shared-Drives.md index 8c8507b8..73849048 100644 --- a/wiki/Users-Shared-Drives.md +++ b/wiki/Users-Shared-Drives.md @@ -204,14 +204,14 @@ sharingfoldersrequiresorganizerpermission true ## Display Shared Drive themes ``` -gam show teamdrivethemes +gam show shareddrivethemes ``` ## Manage Shared Drives ## Create a Shared Drive The user that creates a Shared Drive is given the permission role organizer for the Shared Drive, ``` -gam create teamdrive +gam create shareddrive [(theme|themeid )| ([customtheme ] [color ])] ( )* @@ -219,7 +219,7 @@ gam create teamdrive [errorretries ] [updateinitialdelay ] [updateretrydelay ] [(csv [todrive *] (addcsvdata )*) | returnidonly] ``` -* `themeid` - a Shared Drive themeId obtained from `show teamdrivethemes` +* `themeid` - a Shared Drive themeId obtained from `show shareddrivethemes` * `customtheme` - set the backgroundImageFile property described here: https://developers.google.com/drive/v3/reference/teamdrives * `` - X coordinate, typically 0.0 * `` - Y coordinate, typically 0.0 @@ -252,9 +252,9 @@ When either of these options is chosen, no infomation about Shared Drive restric To retrieve the Shared Drive ID with `returnidonly`: ``` Linux/MacOS -teamDriveId=$(gam user user@domain.com create teamdrive ... returnidonly) +teamDriveId=$(gam user user@domain.com create shareddrive ... returnidonly) Windows PowerShell -$teamDriveId = & gam user user@domain.com create teamdrive ... returnidonly +$teamDriveId = & gam user user@domain.com create shareddrive ... returnidonly ``` ## Bulk Create Shared Drives @@ -264,7 +264,7 @@ As a newly created Drive can't be updated for 30+ seconds; split the operation i Make a CSV file SharedDriveNames.csv with at least two columns, User and name. ``` -gam redirect csv ./SharedDrivesCreated.csv multiprocess csv SharedDriveNames.csv gam user "~User" create teamdrive "~name" csv +gam redirect csv ./SharedDrivesCreated.csv multiprocess csv SharedDriveNames.csv gam user "~User" create shareddrive "~name" csv ``` This will create a three column CSV file SharedDriveNamesIDs.csv with columns: User,name,id * There will be a row for each Shared Drive. @@ -278,13 +278,13 @@ gam redirect stdout ./SharedDrivesUpdated.txt multiprocess redirect stderr stdou This command is used to set basic Shared Drive settings. ``` -gam update teamdrive [adminaccess|asadmin] [name ] +gam update shareddrive [adminaccess|asadmin] [name ] [(theme|themeid )| ([customtheme ] [color ])] ( )* [hide|hidden ] [ou|org|orgunit ] ``` -* `themeid` - a Shared Drive themeId obtained from `show teamdrivethemes` +* `themeid` - a Shared Drive themeId obtained from `show shareddrivethemes` * `customtheme` - set the backgroundImageFile property described here: https://developers.google.com/drive/v3/reference/teamdrives * `color` - set the Shared Drive color * ` ` - Set Shared Drive Restrictions @@ -295,7 +295,7 @@ This option is only available when the command is run as an administrator. ## Delete a Shared Drive ``` -gam delete teamdrive [allowitemdeletion] [adminaccess|asadmin] +gam delete shareddrive [allowitemdeletion] [adminaccess|asadmin] ``` By default, deleting a Shared Drive that contains any files/folders will fail. The `allowitemdeletion` option allows a Super Admin to delete a non-empty Shared Drive. @@ -303,19 +303,19 @@ This is not reversible, proceed with caution. ## Change Shared Drive visibility ``` -gam hide teamdrive -gam unhide teamdrive +gam hide shareddrive +gam unhide shareddrive ``` ## Display Shared Drives ``` -gam show teamdriveinfo -gam info teamdrive +gam show shareddriveinfo +gam info shareddrive [fields ] [guiroles [] [formatjson] -gam show teamdriveinfo +gam show shareddriveinfo [fields ] [guiroles [] [formatjson] -gam show teamdrives +gam show shareddrives [matchname ] (role|roles )* [fields ] [guiroles [] [formatjson] @@ -327,7 +327,7 @@ By default, Gam displays all Teams Drives accessible by the user. By default, Gam displays the information as an indented list of keys and values. * `formatjson` - Display the fields in JSON format. ``` -gam print teamdrives [todrive *] +gam print shareddrives [todrive *] [matchname ] (role|roles )* [fields ] [formatjson [quotechar ]] ``` @@ -492,14 +492,14 @@ The `quotechar ` option allows you to choose an alternate quote chara ## Display Shared Drive access for selected Shared Drives ``` -gam show teamdriveacls +gam show shareddriveacls adminaccess [teamdriveadminquery|query ] [matchname ] [orgunit|org|ou ] [user|group [checkgroups]] (role|roles )* * [] [pmselect] [oneitemperrow] [*|(fields )] [formatjson [quotechar ]] -gam print teamdriveacls [todrive *] +gam print shareddriveacls [todrive *] adminaccess [teamdriveadminquery|query ] [matchname ] [orgunit|org|ou ] [user|group [checkgroups]] (role|roles )* @@ -522,7 +522,7 @@ By default, all ACLS are displayed; use the following options to select a subset * `role|roles ` - Display ACLs for the specified roles only. * `* []` - Use permission matching to display a subset of the ACLs for each Shared Drive; this only applies when `pmselect` is not specified -With `print teamdriveacls` or `show teamdrivecls formatjson`, the ACLs selected for display are all output on one row/line as a repeating item with the matching Shared Drive id. +With `print shareddriveacls` or `show shareddrivecls formatjson`, the ACLs selected for display are all output on one row/line as a repeating item with the matching Shared Drive id. When `oneitemperrow` is specified, each ACL is output on a separate row/line with the matching Shared Drive id and name. This simplifies processing the CSV file with subsequent Gam commands. By default, when writing CSV files, Gam uses a quote character of double quote `"`. The quote character is used to enclose columns that contain