public static class BatchService
Reference documentation and code samples for the Batch v1alpha API class BatchService.
Google Batch Service. The service manages user submitted batch jobs and allocates Google Compute Engine VM instances to run the jobs.
Namespace
Google.Cloud.Batch.V1AlphaAssembly
Google.Cloud.Batch.V1Alpha.dll
Methods
BindService(BatchServiceBase)
public static ServerServiceDefinition BindService(BatchService.BatchServiceBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl | BatchServiceBatchServiceBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, BatchServiceBase)
public static void BindService(ServiceBinderBase serviceBinder, BatchService.BatchServiceBase 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 | BatchServiceBatchServiceBase An object implementing the server-side handling logic. |