# Google Cloud BigQuery Analytics Hub V1 Client - Class StoredProcedureConfig (1.5.1)

1.5.1 (latest) 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.4 0.5.3 0.4.0 0.3.2 0.2.2 0.1.6 Reference documentation and code samples for the Google Cloud BigQuery Analytics Hub V1 Client class StoredProcedureConfig.

Stored procedure configuration, used to configure stored procedure sharing
on linked dataset.

Generated from protobuf message `google.cloud.bigquery.analyticshub.v1.StoredProcedureConfig`

## Namespace

Google \\ Cloud \\ BigQuery \\ AnalyticsHub \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ enabled` | `bool` Optional. If true, enable sharing of stored procedure. |
| `↳ allowed_stored_procedure_types` | `int[]` Output only. Types of stored procedure supported to share. |

### getEnabled

Optional. If true, enable sharing of stored procedure.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setEnabled

Optional. If true, enable sharing of stored procedure.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAllowedStoredProcedureTypes

Output only. Types of stored procedure supported to share.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<int>` |   |

### setAllowedStoredProcedureTypes

Output only. Types of stored procedure supported to share.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |