class Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1RoutineSpec
Specification that applies to a routine. Valid only for entries with the ` ROUTINE` type.
Attributes
Fields specific for BigQuery routines. Corresponds to the JSON property `bigqueryRoutineSpec` @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1BigQueryRoutineSpec]
The body of the routine. Corresponds to the JSON property `definitionBody` @return [String]
The language the routine is written in. The exact value depends on the source system. For BigQuery routines, possible values are: * `SQL` * `JAVASCRIPT` Corresponds to the JSON property `language` @return [String]
Return type of the argument. The exact value depends on the source system and the language. Corresponds to the JSON property `returnType` @return [String]
Arguments of the routine. Corresponds to the JSON property `routineArguments` @return [Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1RoutineSpecArgument>]
The type of the routine. Corresponds to the JSON property `routineType` @return [String]
Public Class Methods
# File lib/google/apis/datacatalog_v1/classes.rb, line 1234 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datacatalog_v1/classes.rb, line 1239 def update!(**args) @bigquery_routine_spec = args[:bigquery_routine_spec] if args.key?(:bigquery_routine_spec) @definition_body = args[:definition_body] if args.key?(:definition_body) @language = args[:language] if args.key?(:language) @return_type = args[:return_type] if args.key?(:return_type) @routine_arguments = args[:routine_arguments] if args.key?(:routine_arguments) @routine_type = args[:routine_type] if args.key?(:routine_type) end