REST Resource: partners.vendors
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:Company
零接觸經銷商和客戶 API 中的經銷商、供應商或客戶。
JSON 表示法 |
{
"name": string,
"companyId": string,
"companyName": string,
"ownerEmails": [
string
],
"adminEmails": [
string
],
"termsStatus": enum (TermsStatus ),
"skipWelcomeEmail": boolean,
"languageCode": string,
"googleWorkspaceAccount": {
object (GoogleWorkspaceAccount )
}
} |
欄位 |
name |
string
僅供輸出。公司的 API 資源名稱。資源名稱為下列其中一種格式:
partners/[PARTNER_ID]/customers/[CUSTOMER_ID]
partners/[PARTNER_ID]/vendors/[VENDOR_ID]
partners/[PARTNER_ID]/vendors/[VENDOR_ID]/customers/[CUSTOMER_ID]
由伺服器指派。
|
companyId |
string (int64 format)
僅供輸出。公司的 ID。由伺服器指派。
|
companyName |
string
必要欄位。公司名稱。例如 XYZ Corp。在零接觸註冊機制入口網站中向公司員工顯示。
|
ownerEmails[] |
string
必要欄位。僅限輸入。具備擁有者角色的客戶使用者電子郵件地址。至少須有一位owner_email 。擁有者的權限與管理員相同,但還可以新增、刪除及編輯貴機構的入口網站使用者。
|
adminEmails[] |
string
選用設定。具備管理員角色的客戶使用者電子郵件地址。每個電子郵件地址都必須與 Google 帳戶建立關聯。
|
termsStatus |
enum (TermsStatus )
僅供輸出。公司是否有使用者接受最新的《服務條款》(ToS)。詳情請參閱《TermsStatus 》。
|
skipWelcomeEmail |
boolean
僅限輸入。如果設為 true,系統就不會將歡迎電子郵件傳送給客戶。如果裝置會使用額外的 DEVICE_PROTECTION 服務聲明擁有權,建議您略過這封歡迎電子郵件,因為客戶會在申請裝置時收到個別的電子郵件。如果不是零接觸客戶,系統就會忽略這個欄位。
|
languageCode |
string
僅限輸入。客戶的偏好地區,以 BCP47 語言代碼表示。系統已根據輸入內容驗證這個欄位,如果要求包含不支援的語言代碼,將遭到拒絕。支援的語言代碼:阿拉伯文 (ar) 中文 (香港) 中文 (香港) 中文 (香港) (zh-香港) 中文 (繁體) 中文 (繁體) 繁體 (zh-TW) 捷克文 (da) 丹麥文 (荷蘭)、荷蘭文 (荷蘭)、荷蘭文 (荷蘭)、英文 (荷蘭)、英文 (英國) 英文 (英國) 英文 (英國) 英文 (美國) 英文 (美國)) 芬蘭文
|
googleWorkspaceAccount |
object (GoogleWorkspaceAccount )
僅供輸出。與這位客戶相關聯的 Google Workspace 帳戶。僅適用於客戶公司。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eThe Company resource represents a reseller, vendor, or customer within the zero-touch reseller and customer APIs.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation for a Company includes details such as \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003ecompanyId\u003c/code\u003e, \u003ccode\u003ecompanyName\u003c/code\u003e, \u003ccode\u003eownerEmails\u003c/code\u003e, \u003ccode\u003eadminEmails\u003c/code\u003e, \u003ccode\u003etermsStatus\u003c/code\u003e, \u003ccode\u003eskipWelcomeEmail\u003c/code\u003e, \u003ccode\u003elanguageCode\u003c/code\u003e, and \u003ccode\u003egoogleWorkspaceAccount\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003ecompanyId\u003c/code\u003e, and \u003ccode\u003etermsStatus\u003c/code\u003e fields are output-only, whereas the fields \u003ccode\u003eownerEmails\u003c/code\u003e, \u003ccode\u003eskipWelcomeEmail\u003c/code\u003e, and \u003ccode\u003elanguageCode\u003c/code\u003e are input-only fields.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecompanyName\u003c/code\u003e and \u003ccode\u003eownerEmails\u003c/code\u003e are required fields to create a company, and each must be associated with a Google account, and must contain at least one email address.\u003c/p\u003e\n"],["\u003cp\u003eThe method \u003ccode\u003elist\u003c/code\u003e allows partners to retrieve a list of their vendors.\u003c/p\u003e\n"]]],["The document defines a \"Company\" resource in the zero-touch reseller and customer APIs, representing a reseller, vendor, or customer. Key information includes the company's `name`, `companyId`, `companyName`, and email addresses for `ownerEmails` and `adminEmails`. The `termsStatus` indicates if the terms of service have been accepted. Other data includes `skipWelcomeEmail`, and `languageCode`. One method allows listing vendors. This is done using `partners.vendors/list`.\n"],null,[]]