Class: Google::Apis::NotebooksV1::Execution
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV1::Execution
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/notebooks_v1/classes.rb,
lib/google/apis/notebooks_v1/representations.rb,
lib/google/apis/notebooks_v1/representations.rb
Overview
The definition of a single executed notebook.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
A brief description of this execution.
-
#display_name ⇒ String
Output only.
-
#execution_template ⇒ Google::Apis::NotebooksV1::ExecutionTemplate
The description a notebook execution workload.
-
#job_uri ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#output_notebook_file ⇒ String
Output notebook file generated by this execution Corresponds to the JSON property
outputNotebookFile
. -
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Execution
constructor
A new instance of Execution.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Execution
Returns a new instance of Execution.
597 598 599 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 597 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Time the Execution was instantiated.
Corresponds to the JSON property createTime
553 554 555 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 553 def create_time @create_time end |
#description ⇒ String
A brief description of this execution.
Corresponds to the JSON property description
558 559 560 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 558 def description @description end |
#display_name ⇒ String
Output only. Name used for UI purposes. Name can only contain alphanumeric
characters and underscores '_'.
Corresponds to the JSON property displayName
564 565 566 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 564 def display_name @display_name end |
#execution_template ⇒ Google::Apis::NotebooksV1::ExecutionTemplate
The description a notebook execution workload.
Corresponds to the JSON property executionTemplate
569 570 571 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 569 def execution_template @execution_template end |
#job_uri ⇒ String
Output only. The URI of the external job used to execute the notebook.
Corresponds to the JSON property jobUri
574 575 576 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 574 def job_uri @job_uri end |
#name ⇒ String
Output only. The resource name of the execute. Format: projects/
project_id/
locations/
location/executions/
execution_id`
Corresponds to the JSON property
name`
580 581 582 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 580 def name @name end |
#output_notebook_file ⇒ String
Output notebook file generated by this execution
Corresponds to the JSON property outputNotebookFile
585 586 587 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 585 def output_notebook_file @output_notebook_file end |
#state ⇒ String
Output only. State of the underlying AI Platform job.
Corresponds to the JSON property state
590 591 592 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 590 def state @state end |
#update_time ⇒ String
Output only. Time the Execution was last updated.
Corresponds to the JSON property updateTime
595 596 597 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 595 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
602 603 604 605 606 607 608 609 610 611 612 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 602 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @execution_template = args[:execution_template] if args.key?(:execution_template) @job_uri = args[:job_uri] if args.key?(:job_uri) @name = args[:name] if args.key?(:name) @output_notebook_file = args[:output_notebook_file] if args.key?(:output_notebook_file) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |