class Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1RoutineSpec

Specification that applies to a routine. Valid only for entries with the ` ROUTINE` type.

Attributes

bigquery_routine_spec[RW]

Fields specific for BigQuery routines. Corresponds to the JSON property `bigqueryRoutineSpec` @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1BigQueryRoutineSpec]

definition_body[RW]

The body of the routine. Corresponds to the JSON property `definitionBody` @return [String]

language[RW]

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[RW]

Return type of the argument. The exact value depends on the source system and the language. Corresponds to the JSON property `returnType` @return [String]

routine_arguments[RW]

Arguments of the routine. Corresponds to the JSON property `routineArguments` @return [Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1RoutineSpecArgument>]

routine_type[RW]

The type of the routine. Corresponds to the JSON property `routineType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datacatalog_v1/classes.rb, line 1234
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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