diff --git a/wiki/Customer.md b/wiki/Customer.md index 8bdf7bbe..4828db8e 100644 --- a/wiki/Customer.md +++ b/wiki/Customer.md @@ -4,6 +4,8 @@ - [Update customer](#update-customer) - [Display customer](#display-customer) - [Display instance](#display-instance) +- [Display Customer ID](#display-customer-id) +- [Display GCP organization ID](#display-gcp-organization-id) ## API documentation * [Directory API - Customers](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers) @@ -45,3 +47,19 @@ gam info instance [formatjson] ``` By default, Gam displays the information as an indented list of keys and values. * `formatjson` - Display the fields in JSON format. + +## Display Customer ID +You can get and set the `gam.cfg/customer_id` value with these commands: +``` +$ gam info customerid +C78abc9de +$ gam config customer_id C78abc9de save +``` +## Display GCP organization ID +You can get and set the `gam.cfg/gcp_org_id` value with these commands: +``` +$ gam info gcporgid +organizations/906207637890 +$ gam config gcp_org_id organizations/906207637890 save +``` + diff --git a/wiki/GamUpdates.md b/wiki/GamUpdates.md index b0ca9504..3d186390 100644 --- a/wiki/GamUpdates.md +++ b/wiki/GamUpdates.md @@ -21,13 +21,20 @@ gam create|update|delete caalevel gam print|show caalevels gam print|show tokens gcpdetails ``` -You can get and set the `gcp_org_id` value with these commands: +You can get and set the `gam.cfg/gcp_org_id` value with these commands: ``` $ gam info gcporgid organizations/906207637890 $ gam config gcp_org_id organizations/906207637890 save ``` +You can get and set the `gam.cfg/customer_id` value with these commands: +``` +$ gam info customerid +C78abc9de +$ gam config customer_id C78abc9de save +``` + Added the following options to `gam report `. ``` applicationinfofilter diff --git a/wiki/Users-Chat.md b/wiki/Users-Chat.md index 5f0089a7..0078d9a7 100644 --- a/wiki/Users-Chat.md +++ b/wiki/Users-Chat.md @@ -37,9 +37,6 @@ gam user user@domain.com update serviceaccount [*] 11) Chat API - User Sections (supports readonly) ``` -`Chat API - User Sections` is in Developer Preview; you must have a the following variables set in `gam.cfg` to use these commands. -* `developer_preview_apis = chat` -* `developer_preview_api_key = ` Added `use_chat_admin_access` Boolean variable to `gam.cfg`. ```