Class Execution (1.7.1)

Execution(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The definition of a single executed notebook.

Attributes

NameDescription
execution_template google.cloud.notebooks_v1.types.ExecutionTemplate
execute metadata including name, hardware spec, region, labels, etc.
name str
Output only. The resource name of the execute. Format: projects/{project_id}/locations/{location}/executions/{execution_id}
display_name str
Output only. Name used for UI purposes. Name can only contain alphanumeric characters and underscores '_'.
description str
A brief description of this execution.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time the Execution was instantiated.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time the Execution was last updated.
state google.cloud.notebooks_v1.types.Execution.State
Output only. State of the underlying AI Platform job.
output_notebook_file str
Output notebook file generated by this execution
job_uri str
Output only. The URI of the external job used to execute the notebook.

Classes

State

State(value)

Enum description of the state of the underlying AIP job.

Values: STATE_UNSPECIFIED (0): The job state is unspecified. QUEUED (1): The job has been just created and processing has not yet begun. PREPARING (2): The service is preparing to execution the job. RUNNING (3): The job is in progress. SUCCEEDED (4): The job completed successfully. FAILED (5): The job failed. error_message should contain the details of the failure. CANCELLING (6): The job is being cancelled. error_message should describe the reason for the cancellation. CANCELLED (7): The job has been cancelled. error_message should describe the reason for the cancellation. EXPIRED (9): The job has become expired (relevant to Vertex AI jobs) https://cloud.google.com/vertex-ai/docs/reference/rest/v1/JobState INITIALIZING (10): The Execution is being created.