mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
Compare commits
42 Commits
v7.15.00
...
20250809.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cb7e70ce31 | ||
|
|
25006765de | ||
|
|
594164944e | ||
|
|
56ed6e8a81 | ||
|
|
159184be73 | ||
|
|
51f4f3c401 | ||
|
|
320d5425c1 | ||
|
|
6d9839a328 | ||
|
|
1002f71d32 | ||
|
|
101a01cef0 | ||
|
|
45230860f6 | ||
|
|
ef1018f286 | ||
|
|
63c0c58bf6 | ||
|
|
aa443ae6cb | ||
|
|
dbec314359 | ||
|
|
8270f0a82a | ||
|
|
2a4cd66227 | ||
|
|
a87ff9effc | ||
|
|
df793c2bbb | ||
|
|
3bc32da275 | ||
|
|
ce7e506c29 | ||
|
|
a9d8ac27d3 | ||
|
|
58912ae7ac | ||
|
|
f882439cbd | ||
|
|
56bc52aa28 | ||
|
|
416125abac | ||
|
|
904292ded3 | ||
|
|
5f55bcc812 | ||
|
|
b35de53f5d | ||
|
|
3c34948678 | ||
|
|
0be73db60b | ||
|
|
5b57b51384 | ||
|
|
139896ec3b | ||
|
|
9b52c0bf18 | ||
|
|
b9c9b59f7b | ||
|
|
0e0877e084 | ||
|
|
bdce13e97b | ||
|
|
9c4a17e12c | ||
|
|
a64f4d4a46 | ||
|
|
c396a3b901 | ||
|
|
78453a15af | ||
|
|
a0282ba775 |
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -126,7 +126,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
cache.tar.xz
|
cache.tar.xz
|
||||||
key: gam-${{ matrix.jid }}-20250701
|
key: gam-${{ matrix.jid }}-20250805
|
||||||
|
|
||||||
- name: Untar Cache archive
|
- name: Untar Cache archive
|
||||||
if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit == 'true'
|
if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit == 'true'
|
||||||
|
|||||||
@@ -1511,15 +1511,22 @@ gam show privileges
|
|||||||
<RoleItem> ::= id:<String>|uid:<string>|<String>
|
<RoleItem> ::= id:<String>|uid:<string>|<String>
|
||||||
|
|
||||||
gam create adminrole <String> [description <String>]
|
gam create adminrole <String> [description <String>]
|
||||||
privileges all|all_ou|<PrivilegesList>|(select <FileSelector>|<CSVFileSelector>)
|
privileges all|all_ou|<PrivilegeList>|(select <FileSelector>|<CSVFileSelector>)|<JSONData>
|
||||||
|
[csv [todrive <ToDriveAttribute>*] [formatjson [quotechar <Character>]] (addcsvdata <FieldName> <String>)*]
|
||||||
gam update adminrole <RoleItem> [name <String>] [description <String>]
|
gam update adminrole <RoleItem> [name <String>] [description <String>]
|
||||||
[privileges all|all_ou|<PrivilegesList>|(select <FileSelector>|<CSVFileSelector>)]
|
[privileges all|all_ou|<PrivilegeList>|(select <FileSelector>|<CSVFileSelector>)|<JSONData>]
|
||||||
|
[csv [todrive <ToDriveAttribute>*] [formatjson [quotechar <Character>]] (addcsvdata <FieldName> <String>)*]
|
||||||
gam delete adminrole <RoleItem>
|
gam delete adminrole <RoleItem>
|
||||||
gam info adminrole <RoleItem> [privileges]
|
gam info adminrole <RoleItem> [privileges]
|
||||||
|
[formatjson]
|
||||||
gam print adminroles|roles [todrive <ToDriveAttribute>*]
|
gam print adminroles|roles [todrive <ToDriveAttribute>*]
|
||||||
[role <RoleItem>] [privileges] [oneitemperrow]
|
[role <RoleItem>] [privileges] [oneitemperrow]
|
||||||
|
[nosystemroles]
|
||||||
|
[formatjson [quotechar <Character>]]
|
||||||
gam show adminroles|roles
|
gam show adminroles|roles
|
||||||
[role <RoleItem>] [privileges]
|
[role <RoleItem>] [privileges]
|
||||||
|
[nosystemroles]
|
||||||
|
[formatjson]
|
||||||
|
|
||||||
gam create|add admin <EmailAddress>|<UniqueID> <RoleItem> customer|(org_unit <OrgUnitItem>)
|
gam create|add admin <EmailAddress>|<UniqueID> <RoleItem> customer|(org_unit <OrgUnitItem>)
|
||||||
[condition securitygroup|nonsecuritygroup]
|
[condition securitygroup|nonsecuritygroup]
|
||||||
@@ -3436,6 +3443,13 @@ gam print guardian|guardians [todrive <ToDriveAttribute>*] [accepted|invitations
|
|||||||
[showstudentemails]
|
[showstudentemails]
|
||||||
[formatjson [quotechar <Character>]]
|
[formatjson [quotechar <Character>]]
|
||||||
|
|
||||||
|
# Business Profile Accounts
|
||||||
|
|
||||||
|
gam show businessprofileaccounts
|
||||||
|
[type locationgroup|organization|personal|usergroup]
|
||||||
|
gam print businessprofileaccounts [todrive <ToDriveAttribute>*]
|
||||||
|
[type locationgroup|organization|personal|usergroup]
|
||||||
|
|
||||||
# Classroom User Profiles
|
# Classroom User Profiles
|
||||||
|
|
||||||
gam <UserTypeEntity> print classroomprofile [todrive <ToDriveAttribute>*]
|
gam <UserTypeEntity> print classroomprofile [todrive <ToDriveAttribute>*]
|
||||||
@@ -4860,8 +4874,8 @@ gam <UserTypeEntity> sendemail from <EmailAddress>
|
|||||||
allowcontentmanagerstosharefolders|
|
allowcontentmanagerstosharefolders|
|
||||||
copyrequireswriterpermission|
|
copyrequireswriterpermission|
|
||||||
domainusersonly|
|
domainusersonly|
|
||||||
downloadrestrictedforreaders|
|
downloadrestrictedforreaders|downloadrestrictions.restrictedforreaders|
|
||||||
downloadrestrictedforwriters|
|
downloadrestrictedforwriters|downloadrestrictions.restrictedforwriters|
|
||||||
drivemembersonly|teammembersonly|
|
drivemembersonly|teammembersonly|
|
||||||
sharingfoldersrequiresorganizerpermission
|
sharingfoldersrequiresorganizerpermission
|
||||||
|
|
||||||
@@ -4878,7 +4892,7 @@ In these commands, the Google administrator named in oauth2.txt is used.
|
|||||||
gam show shareddrivethemes
|
gam show shareddrivethemes
|
||||||
gam create shareddrive <Name>
|
gam create shareddrive <Name>
|
||||||
[(theme|themeid <String>) | ([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
[(theme|themeid <String>) | ([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
||||||
(<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
([restrictions.]<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
||||||
[hide|hidden <Boolean>] [ou|org|orgunit <OrgUnitItem>]
|
[hide|hidden <Boolean>] [ou|org|orgunit <OrgUnitItem>]
|
||||||
[errorretries <Integer>] [updateinitialdelay <Integer>] [updateretrydelay <Integer>]
|
[errorretries <Integer>] [updateinitialdelay <Integer>] [updateretrydelay <Integer>]
|
||||||
[movetoorgunitdelay <Integer>]
|
[movetoorgunitdelay <Integer>]
|
||||||
@@ -4932,7 +4946,7 @@ In these commands, you specify an administrator and then indicate that you want
|
|||||||
|
|
||||||
gam <UserTypeEntity> create shareddrive <Name> adminaccess
|
gam <UserTypeEntity> create shareddrive <Name> adminaccess
|
||||||
[(theme|themeid <String>) | ([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
[(theme|themeid <String>) | ([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
||||||
(<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
([restrictions.]<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
||||||
[hide|hidden <Boolean>] [ou|org|orgunit <OrgUnitItem>]
|
[hide|hidden <Boolean>] [ou|org|orgunit <OrgUnitItem>]
|
||||||
[errorretries <Integer>] [updateinitialdelay <Integer>] [updateretrydelay <Integer>]
|
[errorretries <Integer>] [updateinitialdelay <Integer>] [updateretrydelay <Integer>]
|
||||||
[movetoorgunitdelay <Integer>]
|
[movetoorgunitdelay <Integer>]
|
||||||
@@ -4966,7 +4980,7 @@ In these commands, you specify a user, administrator access is not used.
|
|||||||
|
|
||||||
gam <UserTypeEntity> create shareddrive <Name>
|
gam <UserTypeEntity> create shareddrive <Name>
|
||||||
[(theme|themeid <String>) | ([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
[(theme|themeid <String>) | ([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
||||||
(<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
([restrictions.]<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
||||||
[hide|hidden <Boolean>] [ou|org|orgunit <OrgUnitItem>]
|
[hide|hidden <Boolean>] [ou|org|orgunit <OrgUnitItem>]
|
||||||
[errorretries <Integer>] [updateinitialdelay <Integer>] [updateretrydelay <Integer>]
|
[errorretries <Integer>] [updateinitialdelay <Integer>] [updateretrydelay <Integer>]
|
||||||
[movetoorgunitdelay <Integer>]
|
[movetoorgunitdelay <Integer>]
|
||||||
@@ -6597,6 +6611,7 @@ gam <UserTypeEntity> print chatemojis [todrive <ToDriveAttribute>*]
|
|||||||
(folderColorRgb <ColorValue>)|
|
(folderColorRgb <ColorValue>)|
|
||||||
(indexabletext <String>)|
|
(indexabletext <String>)|
|
||||||
(inheritedpermissionsdisabled [<Boolean>])|
|
(inheritedpermissionsdisabled [<Boolean>])|
|
||||||
|
(itemdownloadrestriction restrictedforreaders|restrictedforwriters [<Boolean>])|
|
||||||
(keeprevisionforever|pinned)|
|
(keeprevisionforever|pinned)|
|
||||||
(lastviewedbyme <Time>)|
|
(lastviewedbyme <Time>)|
|
||||||
(mimetype <MimeType>)|
|
(mimetype <MimeType>)|
|
||||||
@@ -7071,6 +7086,10 @@ gam <UserTypeEntity> collect orphans
|
|||||||
contentrestrictions.restrictiontime|
|
contentrestrictions.restrictiontime|
|
||||||
contentrestrictions.type
|
contentrestrictions.type
|
||||||
|
|
||||||
|
<DriveDownloadRestrictionsSubfieldName> ::=
|
||||||
|
downloadrestrictions.itemdownloadrestriction|
|
||||||
|
downloadrestrictions.effectivedownloadrestrictionwithcontext
|
||||||
|
|
||||||
<ClassificationLabelInfoSubfieldName> ::=
|
<ClassificationLabelInfoSubfieldName> ::=
|
||||||
labels.id| # modifiedByMe
|
labels.id| # modifiedByMe
|
||||||
labels.revisionid| # copyRequiresWriterPermission
|
labels.revisionid| # copyRequiresWriterPermission
|
||||||
@@ -7164,6 +7183,8 @@ gam <UserTypeEntity> collect orphans
|
|||||||
copyrequireswriterpermission|
|
copyrequireswriterpermission|
|
||||||
createddate|createdtime|
|
createddate|createdtime|
|
||||||
description|
|
description|
|
||||||
|
downloadrestictions|
|
||||||
|
<DriveDownloadRestrictionsSubfieldName>|
|
||||||
driveid|
|
driveid|
|
||||||
drivename|
|
drivename|
|
||||||
editable|
|
editable|
|
||||||
@@ -8475,8 +8496,8 @@ gam <UserTypeEntity> print tasklists [todrive <ToDriveAttribute>*]
|
|||||||
allowcontentmanagerstosharefolders|
|
allowcontentmanagerstosharefolders|
|
||||||
copyrequireswriterpermission|
|
copyrequireswriterpermission|
|
||||||
domainusersonly|
|
domainusersonly|
|
||||||
downloadrestrictedforreaders|
|
downloadrestrictedforreaders|downloadrestrictions.restrictedforreaders|
|
||||||
downloadrestrictedforwriters|
|
downloadrestrictedforwriters|downloadrestrictions.restrictedforwriters|
|
||||||
drivemembersonly|teammembersonly|
|
drivemembersonly|teammembersonly|
|
||||||
sharingfoldersrequiresorganizerpermission
|
sharingfoldersrequiresorganizerpermission
|
||||||
|
|
||||||
@@ -8491,13 +8512,13 @@ sharingfoldersrequiresorganizerpermission true
|
|||||||
gam <UserTypeEntity> show shareddrivethemes
|
gam <UserTypeEntity> show shareddrivethemes
|
||||||
gam <UserTypeEntity> create shareddrive <Name>
|
gam <UserTypeEntity> create shareddrive <Name>
|
||||||
[(theme|themeid <String>) | ([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
[(theme|themeid <String>) | ([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
||||||
(<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
([restrictions.]<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
||||||
[hide|hidden <Boolean>]
|
[hide|hidden <Boolean>]
|
||||||
[errorretries <Integer>] [updateinitialdelay <Integer>] [updateretrydelay <Integer>]
|
[errorretries <Integer>] [updateinitialdelay <Integer>] [updateretrydelay <Integer>]
|
||||||
[(csv [todrive <ToDriveAttribute>*] (addcsvdata <FieldName> <String>)*) | returnidonly]
|
[(csv [todrive <ToDriveAttribute>*] (addcsvdata <FieldName> <String>)*) | returnidonly]
|
||||||
gam <UserTypeEntity> update shareddrive <SharedDriveEntity> [name <Name>]
|
gam <UserTypeEntity> update shareddrive <SharedDriveEntity> [name <Name>]
|
||||||
[(theme|themeid <String>) | ([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
[(theme|themeid <String>) | ([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
||||||
(<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
([restrictions.]<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
||||||
[hide|hidden <Boolean>]
|
[hide|hidden <Boolean>]
|
||||||
gam <UserTypeEntity> delete shareddrive <SharedDriveEntity>
|
gam <UserTypeEntity> delete shareddrive <SharedDriveEntity>
|
||||||
[allowitemdeletion]
|
[allowitemdeletion]
|
||||||
@@ -8696,3 +8717,11 @@ gam <UserTypeEntity> print youtubechannels [todrive <ToDriveAttribute>*]
|
|||||||
gam create|add verify|verification <DomainName>
|
gam create|add verify|verification <DomainName>
|
||||||
gam update verify|verification <DomainName> cname|txt|text|site|file
|
gam update verify|verification <DomainName> cname|txt|text|site|file
|
||||||
gam info verify|verification
|
gam info verify|verification
|
||||||
|
|
||||||
|
# Web Resourses and Sites
|
||||||
|
|
||||||
|
gam <UserTypeEntity> show webresources
|
||||||
|
gam <UserTypeEntity> print webresources [todrive <ToDriveAttribute>*]
|
||||||
|
gam <UserTypeEntity> show webmastersites
|
||||||
|
gam <UserTypeEntity> print webmastersites [todrive <ToDriveAttribute>*]
|
||||||
|
```
|
||||||
|
|||||||
@@ -1,3 +1,103 @@
|
|||||||
|
7.18.03
|
||||||
|
|
||||||
|
Updated `gam oauth create` to give a warning if the number of selected scopes will
|
||||||
|
probably cause Google to generate a "Something went wrong" error.
|
||||||
|
|
||||||
|
7.18.02
|
||||||
|
|
||||||
|
Upgraded to OpenSSL 3.5.2.
|
||||||
|
|
||||||
|
7.18.01
|
||||||
|
|
||||||
|
Added option `nosystemroles` to `gam print|show adminroles` that causes GAM
|
||||||
|
to only display non-system roles.
|
||||||
|
|
||||||
|
Added option `formatjson` to `gam info|print|show adminroles`; this will be most useful
|
||||||
|
when the `privileges` option is used.
|
||||||
|
|
||||||
|
Updated `gam create|update adminrole` to allow specification of privileges with
|
||||||
|
JSON data: `privileges <JSONData>`. These two updates make it easier to copy admin roles.
|
||||||
|
|
||||||
|
Updated `gam create|update adminrole` to allow output of the created/updated
|
||||||
|
role data in CSV format; by default, GAM displays `<RoleName>(<RoleID>) created|updated`.
|
||||||
|
```
|
||||||
|
csv [todrive <ToDriveAttribute>*] [formatjson [quotechar <Character>]] (addcsvdata <FieldName> <String>)*
|
||||||
|
```
|
||||||
|
|
||||||
|
7.18.00
|
||||||
|
|
||||||
|
Added commands to display Business Profile Accounts.
|
||||||
|
These are special purpose commands and will not generally be used.
|
||||||
|
```
|
||||||
|
gam show businessprofileaccounts
|
||||||
|
gam print businessprofileaccounts [todrive <ToDriveAttribute>*]
|
||||||
|
```
|
||||||
|
|
||||||
|
7.17.03
|
||||||
|
|
||||||
|
Fixed bug in `gam <UserItem> print|show chatspaces asadmin fields <ChatSpaceFieldNameList>` that caused a trap
|
||||||
|
when `displayname` was not in `<ChatSpaceFieldNameList>`.
|
||||||
|
|
||||||
|
7.17.02
|
||||||
|
|
||||||
|
Updated `gam <UserTypeEntity> print|show webmastersites` to handle the following error
|
||||||
|
that occurs if you haven't updated your project to include the Google Search Console API.
|
||||||
|
```
|
||||||
|
ERROR: 403: permissionDenied - Google Search Console API has not been used in project 111055363999 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/searchconsole.googleapis.com/overview?project=111055363999 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
|
||||||
|
```
|
||||||
|
|
||||||
|
7.17.01
|
||||||
|
|
||||||
|
Fixed bug in `gam <UserTypeEntity> show webmastersites` that caused a trap.
|
||||||
|
|
||||||
|
7.17.00
|
||||||
|
|
||||||
|
Added commands to discover Sites and WebResources that managed users (previously unmanaged) may have access to for better governance and visibility.
|
||||||
|
These are special purpose commands and will not generally be used.
|
||||||
|
```
|
||||||
|
gam <UserTypeEntity> show webresources
|
||||||
|
gam <UserTypeEntity> print webresources [todrive <ToDriveAttribute>*]
|
||||||
|
gam <UserTypeEntity> show webmastersites
|
||||||
|
gam <UserTypeEntity> print webmastersites [todrive <ToDriveAttribute>*]
|
||||||
|
```
|
||||||
|
|
||||||
|
7.16.01
|
||||||
|
|
||||||
|
The Drive API now supports setting download restrictions on individual files.
|
||||||
|
|
||||||
|
Added `downloadrestictions` and `<DriveDownloadRestrictionsSubfieldName>` to `<DriveFieldName>`.
|
||||||
|
```
|
||||||
|
<DriveDownloadRestrictionsSubfieldName> ::=
|
||||||
|
downloadrestrictions.itemdownloadrestriction|
|
||||||
|
downloadrestrictions.effectivedownloadrestrictionwithcontext
|
||||||
|
```
|
||||||
|
|
||||||
|
Added `itemdownloadrestriction restrictedforreaders|restrictedforwriters [<Boolean>]`
|
||||||
|
to `<DriveFileAttribute>`.
|
||||||
|
|
||||||
|
From the Drive API documentation:
|
||||||
|
```
|
||||||
|
itemDownloadRestriction - The download restriction of the file applied directly by the owner or organizer. This does not take into account shared drive settings or DLP rules.
|
||||||
|
effectiveDownloadRestrictionWithContext - Output only. The effective download restriction applied to this file. This considers all restriction settings and DLP rules.
|
||||||
|
restrictedForReaders - Whether download and copy is restricted for readers.
|
||||||
|
restrictedForWriters - Whether download and copy is restricted for writers. If true, download is also restricted for readers.
|
||||||
|
```
|
||||||
|
|
||||||
|
7.16.00
|
||||||
|
|
||||||
|
Removed `drive_v3_native_names` from `gam.cfg`; GAM now only uses Drive API v3 fields names on output.
|
||||||
|
If you had `drive_v3_native_names = False` in `gam.cfg` or are updating from Legacy GAM:
|
||||||
|
|
||||||
|
* See: https://github.com/GAM-team/GAM/wiki/Drive-REST-API-v3
|
||||||
|
|
||||||
|
7.15.01
|
||||||
|
|
||||||
|
Added `downloadrestrictions.restrictedforreaders` and `downloadrestrictions.restrictedforwriters`
|
||||||
|
to `<SharedDriveRestrictionsSubfieldName>`; previously, only the abbreviations `downloadrestrictedforreaders`
|
||||||
|
and `downloadrestrictedforwriters` were supported (they are still supported).
|
||||||
|
|
||||||
|
Updated `gam <UserTypeEntity> copy drivefile` to handle unexpected data returned by Google that caused a trap.
|
||||||
|
|
||||||
7.15.00
|
7.15.00
|
||||||
|
|
||||||
Updated `gam print shareddriveorganizers` to make `shownoorganizerdrives` default to `True`
|
Updated `gam print shareddriveorganizers` to make `shownoorganizerdrives` default to `True`
|
||||||
|
|||||||
130
src/cacerts.pem
130
src/cacerts.pem
@@ -243,36 +243,6 @@ r/OSmbaz5mEP0oUA51Aa5BuVnRmhuZyxm7EAHu/QD09CbMkKvO5D+jpxpchNJqU1
|
|||||||
gKDWHrO8Dw9TdSmq6hN35N6MgSGtBxBHEa2HPQfRdbzP82Z+
|
gKDWHrO8Dw9TdSmq6hN35N6MgSGtBxBHEa2HPQfRdbzP82Z+
|
||||||
-----END CERTIFICATE-----
|
-----END CERTIFICATE-----
|
||||||
|
|
||||||
# Operating CA: GlobalSign
|
|
||||||
# Issuer: CN=GlobalSign Root CA O=GlobalSign nv-sa OU=Root CA
|
|
||||||
# Subject: CN=GlobalSign Root CA O=GlobalSign nv-sa OU=Root CA
|
|
||||||
# Label: "GlobalSign Root CA"
|
|
||||||
# Serial: 4835703278459707669005204
|
|
||||||
# MD5 Fingerprint: 3e:45:52:15:09:51:92:e1:b7:5d:37:9f:b1:87:29:8a
|
|
||||||
# SHA1 Fingerprint: b1:bc:96:8b:d4:f4:9d:62:2a:a8:9a:81:f2:15:01:52:a4:1d:82:9c
|
|
||||||
# SHA256 Fingerprint: eb:d4:10:40:e4:bb:3e:c7:42:c9:e3:81:d3:1e:f2:a4:1a:48:b6:68:5c:96:e7:ce:f3:c1:df:6c:d4:33:1c:99
|
|
||||||
-----BEGIN CERTIFICATE-----
|
|
||||||
MIIDdTCCAl2gAwIBAgILBAAAAAABFUtaw5QwDQYJKoZIhvcNAQEFBQAwVzELMAkG
|
|
||||||
A1UEBhMCQkUxGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2ExEDAOBgNVBAsTB1Jv
|
|
||||||
b3QgQ0ExGzAZBgNVBAMTEkdsb2JhbFNpZ24gUm9vdCBDQTAeFw05ODA5MDExMjAw
|
|
||||||
MDBaFw0yODAxMjgxMjAwMDBaMFcxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9i
|
|
||||||
YWxTaWduIG52LXNhMRAwDgYDVQQLEwdSb290IENBMRswGQYDVQQDExJHbG9iYWxT
|
|
||||||
aWduIFJvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDaDuaZ
|
|
||||||
jc6j40+Kfvvxi4Mla+pIH/EqsLmVEQS98GPR4mdmzxzdzxtIK+6NiY6arymAZavp
|
|
||||||
xy0Sy6scTHAHoT0KMM0VjU/43dSMUBUc71DuxC73/OlS8pF94G3VNTCOXkNz8kHp
|
|
||||||
1Wrjsok6Vjk4bwY8iGlbKk3Fp1S4bInMm/k8yuX9ifUSPJJ4ltbcdG6TRGHRjcdG
|
|
||||||
snUOhugZitVtbNV4FpWi6cgKOOvyJBNPc1STE4U6G7weNLWLBYy5d4ux2x8gkasJ
|
|
||||||
U26Qzns3dLlwR5EiUWMWea6xrkEmCMgZK9FGqkjWZCrXgzT/LCrBbBlDSgeF59N8
|
|
||||||
9iFo7+ryUp9/k5DPAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8E
|
|
||||||
BTADAQH/MB0GA1UdDgQWBBRge2YaRQ2XyolQL30EzTSo//z9SzANBgkqhkiG9w0B
|
|
||||||
AQUFAAOCAQEA1nPnfE920I2/7LqivjTFKDK1fPxsnCwrvQmeU79rXqoRSLblCKOz
|
|
||||||
yj1hTdNGCbM+w6DjY1Ub8rrvrTnhQ7k4o+YviiY776BQVvnGCv04zcQLcFGUl5gE
|
|
||||||
38NflNUVyRRBnMRddWQVDf9VMOyGj/8N7yy5Y0b2qvzfvGn9LhJIZJrglfCm7ymP
|
|
||||||
AbEVtQwdpf5pLGkkeB6zpxxxYu7KyJesF12KwvhHhm4qxFYxldBniYUr+WymXUad
|
|
||||||
DKqC5JlR3XC321Y9YeRq4VzW9v493kHMB65jUr9TU/Qr6cf9tveCX4XSQRjbgbME
|
|
||||||
HMUfpIBvFSDJ3gyICh3WZlXi/EjJKSZp4A==
|
|
||||||
-----END CERTIFICATE-----
|
|
||||||
|
|
||||||
# Operating CA: GlobalSign
|
# Operating CA: GlobalSign
|
||||||
# Issuer: CN=GlobalSign O=GlobalSign OU=GlobalSign Root CA - R3
|
# Issuer: CN=GlobalSign O=GlobalSign OU=GlobalSign Root CA - R3
|
||||||
# Subject: CN=GlobalSign O=GlobalSign OU=GlobalSign Root CA - R3
|
# Subject: CN=GlobalSign O=GlobalSign OU=GlobalSign Root CA - R3
|
||||||
@@ -433,106 +403,6 @@ pL/QlwVKvOoYKAKQvVR4CSFx09F9HdkWsKlhPdAKACL8x3vLCWRFCztAgfd9fDL1
|
|||||||
mMpYjn0q7pBZc2T5NnReJaH1ZgUufzkVqSr7UIuOhWn0
|
mMpYjn0q7pBZc2T5NnReJaH1ZgUufzkVqSr7UIuOhWn0
|
||||||
-----END CERTIFICATE-----
|
-----END CERTIFICATE-----
|
||||||
|
|
||||||
# Operating CA: GoDaddy
|
|
||||||
# Issuer: O=Starfield Technologies, Inc. OU=Starfield Class 2 Certification Authority
|
|
||||||
# Subject: O=Starfield Technologies, Inc. OU=Starfield Class 2 Certification Authority
|
|
||||||
# Label: "Starfield Class 2 CA"
|
|
||||||
# Serial: 0
|
|
||||||
# MD5 Fingerprint: 32:4a:4b:bb:c8:63:69:9b:be:74:9a:c6:dd:1d:46:24
|
|
||||||
# SHA1 Fingerprint: ad:7e:1c:28:b0:64:ef:8f:60:03:40:20:14:c3:d0:e3:37:0e:b5:8a
|
|
||||||
# SHA256 Fingerprint: 14:65:fa:20:53:97:b8:76:fa:a6:f0:a9:95:8e:55:90:e4:0f:cc:7f:aa:4f:b7:c2:c8:67:75:21:fb:5f:b6:58
|
|
||||||
-----BEGIN CERTIFICATE-----
|
|
||||||
MIIEDzCCAvegAwIBAgIBADANBgkqhkiG9w0BAQUFADBoMQswCQYDVQQGEwJVUzEl
|
|
||||||
MCMGA1UEChMcU3RhcmZpZWxkIFRlY2hub2xvZ2llcywgSW5jLjEyMDAGA1UECxMp
|
|
||||||
U3RhcmZpZWxkIENsYXNzIDIgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDQw
|
|
||||||
NjI5MTczOTE2WhcNMzQwNjI5MTczOTE2WjBoMQswCQYDVQQGEwJVUzElMCMGA1UE
|
|
||||||
ChMcU3RhcmZpZWxkIFRlY2hub2xvZ2llcywgSW5jLjEyMDAGA1UECxMpU3RhcmZp
|
|
||||||
ZWxkIENsYXNzIDIgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggEgMA0GCSqGSIb3
|
|
||||||
DQEBAQUAA4IBDQAwggEIAoIBAQC3Msj+6XGmBIWtDBFk385N78gDGIc/oav7PKaf
|
|
||||||
8MOh2tTYbitTkPskpD6E8J7oX+zlJ0T1KKY/e97gKvDIr1MvnsoFAZMej2YcOadN
|
|
||||||
+lq2cwQlZut3f+dZxkqZJRRU6ybH838Z1TBwj6+wRir/resp7defqgSHo9T5iaU0
|
|
||||||
X9tDkYI22WY8sbi5gv2cOj4QyDvvBmVmepsZGD3/cVE8MC5fvj13c7JdBmzDI1aa
|
|
||||||
K4UmkhynArPkPw2vCHmCuDY96pzTNbO8acr1zJ3o/WSNF4Azbl5KXZnJHoe0nRrA
|
|
||||||
1W4TNSNe35tfPe/W93bC6j67eA0cQmdrBNj41tpvi/JEoAGrAgEDo4HFMIHCMB0G
|
|
||||||
A1UdDgQWBBS/X7fRzt0fhvRbVazc1xDCDqmI5zCBkgYDVR0jBIGKMIGHgBS/X7fR
|
|
||||||
zt0fhvRbVazc1xDCDqmI56FspGowaDELMAkGA1UEBhMCVVMxJTAjBgNVBAoTHFN0
|
|
||||||
YXJmaWVsZCBUZWNobm9sb2dpZXMsIEluYy4xMjAwBgNVBAsTKVN0YXJmaWVsZCBD
|
|
||||||
bGFzcyAyIENlcnRpZmljYXRpb24gQXV0aG9yaXR5ggEAMAwGA1UdEwQFMAMBAf8w
|
|
||||||
DQYJKoZIhvcNAQEFBQADggEBAAWdP4id0ckaVaGsafPzWdqbAYcaT1epoXkJKtv3
|
|
||||||
L7IezMdeatiDh6GX70k1PncGQVhiv45YuApnP+yz3SFmH8lU+nLMPUxA2IGvd56D
|
|
||||||
eruix/U0F47ZEUD0/CwqTRV/p2JdLiXTAAsgGh1o+Re49L2L7ShZ3U0WixeDyLJl
|
|
||||||
xy16paq8U4Zt3VekyvggQQto8PT7dL5WXXp59fkdheMtlb71cZBDzI0fmgAKhynp
|
|
||||||
VSJYACPq4xJDKVtHCN2MQWplBqjlIapBtJUhlbl90TSrE9atvNziPTnNvT51cKEY
|
|
||||||
WQPJIrSPnNVeKtelttQKbfi3QBFGmh95DmK/D5fs4C8fF5Q=
|
|
||||||
-----END CERTIFICATE-----
|
|
||||||
|
|
||||||
# Operating CA: GoDaddy
|
|
||||||
# Issuer: O=The Go Daddy Group, Inc. OU=Go Daddy Class 2 Certification Authority
|
|
||||||
# Subject: O=The Go Daddy Group, Inc. OU=Go Daddy Class 2 Certification Authority
|
|
||||||
# Label: "Go Daddy Class 2 CA"
|
|
||||||
# Serial: 0
|
|
||||||
# MD5 Fingerprint: 91:de:06:25:ab:da:fd:32:17:0c:bb:25:17:2a:84:67
|
|
||||||
# SHA1 Fingerprint: 27:96:ba:e6:3f:18:01:e2:77:26:1b:a0:d7:77:70:02:8f:20:ee:e4
|
|
||||||
# SHA256 Fingerprint: c3:84:6b:f2:4b:9e:93:ca:64:27:4c:0e:c6:7c:1e:cc:5e:02:4f:fc:ac:d2:d7:40:19:35:0e:81:fe:54:6a:e4
|
|
||||||
-----BEGIN CERTIFICATE-----
|
|
||||||
MIIEADCCAuigAwIBAgIBADANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEh
|
|
||||||
MB8GA1UEChMYVGhlIEdvIERhZGR5IEdyb3VwLCBJbmMuMTEwLwYDVQQLEyhHbyBE
|
|
||||||
YWRkeSBDbGFzcyAyIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA0MDYyOTE3
|
|
||||||
MDYyMFoXDTM0MDYyOTE3MDYyMFowYzELMAkGA1UEBhMCVVMxITAfBgNVBAoTGFRo
|
|
||||||
ZSBHbyBEYWRkeSBHcm91cCwgSW5jLjExMC8GA1UECxMoR28gRGFkZHkgQ2xhc3Mg
|
|
||||||
MiBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASAwDQYJKoZIhvcNAQEBBQADggEN
|
|
||||||
ADCCAQgCggEBAN6d1+pXGEmhW+vXX0iG6r7d/+TvZxz0ZWizV3GgXne77ZtJ6XCA
|
|
||||||
PVYYYwhv2vLM0D9/AlQiVBDYsoHUwHU9S3/Hd8M+eKsaA7Ugay9qK7HFiH7Eux6w
|
|
||||||
wdhFJ2+qN1j3hybX2C32qRe3H3I2TqYXP2WYktsqbl2i/ojgC95/5Y0V4evLOtXi
|
|
||||||
EqITLdiOr18SPaAIBQi2XKVlOARFmR6jYGB0xUGlcmIbYsUfb18aQr4CUWWoriMY
|
|
||||||
avx4A6lNf4DD+qta/KFApMoZFv6yyO9ecw3ud72a9nmYvLEHZ6IVDd2gWMZEewo+
|
|
||||||
YihfukEHU1jPEX44dMX4/7VpkI+EdOqXG68CAQOjgcAwgb0wHQYDVR0OBBYEFNLE
|
|
||||||
sNKR1EwRcbNhyz2h/t2oatTjMIGNBgNVHSMEgYUwgYKAFNLEsNKR1EwRcbNhyz2h
|
|
||||||
/t2oatTjoWekZTBjMQswCQYDVQQGEwJVUzEhMB8GA1UEChMYVGhlIEdvIERhZGR5
|
|
||||||
IEdyb3VwLCBJbmMuMTEwLwYDVQQLEyhHbyBEYWRkeSBDbGFzcyAyIENlcnRpZmlj
|
|
||||||
YXRpb24gQXV0aG9yaXR5ggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQAD
|
|
||||||
ggEBADJL87LKPpH8EsahB4yOd6AzBhRckB4Y9wimPQoZ+YeAEW5p5JYXMP80kWNy
|
|
||||||
OO7MHAGjHZQopDH2esRU1/blMVgDoszOYtuURXO1v0XJJLXVggKtI3lpjbi2Tc7P
|
|
||||||
TMozI+gciKqdi0FuFskg5YmezTvacPd+mSYgFFQlq25zheabIZ0KbIIOqPjCDPoQ
|
|
||||||
HmyW74cNxA9hi63ugyuV+I6ShHI56yDqg+2DzZduCLzrTia2cyvk0/ZM/iZx4mER
|
|
||||||
dEr/VxqHD3VILs9RaRegAhJhldXRQLIQTO7ErBBDpqWeCtWVYpoNz4iCxTIM5Cuf
|
|
||||||
ReYNnyicsbkqWletNw+vHX/bvZ8=
|
|
||||||
-----END CERTIFICATE-----
|
|
||||||
|
|
||||||
# Operating CA: Sectigo
|
|
||||||
# Issuer: CN=AAA Certificate Services O=Comodo CA Limited
|
|
||||||
# Subject: CN=AAA Certificate Services O=Comodo CA Limited
|
|
||||||
# Label: "Comodo AAA Services root"
|
|
||||||
# Serial: 1
|
|
||||||
# MD5 Fingerprint: 49:79:04:b0:eb:87:19:ac:47:b0:bc:11:51:9b:74:d0
|
|
||||||
# SHA1 Fingerprint: d1:eb:23:a4:6d:17:d6:8f:d9:25:64:c2:f1:f1:60:17:64:d8:e3:49
|
|
||||||
# SHA256 Fingerprint: d7:a7:a0:fb:5d:7e:27:31:d7:71:e9:48:4e:bc:de:f7:1d:5f:0c:3e:0a:29:48:78:2b:c8:3e:e0:ea:69:9e:f4
|
|
||||||
-----BEGIN CERTIFICATE-----
|
|
||||||
MIIEMjCCAxqgAwIBAgIBATANBgkqhkiG9w0BAQUFADB7MQswCQYDVQQGEwJHQjEb
|
|
||||||
MBkGA1UECAwSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRow
|
|
||||||
GAYDVQQKDBFDb21vZG8gQ0EgTGltaXRlZDEhMB8GA1UEAwwYQUFBIENlcnRpZmlj
|
|
||||||
YXRlIFNlcnZpY2VzMB4XDTA0MDEwMTAwMDAwMFoXDTI4MTIzMTIzNTk1OVowezEL
|
|
||||||
MAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UE
|
|
||||||
BwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxITAfBgNVBAMM
|
|
||||||
GEFBQSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEBBQADggEP
|
|
||||||
ADCCAQoCggEBAL5AnfRu4ep2hxxNRUSOvkbIgwadwSr+GB+O5AL686tdUIoWMQua
|
|
||||||
BtDFcCLNSS1UY8y2bmhGC1Pqy0wkwLxyTurxFa70VJoSCsN6sjNg4tqJVfMiWPPe
|
|
||||||
3M/vg4aijJRPn2jymJBGhCfHdr/jzDUsi14HZGWCwEiwqJH5YZ92IFCokcdmtet4
|
|
||||||
YgNW8IoaE+oxox6gmf049vYnMlhvB/VruPsUK6+3qszWY19zjNoFmag4qMsXeDZR
|
|
||||||
rOme9Hg6jc8P2ULimAyrL58OAd7vn5lJ8S3frHRNG5i1R8XlKdH5kBjHYpy+g8cm
|
|
||||||
ez6KJcfA3Z3mNWgQIJ2P2N7Sw4ScDV7oL8kCAwEAAaOBwDCBvTAdBgNVHQ4EFgQU
|
|
||||||
oBEKIz6W8Qfs4q8p74Klf9AwpLQwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQF
|
|
||||||
MAMBAf8wewYDVR0fBHQwcjA4oDagNIYyaHR0cDovL2NybC5jb21vZG9jYS5jb20v
|
|
||||||
QUFBQ2VydGlmaWNhdGVTZXJ2aWNlcy5jcmwwNqA0oDKGMGh0dHA6Ly9jcmwuY29t
|
|
||||||
b2RvLm5ldC9BQUFDZXJ0aWZpY2F0ZVNlcnZpY2VzLmNybDANBgkqhkiG9w0BAQUF
|
|
||||||
AAOCAQEACFb8AvCb6P+k+tZ7xkSAzk/ExfYAWMymtrwUSWgEdujm7l3sAg9g1o1Q
|
|
||||||
GE8mTgHj5rCl7r+8dFRBv/38ErjHT1r0iWAFf2C3BUrz9vHCv8S5dIa2LX1rzNLz
|
|
||||||
Rt0vxuBqw8M0Ayx9lt1awg6nCpnBBYurDC/zXDrPbDdVCYfeU0BsWO/8tqtlbgT2
|
|
||||||
G9w84FoVxp7Z8VlIMCFlA2zs6SFz7JsDoeA3raAVGI/6ugLOpyypEBMs1OUIJqsi
|
|
||||||
l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
|
|
||||||
smPi9WIsgtRqAEFQ8TmDn5XpNpaYbg==
|
|
||||||
-----END CERTIFICATE-----
|
|
||||||
|
|
||||||
# Operating CA: Sectigo
|
# Operating CA: Sectigo
|
||||||
# Issuer: CN=COMODO Certification Authority O=COMODO CA Limited
|
# Issuer: CN=COMODO Certification Authority O=COMODO CA Limited
|
||||||
# Subject: CN=COMODO Certification Authority O=COMODO CA Limited
|
# Subject: CN=COMODO Certification Authority O=COMODO CA Limited
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -24,6 +24,7 @@ ACCESSCONTEXTMANAGER = 'accesscontextmanager'
|
|||||||
ALERTCENTER = 'alertcenter'
|
ALERTCENTER = 'alertcenter'
|
||||||
ANALYTICS_ADMIN = 'analyticsadmin'
|
ANALYTICS_ADMIN = 'analyticsadmin'
|
||||||
CALENDAR = 'calendar'
|
CALENDAR = 'calendar'
|
||||||
|
BUSINESSACCOUNTMANAGEMENT = 'mybusinessaccountmanagement'
|
||||||
CBCM = 'cbcm'
|
CBCM = 'cbcm'
|
||||||
CHAT = 'chat'
|
CHAT = 'chat'
|
||||||
CHAT_CUSTOM_EMOJIS = 'chatcustomemojis'
|
CHAT_CUSTOM_EMOJIS = 'chatcustomemojis'
|
||||||
@@ -85,6 +86,7 @@ PRINTERS = 'printers'
|
|||||||
PUBSUB = 'pubsub'
|
PUBSUB = 'pubsub'
|
||||||
REPORTS = 'reports'
|
REPORTS = 'reports'
|
||||||
RESELLER = 'reseller'
|
RESELLER = 'reseller'
|
||||||
|
SEARCHCONSOLE = 'searchconsole'
|
||||||
SERVICEACCOUNTLOOKUP = 'serviceaccountlookup'
|
SERVICEACCOUNTLOOKUP = 'serviceaccountlookup'
|
||||||
SERVICEMANAGEMENT = 'servicemanagement'
|
SERVICEMANAGEMENT = 'servicemanagement'
|
||||||
SERVICEUSAGE = 'serviceusage'
|
SERVICEUSAGE = 'serviceusage'
|
||||||
@@ -100,6 +102,7 @@ TASKS = 'tasks'
|
|||||||
VAULT = 'vault'
|
VAULT = 'vault'
|
||||||
YOUTUBE = 'youtube'
|
YOUTUBE = 'youtube'
|
||||||
#
|
#
|
||||||
|
BUSINESSACCOUNTMANAGEMENT_SCOPE = 'https://www.googleapis.com/auth/business.manage'
|
||||||
CHROMEVERSIONHISTORY_URL = 'https://versionhistory.googleapis.com/v1/chrome/platforms'
|
CHROMEVERSIONHISTORY_URL = 'https://versionhistory.googleapis.com/v1/chrome/platforms'
|
||||||
DRIVE_SCOPE = 'https://www.googleapis.com/auth/drive'
|
DRIVE_SCOPE = 'https://www.googleapis.com/auth/drive'
|
||||||
GMAIL_SEND_SCOPE = 'https://www.googleapis.com/auth/gmail.send'
|
GMAIL_SEND_SCOPE = 'https://www.googleapis.com/auth/gmail.send'
|
||||||
@@ -116,6 +119,7 @@ USERINFO_PROFILE_SCOPE = 'https://www.googleapis.com/auth/userinfo.profile' # pr
|
|||||||
VAULT_SCOPES = ['https://www.googleapis.com/auth/ediscovery', 'https://www.googleapis.com/auth/ediscovery.readonly']
|
VAULT_SCOPES = ['https://www.googleapis.com/auth/ediscovery', 'https://www.googleapis.com/auth/ediscovery.readonly']
|
||||||
REQUIRED_SCOPES = [USERINFO_EMAIL_SCOPE, USERINFO_PROFILE_SCOPE]
|
REQUIRED_SCOPES = [USERINFO_EMAIL_SCOPE, USERINFO_PROFILE_SCOPE]
|
||||||
REQUIRED_SCOPES_SET = set(REQUIRED_SCOPES)
|
REQUIRED_SCOPES_SET = set(REQUIRED_SCOPES)
|
||||||
|
NUM_CLIENT_SCOPES_ERROR_LIMIT = 48
|
||||||
#
|
#
|
||||||
JWT_APIS = {
|
JWT_APIS = {
|
||||||
ACCESSCONTEXTMANAGER: [CLOUD_PLATFORM_SCOPE],
|
ACCESSCONTEXTMANAGER: [CLOUD_PLATFORM_SCOPE],
|
||||||
@@ -173,6 +177,7 @@ PROJECT_APIS = [
|
|||||||
'alertcenter.googleapis.com',
|
'alertcenter.googleapis.com',
|
||||||
'analyticsadmin.googleapis.com',
|
'analyticsadmin.googleapis.com',
|
||||||
# 'audit.googleapis.com',
|
# 'audit.googleapis.com',
|
||||||
|
'mybusinessaccountmanagement.googleapis.com',
|
||||||
'calendar-json.googleapis.com',
|
'calendar-json.googleapis.com',
|
||||||
'chat.googleapis.com',
|
'chat.googleapis.com',
|
||||||
'chromemanagement.googleapis.com',
|
'chromemanagement.googleapis.com',
|
||||||
@@ -198,6 +203,7 @@ PROJECT_APIS = [
|
|||||||
'people.googleapis.com',
|
'people.googleapis.com',
|
||||||
'pubsub.googleapis.com',
|
'pubsub.googleapis.com',
|
||||||
'reseller.googleapis.com',
|
'reseller.googleapis.com',
|
||||||
|
'searchconsole.googleapis.com',
|
||||||
'sheets.googleapis.com',
|
'sheets.googleapis.com',
|
||||||
'siteverification.googleapis.com',
|
'siteverification.googleapis.com',
|
||||||
'storage-api.googleapis.com',
|
'storage-api.googleapis.com',
|
||||||
@@ -211,6 +217,7 @@ _INFO = {
|
|||||||
ACCESSCONTEXTMANAGER: {'name': 'Access Context Manager API', 'version': 'v1', 'v2discovery': True},
|
ACCESSCONTEXTMANAGER: {'name': 'Access Context Manager API', 'version': 'v1', 'v2discovery': True},
|
||||||
ALERTCENTER: {'name': 'AlertCenter API', 'version': 'v1beta1', 'v2discovery': True},
|
ALERTCENTER: {'name': 'AlertCenter API', 'version': 'v1beta1', 'v2discovery': True},
|
||||||
ANALYTICS_ADMIN: {'name': 'Analytics Admin API', 'version': 'v1beta', 'v2discovery': True},
|
ANALYTICS_ADMIN: {'name': 'Analytics Admin API', 'version': 'v1beta', 'v2discovery': True},
|
||||||
|
BUSINESSACCOUNTMANAGEMENT: {'name': 'Business Account Management API', 'version': 'v1', 'v2discovery': True},
|
||||||
CALENDAR: {'name': 'Calendar API', 'version': 'v3', 'v2discovery': True, 'mappedAPI': 'calendar-json'},
|
CALENDAR: {'name': 'Calendar API', 'version': 'v3', 'v2discovery': True, 'mappedAPI': 'calendar-json'},
|
||||||
CBCM: {'name': 'Chrome Browser Cloud Management API', 'version': 'v1.1beta1', 'v2discovery': True, 'localjson': True},
|
CBCM: {'name': 'Chrome Browser Cloud Management API', 'version': 'v1.1beta1', 'v2discovery': True, 'localjson': True},
|
||||||
CHAT: {'name': 'Chat API', 'version': 'v1', 'v2discovery': True},
|
CHAT: {'name': 'Chat API', 'version': 'v1', 'v2discovery': True},
|
||||||
@@ -271,6 +278,7 @@ _INFO = {
|
|||||||
PUBSUB: {'name': 'Pub / Sub API', 'version': 'v1', 'v2discovery': True},
|
PUBSUB: {'name': 'Pub / Sub API', 'version': 'v1', 'v2discovery': True},
|
||||||
REPORTS: {'name': 'Reports API', 'version': 'reports_v1', 'v2discovery': True, 'mappedAPI': 'admin'},
|
REPORTS: {'name': 'Reports API', 'version': 'reports_v1', 'v2discovery': True, 'mappedAPI': 'admin'},
|
||||||
RESELLER: {'name': 'Reseller API', 'version': 'v1', 'v2discovery': True},
|
RESELLER: {'name': 'Reseller API', 'version': 'v1', 'v2discovery': True},
|
||||||
|
SEARCHCONSOLE: {'name': 'Search Console API', 'version': 'v1', 'v2discovery': True},
|
||||||
SERVICEACCOUNTLOOKUP: {'name': 'Service Account Lookup pseudo-API', 'version': 'v1', 'v2discovery': True, 'localjson': True},
|
SERVICEACCOUNTLOOKUP: {'name': 'Service Account Lookup pseudo-API', 'version': 'v1', 'v2discovery': True, 'localjson': True},
|
||||||
SERVICEMANAGEMENT: {'name': 'Service Management API', 'version': 'v1', 'v2discovery': True},
|
SERVICEMANAGEMENT: {'name': 'Service Management API', 'version': 'v1', 'v2discovery': True},
|
||||||
SERVICEUSAGE: {'name': 'Service Usage API', 'version': 'v1', 'v2discovery': True},
|
SERVICEUSAGE: {'name': 'Service Usage API', 'version': 'v1', 'v2discovery': True},
|
||||||
@@ -290,6 +298,11 @@ _INFO = {
|
|||||||
READONLY = ['readonly',]
|
READONLY = ['readonly',]
|
||||||
|
|
||||||
_CLIENT_SCOPES = [
|
_CLIENT_SCOPES = [
|
||||||
|
{'name': 'Business Account Management API',
|
||||||
|
'api': BUSINESSACCOUNTMANAGEMENT,
|
||||||
|
'subscopes': [],
|
||||||
|
'offByDefault': True,
|
||||||
|
'scope': BUSINESSACCOUNTMANAGEMENT_SCOPE},
|
||||||
{'name': 'Calendar API',
|
{'name': 'Calendar API',
|
||||||
'api': CALENDAR,
|
'api': CALENDAR,
|
||||||
'subscopes': READONLY,
|
'subscopes': READONLY,
|
||||||
@@ -697,10 +710,20 @@ _SVCACCT_SCOPES = [
|
|||||||
'api': PEOPLE_OTHERCONTACTS,
|
'api': PEOPLE_OTHERCONTACTS,
|
||||||
'subscopes': [],
|
'subscopes': [],
|
||||||
'scope': 'https://www.googleapis.com/auth/contacts.other.readonly'},
|
'scope': 'https://www.googleapis.com/auth/contacts.other.readonly'},
|
||||||
|
{'name': 'Search Console API - read only',
|
||||||
|
'api': SEARCHCONSOLE,
|
||||||
|
'subscopes': [],
|
||||||
|
'offByDefault': True,
|
||||||
|
'scope': 'https://www.googleapis.com/auth/webmasters.readonly'},
|
||||||
{'name': 'Sheets API',
|
{'name': 'Sheets API',
|
||||||
'api': SHEETS,
|
'api': SHEETS,
|
||||||
'subscopes': READONLY,
|
'subscopes': READONLY,
|
||||||
'scope': 'https://www.googleapis.com/auth/spreadsheets'},
|
'scope': 'https://www.googleapis.com/auth/spreadsheets'},
|
||||||
|
{'name': 'Site Verification API',
|
||||||
|
'api': SITEVERIFICATION,
|
||||||
|
'subscopes': [],
|
||||||
|
'offByDefault': True,
|
||||||
|
'scope': 'https://www.googleapis.com/auth/siteverification'},
|
||||||
{'name': 'Tag Manager API - Accounts, Containers, Workspaces, Tags - read only',
|
{'name': 'Tag Manager API - Accounts, Containers, Workspaces, Tags - read only',
|
||||||
'api': TAGMANAGER,
|
'api': TAGMANAGER,
|
||||||
'subscopes': [],
|
'subscopes': [],
|
||||||
@@ -750,56 +773,6 @@ _USER_SVCACCT_ONLY_SCOPES = [
|
|||||||
'scope': 'https://www.googleapis.com/auth/apps.groups.migration'},
|
'scope': 'https://www.googleapis.com/auth/apps.groups.migration'},
|
||||||
]
|
]
|
||||||
|
|
||||||
DRIVE3_TO_DRIVE2_ABOUT_FIELDS_MAP = {
|
|
||||||
'displayName': 'name',
|
|
||||||
'limit': 'quotaBytesTotal',
|
|
||||||
'usage': 'quotaBytesUsedAggregate',
|
|
||||||
'usageInDrive': 'quotaBytesUsed',
|
|
||||||
'usageInDriveTrash': 'quotaBytesUsedInTrash',
|
|
||||||
}
|
|
||||||
|
|
||||||
DRIVE3_TO_DRIVE2_CAPABILITIES_FIELDS_MAP = {
|
|
||||||
'canComment': 'canComment',
|
|
||||||
'canReadRevisions': 'canReadRevisions',
|
|
||||||
'canCopy': 'copyable',
|
|
||||||
'canEdit': 'editable',
|
|
||||||
'canShare': 'shareable',
|
|
||||||
}
|
|
||||||
|
|
||||||
DRIVE3_TO_DRIVE2_CAPABILITIES_NAMES_MAP = {
|
|
||||||
'canChangeViewersCanCopyContent': 'canChangeRestrictedDownload',
|
|
||||||
}
|
|
||||||
|
|
||||||
DRIVE3_TO_DRIVE2_FILES_FIELDS_MAP = {
|
|
||||||
'allowFileDiscovery': 'withLink',
|
|
||||||
'createdTime': 'createdDate',
|
|
||||||
'expirationTime': 'expirationDate',
|
|
||||||
'modifiedByMe': 'modified',
|
|
||||||
'modifiedByMeTime': 'modifiedByMeDate',
|
|
||||||
'modifiedTime': 'modifiedDate',
|
|
||||||
'name': 'title',
|
|
||||||
'restrictionTime': 'restrictionDate',
|
|
||||||
'sharedWithMeTime': 'sharedWithMeDate',
|
|
||||||
'size': 'fileSize',
|
|
||||||
'trashedTime': 'trashedDate',
|
|
||||||
'viewedByMe': 'viewed',
|
|
||||||
'viewedByMeTime': 'lastViewedByMeDate',
|
|
||||||
'webViewLink': 'alternateLink',
|
|
||||||
}
|
|
||||||
|
|
||||||
DRIVE3_TO_DRIVE2_LABELS_MAP = {
|
|
||||||
'modifiedByMe': 'modified',
|
|
||||||
'starred': 'starred',
|
|
||||||
'trashed': 'trashed',
|
|
||||||
'viewedByMe': 'viewed',
|
|
||||||
}
|
|
||||||
|
|
||||||
DRIVE3_TO_DRIVE2_REVISIONS_FIELDS_MAP = {
|
|
||||||
'modifiedTime': 'modifiedDate',
|
|
||||||
'keepForever': 'pinned',
|
|
||||||
'size': 'fileSize',
|
|
||||||
}
|
|
||||||
|
|
||||||
def getAPIName(api):
|
def getAPIName(api):
|
||||||
return _INFO[api]['name']
|
return _INFO[api]['name']
|
||||||
|
|
||||||
|
|||||||
@@ -155,8 +155,6 @@ DRIVE_DIR = 'drive_dir'
|
|||||||
DRIVE_MAX_RESULTS = 'drive_max_results'
|
DRIVE_MAX_RESULTS = 'drive_max_results'
|
||||||
# Use Drive V3 beta
|
# Use Drive V3 beta
|
||||||
DRIVE_V3_BETA = 'drive_v3_beta'
|
DRIVE_V3_BETA = 'drive_v3_beta'
|
||||||
# Use Drive V3 ntive names
|
|
||||||
DRIVE_V3_NATIVE_NAMES = 'drive_v3_native_names'
|
|
||||||
# When processing email messages in batches, how many should be processed in each batch
|
# When processing email messages in batches, how many should be processed in each batch
|
||||||
EMAIL_BATCH_SIZE = 'email_batch_size'
|
EMAIL_BATCH_SIZE = 'email_batch_size'
|
||||||
# Enable Delegated Admin Service Account
|
# Enable Delegated Admin Service Account
|
||||||
@@ -382,7 +380,6 @@ Defaults = {
|
|||||||
ENFORCE_EXPANSIVE_ACCESS: TRUE,
|
ENFORCE_EXPANSIVE_ACCESS: TRUE,
|
||||||
DRIVE_MAX_RESULTS: '1000',
|
DRIVE_MAX_RESULTS: '1000',
|
||||||
DRIVE_V3_BETA: FALSE,
|
DRIVE_V3_BETA: FALSE,
|
||||||
DRIVE_V3_NATIVE_NAMES: TRUE,
|
|
||||||
EMAIL_BATCH_SIZE: '50',
|
EMAIL_BATCH_SIZE: '50',
|
||||||
ENABLE_DASA: FALSE,
|
ENABLE_DASA: FALSE,
|
||||||
ENABLE_GCLOUD_REAUTH: FALSE,
|
ENABLE_GCLOUD_REAUTH: FALSE,
|
||||||
@@ -551,7 +548,6 @@ VAR_INFO = {
|
|||||||
ENFORCE_EXPANSIVE_ACCESS: {VAR_TYPE: TYPE_BOOLEAN},
|
ENFORCE_EXPANSIVE_ACCESS: {VAR_TYPE: TYPE_BOOLEAN},
|
||||||
DRIVE_MAX_RESULTS: {VAR_TYPE: TYPE_INTEGER, VAR_LIMITS: (1, 1000)},
|
DRIVE_MAX_RESULTS: {VAR_TYPE: TYPE_INTEGER, VAR_LIMITS: (1, 1000)},
|
||||||
DRIVE_V3_BETA: {VAR_TYPE: TYPE_BOOLEAN},
|
DRIVE_V3_BETA: {VAR_TYPE: TYPE_BOOLEAN},
|
||||||
DRIVE_V3_NATIVE_NAMES: {VAR_TYPE: TYPE_BOOLEAN},
|
|
||||||
EMAIL_BATCH_SIZE: {VAR_TYPE: TYPE_INTEGER, VAR_LIMITS: (1, 100)},
|
EMAIL_BATCH_SIZE: {VAR_TYPE: TYPE_INTEGER, VAR_LIMITS: (1, 100)},
|
||||||
ENABLE_DASA: {VAR_TYPE: TYPE_BOOLEAN, VAR_SIGFILE: 'enabledasa.txt', VAR_SFFT: (FALSE, TRUE)},
|
ENABLE_DASA: {VAR_TYPE: TYPE_BOOLEAN, VAR_SIGFILE: 'enabledasa.txt', VAR_SFFT: (FALSE, TRUE)},
|
||||||
ENABLE_GCLOUD_REAUTH: {VAR_TYPE: TYPE_BOOLEAN},
|
ENABLE_GCLOUD_REAUTH: {VAR_TYPE: TYPE_BOOLEAN},
|
||||||
|
|||||||
@@ -441,6 +441,8 @@ class GamCLArgs():
|
|||||||
ARG_BUCKETS = 'buckets'
|
ARG_BUCKETS = 'buckets'
|
||||||
ARG_BUILDING = 'building'
|
ARG_BUILDING = 'building'
|
||||||
ARG_BUILDINGS = 'buildings'
|
ARG_BUILDINGS = 'buildings'
|
||||||
|
ARG_BUSINESSPROFILEACCOUNT = 'businessprofileaccount'
|
||||||
|
ARG_BUSINESSPROFILEACCOUNTS = 'businessprofileaccounts'
|
||||||
ARG_CAALEVEL = 'caalevel'
|
ARG_CAALEVEL = 'caalevel'
|
||||||
ARG_CAALEVELS = 'caalevels'
|
ARG_CAALEVELS = 'caalevels'
|
||||||
ARG_CALATTENDEES = 'calattendees'
|
ARG_CALATTENDEES = 'calattendees'
|
||||||
@@ -830,6 +832,10 @@ class GamCLArgs():
|
|||||||
ARG_VERIFICATION = 'verification'
|
ARG_VERIFICATION = 'verification'
|
||||||
ARG_VERIFICATIONCODES = 'verificationcodes'
|
ARG_VERIFICATIONCODES = 'verificationcodes'
|
||||||
ARG_VERIFY = 'verify'
|
ARG_VERIFY = 'verify'
|
||||||
|
ARG_WEBMASTERSITE = 'webmastersite'
|
||||||
|
ARG_WEBMASTERSITES = 'webmastersites'
|
||||||
|
ARG_WEBRESOURCE = 'webresource'
|
||||||
|
ARG_WEBRESOURCES = 'webresources'
|
||||||
ARG_WORKINGLOCATION = 'workinglocation'
|
ARG_WORKINGLOCATION = 'workinglocation'
|
||||||
ARG_WORKINGLOCATIONS = 'workinglocations'
|
ARG_WORKINGLOCATIONS = 'workinglocations'
|
||||||
ARG_YOUTUBECHANNEL = 'youtubechannel'
|
ARG_YOUTUBECHANNEL = 'youtubechannel'
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ class GamEntity():
|
|||||||
BACKUP_VERIFICATION_CODES = 'buvc'
|
BACKUP_VERIFICATION_CODES = 'buvc'
|
||||||
BUILDING = 'bldg'
|
BUILDING = 'bldg'
|
||||||
BUILDING_ID = 'bldi'
|
BUILDING_ID = 'bldi'
|
||||||
|
BUSINESS_PROFILE_ACCOUNT = 'bpac'
|
||||||
CAA_LEVEL = 'calv'
|
CAA_LEVEL = 'calv'
|
||||||
CALENDAR = 'cale'
|
CALENDAR = 'cale'
|
||||||
CALENDAR_ACL = 'cacl'
|
CALENDAR_ACL = 'cacl'
|
||||||
@@ -394,6 +395,8 @@ class GamEntity():
|
|||||||
VAULT_MATTER_ID = 'vlmi'
|
VAULT_MATTER_ID = 'vlmi'
|
||||||
VAULT_OPERATION = 'vlto'
|
VAULT_OPERATION = 'vlto'
|
||||||
VAULT_QUERY = 'vltq'
|
VAULT_QUERY = 'vltq'
|
||||||
|
WEB_MASTERSITE = 'wems'
|
||||||
|
WEB_RESOURCE = 'were'
|
||||||
WEBCLIPS_ENABLED = 'webc'
|
WEBCLIPS_ENABLED = 'webc'
|
||||||
YOUTUBE_CHANNEL = 'ytch'
|
YOUTUBE_CHANNEL = 'ytch'
|
||||||
# _NAMES[0] is plural, _NAMES[1] is singular unless the item name is explicitly plural (Calendar Settings)
|
# _NAMES[0] is plural, _NAMES[1] is singular unless the item name is explicitly plural (Calendar Settings)
|
||||||
@@ -432,6 +435,7 @@ class GamEntity():
|
|||||||
BACKUP_VERIFICATION_CODES: ['Backup Verification Codes', 'Backup Verification Codes'],
|
BACKUP_VERIFICATION_CODES: ['Backup Verification Codes', 'Backup Verification Codes'],
|
||||||
BUILDING: ['Buildings', 'Building'],
|
BUILDING: ['Buildings', 'Building'],
|
||||||
BUILDING_ID: ['Building IDs', 'Building ID'],
|
BUILDING_ID: ['Building IDs', 'Building ID'],
|
||||||
|
BUSINESS_PROFILE_ACCOUNT: ['Business Profile Accounts', 'Business Profile Account'],
|
||||||
CAA_LEVEL: ['CAA Levels', 'CAA Level'],
|
CAA_LEVEL: ['CAA Levels', 'CAA Level'],
|
||||||
CALENDAR: ['Calendars', 'Calendar'],
|
CALENDAR: ['Calendars', 'Calendar'],
|
||||||
CALENDAR_ACL: ['Calendar ACLs', 'Calendar ACL'],
|
CALENDAR_ACL: ['Calendar ACLs', 'Calendar ACL'],
|
||||||
@@ -752,6 +756,8 @@ class GamEntity():
|
|||||||
VAULT_OPERATION: ['Vault Operations', 'Vault Operation'],
|
VAULT_OPERATION: ['Vault Operations', 'Vault Operation'],
|
||||||
VAULT_QUERY: ['Vault Queries', 'Vault Query'],
|
VAULT_QUERY: ['Vault Queries', 'Vault Query'],
|
||||||
WEBCLIPS_ENABLED: ['Web Clips Enabled', 'Web Clips Enabled'],
|
WEBCLIPS_ENABLED: ['Web Clips Enabled', 'Web Clips Enabled'],
|
||||||
|
WEB_MASTERSITE: ['Web Master Sites', 'Web Master Site'],
|
||||||
|
WEB_RESOURCE: ['Web Resources', 'Web Resource'],
|
||||||
YOUTUBE_CHANNEL: ['YouTube Channels', 'YouTube Channel'],
|
YOUTUBE_CHANNEL: ['YouTube Channels', 'YouTube Channel'],
|
||||||
ROLE_MANAGER: ['Managers', 'Manager'],
|
ROLE_MANAGER: ['Managers', 'Manager'],
|
||||||
ROLE_MEMBER: ['Members', 'Member'],
|
ROLE_MEMBER: ['Members', 'Member'],
|
||||||
|
|||||||
@@ -433,6 +433,7 @@ NO_SVCACCT_ACCESS_ALLOWED = 'No Service Account Access allowed'
|
|||||||
NO_TRANSFER_LACK_OF_DISK_SPACE = 'Transfer not performed due to lack of target drive space.'
|
NO_TRANSFER_LACK_OF_DISK_SPACE = 'Transfer not performed due to lack of target drive space.'
|
||||||
NO_USAGE_PARAMETERS_DATA_AVAILABLE = 'No usage parameters data available.'
|
NO_USAGE_PARAMETERS_DATA_AVAILABLE = 'No usage parameters data available.'
|
||||||
NO_USER_COUNTS_DATA_AVAILABLE = 'No User counts data available.'
|
NO_USER_COUNTS_DATA_AVAILABLE = 'No User counts data available.'
|
||||||
|
NUM_SELECTED_CLIENT_SCOPES = '\n{0} scopes are selected, if more than {1} scopes are selected, Google will probably generate a "Something went wrong" error\n'
|
||||||
OAUTH2_GO_TO_LINK_MESSAGE = """
|
OAUTH2_GO_TO_LINK_MESSAGE = """
|
||||||
Go to the following link in a browser on this computer or on another computer:
|
Go to the following link in a browser on this computer or on another computer:
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
- [Display administrators](#display-administrators)
|
- [Display administrators](#display-administrators)
|
||||||
- [Copy privileges from one role to a new role](#copy-privileges-from-one-role-to-a-new-role)
|
- [Copy privileges from one role to a new role](#copy-privileges-from-one-role-to-a-new-role)
|
||||||
- [Copy roles from one administrator to another](#copy-roles-from-one-administrator-to-another)
|
- [Copy roles from one administrator to another](#copy-roles-from-one-administrator-to-another)
|
||||||
|
- [Copy non-system admin roles from a source workspace to a target workspace](#copy-non-system-admin-roles-from-a-source-workspace-to-a-target-workspace)
|
||||||
|
|
||||||
## API documentation
|
## API documentation
|
||||||
* [About Administrator roles](https://support.google.com/a/answer/33325?ref_topic=4514341)
|
* [About Administrator roles](https://support.google.com/a/answer/33325?ref_topic=4514341)
|
||||||
@@ -21,13 +22,16 @@
|
|||||||
<DomainName> ::= <String>(.<String>)+
|
<DomainName> ::= <String>(.<String>)+
|
||||||
<EmailAddress> ::= <String>@<DomainName>
|
<EmailAddress> ::= <String>@<DomainName>
|
||||||
<GroupItem> ::= <EmailAddress>|<UniqueID>|<String>
|
<GroupItem> ::= <EmailAddress>|<UniqueID>|<String>
|
||||||
|
<JSONData> ::= (json [charset <Charset>] <String>) | (json file <FileName> [charset <Charset>]) |
|
||||||
<OrgUnitID> ::= id:<String>
|
<OrgUnitID> ::= id:<String>
|
||||||
<OrgUnitPath> ::= /|(/<String)+
|
<OrgUnitPath> ::= /|(/<String)+
|
||||||
<OrgUnitItem> ::= <OrgUnitID>|<OrgUnitPath>
|
<OrgUnitItem> ::= <OrgUnitID>|<OrgUnitPath>
|
||||||
<Privilege> ::= <String>
|
<Privilege> ::= <String>
|
||||||
<PrivilegeList> ::= "<Privilege>(,<Privilege)*"
|
<PrivilegeList> ::= "<Privilege>(,<Privilege)*"
|
||||||
<RoleAssignmentID> ::= <String>
|
<RoleAssignmentID> ::= <String>
|
||||||
<RoleItem> ::= id:<String>|uid:<String>|<String>
|
<RoleID> ::= <String>
|
||||||
|
<RoleName> ::= <String>
|
||||||
|
<RoleItem> ::= id:<RoleID>|<RoleName>
|
||||||
<UniqueID> ::= id:<String>
|
<UniqueID> ::= id:<String>
|
||||||
<UserItem> ::= <EmailAddress>|<UniqueID>|<String>
|
<UserItem> ::= <EmailAddress>|<UniqueID>|<String>
|
||||||
```
|
```
|
||||||
@@ -1383,9 +1387,11 @@ Show 111 Privileges
|
|||||||
## Manage administrative roles
|
## Manage administrative roles
|
||||||
```
|
```
|
||||||
gam create adminrole <String> [description <String>]
|
gam create adminrole <String> [description <String>]
|
||||||
privileges all|all_ou|<PrivilegeList>|(select <FileSelector>|<CSVFileSelector>>)
|
privileges all|all_ou|<PrivilegeList>|(select <FileSelector>|<CSVFileSelector>>)|<JSONData>
|
||||||
|
[csv [todrive <ToDriveAttribute>*] [formatjson [quotechar <Character>]] (addcsvdata <FieldName> <String>)*]
|
||||||
gam update adminrole <RoleItem> [name <String>] [description <String>]
|
gam update adminrole <RoleItem> [name <String>] [description <String>]
|
||||||
[privileges all|all_ou|<PrivilegeList>|(select <FileSelector>|<CSVFileSelector>>)]
|
[privileges all|all_ou|<PrivilegeList>|(select <FileSelector>|<CSVFileSelector>>)|<JSONData>]
|
||||||
|
[csv [todrive <ToDriveAttribute>*] [formatjson [quotechar <Character>]] (addcsvdata <FieldName> <String>)*]
|
||||||
gam delete adminrole <RoleItem>
|
gam delete adminrole <RoleItem>
|
||||||
```
|
```
|
||||||
* `privileges all` - All defined privileges
|
* `privileges all` - All defined privileges
|
||||||
@@ -1393,24 +1399,61 @@ gam delete adminrole <RoleItem>
|
|||||||
* `privileges <PrivilegeList>` - A specific list of privileges
|
* `privileges <PrivilegeList>` - A specific list of privileges
|
||||||
* `privileges select <FileSelector>|<CSVFileSelector>>` - A collection of privileges from a flat or CSV file
|
* `privileges select <FileSelector>|<CSVFileSelector>>` - A collection of privileges from a flat or CSV file
|
||||||
|
|
||||||
|
By default, when an admin role is created|update, GAM displays `<RoleName>(<RoleID>) created|updated`.
|
||||||
|
* `csv [todrive <ToDriveAttribute>*] [formatjson [quotechar <Character>]]` - Output the admin roledetails in CSV format.
|
||||||
|
|
||||||
|
When `csv` is uused, Add additional columns of data from the command line to the output.
|
||||||
|
* `addcsvdata <FieldName> <String>`
|
||||||
|
|
||||||
## Display administrative roles
|
## Display administrative roles
|
||||||
```
|
```
|
||||||
gam info adminrole <RoleItem> [privileges]
|
gam info adminrole <RoleItem> [privileges]
|
||||||
|
[formatjson]
|
||||||
```
|
```
|
||||||
* `privileges` - Display privileges associated with role
|
* `privileges` - Display privileges associated with role
|
||||||
|
|
||||||
|
By default, Gam displays the information as an indented list of keys and values.
|
||||||
|
* `formatjson` - Display the fields in JSON format.
|
||||||
|
|
||||||
|
```
|
||||||
|
gam show adminroles|roles
|
||||||
|
[role <RoleItem>] [privileges]
|
||||||
|
[nosystemroles]
|
||||||
|
[formatjson]
|
||||||
|
```
|
||||||
|
* `privileges` - Display privileges associated with each role
|
||||||
|
|
||||||
|
By default, all roles are displayed:
|
||||||
|
* `role <RoleItem>` - Display a specific role.
|
||||||
|
* `nosystemroles` - Display onnly non-system roles.
|
||||||
|
|
||||||
|
By default, Gam displays the information as an indented list of keys and values.
|
||||||
|
* `formatjson` - Display the fields in JSON format.
|
||||||
|
|
||||||
```
|
```
|
||||||
gam print adminroles|roles [todrive <ToDriveAttribute>*]
|
gam print adminroles|roles [todrive <ToDriveAttribute>*]
|
||||||
[role <RoleItem>] [privileges] [oneitemperrow]
|
[role <RoleItem>] [privileges] [oneitemperrow]
|
||||||
gam show adminroles|roles
|
[nosystemroles]
|
||||||
[role <RoleItem>] [privileges]
|
[formatjson [quotechar <Character>]]
|
||||||
```
|
```
|
||||||
By default, all roles are displayed, use `role <RoleItem>` to display a specific role.
|
|
||||||
|
|
||||||
* `privileges` - Display privileges associated with each role
|
* `privileges` - Display privileges associated with each role
|
||||||
|
|
||||||
By default, with `print`, all privileges for a role are shown on one row as a repeating item.
|
By default, all privileges for a role are shown on one row as a repeating item.
|
||||||
When `oneitemperrow` is specified, each privilege is output on a separate row/line with the other role fields.
|
When `oneitemperrow` is specified, each privilege is output on a separate row/line with the other role fields.
|
||||||
|
|
||||||
|
By default, all roles are displayed:
|
||||||
|
* `role <RoleItem>` - Display a specific role.
|
||||||
|
* `nosystemroles` - Display onnly non-system roles.
|
||||||
|
|
||||||
|
By default, Gam displays the information as columns of fields; the following option causes the output to be in JSON format:
|
||||||
|
* `formatjson` - Display the fields in JSON format.
|
||||||
|
|
||||||
|
By default, when writing CSV files, Gam uses a quote character of double quote `"`. The quote character is used to enclose columns that contain
|
||||||
|
the quote character itself, the column delimiter (comma by default) and new-line characters. Any quote characters within the column are doubled.
|
||||||
|
When using the `formatjson` option, double quotes are used extensively in the data resulting in hard to read/process output.
|
||||||
|
The `quotechar <Character>` option allows you to choose an alternate quote character, single quote for instance, that makes for readable/processable output.
|
||||||
|
`quotechar` defaults to `gam.cfg/csv_output_quote_char`. When uploading CSV files to Google, double quote `"` should be used.
|
||||||
|
|
||||||
## Create an administrator
|
## Create an administrator
|
||||||
Add an administrator role to an administrator.
|
Add an administrator role to an administrator.
|
||||||
```
|
```
|
||||||
@@ -1469,3 +1512,15 @@ gam config csv_input_row_filter "scopeType:regex:CUSTOMER" redirect stdout ./Upd
|
|||||||
gam config csv_input_row_filter "scopeType:regex:ORG_UNIT" redirect stdout ./UpdateNewAdminOrgUnitRoles.txt multiprocess redirect stderr stdout csv CurrentAdminRoles.csv gam create admin newadmin@domain.com "id:~~roleId~~" org_unit "id:~~orgUnitId~~"
|
gam config csv_input_row_filter "scopeType:regex:ORG_UNIT" redirect stdout ./UpdateNewAdminOrgUnitRoles.txt multiprocess redirect stderr stdout csv CurrentAdminRoles.csv gam create admin newadmin@domain.com "id:~~roleId~~" org_unit "id:~~orgUnitId~~"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Copy non-system admin roles from a source workspace to a target workspace
|
||||||
|
This requires GAM version 7.18.01 or higher.
|
||||||
|
|
||||||
|
In the source workspace to the following:
|
||||||
|
```
|
||||||
|
gam redirect csv ./SourceNonSystemRoles.csv print adminroles privileges nosystemroles formatjson quotechar "'"
|
||||||
|
```
|
||||||
|
|
||||||
|
In the target workspacce do the following:
|
||||||
|
```
|
||||||
|
gam redirect csv ./TargetNonSystemRoles.csv multiprocess quotechar "'" redirect stderr - multiprocess csv SourceNonSystemRoles.csv quotechar "'" gam create adminrole "~roleName" description "~roleDescription" privileges json "~JSON" csv addcsvdata oldRoleId "~roleId" formatjson
|
||||||
|
```
|
||||||
|
|||||||
36
wiki/Business-Account-Management.md
Normal file
36
wiki/Business-Account-Management.md
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
# Users - Business Account Management
|
||||||
|
- [API documentation](#api-documentation)
|
||||||
|
- [Introduction](#introduction)
|
||||||
|
- [Definitions](#definitions)
|
||||||
|
- [Display Business Profile Accounts](#display-business-profile-accounts)
|
||||||
|
|
||||||
|
## API documentation
|
||||||
|
* [Business Account Management](https://developers.google.com/my-business/reference/accountmanagement/rest)
|
||||||
|
|
||||||
|
|
||||||
|
## Introduction
|
||||||
|
These features were added in version 7.18.00.
|
||||||
|
|
||||||
|
To use these commands you add the 'Business Account Management API' to your project and update client authorization.
|
||||||
|
```
|
||||||
|
gam update project
|
||||||
|
gam oauth create
|
||||||
|
...
|
||||||
|
[*] 0) Business Account Management API
|
||||||
|
|
||||||
|
```
|
||||||
|
## Definitions
|
||||||
|
* [`<UserTypeEntity>`](Collections-of-Users)
|
||||||
|
|
||||||
|
## Display Business Profile Accounts
|
||||||
|
```
|
||||||
|
gam <UserItem> show businessprofileaccounts
|
||||||
|
[type locationgroup|organization|personal|usergroup]
|
||||||
|
```
|
||||||
|
Gam displays the information as an indented list of keys and values.
|
||||||
|
|
||||||
|
```
|
||||||
|
gam <UserItem> print businessprofileaccounts [todrive <ToDriveAttribute>*]
|
||||||
|
[type locationgroup|organization|personal|usergroup]
|
||||||
|
```
|
||||||
|
Gam displays the information as columns of fields.
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Chat Bot
|
# Chat Bot Setup and Use
|
||||||
- [Introduction](#introduction)
|
- [Introduction](#introduction)
|
||||||
- [Set up a Chat Bot](#set-up-a-chat-bot)
|
- [Set up a Chat Bot](#set-up-a-chat-bot)
|
||||||
- [API documentation](#api-documentation)
|
- [API documentation](#api-documentation)
|
||||||
@@ -12,6 +12,7 @@
|
|||||||
* [Google Classroom API](https://developers.google.com/classroom/reference/rest)
|
* [Google Classroom API](https://developers.google.com/classroom/reference/rest)
|
||||||
* [Google Classroom API - Courses Students](https://developers.google.com/classroom/reference/rest/v1/courses.students)
|
* [Google Classroom API - Courses Students](https://developers.google.com/classroom/reference/rest/v1/courses.students)
|
||||||
* [Google Classroom API - Courses Teachers](https://developers.google.com/classroom/reference/rest/v1/courses.teachers)
|
* [Google Classroom API - Courses Teachers](https://developers.google.com/classroom/reference/rest/v1/courses.teachers)
|
||||||
|
* [Classroom Membership Limits](https://support.google.com/edu/classroom/answer/7300976)
|
||||||
|
|
||||||
## Definitions
|
## Definitions
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
!All Google Drive API calls have been converted from v2 to v3, see: https://developers.google.com/drive/v3/web/migration
|
Legacy GAM used Drive API v2, GAM7 uses Drive API v3. See: https://developers.google.com/drive/v3/web/migration
|
||||||
Many of the changes are internal to Gam and have no visible effect. Google has modified/renamed many field names and these will affect scripts that parse the output from `gam print/show drivesettings/drivefileacls/fileinfo/filelist/filerevisions`. Additionally, Google has dropped some fields and their values are no longer available. On input, Gam accepts both the old and new field names.
|
Many of the changes are internal to GAM7 and have no visible effect.
|
||||||
|
Google has modified/renamed many field names and these will affect scripts that parse the output from `gam print/show drivesettings/drivefileacls/fileinfo/filelist/filerevisions`.
|
||||||
|
Additionally, Google has dropped some fields and their values are no longer available. On input, GAM7 accepts both the old and new field names where applicable.
|
||||||
|
|
||||||
A variable, `drive_v3_native_names` (default value is True), has been added to `gam.cfg` to control the field names on output: when True, the v3 native field names are used; when False, the v3 native field names are mapped to the v2 field names.
|
If you use Legacy GAM and have scripts that process the output from these print commands, you may have to make modifications to your scripts when you upgrade to GAM7.
|
||||||
|
Run your print/show commands with a version of Legacy GAM and save the output.
|
||||||
If you have scripts that process the output from these print commands, you may have to make modifications to your scripts.
|
Run your print/show commands with GAM7 and compare the output to that saved in the previous run;
|
||||||
Run your print/show commands with a version of Legacy Gam and save the output.
|
|
||||||
With drive_v3_native_names = False, run your print/show commands with this version of Gam and compare the output to that saved in the previous run;
|
|
||||||
modify your scripts that process the output as appropriate.
|
modify your scripts that process the output as appropriate.
|
||||||
|
|
||||||
There is a cost to mapping the v3 field names back to the v2 field names; you can avoid this cost by setting drive_v3_native_names = True,
|
|
||||||
running your print/show commands, comparing the output and making the appropriate script modifications.
|
|
||||||
```
|
```
|
||||||
print/show drivesettings
|
print/show drivesettings
|
||||||
Dropped fields:
|
Dropped fields:
|
||||||
@@ -30,7 +28,7 @@ Dropped fields:
|
|||||||
authKey
|
authKey
|
||||||
Renamed fields (Old->New):
|
Renamed fields (Old->New):
|
||||||
name->displayName
|
name->displayName
|
||||||
withLink->allowFileDiscovery
|
withLink->allowFileDiscovery - value is complemented
|
||||||
|
|
||||||
print/show fileinfo/filelist
|
print/show fileinfo/filelist
|
||||||
Dropped fields:
|
Dropped fields:
|
||||||
@@ -40,19 +38,20 @@ Dropped fields:
|
|||||||
labels(hidden)
|
labels(hidden)
|
||||||
markedViewedByMeDate
|
markedViewedByMeDate
|
||||||
openWithLinks
|
openWithLinks
|
||||||
selfLink
|
ownerNames
|
||||||
parents(isRoot)
|
parents(isRoot)
|
||||||
parents(parentLink)
|
parents(parentLink)
|
||||||
parents(selfLink)
|
parents(selfLink)
|
||||||
permissions(selfLink)
|
permissions(selfLink)
|
||||||
selfLink
|
selfLink
|
||||||
userPermission(selfLink)
|
userPermission
|
||||||
Renamed fields (Old->New):
|
Renamed fields (Old->New):
|
||||||
alternateLink->webViewLink
|
alternateLink->webViewLink
|
||||||
capabilities(canChangeRestrictedDownload)->capabilities(canChangeViewersCanCopyContent)
|
capabilities(canChangeRestrictedDownload)->capabilities(canChangeViewersCanCopyContent)
|
||||||
createdDate->createdTime
|
createdDate->createdTime
|
||||||
expirationDate->expirationTime
|
expirationDate->expirationTime
|
||||||
fileSize->size
|
fileSize->size
|
||||||
|
lastModifyingUserName->lastModifyingUser(displayName)
|
||||||
lastViewedByMeDate->viewedByMeTime
|
lastViewedByMeDate->viewedByMeTime
|
||||||
modified->modifiedByMe
|
modified->modifiedByMe
|
||||||
modifiedByMeDate->modifiedByMeTime
|
modifiedByMeDate->modifiedByMeTime
|
||||||
@@ -76,18 +75,3 @@ Renamed fields (Old->New):
|
|||||||
picture.url->photoLink
|
picture.url->photoLink
|
||||||
pinned->keepForever
|
pinned->keepForever
|
||||||
```
|
```
|
||||||
The parents field of a file has undergone the most change. In Drive v2 it was a list of compound items with three sub-fields per item: id, isRoot, parentLink.
|
|
||||||
In Drive v3 the parents field is a list of simple items, the parent ids. The following examples show how the parents field is output in a CSV file for a file with two parents.
|
|
||||||
```
|
|
||||||
Previous versions of Gam:
|
|
||||||
Owner,title,parents,parents.0.isRoot,parents.0.id,parents.0.parentLink,parents.1.isRoot,parents.1.id,parents.1.parentLink
|
|
||||||
testuser@domain.com,TestFile,2,True,PPPP1111,https://www.googleapis.com/drive/v2/files/PPPP1111,False,PPPP2222,https://www.googleapis.com/drive/v2/files/PPPP2222
|
|
||||||
|
|
||||||
Current version of Gam with drive_v3_name_names = false
|
|
||||||
Owner,title,parents,parents.0.id,parents.1.id
|
|
||||||
testuser@domain.com,TestFile,2,PPPP1111,PPPP2222
|
|
||||||
|
|
||||||
Current version of Gam with drive_v3_name_names = true
|
|
||||||
Owner,name,parents
|
|
||||||
testuser@domain.com,TestFile,PPPP1111 PPPP2222
|
|
||||||
```
|
|
||||||
|
|||||||
@@ -10,6 +10,108 @@ Add the `-s` option to the end of the above commands to suppress creating the `g
|
|||||||
|
|
||||||
See [Downloads-Installs-GAM7](https://github.com/GAM-team/GAM/wiki/Downloads-Installs) for Windows or other options, including manual installation
|
See [Downloads-Installs-GAM7](https://github.com/GAM-team/GAM/wiki/Downloads-Installs) for Windows or other options, including manual installation
|
||||||
|
|
||||||
|
### 7.18.02
|
||||||
|
|
||||||
|
Upgraded to OpenSSL 3.5.2.
|
||||||
|
|
||||||
|
### 7.18.01
|
||||||
|
|
||||||
|
Added option `nosystemroles` to `gam print|show adminroles` that causes GAM
|
||||||
|
to only display non-system roles.
|
||||||
|
|
||||||
|
Added option `formatjson` to `gam info|print|show adminroles`; this will be most useful
|
||||||
|
when the `privileges` option is used.
|
||||||
|
|
||||||
|
Updated `gam create|update adminrole` to allow specification of privileges with
|
||||||
|
JSON data: `privileges <JSONData>`. These two updates make it easier to copy admin roles.
|
||||||
|
|
||||||
|
Updated `gam create|update adminrole` to allow output of the created/updated
|
||||||
|
role data in CSV format; by default, GAM displays `<RoleName>(<RoleID>) created|updated`.
|
||||||
|
```
|
||||||
|
csv [todrive <ToDriveAttribute>*] [formatjson [quotechar <Character>]] (addcsvdata <FieldName> <String>)*
|
||||||
|
```
|
||||||
|
|
||||||
|
### 7.18.00
|
||||||
|
|
||||||
|
Added commands to display Business Profile Accounts.
|
||||||
|
These are special purpose commands and will not generally be used.
|
||||||
|
```
|
||||||
|
gam show businessprofileaccounts
|
||||||
|
gam print businessprofileaccounts [todrive <ToDriveAttribute>*]
|
||||||
|
```
|
||||||
|
|
||||||
|
### 7.17.03
|
||||||
|
|
||||||
|
Fixed bug in `gam <UserItem> print|show chatspaces asadmin fields <ChatSpaceFieldNameList>` that caused a trap
|
||||||
|
when `displayname` was not in `<ChatSpaceFieldNameList>`.
|
||||||
|
|
||||||
|
### 7.17.02
|
||||||
|
|
||||||
|
Updated `gam <UserTypeEntity> print|show webmastersites` to handle the following error
|
||||||
|
that occurs if you haven't updated your project to include the Google Search Console API.
|
||||||
|
```
|
||||||
|
ERROR: 403: permissionDenied - Google Search Console API has not been used in project 111055363999 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/searchconsole.googleapis.com/overview?project=111055363999 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
|
||||||
|
```
|
||||||
|
|
||||||
|
### 7.17.01
|
||||||
|
|
||||||
|
Fixed bug in `gam <UserTypeEntity> show webmastersites` that caused a trap.
|
||||||
|
|
||||||
|
### 7.17.00
|
||||||
|
|
||||||
|
Added commands to discover Sites and WebResources that managed users (previously unmanaged) may have access to for better governance and visibility.
|
||||||
|
These are special purpose commands and will not generally be used.
|
||||||
|
```
|
||||||
|
gam <UserTypeEntity> show webresources
|
||||||
|
gam <UserTypeEntity> print webresources [todrive <ToDriveAttribute>*]
|
||||||
|
gam <UserTypeEntity> show webmastersites
|
||||||
|
gam <UserTypeEntity> print webmastersites [todrive <ToDriveAttribute>*]
|
||||||
|
```
|
||||||
|
|
||||||
|
### 7.16.01
|
||||||
|
|
||||||
|
The Drive API now supports setting download restrictions on individual files.
|
||||||
|
|
||||||
|
Added `downloadrestictions` and `<DriveDownloadRestrictionsSubfieldName>` to `<DriveFieldName>`.
|
||||||
|
```
|
||||||
|
<DriveDownloadRestrictionsSubfieldName> ::=
|
||||||
|
downloadrestrictions.itemdownloadrestriction|
|
||||||
|
downloadrestrictions.effectivedownloadrestrictionwithcontext
|
||||||
|
```
|
||||||
|
|
||||||
|
Added `itemdownloadrestriction (restrictedforreaders [<Boolean>]) (restrictedforwriters [<Boolean>])`
|
||||||
|
to `<DriveFileAttribute>`.
|
||||||
|
|
||||||
|
From the Drive API documentation:
|
||||||
|
```
|
||||||
|
itemDownloadRestriction - The download restriction of the file applied directly by the owner or organizer. This does not take into account shared drive settings or DLP rules.
|
||||||
|
effectiveDownloadRestrictionWithContext - Output only. The effective download restriction applied to this file. This considers all restriction settings and DLP rules.
|
||||||
|
restrictedForReaders - Whether download and copy is restricted for readers.
|
||||||
|
restrictedForWriters - Whether download and copy is restricted for writers. If true, download is also restricted for readers.
|
||||||
|
```
|
||||||
|
|
||||||
|
### 7.16.00
|
||||||
|
|
||||||
|
Removed `drive_v3_native_names` from `gam.cfg`; GAM now only uses Drive API v3 fields names on output.
|
||||||
|
If you had `drive_v3_native_names = False` in `gam.cfg` or are updating from Legacy GAM:
|
||||||
|
|
||||||
|
* See: https://github.com/GAM-team/GAM/wiki/Drive-REST-API-v3
|
||||||
|
|
||||||
|
### 7.15.01
|
||||||
|
|
||||||
|
Added `downloadrestrictions.restrictedforreaders` and `downloadrestrictions.restrictedforwriters`
|
||||||
|
to `<SharedDriveRestrictionsSubfieldName>`; previously, only the abbreviations `downloadrestrictedforreaders`
|
||||||
|
and `downloadrestrictedforwriters` were supported (they are still supported).
|
||||||
|
|
||||||
|
Updated `gam <UserTypeEntity> copy drivefile` to handle unexpected data returned by Google that caused a trap.
|
||||||
|
|
||||||
|
### 7.15.00
|
||||||
|
|
||||||
|
Updated `gam print shareddriveorganizers` to make `shownoorganizerdrives` default to `True`
|
||||||
|
as documented; it was defaulting to `False`.
|
||||||
|
|
||||||
|
Cleaned up code for processing Python dictionary structures; this should have no noticable effect.
|
||||||
|
|
||||||
### 7.14.04
|
### 7.14.04
|
||||||
|
|
||||||
Fixed bug in `gam print|show cigroups cimember <UserItem>` that generated the following error:
|
Fixed bug in `gam print|show cigroups cimember <UserItem>` that generated the following error:
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
Use these steps if you have used any version of GAM in your domain. They will update your GAM project
|
Use these steps if you have used any version of GAM in your domain. They will update your GAM project
|
||||||
and all necessary authentications.
|
and all necessary authentications.
|
||||||
|
|
||||||
|
- [Drive API v2 to Drive API v3](Drive-REST-v3)
|
||||||
- [Downloads-Installs](Downloads-Installs)
|
- [Downloads-Installs](Downloads-Installs)
|
||||||
- [Linux and MacOS and Google Cloud Shell](#linux-and-mac-os-and-google-cloud-shell)
|
- [Linux and MacOS and Google Cloud Shell](#linux-and-mac-os-and-google-cloud-shell)
|
||||||
- [Windows](#windows)
|
- [Windows](#windows)
|
||||||
@@ -251,10 +252,10 @@ writes the credentials into the file oauth2.txt.
|
|||||||
admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt
|
admin@server:/Users/admin$ rm -f /Users/admin/GAMConfig/oauth2.txt
|
||||||
admin@server:/Users/admin$ gam version
|
admin@server:/Users/admin$ gam version
|
||||||
WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found
|
WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found
|
||||||
GAM 7.14.04 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.18.02 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.5 64-bit final
|
Python 3.13.5 64-bit final
|
||||||
MacOS Sequoia 15.5 x86_64
|
MacOS Sequoia 15.6 x86_64
|
||||||
Path: /Users/admin/bin/gam7
|
Path: /Users/admin/bin/gam7
|
||||||
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
||||||
|
|
||||||
@@ -989,7 +990,7 @@ writes the credentials into the file oauth2.txt.
|
|||||||
C:\>del C:\GAMConfig\oauth2.txt
|
C:\>del C:\GAMConfig\oauth2.txt
|
||||||
C:\>gam version
|
C:\>gam version
|
||||||
WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found
|
WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found
|
||||||
GAM 7.14.04 - https://github.com/GAM-team/GAM - pythonsource
|
GAM 7.18.02 - https://github.com/GAM-team/GAM - pythonsource
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.5 64-bit final
|
Python 3.13.5 64-bit final
|
||||||
Windows-10-10.0.17134 AMD64
|
Windows-10-10.0.17134 AMD64
|
||||||
|
|||||||
@@ -203,8 +203,8 @@
|
|||||||
allowcontentmanagerstosharefolders|
|
allowcontentmanagerstosharefolders|
|
||||||
copyrequireswriterpermission|
|
copyrequireswriterpermission|
|
||||||
domainusersonly|
|
domainusersonly|
|
||||||
downloadrestrictedforreaders|
|
downloadrestrictedforreaders|downloadrestrictions.restrictedforreaders|
|
||||||
downloadrestrictedforwriters|
|
downloadrestrictedforwriters|downloadrestrictions.restrictedforwriters|
|
||||||
drivemembersonly|teammembersonly|
|
drivemembersonly|teammembersonly|
|
||||||
sharingfoldersrequiresorganizerpermission
|
sharingfoldersrequiresorganizerpermission
|
||||||
|
|
||||||
@@ -247,7 +247,7 @@ The user that creates a Shared Drive is given the permission role organizer for
|
|||||||
gam [<UserTypeEntity>] create shareddrive <Name>
|
gam [<UserTypeEntity>] create shareddrive <Name>
|
||||||
[(theme|themeid <String>)|
|
[(theme|themeid <String>)|
|
||||||
([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
||||||
(<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
([restrictions.]<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
||||||
[hide <Boolean>] [ou|org|orgunit <OrgUnitItem>]
|
[hide <Boolean>] [ou|org|orgunit <OrgUnitItem>]
|
||||||
[errorretries <Integer>] [updateinitialdelay <Integer>] [updateretrydelay <Integer>]
|
[errorretries <Integer>] [updateinitialdelay <Integer>] [updateretrydelay <Integer>]
|
||||||
[(csv [todrive <ToDriveAttribute>*] (addcsvdata <FieldName> <String>)*) | returnidonly]
|
[(csv [todrive <ToDriveAttribute>*] (addcsvdata <FieldName> <String>)*) | returnidonly]
|
||||||
@@ -259,7 +259,7 @@ gam [<UserTypeEntity>] create shareddrive <Name>
|
|||||||
* `<Float>` - Y coordinate, typically 0.0
|
* `<Float>` - Y coordinate, typically 0.0
|
||||||
* `<Float>` - width, typically 1.0
|
* `<Float>` - width, typically 1.0
|
||||||
* `color` - set the Shared Drive color
|
* `color` - set the Shared Drive color
|
||||||
* `<SharedDriveRestrictionsSubfieldName> <Boolean>` - Set Shared Drive Restrictions
|
* `[restrictions.]<SharedDriveRestrictionsSubfieldName> <Boolean>` - Set Shared Drive Restrictions
|
||||||
* `hide <Boolean>` - Set Shared Drive visibility
|
* `hide <Boolean>` - Set Shared Drive visibility
|
||||||
|
|
||||||
If any attributes other than `themeid` are specified, GAM must create the Drive and then update the Drive attributes.
|
If any attributes other than `themeid` are specified, GAM must create the Drive and then update the Drive attributes.
|
||||||
@@ -333,13 +333,13 @@ gam [<UserTypeEntity>] update shareddrive <SharedDriveEntity> [name <Name>]
|
|||||||
[adminaccess|asadmin]
|
[adminaccess|asadmin]
|
||||||
[(theme|themeid <String>)|
|
[(theme|themeid <String>)|
|
||||||
([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
||||||
(<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
([restrictions.]<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
||||||
[hide|hidden <Boolean>] [ou|org|orgunit <OrgUnitItem>]
|
[hide|hidden <Boolean>] [ou|org|orgunit <OrgUnitItem>]
|
||||||
```
|
```
|
||||||
* `themeid` - a Shared Drive themeId obtained from `show shareddrivethemes`
|
* `themeid` - a Shared Drive themeId obtained from `show shareddrivethemes`
|
||||||
* `customtheme` - set the backgroundImageFile property described here: https://developers.google.com/drive/v3/reference/teamdrives
|
* `customtheme` - set the backgroundImageFile property described here: https://developers.google.com/drive/v3/reference/teamdrives
|
||||||
* `color` - set the Shared Drive color
|
* `color` - set the Shared Drive color
|
||||||
* `<SharedDriveRestrictionsSubfieldName> <Boolean>` - Set Shared Drive Restrictions
|
* `[restrictions.]<SharedDriveRestrictionsSubfieldName> <Boolean>` - Set Shared Drive Restrictions
|
||||||
* `hidden <Boolean>` - Set Shared Drive visibility
|
* `hidden <Boolean>` - Set Shared Drive visibility
|
||||||
|
|
||||||
* `ou|org|orgunit <OrgUnitItem>` - See: https://workspaceupdates.googleblog.com/2022/05/shared-drives-in-organizational-units-open-beta.html
|
* `ou|org|orgunit <OrgUnitItem>` - See: https://workspaceupdates.googleblog.com/2022/05/shared-drives-in-organizational-units-open-beta.html
|
||||||
|
|||||||
@@ -157,12 +157,16 @@
|
|||||||
contentrestrictions.restrictiontime|
|
contentrestrictions.restrictiontime|
|
||||||
contentrestrictions.type
|
contentrestrictions.type
|
||||||
|
|
||||||
<DriveLabelInfoSubfieldName> ::=
|
<DriveDownloadRestrictionsSubfieldName> ::=
|
||||||
|
downloadrestrictions.itemdownloadrestriction|
|
||||||
|
downloadrestrictions.effectivedownloadrestrictionwithcontext
|
||||||
|
|
||||||
|
<ClassificationLabelInfoSubfieldName> ::=
|
||||||
labels.id| # modifiedByMe
|
labels.id| # modifiedByMe
|
||||||
labels.revisionid| # copyRequiresWriterPermission
|
labels.revisionid| # copyRequiresWriterPermission
|
||||||
labels.fields # viewedByMe
|
labels.fields # viewedByMe
|
||||||
|
|
||||||
<DriveLabelsSubfieldName> ::=
|
<ClassificationLabelsSubfieldName~> ::=
|
||||||
labels.modified| # modifiedByMe
|
labels.modified| # modifiedByMe
|
||||||
labels.restricted| # copyRequiresWriterPermission
|
labels.restricted| # copyRequiresWriterPermission
|
||||||
labels.starred| # starred
|
labels.starred| # starred
|
||||||
@@ -251,6 +255,8 @@
|
|||||||
copyrequireswriterpermission|
|
copyrequireswriterpermission|
|
||||||
createddate|createdtime|
|
createddate|createdtime|
|
||||||
description|
|
description|
|
||||||
|
downloadrestictions|
|
||||||
|
<DriveDownloadRestrictionsSubfieldName>|
|
||||||
driveid|
|
driveid|
|
||||||
drivename|
|
drivename|
|
||||||
editable|
|
editable|
|
||||||
@@ -269,9 +275,9 @@
|
|||||||
inheritedpermissionsdisabled|
|
inheritedpermissionsdisabled|
|
||||||
isappauthorized|
|
isappauthorized|
|
||||||
labelinfo|
|
labelinfo|
|
||||||
<DriveLabelInfoSubfieldName>|
|
<ClassificationLabelInfoSubfieldName>|
|
||||||
labels|
|
labels|
|
||||||
<DriveLabelsSubfieldName>|
|
<ClassificationLabelsSubfieldName>|
|
||||||
lastmodifyinguser|
|
lastmodifyinguser|
|
||||||
<DriveLastModifyingUserSubfieldName>|
|
<DriveLastModifyingUserSubfieldName>|
|
||||||
lastmodifyingusername|
|
lastmodifyingusername|
|
||||||
|
|||||||
@@ -125,6 +125,7 @@
|
|||||||
(folderColorRgb <ColorValue>)|
|
(folderColorRgb <ColorValue>)|
|
||||||
(indexabletext <String>)|
|
(indexabletext <String>)|
|
||||||
(inheritedpermissionsdisabled [<Boolean>])|
|
(inheritedpermissionsdisabled [<Boolean>])|
|
||||||
|
(itemdownloadrestriction restrictedforreaders|restrictedforwriters [<Boolean>])|
|
||||||
(keeprevisionforever|pinned)|
|
(keeprevisionforever|pinned)|
|
||||||
(lastviewedbyme <Time>)|
|
(lastviewedbyme <Time>)|
|
||||||
(mimetype <MimeType>)|
|
(mimetype <MimeType>)|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
- [Delete all ACLs except owner from a user's My Drive](#delete-all-acls-except-owner-from-a-users-my-drive)
|
- [Delete all ACLs except owner from a user's My Drive](#delete-all-acls-except-owner-from-a-users-my-drive)
|
||||||
- [Change shares to User1 to shares to User2](#change-shares-to-user1-to-shares-to-user2)
|
- [Change shares to User1 to shares to User2](#change-shares-to-user1-to-shares-to-user2)
|
||||||
- [Map All ACLs from an old domain to a new domain](#map-all-acls-from-an-old-domain-to-a-new-domain)
|
- [Map All ACLs from an old domain to a new domain](#map-all-acls-from-an-old-domain-to-a-new-domain)
|
||||||
|
- [Remove all ACLs for a specific user or group email address](#remove-all-ACLs-for-a-specific-user-or-group-email-address)
|
||||||
|
|
||||||
## API documentation
|
## API documentation
|
||||||
* [Drive API - Permissions](https://developers.google.com/drive/api/v3/reference/permissions)
|
* [Drive API - Permissions](https://developers.google.com/drive/api/v3/reference/permissions)
|
||||||
@@ -385,3 +386,48 @@ gam config csv_input_row_filter "permission.type:regex:user|group" redirect stdo
|
|||||||
gam config csv_input_row_filter "permission.type:regex:domain" redirect stdout ./AddNewDomainACLsDomainShares.txt multiprocess redirect stderr stdout csv ./allUsersFiles.csv gam user "~Owner" create drivefileacl "~id" "~permission.type" "~permission.domain" role "~permission.role" allowfilediscovery "~permission.allowFileDiscovery" mappermissionsdomain olddomain.com newdomain.com
|
gam config csv_input_row_filter "permission.type:regex:domain" redirect stdout ./AddNewDomainACLsDomainShares.txt multiprocess redirect stderr stdout csv ./allUsersFiles.csv gam user "~Owner" create drivefileacl "~id" "~permission.type" "~permission.domain" role "~permission.role" allowfilediscovery "~permission.allowFileDiscovery" mappermissionsdomain olddomain.com newdomain.com
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Remove all ACLs for a specific user or group email address
|
||||||
|
|
||||||
|
### My Drives
|
||||||
|
|
||||||
|
Get My Drive ACLs sharing to that email address:
|
||||||
|
* Replace `<Type>` with user or group
|
||||||
|
* Replace `email@domain.com` with actual email address
|
||||||
|
```
|
||||||
|
gam config auto_batch_min 1 num_threads 20 redirect csv ./MyDriveShares.csv multiprocess redirect stderr - multiprocess all users print filelist fields id,name,mimetype,basicpermissions query "'email@domain.com' in readers or 'email@domain.com' in writers" pm notrole owner type <Type> emailaddress email@domain.com em pmfilter oneitemperrow
|
||||||
|
```
|
||||||
|
|
||||||
|
Delete those My Drive ACLs.
|
||||||
|
```
|
||||||
|
gam config num_threads 20 redirect stdout ./DeleteMyDriveShares.txt multiprocess redirect stderr stdout csv MyDriveShares.csv gam user "~Owner" delete drivefleacl "~id" "id:~~permissions.id~~"
|
||||||
|
```
|
||||||
|
|
||||||
|
Add My Drive ACLs with a different email address and the same role.
|
||||||
|
```
|
||||||
|
gam config num_threads 20 redirect stdout ./AddMyDriveShares.txt multiprocess redirect stderr stdout csv MyDriveShares.csv gam user "~Owner" add drivefleacl "~id" "~permission.type" newemail@domain.rom role "~permission.role"
|
||||||
|
```
|
||||||
|
|
||||||
|
### Shared Drives
|
||||||
|
Get an organizer for each Shared Drive
|
||||||
|
```
|
||||||
|
gam redirect csv ./SharedDriveOrganizers.csv print shareddriveorganizers
|
||||||
|
```
|
||||||
|
|
||||||
|
Get Shared Drive ACLs explicitly sharing to that email address:
|
||||||
|
* Replace `<Type>` with user or group
|
||||||
|
* Replace `email@domain.com` with actual email address
|
||||||
|
```
|
||||||
|
gam config num_threads 20 csv_input_row_filter "organizers:regex:^.+$" redirect csv ./SharedDriveShares.csv multiprocess redirect stderr - multiprocess csv SharedDriveOrganizers.csv gam user "~organizers" print filelist select shareddriveid "~id" fields id,name,mimetype,basicpermissions,driveid showdrivename query "'email@domain.com' in readers or 'email@domain.com' in writers" pm type <Type> emailaddress email@domain.com inherited false em pmfilter oneitemperrow
|
||||||
|
```
|
||||||
|
|
||||||
|
Delete those Shared Drive ACLs.
|
||||||
|
```
|
||||||
|
gam config num_threads 20 redirect stdout ./DeleteSharedDriveShares.txt multiprocess redirect stderr stdout csv SharedDriveShares.csv gam user "~Owner" delete drivefleacl "~id" "id:~~permissions.id~~"
|
||||||
|
```
|
||||||
|
|
||||||
|
Add Shared Drive ACLs with a different email address and the same role.
|
||||||
|
```
|
||||||
|
gam config num_threads 20 redirect stdout ./ReplaceSharedDriveShares.txt multiprocess redirect stderr stdout csv SharedDriveShares.csv gam user "~Owner" add drivefleacl "~id" "~permission.type" newemail@domain.rom role "~permission.role"
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -181,8 +181,8 @@
|
|||||||
allowcontentmanagerstosharefolders|
|
allowcontentmanagerstosharefolders|
|
||||||
copyrequireswriterpermission|
|
copyrequireswriterpermission|
|
||||||
domainusersonly|
|
domainusersonly|
|
||||||
downloadrestrictedforreaders|
|
downloadrestrictedforreaders|downloadrestrictions.restrictedforreaders|
|
||||||
downloadrestrictedforwriters|
|
downloadrestrictedforwriters|downloadrestrictions.restrictedforwriters|
|
||||||
drivemembersonly|teammembersonly|
|
drivemembersonly|teammembersonly|
|
||||||
sharingfoldersrequiresorganizerpermission
|
sharingfoldersrequiresorganizerpermission
|
||||||
|
|
||||||
@@ -217,7 +217,7 @@ The user that creates a Shared Drive is given the permission role organizer for
|
|||||||
gam <UserTypeEntity> create shareddrive <Name>
|
gam <UserTypeEntity> create shareddrive <Name>
|
||||||
[(theme|themeid <String>)|
|
[(theme|themeid <String>)|
|
||||||
([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
||||||
(<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
([restrictions.]<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
||||||
[hide <Boolean>] [ou|org|orgunit <OrgUnitItem>]
|
[hide <Boolean>] [ou|org|orgunit <OrgUnitItem>]
|
||||||
[errorretries <Integer>] [updateinitialdelay <Integer>] [updateretrydelay <Integer>]
|
[errorretries <Integer>] [updateinitialdelay <Integer>] [updateretrydelay <Integer>]
|
||||||
[(csv [todrive <ToDriveAttribute>*] (addcsvdata <FieldName> <String>)*) | returnidonly]
|
[(csv [todrive <ToDriveAttribute>*] (addcsvdata <FieldName> <String>)*) | returnidonly]
|
||||||
@@ -228,7 +228,7 @@ gam <UserTypeEntity> create shareddrive <Name>
|
|||||||
* `<Float>` - Y coordinate, typically 0.0
|
* `<Float>` - Y coordinate, typically 0.0
|
||||||
* `<Float>` - width, typically 1.0
|
* `<Float>` - width, typically 1.0
|
||||||
* `color` - set the Shared Drive color
|
* `color` - set the Shared Drive color
|
||||||
* `<SharedDriveRestrictionsSubfieldName> <Boolean>` - Set Shared Drive Restrictions
|
* `[restrictions.]<SharedDriveRestrictionsSubfieldName> <Boolean>` - Set Shared Drive Restrictions
|
||||||
* `hide <Boolean>` - Set Shared Drive visibility
|
* `hide <Boolean>` - Set Shared Drive visibility
|
||||||
|
|
||||||
If any attributes other than `themeid` are specified, GAM must create the Drive and then update the Drive attributes.
|
If any attributes other than `themeid` are specified, GAM must create the Drive and then update the Drive attributes.
|
||||||
@@ -284,13 +284,13 @@ This command is used to set basic Shared Drive settings.
|
|||||||
gam <UserTypeEntity> update shareddrive <SharedDriveEntity> [adminaccess|asadmin] [name <Name>]
|
gam <UserTypeEntity> update shareddrive <SharedDriveEntity> [adminaccess|asadmin] [name <Name>]
|
||||||
[(theme|themeid <String>)|
|
[(theme|themeid <String>)|
|
||||||
([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
([customtheme <DriveFileID> <Float> <Float> <Float>] [color <ColorValue>])]
|
||||||
(<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
([restrictions.]<SharedDriveRestrictionsSubfieldName> <Boolean>)*
|
||||||
[hide|hidden <Boolean>] [ou|org|orgunit <OrgUnitItem>]
|
[hide|hidden <Boolean>] [ou|org|orgunit <OrgUnitItem>]
|
||||||
```
|
```
|
||||||
* `themeid` - a Shared Drive themeId obtained from `show shareddrivethemes`
|
* `themeid` - a Shared Drive themeId obtained from `show shareddrivethemes`
|
||||||
* `customtheme` - set the backgroundImageFile property described here: https://developers.google.com/drive/v3/reference/teamdrives
|
* `customtheme` - set the backgroundImageFile property described here: https://developers.google.com/drive/v3/reference/teamdrives
|
||||||
* `color` - set the Shared Drive color
|
* `color` - set the Shared Drive color
|
||||||
* `<SharedDriveRestrictionsSubfieldName> <Boolean>` - Set Shared Drive Restrictions
|
* `[restrictions.]<SharedDriveRestrictionsSubfieldName> <Boolean>` - Set Shared Drive Restrictions
|
||||||
* `hidden <Boolean>` - Set Shared Drive visibility
|
* `hidden <Boolean>` - Set Shared Drive visibility
|
||||||
|
|
||||||
This option is only available when the command is run as an administrator.
|
This option is only available when the command is run as an administrator.
|
||||||
|
|||||||
48
wiki/Users-Web-Resources-and-Sites.md
Normal file
48
wiki/Users-Web-Resources-and-Sites.md
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
# Users - Web Resources and Sites
|
||||||
|
- [API documentation](#api-documentation)
|
||||||
|
- [Introduction](#introduction)
|
||||||
|
- [Definitions](#definitions)
|
||||||
|
- [Display Web Resources](#display-web-resources)
|
||||||
|
- [Display Web Master Sites](#display-web-master-sites)
|
||||||
|
|
||||||
|
## API documentation
|
||||||
|
* [Web Resources](https://developers.google.com/site-verification/v1/webResource/list)
|
||||||
|
* [Web Sites](https://developers.google.com/webmaster-tools/v1/sites/list)
|
||||||
|
|
||||||
|
|
||||||
|
## Introduction
|
||||||
|
These features were added in version 7.17.00.
|
||||||
|
|
||||||
|
To use these commands you add the 'Search Console API' to your project and update your service account authorization.
|
||||||
|
```
|
||||||
|
gam update project
|
||||||
|
gam user user@domain.com update serviceaccount
|
||||||
|
...
|
||||||
|
[*] 39) Search Console API - read only
|
||||||
|
[*] 42) Site Verification API
|
||||||
|
|
||||||
|
```
|
||||||
|
## Definitions
|
||||||
|
* [`<UserTypeEntity>`](Collections-of-Users)
|
||||||
|
|
||||||
|
## Display Web Resources
|
||||||
|
```
|
||||||
|
gam <UserItem> show webresources
|
||||||
|
```
|
||||||
|
Gam displays the information as an indented list of keys and values.
|
||||||
|
|
||||||
|
```
|
||||||
|
gam <UserItem> print webresources [todrive <ToDriveAttribute>*]
|
||||||
|
```
|
||||||
|
Gam displays the information as columns of fields.
|
||||||
|
|
||||||
|
## Display Web Master Sites
|
||||||
|
```
|
||||||
|
gam <UserItem> show webmastersites
|
||||||
|
```
|
||||||
|
Gam displays the information as an indented list of keys and values.
|
||||||
|
|
||||||
|
```
|
||||||
|
gam <UserItem> print webmastersites [todrive <ToDriveAttribute>*]
|
||||||
|
```
|
||||||
|
Gam displays the information as columns of fields.
|
||||||
@@ -1,13 +1,12 @@
|
|||||||
k
|
|
||||||
# Version and Help
|
# Version and Help
|
||||||
|
|
||||||
Print the current version of Gam with details
|
Print the current version of Gam with details
|
||||||
```
|
```
|
||||||
gam version
|
gam version
|
||||||
GAM 7.14.04 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.18.02 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.5 64-bit final
|
Python 3.13.5 64-bit final
|
||||||
MacOS Sequoia 15.5 x86_64
|
MacOS Sequoia 15.6 x86_64
|
||||||
Path: /Users/Admin/bin/gam7
|
Path: /Users/Admin/bin/gam7
|
||||||
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
||||||
Time: 2023-06-02T21:10:00-07:00
|
Time: 2023-06-02T21:10:00-07:00
|
||||||
@@ -16,10 +15,10 @@ Time: 2023-06-02T21:10:00-07:00
|
|||||||
Print the current version of Gam with details and time offset information
|
Print the current version of Gam with details and time offset information
|
||||||
```
|
```
|
||||||
gam version timeoffset
|
gam version timeoffset
|
||||||
GAM 7.14.04 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.18.02 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.5 64-bit final
|
Python 3.13.5 64-bit final
|
||||||
MacOS Sequoia 15.5 x86_64
|
MacOS Sequoia 15.6 x86_64
|
||||||
Path: /Users/Admin/bin/gam7
|
Path: /Users/Admin/bin/gam7
|
||||||
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
||||||
Your system time differs from www.googleapis.com by less than 1 second
|
Your system time differs from www.googleapis.com by less than 1 second
|
||||||
@@ -28,15 +27,15 @@ Your system time differs from www.googleapis.com by less than 1 second
|
|||||||
Print the current version of Gam with extended details and SSL information
|
Print the current version of Gam with extended details and SSL information
|
||||||
```
|
```
|
||||||
gam version extended
|
gam version extended
|
||||||
GAM 7.14.04 - https://github.com/GAM-team/GAM - pyinstaller
|
GAM 7.18.02 - https://github.com/GAM-team/GAM - pyinstaller
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.5 64-bit final
|
Python 3.13.5 64-bit final
|
||||||
MacOS Sequoia 15.5 x86_64
|
MacOS Sequoia 15.6 x86_64
|
||||||
Path: /Users/Admin/bin/gam7
|
Path: /Users/Admin/bin/gam7
|
||||||
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
||||||
Time: 2023-06-02T21:10:00-07:00
|
Time: 2023-06-02T21:10:00-07:00
|
||||||
Your system time differs from admin.googleapis.com by less than 1 second
|
Your system time differs from admin.googleapis.com by less than 1 second
|
||||||
OpenSSL 3.4.0 22 Oct Sep 2024
|
OpenSSL 3.5.2 5 ASug 2025
|
||||||
cryptography 43.0.3
|
cryptography 43.0.3
|
||||||
filelock 3.16.1
|
filelock 3.16.1
|
||||||
google-api-python-client 2.149.0
|
google-api-python-client 2.149.0
|
||||||
@@ -65,7 +64,7 @@ MacOS High Sierra 10.13.6 x86_64
|
|||||||
Path: /Users/Admin/bin/gam7
|
Path: /Users/Admin/bin/gam7
|
||||||
Version Check:
|
Version Check:
|
||||||
Current: 5.35.08
|
Current: 5.35.08
|
||||||
Latest: 7.14.04
|
Latest: 7.18.02
|
||||||
echo $?
|
echo $?
|
||||||
1
|
1
|
||||||
```
|
```
|
||||||
@@ -73,7 +72,7 @@ echo $?
|
|||||||
Print the current version number without details
|
Print the current version number without details
|
||||||
```
|
```
|
||||||
gam version simple
|
gam version simple
|
||||||
7.14.04
|
7.18.02
|
||||||
```
|
```
|
||||||
In Linux/MacOS you can do:
|
In Linux/MacOS you can do:
|
||||||
```
|
```
|
||||||
@@ -83,10 +82,10 @@ echo $VER
|
|||||||
Print the current version of Gam and address of this Wiki
|
Print the current version of Gam and address of this Wiki
|
||||||
```
|
```
|
||||||
gam help
|
gam help
|
||||||
GAM 7.14.04 - https://github.com/GAM-team/GAM
|
GAM 7.18.02 - https://github.com/GAM-team/GAM
|
||||||
GAM Team <google-apps-manager@googlegroups.com>
|
GAM Team <google-apps-manager@googlegroups.com>
|
||||||
Python 3.13.5 64-bit final
|
Python 3.13.5 64-bit final
|
||||||
MacOS Sequoia 15.5 x86_64
|
MacOS Sequoia 15.6 x86_64
|
||||||
Path: /Users/Admin/bin/gam7
|
Path: /Users/Admin/bin/gam7
|
||||||
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, customer_id: my_customer, domain: domain.com
|
||||||
Time: 2023-06-02T21:10:00-07:00
|
Time: 2023-06-02T21:10:00-07:00
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ Client Access
|
|||||||
* [Administrators](Administrators)
|
* [Administrators](Administrators)
|
||||||
* [Alert Center](Alert-Center)
|
* [Alert Center](Alert-Center)
|
||||||
* [Aliases](Aliases)
|
* [Aliases](Aliases)
|
||||||
|
* [Business Account Management](Business-Account-Management)
|
||||||
* [Calendars](Calendars)
|
* [Calendars](Calendars)
|
||||||
* [Calendars - Access](Calendars-Access)
|
* [Calendars - Access](Calendars-Access)
|
||||||
* [Calendars - Events](Calendars-Events)
|
* [Calendars - Events](Calendars-Events)
|
||||||
@@ -128,7 +129,7 @@ Client Access
|
|||||||
* [Version and Help](Version-and-Help)
|
* [Version and Help](Version-and-Help)
|
||||||
|
|
||||||
Special Service Account Access
|
Special Service Account Access
|
||||||
* [Chat Bot](Chat-Bot)
|
* [Chat Bot Setup and Use](Chat-Bot-Setup-Use)
|
||||||
|
|
||||||
Service Account Access
|
Service Account Access
|
||||||
* [Users - Analytics Admin](Users-Analytics-Admin)
|
* [Users - Analytics Admin](Users-Analytics-Admin)
|
||||||
@@ -174,6 +175,7 @@ Service Account Access
|
|||||||
* [Users - Tag Manager](Users-Tag-Manager)
|
* [Users - Tag Manager](Users-Tag-Manager)
|
||||||
* [Users - Tasks](Users-Tasks)
|
* [Users - Tasks](Users-Tasks)
|
||||||
* [Users - YouTube](Users-YouTube)
|
* [Users - YouTube](Users-YouTube)
|
||||||
|
* [Users - Web Resources and Sites](Users-Web-Resources-and-Sites)
|
||||||
|
|
||||||
GAM Tutorials
|
GAM Tutorials
|
||||||
* [Account Auditing](l-ExamplesAccountAuditing)
|
* [Account Auditing](l-ExamplesAccountAuditing)
|
||||||
|
|||||||
@@ -412,9 +412,8 @@ never_time
|
|||||||
has the value "1970-01-01T00:00:00.000Z"
|
has the value "1970-01-01T00:00:00.000Z"
|
||||||
Default: Never
|
Default: Never
|
||||||
no_browser
|
no_browser
|
||||||
If no_browser is True, GAM won't open a browser if todrive is set
|
If no_browser is True, GAM won't open a browser when it prints a link
|
||||||
when creating CSV files and GAM prints a link and waits for
|
and waits for the verification code when oauth2.txt is being created/updated
|
||||||
the verification code when oauth2.txt is being created
|
|
||||||
Signal file: OldGamPath/nobrowser.txt
|
Signal file: OldGamPath/nobrowser.txt
|
||||||
no_cache
|
no_cache
|
||||||
Disable GAM API caching
|
Disable GAM API caching
|
||||||
|
|||||||
Reference in New Issue
Block a user