mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-18 05:01:37 +00:00
Some checks failed
Build and test GAM / build (Win64, build, 7, VC-WIN64A, windows-2022) (push) Has been cancelled
Build and test GAM / build (aarch64, build, 2, linux-aarch64, [self-hosted linux arm64]) (push) Has been cancelled
Build and test GAM / build (aarch64, build, 4, linux-aarch64, [self-hosted linux arm64], yes) (push) Has been cancelled
Build and test GAM / build (aarch64, build, 6, darwin64-arm64, macos-14) (push) Has been cancelled
Build and test GAM / build (x86_64, build, 1, linux-x86_64, ubuntu-22.04) (push) Has been cancelled
Build and test GAM / build (x86_64, build, 3, linux-x86_64, ubuntu-22.04, yes) (push) Has been cancelled
Build and test GAM / build (x86_64, build, 5, darwin64-x86_64, macos-13) (push) Has been cancelled
Build and test GAM / build (x86_64, test, 10, ubuntu-24.04, 3.10) (push) Has been cancelled
Build and test GAM / build (x86_64, test, 11, ubuntu-24.04, 3.11) (push) Has been cancelled
Build and test GAM / build (x86_64, test, 8, ubuntu-24.04, 3.13) (push) Has been cancelled
Build and test GAM / build (x86_64, test, 9, ubuntu-24.04, 3.9) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Check for Google Root CA Updates / check-apis (push) Has been cancelled
Build and test GAM / merge (push) Has been cancelled
Build and test GAM / publish (push) Has been cancelled
48 lines
1.4 KiB
Markdown
48 lines
1.4 KiB
Markdown
!# Customer
|
|
- [API documentation](#api-documentation)
|
|
- [Definitions](#definitions)
|
|
- [Update customer](#update-customer)
|
|
- [Display customer](#display-customer)
|
|
- [Display instance](#display-instance)
|
|
|
|
## API documentation
|
|
* https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers
|
|
|
|
## Definitions
|
|
```
|
|
<DomainName> ::= <String>(.<String>)+
|
|
<EmailAddress> ::= <String>@<DomainName>
|
|
|
|
<CustomerAttribute> ::=
|
|
(primary <DomainName>)|
|
|
(adminsecondaryemail|alternateemail <EmailAddress>)|
|
|
(contact|contactname <String>)|
|
|
(language <LanguageCode>)|
|
|
(phone|phonenumber <String>)|
|
|
(name|organizationname <String>)|
|
|
(address|address1|addressline1 <String>)|
|
|
(address2|addressline2 <String>)|
|
|
(address3|addressline3 <String>)|
|
|
(city|locality <String>)|
|
|
(state|region <String>)|
|
|
(zipcode|postal|postalcode <String>)|
|
|
(country|countrycode <String>)
|
|
```
|
|
## Update customer
|
|
```
|
|
gam update customer <CustomerAttribute>*
|
|
```
|
|
## Display customer
|
|
```
|
|
gam info customer [formatjson]
|
|
```
|
|
By default, Gam displays the information as an indented list of keys and values.
|
|
* `formatjson` - Display the fields in JSON format.
|
|
|
|
## Display instance
|
|
```
|
|
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.
|