Resource: Company
A reseller, vendor, or customer in the zero-touch reseller and customer APIs.
JSON representation | |
---|---|
{
"name": string,
"companyId": string,
"companyName": string,
"ownerEmails": [
string
],
"adminEmails": [
string
],
"termsStatus": enum ( |
Fields | |
---|---|
name |
Output only. The API resource name of the company. The resource name is one of the following formats:
Assigned by the server. |
companyId |
Output only. The ID of the company. Assigned by the server. |
companyName |
Required. The name of the company. For example XYZ Corp. Displayed to the company's employees in the zero-touch enrollment portal. |
ownerEmails[] |
Required. Input only. Email address of customer's users in the owner role. At least one |
adminEmails[] |
Optional. Email address of customer's users in the admin role. Each email address must be associated with a Google Account. |
termsStatus |
Output only. Whether any user from the company has accepted the latest Terms of Service (ToS). See |
TermsStatus
A company's acceptance of the zero-touch enrollment Terms of Service (ToS). A single user can accept the ToS for their company using the web portal.
The ToS are versioned. This means that when the ToS change, at least one user must accept the new ToS. Until the first user accepts the new ToS, the company's terms status is TERMS_STATUS_STALE
.
Enums | |
---|---|
TERMS_STATUS_NOT_ACCEPTED |
None of the company's users have accepted the ToS. |
TERMS_STATUS_ACCEPTED |
One (or more) of the company's users has accepted the ToS. |
TERMS_STATUS_STALE |
None of the company's users has accepted the current ToS but at least one user accepted a previous ToS. |
Methods |
|
---|---|
|
Creates a customer for zero-touch enrollment. |
|
Lists the customers that are enrolled to the reseller identified by the partnerId argument. |