Cloud Functions v2 API - Class FunctionService (1.2.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

GoogleCloudGoogle.Cloud.FunctionsV2

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
NameDescription
serviceImplFunctionServiceFunctionServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
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
NameDescription
serviceBinderServiceBinderBase

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

serviceImplFunctionServiceFunctionServiceBase

An object implementing the server-side handling logic.