Class: Google::Apis::AnalyticshubV1::Routine
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticshubV1::Routine
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticshub_v1/classes.rb,
lib/google/apis/analyticshub_v1/representations.rb,
lib/google/apis/analyticshub_v1/representations.rb
Overview
Represents a bigquery routine.
Instance Attribute Summary collapse
-
#definition_body ⇒ String
Optional.
-
#routine_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Routine
constructor
A new instance of Routine.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Routine
Returns a new instance of Routine.
2411 2412 2413 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2411 def initialize(**args) update!(**args) end |
Instance Attribute Details
#definition_body ⇒ String
Optional. The definition body of the routine.
Corresponds to the JSON property definitionBody
2404 2405 2406 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2404 def definition_body @definition_body end |
#routine_type ⇒ String
Required. The type of routine.
Corresponds to the JSON property routineType
2409 2410 2411 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2409 def routine_type @routine_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2416 2417 2418 2419 |
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2416 def update!(**args) @definition_body = args[:definition_body] if args.key?(:definition_body) @routine_type = args[:routine_type] if args.key?(:routine_type) end |