Class RoutineSpec (3.11.1)

Stay organized with collections Save and categorize content based on your preferences.
RoutineSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
routine_type google.cloud.datacatalog_v1.types.RoutineSpec.RoutineType
The type of the routine.
language str
The language the routine is written in. The exact value depends on the source system. For BigQuery routines, possible values are: - SQL - JAVASCRIPT
routine_arguments MutableSequence[google.cloud.datacatalog_v1.types.RoutineSpec.Argument]
Arguments of the routine.
return_type str
Return type of the argument. The exact value depends on the source system and the language.
definition_body str
The body of the routine.
bigquery_routine_spec google.cloud.datacatalog_v1.types.BigQueryRoutineSpec
Fields specific for BigQuery routines. This field is a member of oneof_ system_spec.

Classes

Argument

Argument(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Input or output argument of a function or stored procedure.

RoutineType

RoutineType(value)

The fine-grained type of the routine.

Values: ROUTINE_TYPE_UNSPECIFIED (0): Unspecified type. SCALAR_FUNCTION (1): Non-builtin permanent scalar function. PROCEDURE (2): Stored procedure.