getBatch

suspend fun getBatch(name: String): BatchJob

Gets the status of a batch job (Operation).

Return

The BatchJob with current status.

Parameters

name

The resource name of the batch job operation (e.g., "batches/123456").