Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class RoutineSpec.
Specification that applies to a routine. Valid only for
entries with the ROUTINE
type.
Generated from protobuf message google.cloud.datacatalog.v1.RoutineSpec
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ routine_type
int
The type of the routine.
↳ language
string
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
↳ return_type
string
Return type of the argument. The exact value depends on the source system and the language.
↳ definition_body
string
The body of the routine.
↳ bigquery_routine_spec
getRoutineType
The type of the routine.
int
setRoutineType
The type of the routine.
var
int
$this
getLanguage
The language the routine is written in. The exact value depends on the source system. For BigQuery routines, possible values are:
-
SQL
-
JAVASCRIPT
string
setLanguage
The language the routine is written in. The exact value depends on the source system. For BigQuery routines, possible values are:
-
SQL
-
JAVASCRIPT
var
string
$this
getRoutineArguments
Arguments of the routine.
setRoutineArguments
Arguments of the routine.
$this
getReturnType
Return type of the argument. The exact value depends on the source system and the language.
string
setReturnType
Return type of the argument. The exact value depends on the source system and the language.
var
string
$this
getDefinitionBody
The body of the routine.
string
setDefinitionBody
The body of the routine.
var
string
$this
getBigqueryRoutineSpec
Fields specific for BigQuery routines.
hasBigqueryRoutineSpec
setBigqueryRoutineSpec
Fields specific for BigQuery routines.
$this
getSystemSpec
string