# Google Cloud Deploy V1 Client - Class DeliveryPipeline (2.0.0)

2.0.0 (latest) 1.6.3 1.5.7 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.19.1 0.18.1 0.17.0 0.16.0 0.15.0 0.14.0 0.13.1 0.12.1 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.4 Reference documentation and code samples for the Google Cloud Deploy V1 Client class DeliveryPipeline.

A `DeliveryPipeline` resource in the Cloud Deploy API.

A `DeliveryPipeline` defines a pipeline through which a Skaffold
configuration can progress.

Generated from protobuf message `google.cloud.deploy.v1.DeliveryPipeline`

## Namespace

Google \\ Cloud \\ Deploy \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Optional. Name of the `DeliveryPipeline`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`. The `deliveryPipeline` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` |
| `↳ uid` | `string` Output only. Unique identifier of the `DeliveryPipeline`. |
| `↳ description` | `string` Description of the `DeliveryPipeline`. Max length is 255 characters. |
| `↳ annotations` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. |
| `↳ labels` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: \* Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. \* All characters must use UTF-8 encoding, and international characters are allowed. \* Keys must start with a lowercase letter or international character. \* Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be \<= 128 bytes. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Time at which the pipeline was created. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Most recent time at which the pipeline was updated. |
| `↳ serial_pipeline` | `https://docs.cloud.google.com/php/docs/reference/cloud-deploy/latest/V1.SerialPipeline` SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`. |
| `↳ condition` | `https://docs.cloud.google.com/php/docs/reference/cloud-deploy/latest/V1.PipelineCondition` Output only. Information around the state of the Delivery Pipeline. |
| `↳ etag` | `string` This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. |
| `↳ suspended` | `bool` When suspended, no new releases or rollouts can be created, but in-progress ones will complete. |

### getName

Optional. Name of the `DeliveryPipeline`. Format is
`projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`.

The `deliveryPipeline` component must match
`[a-z]([a-z0-9-]{0,61}[a-z0-9])?`

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

### setName

Optional. Name of the `DeliveryPipeline`. Format is
`projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`.

The `deliveryPipeline` component must match
`[a-z]([a-z0-9-]{0,61}[a-z0-9])?`

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

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

### getUid

Output only. Unique identifier of the `DeliveryPipeline`.

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

### setUid

Output only. Unique identifier of the `DeliveryPipeline`.

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

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

### getDescription

Description of the `DeliveryPipeline`. Max length is 255 characters.

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

### setDescription

Description of the `DeliveryPipeline`. Max length is 255 characters.

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

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

### getAnnotations

User annotations. These attributes can only be set and used by the
user, and not by Cloud Deploy.

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

### setAnnotations

User annotations. These attributes can only be set and used by the
user, and not by Cloud Deploy.

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

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

### getLabels

Labels are attributes that can be set and used by both the
user and by Cloud Deploy. Labels must meet the following constraints:

- Keys and values can contain only lowercase letters, numeric characters,
  underscores, and dashes.

- All characters must use UTF-8 encoding, and international characters are
  allowed.

- Keys must start with a lowercase letter or international character.
- Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be \<= 128 bytes.

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

### setLabels

Labels are attributes that can be set and used by both the
user and by Cloud Deploy. Labels must meet the following constraints:

- Keys and values can contain only lowercase letters, numeric characters,
  underscores, and dashes.

- All characters must use UTF-8 encoding, and international characters are
  allowed.

- Keys must start with a lowercase letter or international character.
- Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be \<= 128 bytes.

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

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

### getCreateTime

Output only. Time at which the pipeline was created.

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

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. Time at which the pipeline was created.

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

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

### getUpdateTime

Output only. Most recent time at which the pipeline was updated.

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

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. Most recent time at which the pipeline was updated.

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

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

### getSerialPipeline

SerialPipeline defines a sequential set of stages for a
`DeliveryPipeline`.

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

### hasSerialPipeline

### setSerialPipeline

SerialPipeline defines a sequential set of stages for a
`DeliveryPipeline`.

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

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

### getCondition

Output only. Information around the state of the Delivery Pipeline.

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

### hasCondition

### clearCondition

### setCondition

Output only. Information around the state of the Delivery Pipeline.

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

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

### getEtag

This checksum is computed by the server based on the value of other
fields, and may be sent on update and delete requests to ensure the
client has an up-to-date value before proceeding.

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

### setEtag

This checksum is computed by the server based on the value of other
fields, and may be sent on update and delete requests to ensure the
client has an up-to-date value before proceeding.

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

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

### getSuspended

When suspended, no new releases or rollouts can be created,
but in-progress ones will complete.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setSuspended

When suspended, no new releases or rollouts can be created,
but in-progress ones will complete.

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

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

### getPipeline

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