Class: Google::Apis::DataformV1beta1::NotebookAction
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::NotebookAction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataform_v1beta1/classes.rb,
lib/google/apis/dataform_v1beta1/representations.rb,
lib/google/apis/dataform_v1beta1/representations.rb
Overview
Represents a workflow action that will run against a Notebook runtime.
Instance Attribute Summary collapse
-
#contents ⇒ String
Output only.
-
#job_id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NotebookAction
constructor
A new instance of NotebookAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NotebookAction
Returns a new instance of NotebookAction.
1651 1652 1653 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1651 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contents ⇒ String
Output only. The code contents of a Notebook to be run.
Corresponds to the JSON property contents
1642 1643 1644 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1642 def contents @contents end |
#job_id ⇒ String
Output only. The ID of the Vertex job that executed the notebook in contents
and also the ID used for the outputs created in GCS buckets. Only set once the
job has started to run.
Corresponds to the JSON property jobId
1649 1650 1651 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1649 def job_id @job_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1656 1657 1658 1659 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1656 def update!(**args) @contents = args[:contents] if args.key?(:contents) @job_id = args[:job_id] if args.key?(:job_id) end |