REST Resource: partners.vendors
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แหล่งข้อมูล: บริษัท
ตัวแทนจำหน่าย ผู้ให้บริการ หรือลูกค้าในตัวแทนจำหน่ายที่มีการตั้งค่าอุปกรณ์พร้อมใช้แบบรวมกลุ่มและ 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)
เอาต์พุตเท่านั้น รหัสของบริษัท เซิร์ฟเวอร์เป็นผู้กำหนด
|
companyName |
string
ต้องระบุ ชื่อบริษัท เช่น XYZ Corp แสดงต่อพนักงานของบริษัทในพอร์ทัลการตั้งค่าอุปกรณ์พร้อมใช้แบบรวมกลุ่ม
|
ownerEmails[] |
string
ต้องระบุ อินพุตเท่านั้น อีเมลของผู้ใช้ในบทบาทเจ้าของ ต้องมี owner_email อย่างน้อย 1 รายการ เจ้าของจะแชร์สิทธิ์เข้าถึงเดียวกับผู้ดูแลระบบ แต่จะเพิ่ม ลบ และแก้ไขผู้ใช้พอร์ทัลขององค์กรได้
|
adminEmails[] |
string
ไม่บังคับ อีเมลของผู้ใช้ในบทบาทผู้ดูแลระบบของลูกค้า อีเมลแต่ละรายการต้องเชื่อมโยงกับบัญชี Google
|
termsStatus |
enum (TermsStatus )
เอาต์พุตเท่านั้น มีผู้ใช้จากบริษัทยอมรับข้อกำหนดในการให้บริการ (ToS) ล่าสุดหรือไม่ ดูTermsStatus
|
skipWelcomeEmail |
boolean
อินพุตเท่านั้น หากตั้งค่าเป็น "จริง" ระบบจะไม่ส่งอีเมลต้อนรับถึงลูกค้า ขอแนะนำให้คุณข้ามอีเมลต้อนรับหากอุปกรณ์จะได้รับการอ้างสิทธิ์ด้วยบริการ DEVICE_PROTECTION เพิ่มเติม เนื่องจากลูกค้าจะได้รับอีเมลแยกต่างหากเมื่อถึงเวลาอ้างสิทธิ์อุปกรณ์ ระบบจะไม่สนใจช่องนี้หากไม่ใช่ลูกค้าที่มีการตั้งค่าอุปกรณ์พร้อมใช้แบบรวมกลุ่ม
|
languageCode |
string
อินพุตเท่านั้น สถานที่ที่ลูกค้าต้องการซึ่งแสดงเป็นรหัสภาษา BCP47 ระบบจะตรวจสอบฟิลด์นี้เมื่อป้อนข้อมูล และคำขอที่มีรหัสภาษาที่ไม่รองรับจะถูกปฏิเสธ
|
googleWorkspaceAccount |
object (GoogleWorkspaceAccount )
เอาต์พุตเท่านั้น บัญชี Google Workspace ที่เชื่อมโยงกับลูกค้ารายนี้ ใช้สำหรับบริษัทของลูกค้าเท่านั้น
|
เมธอด |
|
แสดงผู้ให้บริการของพาร์ทเนอร์ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\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,[]]