Invocation context
Invocation context is an object that is optionally accepted by the request handler in case you use the YcFunction interface model. The object type is Yandex.Cloud.Functions.Context
. It provides properties for getting more information about the function version:
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.