Reference documentation and code samples for the Google Cloud BigQuery Analytics Hub V1 Client class Routine.
Represents a bigquery routine.
Generated from protobuf message google.cloud.bigquery.analyticshub.v1.Routine
Namespace
Google \ Cloud \ BigQuery \ AnalyticsHub \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
data | 
        
          array
          Optional. Data for populating the Message object.  | 
      
↳ routine_type | 
        
          int
          Required. The type of routine.  | 
      
↳ definition_body | 
        
          string
          Optional. The definition body of the routine.  | 
      
getRoutineType
Required. The type of routine.
| Returns | |
|---|---|
| Type | Description | 
int | 
        Enum of type RoutineType. | 
setRoutineType
Required. The type of routine.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          int
          Enum of type RoutineType.  | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |
getDefinitionBody
Optional. The definition body of the routine.
| Returns | |
|---|---|
| Type | Description | 
string | 
        |
setDefinitionBody
Optional. The definition body of the routine.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          string
           | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |