Class: Google::Apis::DataformV1beta1::BigQueryAction
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::BigQueryAction
- 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 BigQuery.
Instance Attribute Summary collapse
-
#job_id ⇒ String
Output only.
-
#sql_script ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BigQueryAction
constructor
A new instance of BigQueryAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BigQueryAction
Returns a new instance of BigQueryAction.
92 93 94 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 92 def initialize(**args) update!(**args) end |
Instance Attribute Details
#job_id ⇒ String
Output only. The ID of the BigQuery job that executed the SQL in sql_script.
Only set once the job has started to run.
Corresponds to the JSON property jobId
85 86 87 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 85 def job_id @job_id end |
#sql_script ⇒ String
Output only. The generated BigQuery SQL script that will be executed.
Corresponds to the JSON property sqlScript
90 91 92 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 90 def sql_script @sql_script end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
97 98 99 100 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 97 def update!(**args) @job_id = args[:job_id] if args.key?(:job_id) @sql_script = args[:sql_script] if args.key?(:sql_script) end |