Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Создает новые учетные данные для учетной записи службы, связанной с этим предприятием. Учетная запись вызывающей службы должна быть получена путем вызова Enterprises.GetServiceAccount и должна быть установлена в качестве учетной записи службы предприятия путем вызова Enterprises.SetAccount.
В ресурсе, который будет вставлен, должен быть указан только тип ключа.
Запрос
HTTP-запрос
POST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/serviceAccountKeys
Параметры
Имя параметра
Ценить
Описание
Параметры пути
enterpriseId
string
Идентификатор предприятия.
Авторизация
Этот запрос требует авторизации со следующей областью действия:
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003eThis method generates new credentials for the service account linked to an enterprise, requiring prior retrieval and setup of the service account.\u003c/p\u003e\n"],["\u003cp\u003eIt's crucial to note that this method is deprecated and will be inaccessible after September 30, 2025, with alternative recommendations available for new integrations.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is necessary using the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe request involves specifying the enterprise ID and the desired key type (either \u003ccode\u003egoogleCredentials\u003c/code\u003e or \u003ccode\u003epkcs12\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eA successful response will return a \u003ccode\u003eServiceaccountkeys\u003c/code\u003e resource containing the generated credentials.\u003c/p\u003e\n"]]],[],null,[]]