Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
Immutable. The number of machine replicas used at the start of the batch
operation. If not set, Vertex AI decides starting number, not greater than
max_replica_count
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface BatchDedicatedResourcesOrBuilder (1.32.0)\n\n public interface BatchDedicatedResourcesOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getMachineSpec()\n\n public abstract MachineSpec getMachineSpec()\n\nRequired. Immutable. The specification of a single machine.\n\n`\n.google.cloud.vertexai.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];\n`\n\n### getMachineSpecOrBuilder()\n\n public abstract MachineSpecOrBuilder getMachineSpecOrBuilder()\n\nRequired. Immutable. The specification of a single machine.\n\n`\n.google.cloud.vertexai.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];\n`\n\n### getMaxReplicaCount()\n\n public abstract int getMaxReplicaCount()\n\nImmutable. The maximum number of machine replicas the batch operation may\nbe scaled to. The default value is 10.\n\n`int32 max_replica_count = 3 [(.google.api.field_behavior) = IMMUTABLE];`\n\n### getStartingReplicaCount()\n\n public abstract int getStartingReplicaCount()\n\nImmutable. The number of machine replicas used at the start of the batch\noperation. If not set, Vertex AI decides starting number, not greater than\nmax_replica_count\n\n`int32 starting_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE];`\n\n### hasMachineSpec()\n\n public abstract boolean hasMachineSpec()\n\nRequired. Immutable. The specification of a single machine.\n\n`\n.google.cloud.vertexai.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];\n`"]]