R function invocation context
Written by
Updated at January 22, 2025
An invocation context is an object that is optionally accepted by the call handler if the list of parameters contains ycFunctionContext. It is a list type object with additional information about the R function's version properties:
functionId
: Returns the string ID of the function.functionVersion
: Returns the string ID of the function version.memoryLimitInMB
: Returns the amount of memory specified when creating the version, MB.requestId
: Returns the request ID.tokenJson
: Returns the parameters for authentication in the Yandex Cloud API.
To extract information from the invocation context, use the appropriate method.