2.2.3 (latest) 2.1.3 2.0.4 1.3.5 1.2.2 1.1.1 1.0.6 Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class OperationMetadataV1.

Metadata for the given google.longrunning.Operation.

Generated from protobuf message `google.appengine.v1.OperationMetadataV1`

## Namespace

Google \\ Cloud \\ AppEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ method` | `string` API method that initiated this operation. Example: `google.appengine.v1.Versions.CreateVersion`. @OutputOnly |
| `↳ insert_time` | `Google\Protobuf\Timestamp` Time that this operation was created. @OutputOnly |
| `↳ end_time` | `Google\Protobuf\Timestamp` Time that this operation completed. @OutputOnly |
| `↳ user` | `string` User who requested this operation. @OutputOnly |
| `↳ target` | `string` Name of the resource that this operation is acting on. Example: `apps/myapp/services/default`. @OutputOnly |
| `↳ ephemeral_message` | `string` Ephemeral message that may change every time the operation is polled. @OutputOnly |
| `↳ warning` | `string[]` Durable messages that persist on every operation poll. @OutputOnly |
| `↳ create_version_metadata` | `https://docs.cloud.google.com/php/docs/reference/cloud-appengine-admin/latest/V1.CreateVersionMetadataV1` |

### getMethod

API method that initiated this operation. Example:
`google.appengine.v1.Versions.CreateVersion`.

@OutputOnly

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

### setMethod

API method that initiated this operation. Example:
`google.appengine.v1.Versions.CreateVersion`.

@OutputOnly

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

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

### getInsertTime

Time that this operation was created.

@OutputOnly

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasInsertTime

### clearInsertTime

### setInsertTime

Time that this operation was created.

@OutputOnly

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getEndTime

Time that this operation completed.

@OutputOnly

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasEndTime

### clearEndTime

### setEndTime

Time that this operation completed.

@OutputOnly

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getUser

User who requested this operation.

@OutputOnly

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

### setUser

User who requested this operation.

@OutputOnly

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

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

### getTarget

Name of the resource that this operation is acting on. Example:
`apps/myapp/services/default`.

@OutputOnly

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

### setTarget

Name of the resource that this operation is acting on. Example:
`apps/myapp/services/default`.

@OutputOnly

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

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

### getEphemeralMessage

Ephemeral message that may change every time the operation is polled.

@OutputOnly

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

### setEphemeralMessage

Ephemeral message that may change every time the operation is polled.

@OutputOnly

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

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

### getWarning

Durable messages that persist on every operation poll.

@OutputOnly

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setWarning

Durable messages that persist on every operation poll.

@OutputOnly

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

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

### getCreateVersionMetadata

Generated from protobuf field `.google.appengine.v1.CreateVersionMetadataV1 create_version_metadata = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-appengine-admin/latest/V1.CreateVersionMetadataV1|null` |   |

### hasCreateVersionMetadata

### setCreateVersionMetadata

Generated from protobuf field `.google.appengine.v1.CreateVersionMetadataV1 create_version_metadata = 8;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-appengine-admin/latest/V1.CreateVersionMetadataV1` |

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

### getMethodMetadata

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