public static class FunctionService
Reference documentation and code samples for the Cloud Functions v2beta 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.
Namespace
Google.Cloud.Functions.V2BetaAssembly
Google.Cloud.Functions.V2Beta.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 |
serviceImpl | FunctionServiceFunctionServiceBase An object implementing the server-side handling logic. |