Resource: NotebookExecutionJob
NotebookExecutionJob represents an instance of a notebook execution.
JSON representation |
---|
{ "name": string, "displayName": string, "executionTimeout": string, "scheduleResourceName": string, "jobState": enum ( |
Fields | |
---|---|
name |
Output only. The resource name of this NotebookExecutionJob. Format: |
displayName |
The display name of the NotebookExecutionJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. |
executionTimeout |
Max running time of the execution job in seconds (default 86400s / 24 hrs). A duration in seconds with up to nine fractional digits, ending with ' |
scheduleResourceName |
Output only. The Schedule resource name if this job is triggered by one. Format: |
jobState |
Output only. The state of the NotebookExecutionJob. |
status |
Output only. Populated when the NotebookExecutionJob is completed. When there is an error during notebook execution, the error details are populated. |
createTime |
Output only. timestamp when this NotebookExecutionJob was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. timestamp when this NotebookExecutionJob was most recently updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
The labels with user-defined metadata to organize NotebookExecutionJobs. label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. |
Union field notebook_source . The input notebook. notebook_source can be only one of the following: |
|
dataformRepositorySource |
The Dataform Repository pointing to a single file notebook repository. |
gcsNotebookSource |
The Cloud Storage url pointing to the ipynb file. Format: |
directNotebookSource |
The contents of an input notebook file. |
Union field environment_spec . The compute config to use for an execution job. environment_spec can be only one of the following: |
|
notebookRuntimeTemplateResourceName |
The NotebookRuntimeTemplate to source compute configuration from. |
Union field execution_sink . The location to store the notebook execution result. execution_sink can be only one of the following: |
|
gcsOutputUri |
The Cloud Storage location to upload the result to. Format: |
Union field execution_identity . The identity to run the execution as. execution_identity can be only one of the following: |
|
executionUser |
The user email to run the execution as. Only supported by Colab runtimes. |
serviceAccount |
The service account to run the execution as. |
DataformRepositorySource
The Dataform Repository containing the input notebook.
JSON representation |
---|
{ "dataformRepositoryResourceName": string, "commitSha": string } |
Fields | |
---|---|
dataformRepositoryResourceName |
The resource name of the Dataform Repository. Format: |
commitSha |
The commit SHA to read repository with. If unset, the file will be read at HEAD. |
GcsNotebookSource
The Cloud Storage uri for the input notebook.
JSON representation |
---|
{ "uri": string, "generation": string } |
Fields | |
---|---|
uri |
The Cloud Storage uri pointing to the ipynb file. Format: |
generation |
The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number. |
DirectNotebookSource
The content of the input notebook in ipynb format.
JSON representation |
---|
{ "content": string } |
Fields | |
---|---|
content |
The base64-encoded contents of the input notebook file. A base64-encoded string. |
Methods |
|
---|---|
|
Creates a NotebookExecutionJob. |
|
Deletes a NotebookExecutionJob. |
|
Gets a NotebookExecutionJob. |
|
Lists NotebookExecutionJobs in a Location. |