Batch v1 API - Class BatchService (2.3.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(BatchServiceBase)

public static ServerServiceDefinition BindService(BatchService.BatchServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplBatchServiceBatchServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
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
NameDescription
serviceBinderServiceBinderBase

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

serviceImplBatchServiceBatchServiceBase

An object implementing the server-side handling logic.