get

public BatchJob get(String name, GetBatchJobConfig config)

Gets a batch job resource.

Return

A BatchJob object that contains the info of the batch job.

Parameters

name

A fully-qualified BatchJob resource name or ID. Example: "projects/.../locations/.../batchPredictionJobs/456" or "456" when project and location are initialized in the Gemini Enterprise Agent Platform client. Or "batches/abc" using the Gemini Developer AI client.

config

A GetBatchJobConfig for configuring the get request.