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 AutonomousDbVersion.

Details of the Autonomous Database version.

<https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDbVersionSummary/>

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

## Namespace

Google \\ Cloud \\ OracleDatabase \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The name of the Autonomous Database Version resource with the format: projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version} |
| `↳ version` | `string` Output only. An Oracle Database version for Autonomous Database. |
| `↳ db_workload` | `int` Output only. The Autonomous Database workload type. |
| `↳ workload_uri` | `string` Output only. A URL that points to a detailed description of the Autonomous Database version. |

### getName

Identifier. The name of the Autonomous Database Version resource with the
format:
projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version}

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Identifier. The name of the Autonomous Database Version resource with the
format:
projects/{project}/locations/{region}/autonomousDbVersions/{autonomous_db_version}

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

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

### getVersion

Output only. An Oracle Database version for Autonomous Database.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setVersion

Output only. An Oracle Database version for Autonomous Database.

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

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

### getDbWorkload

Output only. The Autonomous Database workload type.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DBWorkload](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DBWorkload). |

### setDbWorkload

Output only. The Autonomous Database workload type.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DBWorkload](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DBWorkload). |

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

### getWorkloadUri

Output only. A URL that points to a detailed description of the Autonomous
Database version.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setWorkloadUri

Output only. A URL that points to a detailed description of the Autonomous
Database version.

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

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