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.
-
#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.
417 418 419 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 417 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
378 379 380 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 378 def create_time @create_time end |
#description ⇒ String
A brief description of this execution.
Corresponds to the JSON property description
383 384 385 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 383 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
389 390 391 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 389 def display_name @display_name end |
#execution_template ⇒ Google::Apis::NotebooksV1::ExecutionTemplate
The description a notebook execution workload.
Corresponds to the JSON property executionTemplate
394 395 396 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 394 def execution_template @execution_template end |
#name ⇒ String
Output only. The resource name of the execute. Format: projects/project_id/
locations/location/execution/execution_id
Corresponds to the JSON propertyname`
400 401 402 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 400 def name @name end |
#output_notebook_file ⇒ String
Output notebook file generated by this execution
Corresponds to the JSON property outputNotebookFile
405 406 407 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 405 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
410 411 412 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 410 def state @state end |
#update_time ⇒ String
Output only. Time the Execution was last updated.
Corresponds to the JSON property updateTime
415 416 417 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 415 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
422 423 424 425 426 427 428 429 430 431 |
# File 'lib/google/apis/notebooks_v1/classes.rb', line 422 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) @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 |