Google Cloud Data Catalog V1 Client - Class RoutineSpec (2.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
Namespace
Google \ Cloud \ DataCatalog \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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: * * |
↳ routine_arguments |
array<RoutineSpec\Argument>
Arguments of the routine. |
↳ 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 |
BigQueryRoutineSpec
Fields specific for BigQuery routines. |
getRoutineType
The type of the routine.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type RoutineType. |
setRoutineType
The type of the routine.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type RoutineType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLanguage
The language the routine is written in. The exact value depends on the source system. For BigQuery routines, possible values are:
SQLJAVASCRIPT
| Returns | |
|---|---|
| Type | Description |
string |
|
setLanguage
The language the routine is written in. The exact value depends on the source system. For BigQuery routines, possible values are:
SQLJAVASCRIPT
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRoutineArguments
Arguments of the routine.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setRoutineArguments
Arguments of the routine.
| Parameter | |
|---|---|
| Name | Description |
var |
array<RoutineSpec\Argument>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReturnType
Return type of the argument. The exact value depends on the source system and the language.
| Returns | |
|---|---|
| Type | Description |
string |
|
setReturnType
Return type of the argument. The exact value depends on the source system and the language.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDefinitionBody
The body of the routine.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDefinitionBody
The body of the routine.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBigqueryRoutineSpec
Fields specific for BigQuery routines.
| Returns | |
|---|---|
| Type | Description |
BigQueryRoutineSpec|null |
|
hasBigqueryRoutineSpec
setBigqueryRoutineSpec
Fields specific for BigQuery routines.
| Parameter | |
|---|---|
| Name | Description |
var |
BigQueryRoutineSpec
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSystemSpec
| Returns | |
|---|---|
| Type | Description |
string |
|