Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Истории успеха
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • AI Studio
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Тарифы Yandex Cloud
    • Промоакции и free tier
    • Правила тарификации
  • Истории успеха
  • Документация
  • Блог
Проект Яндекса
© 2025 ООО «Яндекс.Облако»
Yandex Identity and Access Management
  • Безопасное использование Yandex Cloud
  • Управление доступом
  • Правила тарификации
  • Справочник ролей
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
        • Get
        • List
  • Метрики Monitoring
  • Аудитные логи Audit Trails
  • История изменений
  • Обучающие курсы

В этой статье:

  • gRPC request
  • ListRolesRequest
  • ListRolesResponse
  • Role
  1. Справочник API
  2. gRPC (англ.)
  3. Role
  4. List

Identity and Access Management API, gRPC: RoleService.List

Статья создана
Yandex Cloud
Обновлена 26 ноября 2024 г.
  • gRPC request
  • ListRolesRequest
  • ListRolesResponse
  • Role

Retrieves the list of Role resources.

gRPC requestgRPC request

rpc List (ListRolesRequest) returns (ListRolesResponse)

ListRolesRequestListRolesRequest

{
  "page_size": "int64",
  "page_token": "string",
  "filter": "string"
}

Field

Description

page_size

int64

The maximum number of results per page to return. If the number of available
results is larger than page_size,
the service returns a ListRolesResponse.next_page_token
that can be used to get the next page of results in subsequent list requests.
Default value: 100.

page_token

string

Page token. To get the next page of results, set page_token
to the ListRolesResponse.next_page_token
returned by a previous list request.

filter

string

A filter expression that filters resources listed in the response.

ListRolesResponseListRolesResponse

{
  "roles": [
    {
      "id": "string",
      "description": "string"
    }
  ],
  "next_page_token": "string"
}

Field

Description

roles[]

Role

List of Role resources.

next_page_token

string

This token allows you to get the next page of results for list requests. If the number of results
is larger than ListRolesRequest.page_size, use
the next_page_token as the value
for the ListRolesRequest.page_token query parameter
in the next list request. Each subsequent list request will have its own
next_page_token to continue paging through the results.

RoleRole

A Role resource. For more information, see Roles.

Field

Description

id

string

ID of the role.

description

string

Description of the role. 0-256 characters long.

Была ли статья полезна?

Предыдущая
Get
Следующая
Overview
Проект Яндекса
© 2025 ООО «Яндекс.Облако»