A partire dal 29 aprile 2025, i modelli Gemini 1.5 Pro e Gemini 1.5 Flash non sono disponibili nei progetti che non li hanno mai utilizzati, inclusi i nuovi progetti. Per maggiori dettagli, vedi Versioni e ciclo di vita dei modelli.
Per DeployedModel, questo campo è facoltativo e il valore predefinito è n1-standard-2. Per
BatchPredictionJob o come
parte di WorkerPoolSpec, questo
campo è obbligatorio.
Per DeployedModel, questo campo è facoltativo e il valore predefinito è n1-standard-2. Per
BatchPredictionJob o come
parte di WorkerPoolSpec, questo
campo è obbligatorio.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2024-05-17 UTC."],[],[],null,["# Interface MachineSpecOrBuilder (0.6.0)\n\n public interface MachineSpecOrBuilder 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### getAcceleratorCount()\n\n public abstract int getAcceleratorCount()\n\nThe number of accelerators to attach to the machine.\n\n`int32 accelerator_count = 3;`\n\n### getAcceleratorType()\n\n public abstract AcceleratorType getAcceleratorType()\n\nImmutable. The type of accelerator(s) that may be attached to the machine\nas per\naccelerator_count.\n\n`\n.google.cloud.vertexai.v1.AcceleratorType accelerator_type = 2 [(.google.api.field_behavior) = IMMUTABLE];\n`\n\n### getAcceleratorTypeValue()\n\n public abstract int getAcceleratorTypeValue()\n\nImmutable. The type of accelerator(s) that may be attached to the machine\nas per\naccelerator_count.\n\n`\n.google.cloud.vertexai.v1.AcceleratorType accelerator_type = 2 [(.google.api.field_behavior) = IMMUTABLE];\n`\n\n### getMachineType()\n\n public abstract String getMachineType()\n\nImmutable. The type of the machine.\n\nSee the [list of machine types supported for\nprediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)\n\nSee the [list of machine types supported for custom\ntraining](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).\n\nFor DeployedModel this field is\noptional, and the default value is `n1-standard-2`. For\nBatchPredictionJob or as\npart of WorkerPoolSpec this\nfield is required.\n\n`string machine_type = 1 [(.google.api.field_behavior) = IMMUTABLE];`\n\n### getMachineTypeBytes()\n\n public abstract ByteString getMachineTypeBytes()\n\nImmutable. The type of the machine.\n\nSee the [list of machine types supported for\nprediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)\n\nSee the [list of machine types supported for custom\ntraining](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).\n\nFor DeployedModel this field is\noptional, and the default value is `n1-standard-2`. For\nBatchPredictionJob or as\npart of WorkerPoolSpec this\nfield is required.\n\n`string machine_type = 1 [(.google.api.field_behavior) = IMMUTABLE];`\n\n### getTpuTopology()\n\n public abstract String getTpuTopology()\n\nImmutable. The topology of the TPUs. Corresponds to the TPU topologies\navailable from GKE. (Example: tpu_topology: \"2x2x1\").\n\n`string tpu_topology = 4 [(.google.api.field_behavior) = IMMUTABLE];`\n\n### getTpuTopologyBytes()\n\n public abstract ByteString getTpuTopologyBytes()\n\nImmutable. The topology of the TPUs. Corresponds to the TPU topologies\navailable from GKE. (Example: tpu_topology: \"2x2x1\").\n\n`string tpu_topology = 4 [(.google.api.field_behavior) = IMMUTABLE];`"]]