GAM-team / GAM

command line management for Google Workspace
https://github.com/GAM-team/GAM/wiki
Apache License 2.0
3.53k stars 473 forks source link

Batch ChromeOS actions #1668

Open jay0lee opened 10 months ago

jay0lee commented 10 months ago

Directory API now supports batch actions for Chrome OS devices. See:

https://github.com/jay0lee/google-api-tracker/commit/df330ee989f9a4e0aba7e1277d7d7a8f0e8c6052

All commands should be moved to the batch API and calls to the deprecated API should be removed.

@taers232c fyi

taers232c commented 10 months ago

Will do

Ross Scroggs @.***

On Dec 21, 2023, at 5:58 AM, Jay Lee @.***> wrote:

Directory API now supports batch actions for Chrome OS devices. See:

@.*** https://github.com/jay0lee/google-api-tracker/commit/df330ee989f9a4e0aba7e1277d7d7a8f0e8c6052 All commands should be moved to the batch API and calls to the deprecated API should be removed.

@taers232c https://github.com/taers232c fyi

— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1668, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZG5TOTHALOIXWZGLLYKQ56VAVCNFSM6AAAAABA6OB6GSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TENBXGMZTEOA. You are receiving this because you were mentioned.

taers232c commented 10 months ago

Is this live? The downloaded discovery document doesn't show this nor does this: https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices

Thanks

Ross Scroggs @.***

On Dec 21, 2023, at 5:58 AM, Jay Lee @.***> wrote:

Directory API now supports batch actions for Chrome OS devices. See:

@.*** https://github.com/jay0lee/google-api-tracker/commit/df330ee989f9a4e0aba7e1277d7d7a8f0e8c6052 All commands should be moved to the batch API and calls to the deprecated API should be removed.

@taers232c https://github.com/taers232c fyi

— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1668, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZG5TOTHALOIXWZGLLYKQ56VAVCNFSM6AAAAABA6OB6GSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TENBXGMZTEOA. You are receiving this because you were mentioned.

taers232c commented 10 months ago

OK! The discovery document is updated but its not in the same order as what you posted.

Ross Scroggs @.***

On Dec 21, 2023, at 5:58 AM, Jay Lee @.***> wrote:

Directory API now supports batch actions for Chrome OS devices. See:

@.*** https://github.com/jay0lee/google-api-tracker/commit/df330ee989f9a4e0aba7e1277d7d7a8f0e8c6052 All commands should be moved to the batch API and calls to the deprecated API should be removed.

@taers232c https://github.com/taers232c fyi

— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1668, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZG5TOTHALOIXWZGLLYKQ56VAVCNFSM6AAAAABA6OB6GSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TENBXGMZTEOA. You are receiving this because you were mentioned.

taers232c commented 10 months ago

These actions seem to have gone away. pre_provisioned_disable: A pre-provisioned device that cannot enroll. An admin can re-enable the device to allow Zero-Touch Enrollment by changing the status to "pre_provisioned_reenable". Note: From this state the device can be deprovisioned. pre_provisioned_reenable: Device is pre-provisioned by OEMs. Devices in this state are eligible for Zero-Touch Enrollment.

Can you verify?

Thanks

Ross Scroggs @.***

On Dec 21, 2023, at 5:58 AM, Jay Lee @.***> wrote:

Directory API now supports batch actions for Chrome OS devices. See:

@.*** https://github.com/jay0lee/google-api-tracker/commit/df330ee989f9a4e0aba7e1277d7d7a8f0e8c6052 All commands should be moved to the batch API and calls to the deprecated API should be removed.

@taers232c https://github.com/taers232c fyi

— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1668, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZG5TOTHALOIXWZGLLYKQ56VAVCNFSM6AAAAABA6OB6GSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TENBXGMZTEOA. You are receiving this because you were mentioned.

taers232c commented 10 months ago

Can you ask your Chrome buddies if there is a limit on the number of deviceIds in a batch?

Thsnks

Ross Scroggs @.***

On Dec 21, 2023, at 5:58 AM, Jay Lee @.***> wrote:

Directory API now supports batch actions for Chrome OS devices. See:

@.*** https://github.com/jay0lee/google-api-tracker/commit/df330ee989f9a4e0aba7e1277d7d7a8f0e8c6052 All commands should be moved to the batch API and calls to the deprecated API should be removed.

@taers232c https://github.com/taers232c fyi

— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1668, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZG5TOTHALOIXWZGLLYKQ56VAVCNFSM6AAAAABA6OB6GSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TENBXGMZTEOA. You are receiving this because you were mentioned.

jay0lee commented 10 months ago

Yes but it'll be awhile since the holiday break has started. For now I'd suggest setting defaults to something very conservative like 10 and we can adjust from there.

On Fri, Dec 22, 2023, 7:27 PM Ross Scroggs @.***> wrote:

Can you ask your Chrome buddies if there is a limit on the number of deviceIds in a batch?

Thsnks

Ross Scroggs @.***

On Dec 21, 2023, at 5:58 AM, Jay Lee @.***> wrote:

Directory API now supports batch actions for Chrome OS devices. See:

@.*** < https://github.com/jay0lee/google-api-tracker/commit/df330ee989f9a4e0aba7e1277d7d7a8f0e8c6052>

All commands should be moved to the batch API and calls to the deprecated API should be removed.

@taers232c https://github.com/taers232c fyi

— Reply to this email directly, view it on GitHub < https://github.com/GAM-team/GAM/issues/1668>, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACCTYLZG5TOTHALOIXWZGLLYKQ56VAVCNFSM6AAAAABA6OB6GSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TENBXGMZTEOA>.

You are receiving this because you were mentioned.

— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1668#issuecomment-1868149729, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDIZMFESJV35CH4WEVGRP3YKYQPNAVCNFSM6AAAAABA6OB6GSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGE2DSNZSHE . You are receiving this because you were assigned.Message ID: @.***>

jay0lee commented 1 month ago

I think this one is also done @taers232c ?