# Eventarc V1 API - Class Google::Cloud::Eventarc::V1::CreatePipelineRequest (v2.8.0)

2.8.0 (latest) 2.7.1 2.6.0 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.3.0 1.2.0 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.4 Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::CreatePipelineRequest.

The request message for the CreatePipeline method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent collection in which to add this pipeline.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent collection in which to add this pipeline.
**Returns**

- (::String) --- Required. The parent collection in which to add this pipeline.

### #pipeline

    def pipeline() -> ::Google::Cloud::Eventarc::V1::Pipeline

**Returns**

- ([::Google::Cloud::Eventarc::V1::Pipeline](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Pipeline)) --- Required. The pipeline to create.

### #pipeline=

    def pipeline=(value) -> ::Google::Cloud::Eventarc::V1::Pipeline

**Parameter**

- **value** ([::Google::Cloud::Eventarc::V1::Pipeline](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Pipeline)) --- Required. The pipeline to create.
**Returns**

- ([::Google::Cloud::Eventarc::V1::Pipeline](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Pipeline)) --- Required. The pipeline to create.

### #pipeline_id

    def pipeline_id() -> ::String

**Returns**

- (::String) --- Required. The user-provided ID to be assigned to the Pipeline. It should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.

### #pipeline_id=

    def pipeline_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The user-provided ID to be assigned to the Pipeline. It should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
**Returns**

- (::String) --- Required. The user-provided ID to be assigned to the Pipeline. It should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.

### #validate_only

    def validate_only() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. If set, validate the request and preview the review, but do not post it.

### #validate_only=

    def validate_only=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. If set, validate the request and preview the review, but do not post it.
**Returns**

- (::Boolean) --- Optional. If set, validate the request and preview the review, but do not post it.