Contains methods used to get correlationIds, commands and bodies from the Google Function requests.
Description
The CloudFunctionRequestHelper class contains methods used to get correlationIds, commands and bodies from the Google Function requests.
Static methods
getCorrelationId
Returns a correlationId from the Google Function request.
public staticgetCorrelationId(req: any): string
- req: any - Google Function request.
- returns: string - returned correlationId from request.
getCommand
Returns a command from the Google Function request.
public staticgetCommand(req: any): string
- req: any - Google Function request.
- returns: string - returned command from request.
getParametrs
Returns a body from the Google Function http request.
public staticgetParametrs(req: any): Parameters
- req: any - Google Function request.
- returns: Parameters - returned body from request.