Batch v1 API - Class BatchService (1.2.0)

public static class BatchService

Reference documentation and code samples for the Batch v1 API class BatchService.

Google Batch Service. The service manages user submitted batch jobs and allocates Google Compute Engine VM instances to run the jobs.

Inheritance

Object > BatchService

Namespace

Google.Cloud.Batch.V1

Assembly

Google.Cloud.Batch.V1.dll

Methods

BindService(BatchService.BatchServiceBase)

public static ServerServiceDefinition BindService(BatchService.BatchServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplBatchService.BatchServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, BatchService.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
NameDescription
serviceBinderServiceBinderBase

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

serviceImplBatchService.BatchServiceBase

An object implementing the server-side handling logic.