Reference documentation and code samples for the Google Cloud Eventarc V1 Client class CreatePipelineRequest.
The request message for the CreatePipeline method.
Generated from protobuf message google.cloud.eventarc.v1.CreatePipelineRequest
Namespace
Google \ Cloud \ Eventarc \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent collection in which to add this pipeline. |
↳ pipeline |
Google\Cloud\Eventarc\V1\Pipeline
Required. The pipeline to create. |
↳ pipeline_id |
string
Required. The user-provided ID to be assigned to the Pipeline. |
↳ validate_only |
bool
Optional. If set, validate the request and preview the review, but do not post it. |
getParent
Required. The parent collection in which to add this pipeline.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The parent collection in which to add this pipeline.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPipeline
Required. The pipeline to create.
Returns | |
---|---|
Type | Description |
Google\Cloud\Eventarc\V1\Pipeline|null |
hasPipeline
clearPipeline
setPipeline
Required. The pipeline to create.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Eventarc\V1\Pipeline
|
Returns | |
---|---|
Type | Description |
$this |
getPipelineId
Required. The user-provided ID to be assigned to the Pipeline.
Returns | |
---|---|
Type | Description |
string |
setPipelineId
Required. The user-provided ID to be assigned to the Pipeline.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValidateOnly
Optional. If set, validate the request and preview the review, but do not post it.
Returns | |
---|---|
Type | Description |
bool |
setValidateOnly
Optional. If set, validate the request and preview the review, but do not post it.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The parent collection in which to add this pipeline. Please see Google\Cloud\Eventarc\V1\EventarcClient::locationName() for help formatting this field. |
pipeline |
Google\Cloud\Eventarc\V1\Pipeline
Required. The pipeline to create. |
pipelineId |
string
Required. The user-provided ID to be assigned to the Pipeline. |
Returns | |
---|---|
Type | Description |
Google\Cloud\Eventarc\V1\CreatePipelineRequest |