Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Истории успеха
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • ИИ для бизнеса
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Промоакции и free tier
    • Правила тарификации
  • Истории успеха
  • Документация
  • Блог
Проект Яндекса
© 2025 ООО «Яндекс.Облако»
Yandex Object Storage
  • Правила тарификации
  • Справочник Terraform
    • Аутентификация в API
        • Overview
          • Overview
          • List
          • Get
          • Create
          • Update
          • Delete
          • GetStats
          • GetHTTPSConfig
          • SetHTTPSConfig
          • DeleteHTTPSConfig
          • SetAccessBindings
          • UpdateAccessBindings
          • ListAccessBindings
          • CreateInventoryConfiguration
          • GetInventoryConfiguration
          • DeleteInventoryConfiguration
          • ListInventoryConfigurations
  • Метрики Monitoring
  • Аудитные логи Audit Trails
  • Логи бакета
  • История изменений
  • Вопросы и ответы
  • Обучающие курсы

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

  • gRPC request
  • ListBucketInventoryConfigurationsRequest
  • ListBucketInventoryConfigurationsResponse
  • InventoryConfiguration
  • InventoryDestination
  • InventoryBucketDestination
  • InventorySchedule
  • InventoryFilter
  1. Справочник API
  2. gRPC и REST
  3. gRPC (англ.)
  4. Bucket
  5. ListInventoryConfigurations

Object Storage API, gRPC: BucketService.ListInventoryConfigurations

Статья создана
Yandex Cloud
Обновлена 1 декабря 2025 г.
  • gRPC request
  • ListBucketInventoryConfigurationsRequest
  • ListBucketInventoryConfigurationsResponse
  • InventoryConfiguration
  • InventoryDestination
  • InventoryBucketDestination
  • InventorySchedule
  • InventoryFilter

Listing inventory configurations

gRPC requestgRPC request

rpc ListInventoryConfigurations (ListBucketInventoryConfigurationsRequest) returns (ListBucketInventoryConfigurationsResponse)

ListBucketInventoryConfigurationsRequestListBucketInventoryConfigurationsRequest

{
  "bucket": "string",
  "page_token": "string"
}

Field

Description

bucket

string

Required field. Name of the bucket to list the inventory configurations for.

page_token

string

Continuation token

ListBucketInventoryConfigurationsResponseListBucketInventoryConfigurationsResponse

{
  "configurations": [
    {
      "id": "string",
      "destination": {
        "bucket_destination": {
          "bucket": "string",
          "format": "Format",
          "prefix": "google.protobuf.StringValue"
        }
      },
      "included_object_versions": "IncludedObjectVersions",
      "is_enabled": "bool",
      "schedule": {
        "frequency": "Frequency"
      },
      "filter": {
        "prefix": "string"
      },
      "optional_fields": [
        "OptionalField"
      ]
    }
  ],
  "next_page_token": "string"
}

Field

Description

configurations[]

InventoryConfiguration

List of inventory configurations.

next_page_token

string

Continuation token to retrieve the next page of results.

InventoryConfigurationInventoryConfiguration

Field

Description

id

string

Required field. The ID used to identify the inventory configuration.

destination

InventoryDestination

Required field. Contains information about where to publish the inventory results.

included_object_versions

enum IncludedObjectVersions

Required field. Object versions to include in the inventory list.

  • ALL: Include all versions.
  • CURRENT: Include only the current version.

is_enabled

bool

Specifies whether the inventory is enabled.

schedule

InventorySchedule

Required field. Specifies the schedule for generating inventory results.

filter

InventoryFilter

Specifies the filter for objects to include in the inventory.

optional_fields[]

enum OptionalField

Contains the optional fields that are included in the inventory results.

  • SIZE: The object size in bytes.
  • LAST_MODIFIED_DATE: The object creation date or the last modified date, whichever is the latest.
  • STORAGE_CLASS: The storage class that's used for storing the object.
  • ETAG: The entity tag (ETag) is a hash of the object.
  • IS_MULTIPART_UPLOADED: Specifies that the object was uploaded as a multipart upload.
  • ENCRYPTION_STATUS: The server-side encryption type that's used to encrypt the object.
  • OBJECT_LOCK_RETAIN_UNTIL_DATE: The date until which the object is locked.
  • OBJECT_LOCK_MODE: The level of protection applied to the object, either Governance or Compliance.
  • OBJECT_LOCK_LEGAL_HOLD_STATUS: The legal hold status of the locked object.
  • CHECKSUM_ALGORITHM: Indicates the algorithm that is used to create the checksum for the object.
  • OBJECT_ACCESS_CONTROL_LIST: An access control list (ACL) for each object.
  • OBJECT_OWNER: The owner of the object.

InventoryDestinationInventoryDestination

Field

Description

bucket_destination

InventoryBucketDestination

Required field. Destination bucket settings

InventoryBucketDestinationInventoryBucketDestination

Field

Description

bucket

string

Required field. Bucket where inventory results will be published.

format

enum Format

Required field. Specifies the output format of the inventory results.

  • CSV: CSV format.

prefix

google.protobuf.StringValue

The prefix that is prepended to all inventory results.

InventoryScheduleInventorySchedule

Field

Description

frequency

enum Frequency

Required field. Specifies how frequently inventory results are produced.

  • DAILY: Daily generation.
  • WEEKLY: Weekly generation.

InventoryFilterInventoryFilter

Field

Description

prefix

string

Required field. The prefix that an object must have to be included in the inventory results.

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

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