Ważne: nie przyjmujemy już nowych rejestracji w interfejsie Play EMM API.
Więcej informacji
Storelayoutclusters
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób Storelayoutclusters reprezentuje listę produktów wyświetlanych razem jako grupa na stronie sklepu w Google Play for Work. Każda strona może mieć maksymalnie 30 klastrów, a każdy klaster może zawierać do 100 produktów.
Wyświetlane informacje dla każdego klastra obejmują zlokalizowaną nazwę klastra, listę aplikacji i położenie klastra na jego stronie nadrzędnej (orderInPage
).
Przewodnik Projektowanie układu sklepu zawiera informacje o tym, jak zaprojektować układ sklepu, w tym jak utworzyć klaster sklepu.
Listę metod dla tego zasobu znajdziesz na końcu tej strony.
Reprezentacje zasobów
Definicja klastra zarządzanego Sklepu Google Play, czyli listy produktów wyświetlanych jako część strony sklepu.
{
"kind": "androidenterprise#storeCluster",
"id": string,
"name": [
{
"locale": string,
"text": string
}
],
"productId": [
string
],
"orderInPage": string
}
nazwa usługi, |
Wartość |
Opis |
Notatki |
id |
string |
Unikalny identyfikator tego klastra. Przypisana przez serwer. Stała po przypisaniu. |
|
kind |
string |
|
|
name[] |
list |
Uporządkowana lista zlokalizowanych ciągów znaków dająca nazwę tej strony. Wyświetlany tekst to ten, który najlepiej pasuje do języka użytkownika, lub pierwszy wpis, jeśli nie ma dobrego dopasowania. Musi istnieć co najmniej 1 wpis. |
|
name[].locale |
string |
Tag BCP47 dla języka. (np. „en-US”, „de”). |
|
name[].text |
string |
Tekst przetłumaczony na odpowiednie języki. |
|
orderInPage |
string |
Ciąg znaków (tylko US-ASCII) używany do określenia kolejności klastra w obrębie elementów strony nadrzędnej. Elementy strony są sortowane w kolejności leksykograficznej tego pola. Wartości mogą się powtarzać, ale kolejność elementów w tej samej kolejności jest niezdefiniowana.
Wartość tego pola nigdy nie jest widoczna dla użytkownika i służy wyłącznie do zdefiniowania kolejności. Maksymalna długość to 256 znaków. |
|
productId[] |
list |
Lista produktów w kolejności, w jakiej są wyświetlane w klastrze. W klastrze nie może być duplikatów. |
|
Metody
- usuń
- Usuwa klaster.
- pobierz
- Pobiera szczegóły klastra.
- wstaw
- Wstawia nowy klaster na stronie.
- list
- Pobiera szczegóły wszystkich klastrów na określonej stronie.
- zaktualizuj
- Aktualizuje klaster.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-06-19 UTC.
[null,null,["Ostatnia aktualizacja: 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."]]