Skip to content

Commit

Permalink
Added support for localfile - in `gam <UserTypeEntity> create|updat…
Browse files Browse the repository at this point in the history
…e drivefile`
  • Loading branch information
taers232c committed Apr 10, 2021
1 parent 422ed37 commit ae559bc
Show file tree
Hide file tree
Showing 3 changed files with 139 additions and 133 deletions.
8 changes: 7 additions & 1 deletion src/GamCommands.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3381,11 +3381,13 @@ gam info drivefileacl <SharedDriveEntityAdmin> <DriveFilePermissionIDorEmail>
[showtitles] [formatjson]
gam show drivefileacls <SharedDriveEntityAdmin>
<PermissionMatch>* [<PermissionMatchAction>] [pmselect]
[includepermissionsforview published]
[oneitemperrow] [showtitles] [<DrivePermissionsFieldName>*|(fields <DrivePermissionsFieldNameList>)]
(orderby <DriveFileOrderByFieldName> [ascending|descending])*
[formatjson]
gam print drivefileacls <SharedDriveEntityAdmin> [todrive <ToDriveAttribute>*]
<PermissionMatch>* [<PermissionMatchAction>] [pmselect]
[includepermissionsforview published]
[oneitemperrow] [showtitles] [<DrivePermissionsFieldName>*|(fields <DrivePermissionsFieldNameList>)]
(orderby <DriveFileOrderByFieldName> [ascending|descending])*
[formatjson [quotechar <Character>]]
Expand All @@ -3409,11 +3411,13 @@ gam <UserTypeEntity> info drivefileacl <SharedDriveEntityAdmin> <DriveFilePermis
[showtitles] [formatjson] adminaccess
gam <UserTypeEntity> show drivefileacls <SharedDriveEntityAdmin>
<PermissionMatch>* [<PermissionMatchAction>] [pmselect]
[includepermissionsforview published]
[showtitles] [<DrivePermissionsFieldName>*|(fields <DrivePermissionsFieldNameList>)]
(orderby <DriveFileOrderByFieldName> [ascending|descending])*
[formatjson] adminaccess
gam <UserTypeEntity> print drivefileacls <SharedDriveEntityAdmin> [todrive <ToDriveAttribute>*]
<PermissionMatch>* [<PermissionMatchAction>] [pmselect]
[includepermissionsforview published]
[oneitemperrow] [showtitles] [<DrivePermissionsFieldName>*|(fields <DrivePermissionsFieldNameList>)]
(orderby <DriveFileOrderByFieldName> [ascending|descending])*
[formatjson [quotechar <Character>]] adminaccess
Expand Down Expand Up @@ -4416,11 +4420,13 @@ gam <UserTypeEntity> info drivefileacl <DriveFileEntity> <DriveFilePermissionIDo
[showtitles] [formatjson]
gam <UserTypeEntity> show drivefileacls <DriveFileEntity>
<PermissionMatch>* [<PermissionMatchAction>] [pmselect]
[includepermissionsforview published]
[showtitles] [<DrivePermissionsFieldName>*|(fields <DrivePermissionsFieldNameList>)]
(orderby <DriveFileOrderByFieldName> [ascending|descending])*
[formatjson]
gam <UserTypeEntity> print drivefileacls <DriveFileEntity> [todrive <ToDriveAttribute>*]
<PermissionMatch>* [<PermissionMatchAction>] [pmselect]
[includepermissionsforview published]
[oneitemperrow] [showtitles] [<DrivePermissionsFieldName>*|(fields <DrivePermissionsFieldNameList>)]
(orderby <DriveFileOrderByFieldName> [ascending|descending])*
[formatjson [quotechar <Character>]]
Expand Down Expand Up @@ -4890,7 +4896,7 @@ gam <UserTypeEntity> delete filters <FilterIDEntity>
gam <UserTypeEntity> info filters <FilterIDEntity>
gam <UserTypeEntity> show filters [labelidsonly]
gam <UserTypeEntity> print filters [labelidsonly] [todrive <ToDriveAttribute>*]
[formatjson] [quotechar <Character>]
[formatjson [quotechar <Character>]]

# Users - Gmail - Forwarding

Expand Down
10 changes: 9 additions & 1 deletion src/GamUpdate.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
6.01.09

Added support for `localfile -` in `gam <UserTypeEntity> create|update drivefile` which allows
commands/programs to output data to stdout which can then be uploaded to a Google Drive file.
```
generatedata | gam user [email protected] create drivefile drivefilename test.csv localfile - mimetype gsheet
```

6.01.08

Following Jay's lead, cleaned up field names in `gam print chromehistory`.

Following Jay's lead, added new license SKU `Google Workspace Frontline
Following Jay's lead, added new license SKU `Google Workspace Frontline`.

6.01.07

Expand Down
Loading

0 comments on commit ae559bc

Please sign in to comment.