Enterprises: setStoreLayout
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
기업의 스토어 레이아웃을 설정합니다. 기본적으로 storeLayoutType은
'기본'으로 설정되어 있습니다. 기본 스토어 레이아웃이 사용 설정됩니다 기본
레이아웃에 관리자가 승인한 앱만
사용자가 사용할 수 있는 제품 세트에 추가된 경우
setAvailableProductSet 호출)을 지원하지 않습니다. 페이지에 있는 앱이 다음 순서로 정렬됩니다.
제품 ID 값 맞춤 스토어 레이아웃을 만드는 경우(
storeLayoutType = "custom" 홈페이지 설정), 기본 스토어는
레이아웃이 사용 중지됩니다.
요청
HTTP 요청
PUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/storeLayout
매개변수
매개변수 이름 |
값 |
설명 |
경로 매개변수 |
enterpriseId |
string |
기업의 ID입니다.
|
승인
다음 범위를 사용하여 이 요청을 인증받아야 합니다.
범위 |
https://www.googleapis.com/auth/androidenterprise |
자세한 내용은 인증 및 승인 페이지를 참고하세요.
요청 본문
요청 본문에 다음과 같은 구조의 데이터를 제공합니다.
{
"kind": "androidenterprise#storeLayout",
"homepageId": string,
"storeLayoutType": string
}
속성 이름 |
값 |
설명 |
참고 |
homepageId |
string |
홈페이지로 사용할 스토어 페이지의 ID입니다. 홈페이지는 관리 Google Play 스토어에 표시되는 첫 번째 페이지입니다.
홈페이지를 지정하지 않으면 매장 레이아웃 유형을 '기본'으로 설정하는 것과 같습니다. |
|
storeLayoutType |
string |
매장 레이아웃 유형입니다. 기본적으로 이 값은 homepageId 필드가 설정되지 않은 경우 '기본'으로, 설정된 경우에는 '맞춤'으로 설정됩니다. '기본'으로 설정하면 레이아웃은 사용자에게 허용된 모든 앱으로 구성됩니다.
사용 가능한 값은 다음과 같습니다.
|
|
kind |
string |
|
|
응답
요청에 성공할 경우 이 메소드는 다음과 같은 구조의 응답 본문을 반환합니다.
{
"kind": "androidenterprise#storeLayout",
"homepageId": string,
"storeLayoutType": string
}
속성 이름 |
값 |
설명 |
참고 |
homepageId |
string |
홈페이지로 사용할 스토어 페이지의 ID입니다. 홈페이지는 관리 Google Play 스토어에 표시되는 첫 번째 페이지입니다.
홈페이지를 지정하지 않으면 매장 레이아웃 유형을 '기본'으로 설정하는 것과 같습니다. |
|
storeLayoutType |
string |
매장 레이아웃 유형입니다. 기본적으로 이 값은 homepageId 필드가 설정되지 않은 경우 '기본'으로, 설정된 경우에는 '맞춤'으로 설정됩니다. '기본'으로 설정하면 레이아웃은 사용자에게 허용된 모든 앱으로 구성됩니다.
사용 가능한 값은 다음과 같습니다.
|
|
kind |
string |
|
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-12(UTC)
[null,null,["최종 업데이트: 2024-09-12(UTC)"],[[["\u003cp\u003eDefines the enterprise's store layout, defaulting to "basic" which displays admin-approved and whitelisted apps sorted by product ID.\u003c/p\u003e\n"],["\u003cp\u003eSetting a custom homepage using \u003ccode\u003ehomepageId\u003c/code\u003e changes the \u003ccode\u003estoreLayoutType\u003c/code\u003e to "custom" and overrides the basic layout.\u003c/p\u003e\n"],["\u003cp\u003eThe API request requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003estoreLayoutType\u003c/code\u003e can be either "basic" or "custom", determining the store's layout structure.\u003c/p\u003e\n"]]],[],null,["# Enterprises: setStoreLayout\n\n| **Note:** Requires [authorization](#auth).\n\nSets the store layout for the enterprise. By default, storeLayoutType\nis set to \"basic\" and the basic store layout is enabled. The basic\nlayout only contains apps approved by the admin, and that have\nbeen added to the available product set for a user (using the\n[setAvailableProductSet](/android/work/play/emm-api/v1/users/setAvailableProductSet) call). Apps on the page are sorted in order of\ntheir product ID value. If you create a custom store layout (by setting\nstoreLayoutType = \"custom\" and setting a homepage), the basic store\nlayout is disabled.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/storeLayout\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|---------------------------|\n| **Path parameters** |||\n| `enterpriseId` | `string` | The ID of the enterprise. |\n\n### Authorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|-----------------------------------------------------|\n| `https://www.googleapis.com/auth/androidenterprise` |\n\nFor more information, see the [authentication and authorization](/android/work/play/emm-api/v1/how-tos/authorizing) page.\n\n### Request body\n\nIn the request body, supply data with the following structure:\n\n```text\n{\n \"kind\": \"androidenterprise#storeLayout\",\n \"homepageId\": string,\n \"storeLayoutType\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|-------------------|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `homepageId` | `string` | The ID of the store page to be used as the homepage. The homepage is the first page shown in the managed Google Play Store. Not specifying a homepage is equivalent to setting the store layout type to \"basic\". | |\n| `storeLayoutType` | `string` | The store layout type. By default, this value is set to \"basic\" if the homepageId field is not set, and to \"custom\" otherwise. If set to \"basic\", the layout will consist of all approved apps that have been whitelisted for the user. \u003cbr /\u003e Acceptable values are: - \"`basic`\" - \"`custom`\" | |\n| `kind` | `string` | | |\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```text\n{\n \"kind\": \"androidenterprise#storeLayout\",\n \"homepageId\": string,\n \"storeLayoutType\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|-------------------|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `homepageId` | `string` | The ID of the store page to be used as the homepage. The homepage is the first page shown in the managed Google Play Store. Not specifying a homepage is equivalent to setting the store layout type to \"basic\". | |\n| `storeLayoutType` | `string` | The store layout type. By default, this value is set to \"basic\" if the homepageId field is not set, and to \"custom\" otherwise. If set to \"basic\", the layout will consist of all approved apps that have been whitelisted for the user. \u003cbr /\u003e Acceptable values are: - \"`basic`\" - \"`custom`\" | |\n| `kind` | `string` | | |"]]