# Google Cloud Service Usage V1 Client - Class OperationMetadata (2.2.0)

2.2.0 (latest) 2.1.2 2.0.4 1.3.4 1.2.3 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Service Usage V1 Client class OperationMetadata.

The operation metadata returned for the batchend services operation.

Generated from protobuf message `google.api.serviceusage.v1.OperationMetadata`

## Namespace

Google \\ Cloud \\ ServiceUsage \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ resource_names` | `string[]` The full name of the resources that this operation is directly associated with. |

### getResourceNames

The full name of the resources that this operation is directly
associated with.

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

### setResourceNames

The full name of the resources that this operation is directly
associated with.

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

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