Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Functions
  • Comparing with other Yandex Cloud services
  • Tools
  • Pricing policy
  • Access management
  • Terraform reference
    • API authentication
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Update
        • Delete
        • DeleteVersion
        • GetVersion
        • GetFunctionVersion
        • GetVersionByTag
        • GetFunctionVersionByTag
        • ListVersions
        • ListFunctionVersions
        • SetTag
        • RemoveTag
        • ListTagHistory
        • ListFunctionTagHistory
        • CreateVersion
        • CreateFunctionVersion
        • ListRuntimes
        • ListOperations
        • ListAccessBindings
        • SetAccessBindings
        • UpdateAccessBindings
        • ListScalingPolicies
        • SetScalingPolicy
        • RemoveScalingPolicy
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  • FAQ

In this article:

  • gRPC request
  • ListFunctionsVersionsRequest
  • ListFunctionsVersionsResponse
  • Version
  • Resources
  • Connectivity
  • Secret
  • LogOptions
  • StorageMount
  • AsyncInvocationConfig
  • ResponseTarget
  • EmptyTarget
  • YMQTarget
  • Mount
  • ObjectStorage
  • DiskSpec
  • MetadataOptions
  1. API Functions reference
  2. gRPC
  3. Function
  4. ListVersions

Cloud Functions Service, gRPC: FunctionService.ListVersions

Written by
Yandex Cloud
Updated at July 1, 2026
View in Markdown
  • gRPC request
  • ListFunctionsVersionsRequest
  • ListFunctionsVersionsResponse
  • Version
  • Resources
  • Connectivity
  • Secret
  • LogOptions
  • StorageMount
  • AsyncInvocationConfig
  • ResponseTarget
  • EmptyTarget
  • YMQTarget
  • Mount
  • ObjectStorage
  • DiskSpec
  • MetadataOptions

Retrieves the list of versions for the specified function, or of all function versions
in the specified folder.

gRPC requestgRPC request

rpc ListVersions (ListFunctionsVersionsRequest) returns (ListFunctionsVersionsResponse)

ListFunctionsVersionsRequestListFunctionsVersionsRequest

{
  // Includes only one of the fields `folder_id`, `function_id`
  "folder_id": "string",
  "function_id": "string",
  // end of the list of possible fields
  "page_size": "int64",
  "page_token": "string",
  "filter": "string"
}

Field

Description

folder_id

string

ID of the folder to list function versions for.
To get a folder ID make a yandex.cloud.resourcemanager.v1.FolderService.List request.

Includes only one of the fields folder_id, function_id.

function_id

string

ID of the function to list versions for.
To get a function ID use a FunctionService.List request.

Includes only one of the fields folder_id, function_id.

page_size

int64

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

Acceptable values are 0 to 1000, inclusive.

page_token

string

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

The maximum string length in characters is 100.

filter

string

A filter expression that filters resources listed in the response.
The expression must specify:

  1. The field name. Currently filtering can only be applied to the Version.status and Version.runtime fields.
  2. An = operator.
  3. The value in double quotes ("). Must be 3-63 characters long and match the regular expression [a-z][-a-z0-9]{1,61}[a-z0-9].
    Example of a filter: status="ACTIVE".

The maximum string length in characters is 1000.

ListFunctionsVersionsResponseListFunctionsVersionsResponse

{
  "versions": [
    {
      "id": "string",
      "function_id": "string",
      "description": "string",
      "created_at": "google.protobuf.Timestamp",
      "runtime": "string",
      "entrypoint": "string",
      "resources": {
        "memory": "int64"
      },
      "execution_timeout": "google.protobuf.Duration",
      "service_account_id": "string",
      "image_size": "int64",
      "status": "Status",
      "tags": [
        "string"
      ],
      "environment": "map<string, string>",
      "named_service_accounts": "map<string, string>",
      "concurrency": "int64",
      "connectivity": {
        "network_id": "string",
        "subnet_id": [
          "string"
        ]
      },
      "secrets": [
        {
          "id": "string",
          "version_id": "string",
          "key": "string",
          // Includes only one of the fields `environment_variable`
          "environment_variable": "string"
          // end of the list of possible fields
        }
      ],
      "log_options": {
        "disabled": "bool",
        // Includes only one of the fields `log_group_id`, `folder_id`
        "log_group_id": "string",
        "folder_id": "string",
        // end of the list of possible fields
        "min_level": "Level"
      },
      "storage_mounts": [
        {
          "bucket_id": "string",
          "prefix": "string",
          "mount_point_name": "string",
          "read_only": "bool"
        }
      ],
      "async_invocation_config": {
        "retries_count": "int64",
        "success_target": {
          // Includes only one of the fields `empty_target`, `ymq_target`
          "empty_target": "EmptyTarget",
          "ymq_target": {
            "queue_arn": "string",
            "service_account_id": "string"
          }
          // end of the list of possible fields
        },
        "failure_target": {
          // Includes only one of the fields `empty_target`, `ymq_target`
          "empty_target": "EmptyTarget",
          "ymq_target": {
            "queue_arn": "string",
            "service_account_id": "string"
          }
          // end of the list of possible fields
        },
        "service_account_id": "string"
      },
      "tmpfs_size": "int64",
      "mounts": [
        {
          "name": "string",
          "mode": "Mode",
          // Includes only one of the fields `object_storage`, `ephemeral_disk_spec`
          "object_storage": {
            "bucket_id": "string",
            "prefix": "string"
          },
          "ephemeral_disk_spec": {
            "size": "int64",
            "block_size": "int64"
          }
          // end of the list of possible fields
        }
      ],
      "metadata_options": {
        "gce_http_endpoint": "MetadataOption",
        "aws_v1_http_endpoint": "MetadataOption"
      }
    }
  ],
  "next_page_token": "string"
}

Field

Description

versions[]

Version

List of versions for the specified folder or function.

next_page_token

string

Token for getting the next page of the list. If the number of results is greater than
the specified ListFunctionsVersionsRequest.page_size, use nextPageToken as the value
for the ListFunctionsVersionsRequest.page_token parameter in the next list request.
Each subsequent page will have its own nextPageToken to continue paging through the results.

VersionVersion

Version of a function. For details about the concept, see Function versions.

Field

Description

id

string

ID of the version.

function_id

string

ID of the function that the version belongs to.

description

string

Description of the version.

The string length in characters must be 0-600.

created_at

google.protobuf.Timestamp

Creation timestamp for the version.

runtime

string

ID of the runtime environment for the function.
Supported environments and their identifiers are listed in the Runtime environments.

entrypoint

string

Entrypoint for the function: the name of the function to be called as the handler.
Specified in the format <function file name>.<handler name>, for example, index.myFunction.

resources

Resources

Resources allocated to the version.

execution_timeout

google.protobuf.Duration

Timeout for the execution of the version.
If the timeout is exceeded, Cloud Functions responds with a 504 HTTP code.

service_account_id

string

ID of the service account associated with the version.

image_size

int64

Final size of the deployment package after unpacking.

status

enum Status

Status of the version.

  • CREATING: Version is being created.
  • ACTIVE: Version is ready to use.
  • OBSOLETE: Version will be deleted soon.
  • DELETING: Version is being deleted.

tags[]

string

Version tags. For details, see Version tag.

environment

object (map<string, string>)

Environment settings for the version.

named_service_accounts

object (map<string, string>)

Additional service accounts to be used by the version.

concurrency

int64

The maximum number of requests processed by a function instance at the same time

Acceptable values are 0 to 16, inclusive.

connectivity

Connectivity

Network access. If specified the version will be attached to specified network/subnet(s).

secrets[]

Secret

Yandex Lockbox secrets to be used by the version.

log_options

LogOptions

Options for logging from the function

storage_mounts[]

StorageMount

S3 mounts to be used by the version.

async_invocation_config

AsyncInvocationConfig

Config for asynchronous invocations of the version

tmpfs_size

int64

Optional size of in-memory mounted /tmp directory in bytes.

mounts[]

Mount

Mounts to be used by the version.

metadata_options

MetadataOptions

Metadata options for the version.

ResourcesResources

Resources allocated to a version.

Field

Description

memory

int64

Amount of memory available to the version, specified in bytes, multiple of 128MB.

Acceptable values are 134217728 to 8589934592, inclusive.

ConnectivityConnectivity

Version connectivity specification.

Field

Description

network_id

string

Network the version will have access to.
It's essential to specify network with subnets in all availability zones.

subnet_id[]

string

Complete list of subnets (from the same network) the version can be attached to.

Deprecated, it is sufficient to specify only network_id, without the list of subnet_ids.

The string length in characters for each value must be greater than 0.

SecretSecret

Secret for serverless function.

Field

Description

id

string

ID of Yandex Lockbox secret.

version_id

string

ID of Yandex Lockbox version.

key

string

Key in secret's payload, which value to be delivered into function environment.

environment_variable

string

environment variable in which secret's value to be delivered.

Includes only one of the fields environment_variable.

LogOptionsLogOptions

Field

Description

disabled

bool

Is logging from function disabled.

log_group_id

string

Entry should be written to log group resolved by ID.

Value must match the regular expression ([a-zA-Z][-a-zA-Z0-9_.]{0,63})?.

Includes only one of the fields log_group_id, folder_id.

Log entries destination.

folder_id

string

Entry should be written to default log group for specified folder.

Value must match the regular expression ([a-zA-Z][-a-zA-Z0-9_.]{0,63})?.

Includes only one of the fields log_group_id, folder_id.

Log entries destination.

min_level

enum Level

Minimum log entry level.
See LogLevel.Level for details.

  • TRACE: Trace log level.
    Possible use case: verbose logging of some business logic.
  • DEBUG: Debug log level.
    Possible use case: debugging special cases in application logic.
  • INFO: Info log level.
    Mostly used for information messages.
  • WARN: Warn log level.
    May be used to alert about significant events.
  • ERROR: Error log level.
    May be used to alert about errors in infrastructure, logic, etc.
  • FATAL: Fatal log level.
    May be used to alert about unrecoverable failures and events.

StorageMountStorageMount

Field

Description

bucket_id

string

Required field. S3 bucket name for mounting.

The string length in characters must be 3-63. Value must match the regular expression [-.0-9a-zA-Z]*.

prefix

string

S3 bucket prefix for mounting.

mount_point_name

string

Required field. Mount point directory name (not path) for mounting.

The string length in characters must be 1-100. Value must match the regular expression [-_0-9a-zA-Z]*.

read_only

bool

Is mount read only.

AsyncInvocationConfigAsyncInvocationConfig

Field

Description

retries_count

int64

Number of retries of version invocation

Acceptable values are 0 to 100, inclusive.

success_target

ResponseTarget

Required field. Target for successful result of the version's invocation

failure_target

ResponseTarget

Required field. Target for unsuccessful result, if all retries failed

service_account_id

string

Service account which can invoke version

ResponseTargetResponseTarget

Target to which a result of an invocation will be sent

Field

Description

empty_target

EmptyTarget

Target to ignore a result

Includes only one of the fields empty_target, ymq_target.

ymq_target

YMQTarget

Target to send a result to ymq

Includes only one of the fields empty_target, ymq_target.

EmptyTargetEmptyTarget

Field

Description

Empty

YMQTargetYMQTarget

Field

Description

queue_arn

string

Required field. Queue ARN

service_account_id

string

Required field. Service account which has write permission on the queue.

The maximum string length in characters is 50.

MountMount

Mount contains an information about version's external storage mount

Field

Description

name

string

Required field. Unique mount point name. Device will be mounted into /function/storage/<name>

The string length in characters must be 1-100. Value must match the regular expression [-_0-9a-zA-Z]*.

mode

enum Mode

Mount's mode

  • READ_ONLY: Mount is available for read access only.
  • READ_WRITE: Mount is available for both read and write access.

object_storage

ObjectStorage

Object storage mounts

Includes only one of the fields object_storage, ephemeral_disk_spec.

Target mount option

ephemeral_disk_spec

DiskSpec

Working disk (worker-local non-shared read-write NBS disk templates)

Includes only one of the fields object_storage, ephemeral_disk_spec.

Target mount option

ObjectStorageObjectStorage

ObjectStorage as a mount

Field

Description

bucket_id

string

Required field. ObjectStorage bucket name for mounting.

The string length in characters must be 3-63. Value must match the regular expression [-.0-9a-zA-Z]*.

prefix

string

ObjectStorage bucket prefix for mounting.

DiskSpecDiskSpec

Disk as a mount

Field

Description

size

int64

The size of disk for mount in bytes

Value must be greater than 0.

block_size

int64

Optional block size of disk for mount in bytes

MetadataOptionsMetadataOptions

Field

Description

gce_http_endpoint

enum MetadataOption

Enabled access to GCE flavored metadata

  • ENABLED: Option is enabled
  • DISABLED: Option is disabled

aws_v1_http_endpoint

enum MetadataOption

Enabled access to AWS flavored metadata (IMDSv1)

  • ENABLED: Option is enabled
  • DISABLED: Option is disabled

Was the article helpful?

Previous
GetFunctionVersionByTag
Next
ListFunctionVersions
© 2026 Direct Cursus Technology L.L.C.