Storelayoutclusters
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ทรัพยากร Storelayoutclusters จะแสดงรายการผลิตภัณฑ์ที่แสดงด้วยกันเป็นกลุ่มในหน้า Google Play for Work Store แต่ละหน้ามีคลัสเตอร์ได้สูงสุด 30 รายการ และแต่ละคลัสเตอร์มีผลิตภัณฑ์ได้สูงสุด 100 รายการ
ข้อมูลการแสดงผลที่ระบุสำหรับแต่ละคลัสเตอร์ประกอบด้วยชื่อที่แปลแล้วของคลัสเตอร์ รายการแอป และตำแหน่งของคลัสเตอร์ภายในหน้าระดับบนสุด (orderInPage
)
คู่มือการออกแบบการออกแบบร้านค้ามีข้อมูลเกี่ยวกับวิธีออกแบบเลย์เอาต์ของร้านค้า รวมถึงวิธีสร้างคลัสเตอร์ของร้านค้า
ดูรายการเมธอดสำหรับทรัพยากรนี้ได้ที่ส่วนท้ายของหน้านี้
การนำเสนอแหล่งข้อมูล
คำจำกัดความของคลัสเตอร์ Managed Google Play Store ซึ่งเป็นรายการผลิตภัณฑ์ที่แสดงเป็นส่วนหนึ่งของหน้าร้านค้า
{
"kind": "androidenterprise#storeCluster",
"id": string,
"name": [
{
"locale": string,
"text": string
}
],
"productId": [
string
],
"orderInPage": string
}
ชื่อพร็อพเพอร์ตี้ |
ค่า |
คำอธิบาย |
Notes |
id |
string |
รหัสที่ไม่ซ้ำกันของคลัสเตอร์นี้ เซิร์ฟเวอร์เป็นผู้กำหนด จะเปลี่ยนแปลงไม่ได้หลังจากมอบหมายแล้ว |
|
kind |
string |
|
|
name[] |
list |
รายการตามลำดับของสตริงที่แปลแล้วที่มีชื่อของหน้านี้ ข้อความที่แสดงจะเป็นข้อความที่ตรงกับภาษาของผู้ใช้มากที่สุด หรือเป็นข้อความแรกหากไม่มีรายการที่ตรงกัน ต้องมีอย่างน้อย 1 รายการ |
|
name[].locale |
string |
แท็ก BCP47 สำหรับภาษา (เช่น "en-US", "de") |
|
name[].text |
string |
ข้อความที่แปลเป็นภาษาที่เกี่ยวข้อง |
|
orderInPage |
string |
สตริง (US-ASCII เท่านั้น) ที่ใช้เพื่อกำหนดลำดับของคลัสเตอร์นี้ภายในองค์ประกอบของหน้าหลัก องค์ประกอบของหน้าจะเรียงลำดับตามพจนานุกรมของช่องนี้ ระบบอนุญาตให้ใช้ค่าที่ซ้ำกันได้ แต่จะไม่มีการระบุการเรียงลำดับระหว่างองค์ประกอบที่มีลำดับซ้ำกัน
ค่าของช่องนี้จะไม่แสดงให้ผู้ใช้เห็น แต่ใช้เพื่อวัตถุประสงค์ในการกำหนดคำสั่งซื้อเท่านั้น โดยมีความยาวสูงสุด 256 อักขระ |
|
productId[] |
list |
รายการผลิตภัณฑ์ตามลำดับที่แสดงในคลัสเตอร์ ไม่ควรมีข้อมูลที่ซ้ำกันภายในคลัสเตอร์ |
|
วิธีการ
- ลบ
- ลบคลัสเตอร์
- รับ
- เรียกข้อมูลรายละเอียดของคลัสเตอร์
- แทรก
- แทรกคลัสเตอร์ใหม่ในหน้าเว็บ
- list
- เรียกข้อมูลรายละเอียดของคลัสเตอร์ทั้งหมดในหน้าที่ระบุ
- อัปเดต
- อัปเดตคลัสเตอร์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-06-19 UTC
[null,null,["อัปเดตล่าสุด 2024-06-19 UTC"],[[["\u003cp\u003eStorelayoutclusters represent groups of products (up to 100) displayed on Google Play for Work store pages.\u003c/p\u003e\n"],["\u003cp\u003eEach store page can contain up to 30 clusters, organized by \u003ccode\u003eorderInPage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eClusters are defined by a localized name, a list of products (\u003ccode\u003eproductId\u003c/code\u003e), and their placement on the page.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage clusters using methods like insert, delete, update, get, and list to customize store layouts.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the Store Layout Design guide for creating effective store layouts and clusters.\u003c/p\u003e\n"]]],[],null,["# Storelayoutclusters\n\n\u003cbr /\u003e\n\nA Storelayoutclusters resource represents a list of products displayed together as a group on a [Google Play for Work store](/android/work/play/emm-api/v1/storelayoutpages) page. Each page can have up to 30 clusters, and each cluster can have up to 100 products.\n\nThe display information provided for each cluster includes the cluster's localized name, a list of apps, and the placement of the cluster within its parent page (`orderInPage`).\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 cluster.\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 cluster, a list of products displayed as part of a store page.\n\n```text\n{\n \"kind\": \"androidenterprise#storeCluster\",\n \"id\": string,\n \"name\": [\n {\n \"locale\": string,\n \"text\": string\n }\n ],\n \"productId\": [\n string\n ],\n \"orderInPage\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `id` | `string` | Unique ID of this cluster. Assigned by the server. Immutable once assigned. | |\n| `kind` | `string` | | |\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| `orderInPage` | `string` | String (US-ASCII only) used to determine order of this cluster within the parent page's elements. Page elements are sorted in lexicographic order of this field. Duplicated values are allowed, but ordering between elements with duplicate order is undefined. The value of this field is never visible to a user, it is used solely for the purpose of defining an ordering. Maximum length is 256 characters. | |\n| `productId[]` | `list` | List of products in the order they are displayed in the cluster. There should not be duplicates within a cluster. | |\n\nMethods\n-------\n\n[delete](/android/work/play/emm-api/v1/storelayoutclusters/delete)\n: Deletes a cluster.\n\n[get](/android/work/play/emm-api/v1/storelayoutclusters/get)\n: Retrieves details of a cluster.\n\n[insert](/android/work/play/emm-api/v1/storelayoutclusters/insert)\n: Inserts a new cluster in a page.\n\n[list](/android/work/play/emm-api/v1/storelayoutclusters/list)\n: Retrieves the details of all clusters on the specified page.\n\n[update](/android/work/play/emm-api/v1/storelayoutclusters/update)\n: Updates a cluster."]]