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

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

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

Billing API, gRPC: BillingAccountService.List

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

Retrieves the list of billing accounts available for current user.

gRPC request

rpc List (ListBillingAccountsRequest) returns (ListBillingAccountsResponse)

ListBillingAccountsRequest

{
  "page_size": "int64",
  "page_token": "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 ListBillingAccountsResponse.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 ListBillingAccountsResponse.next_page_token
returned by a previous list request.

ListBillingAccountsResponse

{
  "billing_accounts": [
    {
      "id": "string",
      "name": "string",
      "created_at": "google.protobuf.Timestamp",
      "country_code": "string",
      "currency": "string",
      "active": "bool",
      "balance": "string"
    }
  ],
  "next_page_token": "string"
}

Field

Description

billing_accounts[]

BillingAccount

List of billing accounts.

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

BillingAccount

A BillingAccount resource. For more information, see BillingAccount.

Field

Description

id

string

ID of the billing account.

name

string

Name of the billing account.

created_at

google.protobuf.Timestamp

Creation timestamp.

country_code

string

ISO 3166-1 alpha-2 country code of the billing account.

currency

string

Currency of the billing account.
Can be one of the following:

  • RUB
  • USD
  • KZT

active

bool

Represents whether corresponding billable objects can be used or not.

balance

string

Current balance of the billing account.

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

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