# Google Cloud Life Sciences V2beta Client - Class Metadata (0.9.0)

0.9.0 (latest) 0.8.1 0.7.3 0.6.8 0.5.4 0.4.0 0.3.5

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Life Sciences V2beta Client class Metadata.

Carries information about the pipeline execution that is returned
in the long running operation's metadata field.

Generated from protobuf message `google.cloud.lifesciences.v2beta.Metadata`

## Namespace

Google \\ Cloud \\ LifeSciences \\ V2beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ pipeline` | `https://docs.cloud.google.com/php/docs/reference/cloud-life-sciences/latest/V2beta.Pipeline` The pipeline this operation represents. |
| `↳ labels` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` The user-defined labels associated with this operation. |
| `↳ events` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-life-sciences/latest/V2beta.Event>` The list of events that have happened so far during the execution of this operation. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The time at which the operation was created by the API. |
| `↳ start_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The first time at which resources were allocated to execute the pipeline. |
| `↳ end_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The time at which execution was completed and resources were cleaned up. |
| `↳ pub_sub_topic` | `string` The name of the Cloud Pub/Sub topic where notifications of operation status changes are sent. |

### getPipeline

The pipeline this operation represents.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-life-sciences/latest/V2beta.Pipeline|null` |   |

### hasPipeline

### clearPipeline

### setPipeline

The pipeline this operation represents.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-life-sciences/latest/V2beta.Pipeline` |

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

### getLabels

The user-defined labels associated with this operation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setLabels

The user-defined labels associated with this operation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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

### getEvents

The list of events that have happened so far during the execution of this
operation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-life-sciences/latest/V2beta.Event>` |   |

### setEvents

The list of events that have happened so far during the execution of this
operation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-life-sciences/latest/V2beta.Event>` |

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

### getCreateTime

The time at which the operation was created by the API.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

The time at which the operation was created by the API.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getStartTime

The first time at which resources were allocated to execute the pipeline.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasStartTime

### clearStartTime

### setStartTime

The first time at which resources were allocated to execute the pipeline.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getEndTime

The time at which execution was completed and resources were cleaned up.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasEndTime

### clearEndTime

### setEndTime

The time at which execution was completed and resources were cleaned up.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getPubSubTopic

The name of the Cloud Pub/Sub topic where notifications of operation status
changes are sent.

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

### setPubSubTopic

The name of the Cloud Pub/Sub topic where notifications of operation status
changes are sent.

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

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