# Google Cloud Migration Center V1 Client - Class Sum (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class Sum.

The result of a sum aggregation.

Generated from protobuf message `google.cloud.migrationcenter.v1.AggregationResult.Sum`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1 \\ AggregationResult

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ value` | `float` |

### getValue

Generated from protobuf field `double value = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### setValue

Generated from protobuf field `double value = 1;`

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

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