Class GetBatchJobParameters

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GetBatchJobParameters

@InternalApi public abstract class GetBatchJobParameters extends JsonSerializable
Config for batches.get parameters.
  • Constructor Details

    • GetBatchJobParameters

      public GetBatchJobParameters()
  • Method Details

    • name

      public abstract Optional<String> name()
      A fully-qualified BatchJob resource name or ID. Example: "projects/.../locations/.../batchPredictionJobs/456" or "456" when project and location are initialized in the client.
    • config

      public abstract Optional<GetBatchJobConfig> config()
      Optional parameters for the request.
    • builder

      public static GetBatchJobParameters.Builder builder()
      Instantiates a builder for GetBatchJobParameters.
    • toBuilder

      public abstract GetBatchJobParameters.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static GetBatchJobParameters fromJson(String jsonString)
      Deserializes a JSON string to a GetBatchJobParameters object.