Cloud Functions v2 API - Class FunctionService (1.7.0)

public static class FunctionService

Reference documentation and code samples for the Cloud Functions v2 API class FunctionService.

Google Cloud Functions is used to deploy functions that are executed by Google in response to various events. Data connected with that event is passed to a function as the input data.

A function is a resource which describes a function that should be executed and how it is triggered.

Inheritance

object > FunctionService

Namespace

Google.Cloud.Functions.V2

Assembly

Google.Cloud.Functions.V2.dll

Methods

BindService(FunctionServiceBase)

public static ServerServiceDefinition BindService(FunctionService.FunctionServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
Name Description
serviceImpl FunctionServiceFunctionServiceBase

An object implementing the server-side handling logic.

Returns
Type Description
ServerServiceDefinition

BindService(ServiceBinderBase, FunctionServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, FunctionService.FunctionServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
Name Description
serviceBinder ServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImpl FunctionServiceFunctionServiceBase

An object implementing the server-side handling logic.