# AI Platform Notebooks V1 API - Class Google::Cloud::Notebooks::V1::Execution (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.11.0 0.10.0 0.9.1 0.8.2 0.7.0 0.6.1 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::Execution.

The definition of a single executed notebook.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Time the Execution was instantiated.

### #description

    def description() -> ::String

**Returns**

- (::String) --- A brief description of this execution.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- A brief description of this execution.
**Returns**

- (::String) --- A brief description of this execution.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Output only. Name used for UI purposes. Name can only contain alphanumeric characters and underscores '_'.

### #execution_template

    def execution_template() -> ::Google::Cloud::Notebooks::V1::ExecutionTemplate

**Returns**

- ([::Google::Cloud::Notebooks::V1::ExecutionTemplate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-ExecutionTemplate)) --- execute metadata including name, hardware spec, region, labels, etc.

### #execution_template=

    def execution_template=(value) -> ::Google::Cloud::Notebooks::V1::ExecutionTemplate

**Parameter**

- **value** ([::Google::Cloud::Notebooks::V1::ExecutionTemplate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-ExecutionTemplate)) --- execute metadata including name, hardware spec, region, labels, etc.
**Returns**

- ([::Google::Cloud::Notebooks::V1::ExecutionTemplate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-ExecutionTemplate)) --- execute metadata including name, hardware spec, region, labels, etc.

### #job_uri

    def job_uri() -> ::String

**Returns**

- (::String) --- Output only. The URI of the external job used to execute the notebook.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. The resource name of the execute. Format: `projects/{project_id}/locations/{location}/executions/{execution_id}`

### #output_notebook_file

    def output_notebook_file() -> ::String

**Returns**

- (::String) --- Output notebook file generated by this execution

### #output_notebook_file=

    def output_notebook_file=(value) -> ::String

**Parameter**

- **value** (::String) --- Output notebook file generated by this execution
**Returns**

- (::String) --- Output notebook file generated by this execution

### #state

    def state() -> ::Google::Cloud::Notebooks::V1::Execution::State

**Returns**

- ([::Google::Cloud::Notebooks::V1::Execution::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-Execution-State)) --- Output only. State of the underlying AI Platform job.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Time the Execution was last updated.