Class: Google::Apis::AnalyticshubV1::Routine

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

Instance Method Summary collapse

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_bodyString

Optional. The definition body of the routine. Corresponds to the JSON property definitionBody

Returns:

  • (String)


2404
2405
2406
# File 'lib/google/apis/analyticshub_v1/classes.rb', line 2404

def definition_body
  @definition_body
end

#routine_typeString

Required. The type of routine. Corresponds to the JSON property routineType

Returns:

  • (String)


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