public final class ExecutionTemplate
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Notebooks API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ExecutionTemplate() |
| Modifier and Type | Method and Description |
|---|---|
ExecutionTemplate |
clone() |
SchedulerAcceleratorConfig |
getAcceleratorConfig()
Configuration (count and accelerator type) for hardware running notebook execution.
|
String |
getContainerImageUri()
Container Image URI to a DLVM Example: 'gcr.io/deeplearning-platform-release/base-cu100' More
examples can be found at: https://cloud.google.com/ai-platform/deep-learning-
containers/docs/choosing-container
|
DataprocParameters |
getDataprocParameters()
Parameters used in Dataproc JobType executions.
|
String |
getInputNotebookFile()
Path to the notebook file to execute.
|
String |
getJobType()
The type of Job to be used on this execution.
|
String |
getKernelSpec()
Name of the kernel spec to use.
|
Map<String,String> |
getLabels()
Labels for execution.
|
String |
getMasterType()
Specifies the type of virtual machine to use for your training job's master worker.
|
String |
getOutputNotebookFolder()
Path to the notebook folder to write to.
|
String |
getParameters()
Parameters used within the 'input_notebook_file' notebook.
|
String |
getParamsYamlFile()
Parameters to be overridden in the notebook during execution.
|
String |
getScaleTier()
Required.
|
String |
getServiceAccount()
The email address of a service account to use when running the execution.
|
String |
getTensorboard()
The name of a Vertex AI [Tensorboard] resource to which this execution will upload Tensorboard
logs.
|
VertexAIParameters |
getVertexAiParameters()
Parameters used in Vertex AI JobType executions.
|
ExecutionTemplate |
set(String fieldName,
Object value) |
ExecutionTemplate |
setAcceleratorConfig(SchedulerAcceleratorConfig acceleratorConfig)
Configuration (count and accelerator type) for hardware running notebook execution.
|
ExecutionTemplate |
setContainerImageUri(String containerImageUri)
Container Image URI to a DLVM Example: 'gcr.io/deeplearning-platform-release/base-cu100' More
examples can be found at: https://cloud.google.com/ai-platform/deep-learning-
containers/docs/choosing-container
|
ExecutionTemplate |
setDataprocParameters(DataprocParameters dataprocParameters)
Parameters used in Dataproc JobType executions.
|
ExecutionTemplate |
setInputNotebookFile(String inputNotebookFile)
Path to the notebook file to execute.
|
ExecutionTemplate |
setJobType(String jobType)
The type of Job to be used on this execution.
|
ExecutionTemplate |
setKernelSpec(String kernelSpec)
Name of the kernel spec to use.
|
ExecutionTemplate |
setLabels(Map<String,String> labels)
Labels for execution.
|
ExecutionTemplate |
setMasterType(String masterType)
Specifies the type of virtual machine to use for your training job's master worker.
|
ExecutionTemplate |
setOutputNotebookFolder(String outputNotebookFolder)
Path to the notebook folder to write to.
|
ExecutionTemplate |
setParameters(String parameters)
Parameters used within the 'input_notebook_file' notebook.
|
ExecutionTemplate |
setParamsYamlFile(String paramsYamlFile)
Parameters to be overridden in the notebook during execution.
|
ExecutionTemplate |
setScaleTier(String scaleTier)
Required.
|
ExecutionTemplate |
setServiceAccount(String serviceAccount)
The email address of a service account to use when running the execution.
|
ExecutionTemplate |
setTensorboard(String tensorboard)
The name of a Vertex AI [Tensorboard] resource to which this execution will upload Tensorboard
logs.
|
ExecutionTemplate |
setVertexAiParameters(VertexAIParameters vertexAiParameters)
Parameters used in Vertex AI JobType executions.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic SchedulerAcceleratorConfig getAcceleratorConfig()
null for nonepublic ExecutionTemplate setAcceleratorConfig(SchedulerAcceleratorConfig acceleratorConfig)
acceleratorConfig - acceleratorConfig or null for nonepublic String getContainerImageUri()
null for nonepublic ExecutionTemplate setContainerImageUri(String containerImageUri)
containerImageUri - containerImageUri or null for nonepublic DataprocParameters getDataprocParameters()
null for nonepublic ExecutionTemplate setDataprocParameters(DataprocParameters dataprocParameters)
dataprocParameters - dataprocParameters or null for nonepublic String getInputNotebookFile()
null for nonepublic ExecutionTemplate setInputNotebookFile(String inputNotebookFile)
inputNotebookFile - inputNotebookFile or null for nonepublic String getJobType()
null for nonepublic ExecutionTemplate setJobType(String jobType)
jobType - jobType or null for nonepublic String getKernelSpec()
null for nonepublic ExecutionTemplate setKernelSpec(String kernelSpec)
kernelSpec - kernelSpec or null for nonepublic Map<String,String> getLabels()
null for nonepublic ExecutionTemplate setLabels(Map<String,String> labels)
labels - labels or null for nonepublic String getMasterType()
null for nonepublic ExecutionTemplate setMasterType(String masterType)
masterType - masterType or null for nonepublic String getOutputNotebookFolder()
null for nonepublic ExecutionTemplate setOutputNotebookFolder(String outputNotebookFolder)
outputNotebookFolder - outputNotebookFolder or null for nonepublic String getParameters()
null for nonepublic ExecutionTemplate setParameters(String parameters)
parameters - parameters or null for nonepublic String getParamsYamlFile()
null for nonepublic ExecutionTemplate setParamsYamlFile(String paramsYamlFile)
paramsYamlFile - paramsYamlFile or null for nonepublic String getScaleTier()
null for nonepublic ExecutionTemplate setScaleTier(String scaleTier)
scaleTier - scaleTier or null for nonepublic String getServiceAccount()
null for nonepublic ExecutionTemplate setServiceAccount(String serviceAccount)
serviceAccount - serviceAccount or null for nonepublic String getTensorboard()
null for nonepublic ExecutionTemplate setTensorboard(String tensorboard)
tensorboard - tensorboard or null for nonepublic VertexAIParameters getVertexAiParameters()
null for nonepublic ExecutionTemplate setVertexAiParameters(VertexAIParameters vertexAiParameters)
vertexAiParameters - vertexAiParameters or null for nonepublic ExecutionTemplate set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ExecutionTemplate clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.