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

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

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

Billing API, gRPC: CustomerService.List

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

Retrieves the list of customers associated with the specified reseller.

gRPC requestgRPC request

rpc List (ListCustomersRequest) returns (ListCustomersResponse)

ListCustomersRequestListCustomersRequest

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

Field

Description

reseller_id

string

Required field. ID of the reseller.

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 ListCustomersResponse.next_page_token
that can be used to get the next page of results in subsequent list requests.

page_token

string

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

ListCustomersResponseListCustomersResponse

{
  "customers": [
    {
      "id": "string",
      "billing_account_id": "string"
    }
  ],
  "next_page_token": "string"
}

Field

Description

customers[]

Customer

List of customers.

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 ListCustomersRequest.page_size, use
next_page_token as the value
for the ListCustomersRequest.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.

CustomerCustomer

A Customer resource.

Field

Description

id

string

ID of the customer.

billing_account_id

string

ID of the yandex.cloud.billing.v1.BillingAccount assigned to the customer.

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

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