0.9.0 (latest) 0.8.0 0.7.2 0.5.0 0.4.0 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle Client class ResourceUsage.

The ResourceUsage extension captures details about what is using a resource.

Generated from protobuf message `google.backstory.ResourceUsage`

## Namespace

Google \\ Backstory

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ used_entity` | `string` The name of the entity (e.g., process, user) that is using the resource. |
| `↳ used_entity_id` | `string` A numerical identifier for the entity using the resource (e.g., PID, UID). |

### getUsedEntity

The name of the entity (e.g., process, user) that is using the resource.

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

### setUsedEntity

The name of the entity (e.g., process, user) that is using the resource.

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

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

### getUsedEntityId

A numerical identifier for the entity using the resource (e.g., PID, UID).

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

### setUsedEntityId

A numerical identifier for the entity using the resource (e.g., PID, UID).

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

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