0.14.0 (latest) 0.13.0 0.12.3 0.9.0 0.8.2 0.7.1 0.6.1 0.4.1 0.3.0 0.2.1 0.1.2 Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class DataCollectionOptions.

Data collection options for diagnostics.

Generated from protobuf message `google.cloud.oracledatabase.v1.DataCollectionOptions`

## Namespace

Google \\ Cloud \\ OracleDatabase \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ diagnostics_events_enabled` | `bool` Optional. Indicates whether diagnostic collection is enabled for the VM cluster |
| `↳ health_monitoring_enabled` | `bool` Optional. Indicates whether health monitoring is enabled for the VM cluster |
| `↳ incident_logs_enabled` | `bool` Optional. Indicates whether incident logs and trace collection are enabled for the VM cluster |

### getDiagnosticsEventsEnabled

Optional. Indicates whether diagnostic collection is enabled for the VM
cluster

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

### setDiagnosticsEventsEnabled

Optional. Indicates whether diagnostic collection is enabled for the VM
cluster

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

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

### getHealthMonitoringEnabled

Optional. Indicates whether health monitoring is enabled for the VM cluster

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

### setHealthMonitoringEnabled

Optional. Indicates whether health monitoring is enabled for the VM cluster

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

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

### getIncidentLogsEnabled

Optional. Indicates whether incident logs and trace collection are enabled
for the VM cluster

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

### setIncidentLogsEnabled

Optional. Indicates whether incident logs and trace collection are enabled
for the VM cluster

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

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