Storelayoutpages
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ทรัพยากร Storelayoutpages แสดงหน้าเดียวของ Google Play สำหรับงานขององค์กร แต่ละหน้ามีคลัสเตอร์ร้านค้าได้สูงสุด 30 รายการ (กลุ่มผลิตภัณฑ์ที่เกี่ยวข้อง) และร้านค้าจะมีหน้าได้สูงสุด 100 หน้า
ข้อมูลการแสดงผลที่มีให้สำหรับแต่ละหน้าจะประกอบด้วยชื่อที่แปลแล้วของหน้าเว็บและลิงก์ไปยังหน้าเว็บอื่นๆ ในสโตร์ ซึ่งจะแสดงเป็นลิงก์ด่วนที่ด้านบนสุดของหน้าเว็บ แต่ละ Store ต้องมีหน้าแรกที่กำหนด 1 หน้า ซึ่งตั้งค่าโดยใช้เมธอด Enterprises.setStoreLayout ของทรัพยากร Enterprises หน้าแรกควรมีลิงก์ไปยังหน้าอื่นๆ ทั้งหมดใน Store
คู่มือการออกแบบเลย์เอาต์ของร้านมีข้อมูลเกี่ยวกับวิธีออกแบบเลย์เอาต์ของร้านค้า รวมถึงวิธีสร้างหน้าร้านค้า
ดูรายการเมธอดสำหรับทรัพยากรนี้ได้ที่ส่วนท้ายของหน้านี้
การนำเสนอแหล่งข้อมูล
คำนิยามของหน้าร้านค้า Managed Google Play ซึ่งสร้างขึ้นจากชื่อที่แปลแล้วและลิงก์ไปยังหน้าอื่นๆ หน้าเว็บยังมีคลัสเตอร์ที่กำหนดไว้เป็นคอลเล็กชันย่อยด้วย
{
"kind": "androidenterprise#storePage",
"id": string,
"name": [
{
"locale": string,
"text": string
}
],
"link": [
string
]
}
ชื่อพร็อพเพอร์ตี้ |
ค่า |
คำอธิบาย |
หมายเหตุ |
id |
string |
รหัสที่ไม่ซ้ำกันของหน้านี้ เซิร์ฟเวอร์เป็นผู้กำหนด จะเปลี่ยนแปลงไม่ได้หลังจากมอบหมายแล้ว |
|
kind |
string |
|
|
link[] |
list |
รายการหน้าเว็บตามลำดับที่ผู้ใช้ควรเข้าถึงได้จากหน้านี้ รายการไม่สามารถรวมหน้านี้ เราขอแนะนำให้สร้างหน้าเว็บพื้นฐานก่อนที่จะเพิ่มลิงก์ระหว่างหน้าเว็บ
API ไม่ได้ยืนยันว่าหน้าเว็บอยู่หรือเข้าถึงได้ |
|
name[] |
list |
รายการสตริงที่แปลแล้วซึ่งเรียงลําดับตามลําดับและระบุชื่อของหน้านี้ ข้อความที่แสดงจะเป็นข้อความที่ตรงกับภาษาของผู้ใช้มากที่สุด หรือเป็นข้อความแรกหากไม่มีรายการที่ตรงกัน ต้องมีอย่างน้อย 1 รายการ |
|
name[].locale |
string |
แท็ก BCP47 สำหรับภาษา (เช่น "en-US", "de") |
|
name[].text |
string |
ข้อความที่แปลเป็นภาษาที่เกี่ยวข้อง |
|
เมธอด
- ลบ
- ลบหน้าร้านค้า
- รับ
- เรียกข้อมูลรายละเอียดของหน้าร้านค้า
- แทรก
- แทรกหน้าร้านค้าใหม่
- list
- เรียกดูรายละเอียดของทุกหน้าใน Store
- อัปเดต
- อัปเดตเนื้อหาของหน้าร้านค้า
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-13 UTC
[null,null,["อัปเดตล่าสุด 2024-09-13 UTC"],[[["\u003cp\u003eA Storelayoutpages resource represents a single page within a Google Play for Work store, which can contain up to 30 store clusters and link to other pages.\u003c/p\u003e\n"],["\u003cp\u003eEach store must have a designated homepage, accessible via the Enterprises.setStoreLayout method, that links to all other store pages for navigation.\u003c/p\u003e\n"],["\u003cp\u003ePages are identified by unique IDs, display localized names, and include links to other relevant pages within the store structure.\u003c/p\u003e\n"],["\u003cp\u003eStorelayoutpages resources can be managed using methods like insert, delete, get, list, and update to control their content and organization.\u003c/p\u003e\n"]]],[],null,["# Storelayoutpages\n\n\u003cbr /\u003e\n\nA Storelayoutpages resource represents a single page of the enterprise's Google Play for Work store. Each page can have up to 30 [store clusters](/android/work/play/emm-api/v1/storelayoutclusters) (groups of related products), and the store can have up to 100 pages.\n\nThe display information provided for each page includes the page's localized name and links to other pages in the store, which are displayed as quick links at the top of the page. Each store must have one designated homepage, which you set using the [Enterprises.setStoreLayout](/android/work/play/emm-api/v1/enterprises/setStoreLayout) method of the Enterprises resource. The homepage should include links to all the other pages in the store.\n\nThe [Store Layout Design](/android/work/play/emm-api/store-layout) guide has information on how to design a store layout, including how to create a store page.\n\n\u003cbr /\u003e\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\nDefinition of a managed Google Play store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.\n\n```text\n{\n \"kind\": \"androidenterprise#storePage\",\n \"id\": string,\n \"name\": [\n {\n \"locale\": string,\n \"text\": string\n }\n ],\n \"link\": [\n string\n ]\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `id` | `string` | Unique ID of this page. Assigned by the server. Immutable once assigned. | |\n| `kind` | `string` | | |\n| `link[]` | `list` | Ordered list of pages a user should be able to reach from this page. The list can't include this page. It is recommended that the basic pages are created first, before adding the links between pages. The API doesn't verify that the pages exist or the pages are reachable. | |\n| `name[]` | `list` | Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry. | |\n| name[].`locale` | `string` | The BCP47 tag for a locale. (e.g. \"en-US\", \"de\"). | |\n| name[].`text` | `string` | The text localized in the associated locale. | |\n\nMethods\n-------\n\n[delete](/android/work/play/emm-api/v1/storelayoutpages/delete)\n: Deletes a store page.\n\n[get](/android/work/play/emm-api/v1/storelayoutpages/get)\n: Retrieves details of a store page.\n\n[insert](/android/work/play/emm-api/v1/storelayoutpages/insert)\n: Inserts a new store page.\n\n[list](/android/work/play/emm-api/v1/storelayoutpages/list)\n: Retrieves the details of all pages in the store.\n\n[update](/android/work/play/emm-api/v1/storelayoutpages/update)\n: Updates the content of a store page."]]