public static class CloudTasks
Reference documentation and code samples for the Google Cloud Tasks v2 API class CloudTasks.
Cloud Tasks allows developers to manage the execution of background work in their applications.
Namespace
Google.Cloud.Tasks.V2Assembly
Google.Cloud.Tasks.V2.dll
Methods
BindService(CloudTasksBase)
public static ServerServiceDefinition BindService(CloudTasks.CloudTasksBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl |
CloudTasksCloudTasksBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, CloudTasksBase)
public static void BindService(ServiceBinderBase serviceBinder, CloudTasks.CloudTasksBase 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 |
CloudTasksCloudTasksBase An object implementing the server-side handling logic. |