R function invocation context
Written by
Updated at December 12, 2023
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 containing 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 ID of the request being handled.tokenJson
: Returns the parameters required for authentication in the Yandex Cloud API.
To extract information from the invocation context, use the appropriate method.