# Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::DeliveryPipeline (v2.5.0)

2.5.0 (latest) 2.4.1 2.3.0 2.2.0 2.1.1 2.0.2 1.6.0 1.5.0 1.4.0 1.3.0 1.2.2 1.1.0 1.0.0 0.20.0 0.19.1 0.18.0 0.17.2 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::DeliveryPipeline.

A `DeliveryPipeline` resource in the Cloud Deploy API.


<br />

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #annotations

    def annotations() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy.

### #annotations=

    def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy.

### #condition

    def condition() -> ::Google::Cloud::Deploy::V1::PipelineCondition

**Returns**

- ([::Google::Cloud::Deploy::V1::PipelineCondition](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-deploy-v1/latest/Google-Cloud-Deploy-V1-PipelineCondition)) --- Output only. Information around the state of the Delivery Pipeline.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-deploy-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Time at which the pipeline was created.

### #description

    def description() -> ::String

**Returns**

- (::String) --- Optional. Description of the `DeliveryPipeline`. Max length is 255 characters.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Description of the `DeliveryPipeline`. Max length is 255 characters.
**Returns**

- (::String) --- Optional. Description of the `DeliveryPipeline`. Max length is 255 characters.

### #etag

    def etag() -> ::String

**Returns**

- (::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.

### #etag=

    def etag=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- 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.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- 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**

- (::Google::Protobuf::Map{::String =\> ::String}) --- 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.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. 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])?`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. 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**

- (::String) --- Identifier. 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])?`

### #serial_pipeline

    def serial_pipeline() -> ::Google::Cloud::Deploy::V1::SerialPipeline

**Returns**

- ([::Google::Cloud::Deploy::V1::SerialPipeline](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-deploy-v1/latest/Google-Cloud-Deploy-V1-SerialPipeline)) --- Optional. SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.

### #serial_pipeline=

    def serial_pipeline=(value) -> ::Google::Cloud::Deploy::V1::SerialPipeline

**Parameter**

- **value** ([::Google::Cloud::Deploy::V1::SerialPipeline](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-deploy-v1/latest/Google-Cloud-Deploy-V1-SerialPipeline)) --- Optional. SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.
**Returns**

- ([::Google::Cloud::Deploy::V1::SerialPipeline](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-deploy-v1/latest/Google-Cloud-Deploy-V1-SerialPipeline)) --- Optional. SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.

### #suspended

    def suspended() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. When suspended, no new releases or rollouts can be created, but in-progress ones will complete.

### #suspended=

    def suspended=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. When suspended, no new releases or rollouts can be created, but in-progress ones will complete.
**Returns**

- (::Boolean) --- Optional. When suspended, no new releases or rollouts can be created, but in-progress ones will complete.

### #uid

    def uid() -> ::String

**Returns**

- (::String) --- Output only. Unique identifier of the `DeliveryPipeline`.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-deploy-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Most recent time at which the pipeline was updated.