taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
703 stars 87 forks source link

[REQUEST] gam info group x formatjson shows empty "cloudIdentity": {} object #301

Closed jay-eleven closed 1 year ago

jay-eleven commented 1 year ago

Hi Ross!

When using gam info group x no Cloud Identity fields are shown as expected. However, the formatjson argument creates an empty JSON cloudIdentity object:

[...]
 "archiveOnly": "false",
 "cloudIdentity": {}, <--------------------------
 "customFooterText": "", 
[...]

It it possible to remove the cloudIdentity object when no Cloud Identity fields have been explicitly requested?

taers232c commented 1 year ago

Good idea, will delete.

On Sat, Sep 10, 2022 at 12:44 PM Jay @.***> wrote:

Hi Ross!

When using gam info group x no Cloud Identity fields are shown as expected. However, the formatjson argument creates an empty JSON cloudIdentity object:

[...] "archiveOnly": "false", "cloudIdentity": {}, <-------------------------- "customFooterText": "", [...]

It it possible to remove the cloudIdentity object when no Cloud Identity fields have been explicitly requested?

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/301, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL5Q34JP72636MKAXATV5TQLRANCNFSM6AAAAAAQJOVV7E . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ross Scroggs @.***

jay-eleven commented 1 year ago

Works.

Thanks Ross!

taers232c commented 1 year ago

Done in 6.26.11

Ross Scroggs @.***

On Sep 10, 2022, at 12:44 PM, Jay @.***> wrote:

Hi Ross!

When using gam info group x no Cloud Identity fields are shown as expected. However, the formatjson argument creates an empty JSON cloudIdentity object:

[...] "archiveOnly": "false", "cloudIdentity": {}, <-------------------------- "customFooterText": "", [...] It it possible to remove the cloudIdentity object when no Cloud Identity fields have been explicitly requested?

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/301, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL5Q34JP72636MKAXATV5TQLRANCNFSM6AAAAAAQJOVV7E. You are receiving this because you are subscribed to this thread.