Class: Google::Apis::NotebooksV1::Execution

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Execution

Returns a new instance of Execution.



486
487
488
# File 'lib/google/apis/notebooks_v1/classes.rb', line 486

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeString

Output only. Time the Execution was instantiated. Corresponds to the JSON property createTime

Returns:

  • (String)


442
443
444
# File 'lib/google/apis/notebooks_v1/classes.rb', line 442

def create_time
  @create_time
end

#descriptionString

A brief description of this execution. Corresponds to the JSON property description

Returns:

  • (String)


447
448
449
# File 'lib/google/apis/notebooks_v1/classes.rb', line 447

def description
  @description
end

#display_nameString

Output only. Name used for UI purposes. Name can only contain alphanumeric characters and underscores '_'. Corresponds to the JSON property displayName

Returns:

  • (String)


453
454
455
# File 'lib/google/apis/notebooks_v1/classes.rb', line 453

def display_name
  @display_name
end

#execution_templateGoogle::Apis::NotebooksV1::ExecutionTemplate

The description a notebook execution workload. Corresponds to the JSON property executionTemplate



458
459
460
# File 'lib/google/apis/notebooks_v1/classes.rb', line 458

def execution_template
  @execution_template
end

#job_uriString

Output only. The URI of the external job used to execute the notebook. Corresponds to the JSON property jobUri

Returns:

  • (String)


463
464
465
# File 'lib/google/apis/notebooks_v1/classes.rb', line 463

def job_uri
  @job_uri
end

#nameString

Output only. The resource name of the execute. Format: projects/project_id/ locations/location/executions/execution_id` Corresponds to the JSON propertyname`

Returns:

  • (String)


469
470
471
# File 'lib/google/apis/notebooks_v1/classes.rb', line 469

def name
  @name
end

#output_notebook_fileString

Output notebook file generated by this execution Corresponds to the JSON property outputNotebookFile

Returns:

  • (String)


474
475
476
# File 'lib/google/apis/notebooks_v1/classes.rb', line 474

def output_notebook_file
  @output_notebook_file
end

#stateString

Output only. State of the underlying AI Platform job. Corresponds to the JSON property state

Returns:

  • (String)


479
480
481
# File 'lib/google/apis/notebooks_v1/classes.rb', line 479

def state
  @state
end

#update_timeString

Output only. Time the Execution was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


484
485
486
# File 'lib/google/apis/notebooks_v1/classes.rb', line 484

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



491
492
493
494
495
496
497
498
499
500
501
# File 'lib/google/apis/notebooks_v1/classes.rb', line 491

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