Batch v1 API - Class BatchService (2.10.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
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 AddMethod on this object.

serviceImpl BatchServiceBatchServiceBase

An object implementing the server-side handling logic.