Class FunctionService (1.0.0-beta01)

Stay organized with collections Save and categorize content based on your preferences.
public static 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.V2Beta

Assembly

Google.Cloud.Functions.V2Beta.dll

Methods

BindService(FunctionService.FunctionServiceBase)

public static ServerServiceDefinition BindService(FunctionService.FunctionServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplFunctionService.FunctionServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, FunctionService.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.

serviceImplFunctionService.FunctionServiceBase

An object implementing the server-side handling logic.