Interface protos.google.cloud.batch.v1.AllocationPolicy.IInstancePolicyOrTemplate (1.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Properties of an InstancePolicyOrTemplate.
Package
@google-cloud/batch
Properties
blockProjectSshKeys
blockProjectSshKeys?: (boolean|null);
InstancePolicyOrTemplate blockProjectSshKeys
installGpuDrivers
installGpuDrivers?: (boolean|null);
InstancePolicyOrTemplate installGpuDrivers
installOpsAgent
installOpsAgent?: (boolean|null);
InstancePolicyOrTemplate installOpsAgent
instanceTemplate
instanceTemplate?: (string|null);
InstancePolicyOrTemplate instanceTemplate
policy
policy?: (google.cloud.batch.v1.AllocationPolicy.IInstancePolicy|null);
InstancePolicyOrTemplate policy
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["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-07 UTC."],[],[],null,["# Interface protos.google.cloud.batch.v1.AllocationPolicy.IInstancePolicyOrTemplate (1.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.16.0 (latest)](/nodejs/docs/reference/batch/latest/batch/protos.google.cloud.batch.v1.allocationpolicy.iinstancepolicyortemplate)\n- [1.15.0](/nodejs/docs/reference/batch/1.15.0/batch/protos.google.cloud.batch.v1.allocationpolicy.iinstancepolicyortemplate)\n- [1.12.0](/nodejs/docs/reference/batch/1.12.0/batch/protos.google.cloud.batch.v1.allocationpolicy.iinstancepolicyortemplate)\n- [1.11.0](/nodejs/docs/reference/batch/1.11.0/batch/protos.google.cloud.batch.v1.allocationpolicy.iinstancepolicyortemplate)\n- [1.8.0](/nodejs/docs/reference/batch/1.8.0/batch/protos.google.cloud.batch.v1.allocationpolicy.iinstancepolicyortemplate)\n- [1.7.0](/nodejs/docs/reference/batch/1.7.0/batch/protos.google.cloud.batch.v1.allocationpolicy.iinstancepolicyortemplate)\n- [1.5.0](/nodejs/docs/reference/batch/1.5.0/batch/protos.google.cloud.batch.v1.allocationpolicy.iinstancepolicyortemplate)\n- [1.4.0](/nodejs/docs/reference/batch/1.4.0/batch/protos.google.cloud.batch.v1.allocationpolicy.iinstancepolicyortemplate)\n- [1.3.0](/nodejs/docs/reference/batch/1.3.0/batch/protos.google.cloud.batch.v1.allocationpolicy.iinstancepolicyortemplate)\n- [1.1.0](/nodejs/docs/reference/batch/1.1.0/batch/protos.google.cloud.batch.v1.allocationpolicy.iinstancepolicyortemplate)\n- [0.7.1](/nodejs/docs/reference/batch/0.7.1/batch/protos.google.cloud.batch.v1.allocationpolicy.iinstancepolicyortemplate)\n- [0.6.1](/nodejs/docs/reference/batch/0.6.1/batch/protos.google.cloud.batch.v1.allocationpolicy.iinstancepolicyortemplate)\n- [0.5.0](/nodejs/docs/reference/batch/0.5.0/batch/protos.google.cloud.batch.v1.allocationpolicy.iinstancepolicyortemplate)\n- [0.3.2](/nodejs/docs/reference/batch/0.3.2/batch/protos.google.cloud.batch.v1.allocationpolicy.iinstancepolicyortemplate) \nProperties of an InstancePolicyOrTemplate.\n\nPackage\n-------\n\n[@google-cloud/batch](../overview.html)\n\nProperties\n----------\n\n### blockProjectSshKeys\n\n blockProjectSshKeys?: (boolean|null);\n\nInstancePolicyOrTemplate blockProjectSshKeys\n\n### installGpuDrivers\n\n installGpuDrivers?: (boolean|null);\n\nInstancePolicyOrTemplate installGpuDrivers\n\n### installOpsAgent\n\n installOpsAgent?: (boolean|null);\n\nInstancePolicyOrTemplate installOpsAgent\n\n### instanceTemplate\n\n instanceTemplate?: (string|null);\n\nInstancePolicyOrTemplate instanceTemplate\n\n### policy\n\n policy?: (google.cloud.batch.v1.AllocationPolicy.IInstancePolicy|null);\n\nInstancePolicyOrTemplate policy"]]