--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/f5fca419-67e7-4695-bea0-1f8d24b33414n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CADSK1vvxHRM34-YfzCFC5pJmfTqV_%3Dih29M5Oe1k7Tipq8Shzw%40mail.gmail.com.
On Aug 23, 2024, at 10:40 AM, Maj Marshall Giguere <mgig...@nhwg.cap.gov> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CADSK1vvxHRM34-YfzCFC5pJmfTqV_%3Dih29M5Oe1k7Tipq8Shzw%40mail.gmail.com.


On Aug 23, 2024, at 2:30 PM, 'Shaun Goodwin' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:
Hi All,We have found 3 ways a user can share externally.1. Share Anyone with a link - we have a solve for this2. As Maj above mentioned shared with external users via domain - we have a solve for this3. Files Published externally - no solve for thisWe haven't found a way to identify files published and or published to "anyone" as opposed to publishing and restricting to "domain"See screenshots below of how a user can Publish a file externally.
<Publish to Web 1.png>
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/1fc7b6d2-052e-43e7-a3c8-8711161fcc31n%40googlegroups.com.
<Publish to Web2.png><Publish to Web 1.png>
visibility | =, != | The visibility level of the file. Valid values are anyoneCanFind, anyoneWithLink, domainCanFind, domainWithLink, and limited. Surround with single quotes ('). |
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/1fc7b6d2-052e-43e7-a3c8-8711161fcc31n%40googlegroups.com.
# I create a doc in My Drive
# Get the info
$ gam redirect stdout ./unpub.txt user testsimple show fileinfo 1H62lJN6b2xpL2nzyuk69wc9WJR2NREtcfe5MQIpKRXQ
# I publish the doc
# Get the updated info
$ gam redirect stdout ./pub.txt user testsimple show fileinfo 1H62lJN6b2xpL2nzyuk69wc9WJR2NREtcfe5MQIpKRXQ
# What are the differences
$ diff unpub.txt pub.txt
92,93c92,93
< thumbnailLink: https://lh3.googleusercontent.com/drive-storage/AJQWtBO_8viy1sdWwkljiglRo4SO4HnEePf73TO5IbUdWSinJ2GLSKAnbYVwZChzoTPPswKFtI4OReUaPMYHFv0Hjn9H16r9\
qtimPudy6y27L_4m7yhpzpOE7xbMe7dG1A=s220
< thumbnailVersion: 2
---
> thumbnailLink: https://lh3.googleusercontent.com/drive-storage/AJQWtBPREzg3VK0gufndE4fEIJ6eMtbNT0TbTUkG_OYfHT5WnMFvr1-YeiOG4yFn7vPq6-heXnk0vTxd_3rPnTnqG36xNwGO\
cnr1ObEdsDzkx_MZXbVe21IFSUuSULGXJg=s220
> thumbnailVersion: 3
95c95
< version: 6
---
> version: 9
97c97
< viewedByMeTime: 2024-08-23T15:44:44-07:00
---
> viewedByMeTime: 2024-08-23T15:46:37-07:00
On Aug 23, 2024, at 3:31 PM, Maj Marshall Giguere <mgig...@nhwg.cap.gov> wrote:
Interesting. If you publish to the web the link generated is simply a file id with "/pub" appended. The actual ACL is completely uninteresting. The actual machinery must be embedded in the permission object itself?
On Fri, Aug 23, 2024 at 4:14 PM Maj Marshall Giguere <mgig...@nhwg.cap.gov> wrote:
Shaun;I've never looked at that menu. I assumed it was similar to the other "Share" menus and the help page isn't helpful as to how this all happens, it just cautions you not to share private items publicly. It may be connected with Google sites. Google's file api doesn't make it obvious how to identify such files. It may be one of those things the api's haven't caught up to yet.The only relevant query item I can find is visibility:
visibility=,!=The visibility level of the file. Valid values are anyoneCanFind,anyoneWithLink,domainCanFind,domainWithLink, andlimited. Surround with single quotes (').
On Fri, Aug 23, 2024 at 3:30 PM 'Shaun Goodwin' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:
Hi All,We have found 3 ways a user can share externally.1. Share Anyone with a link - we have a solve for this2. As Maj above mentioned shared with external users via domain - we have a solve for this3. Files Published externally - no solve for thisWe haven't found a way to identify files published and or published to "anyone" as opposed to publishing and restricting to "domain"See screenshots below of how a user can Publish a file externally.
<Publish to Web 1.png>
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CADSK1vtMdiDvkz4B%2ByugnpZdk69m%3DAwOeGk4snNkatZLv341Yg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/5CB1A511-1054-4BDC-80DC-C141ACAA147B%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CADSK1vu3TLUN2cKbeou_CN46xAsjSq12EB8n23EP%2BTfeODB8NQ%40mail.gmail.com.
string
Specifies which additional view's permissions to include in the response. Only 'published' is supported.
However there still doesn't appear to be any difference for a published file.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/c369500c-917b-437e-997b-249888c940c1n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/c369500c-917b-437e-997b-249888c940c1n%40googlegroups.com.
view |
|
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAD2sLFspRSKzYhYciTO9Yw-agUKDw_7t7C9U5HStD4Xdu9Rt7w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/c369500c-917b-437e-997b-249888c940c1n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/42c633e6-b2df-4970-b37a-ed15e4b896c8n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAD2sLFspRSKzYhYciTO9Yw-agUKDw_7t7C9U5HStD4Xdu9Rt7w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CADSK1vs1Fwu4%3Dsr%2B4ZGGH%2BcEZHaYvRj6%3DgaEBkN_aYOs%2BG%2BE%3Dw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAD2sLFsvq%3Do%3DS4q-VKfkWWScR6CobCM0n9p1sosEtgF1T0CE1Q%40mail.gmail.com.
gam user alp...@example.com print filerevisions id:$fid fields publishedOutsideDomain select last 1
gams config csv_output_row_filter "revisions.0.publishedOutsideDomain:boolean:true" auto_batch_min 1 num_threads 20 redirect csv ./PublishedDocs.csv multiprocess redirect stdout - multiprocess redirect stderr stdout all users print filerevisions my_publishable_items select last 1
Ross
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CADSK1vsAZAgNjoeqS-1qRrB9QE1S3qbiRRJ%2BsS-YVmOcyCgDKA%40mail.gmail.com.
gam config csv_output_row_filter "revisions.0.publishedOutsideDomain:boolean:true" auto_batch_min 1 num_threads 20 redirect csv ./PublishedDocs.csv multiprocess redirect stdout - multiprocess redirect stderr stdout all users print filerevisions my_publishable_items select last 1
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CADSK1vsAZAgNjoeqS-1qRrB9QE1S3qbiRRJ%2BsS-YVmOcyCgDKA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CADSK1vsAZAgNjoeqS-1qRrB9QE1S3qbiRRJ%2BsS-YVmOcyCgDKA%40mail.gmail.com.