Google Cloud Deploy V1 Client - Class DeliveryPipeline (0.12.1)

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Optional. Name of the DeliveryPipeline. Format is projects/{project}/ locations/{location}/deliveryPipelines/[a-z][a-z0-9-]{0,62}.

↳ uid string

Output only. Unique identifier of the DeliveryPipeline.

↳ description string

Description of the DeliveryPipeline. Max length is 255 characters.

↳ annotations array|Google\Protobuf\Internal\MapField

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

↳ labels array|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 Google\Protobuf\Timestamp

Output only. Time at which the pipeline was created.

↳ update_time Google\Protobuf\Timestamp

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

↳ serial_pipeline Google\Cloud\Deploy\V1\SerialPipeline

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

↳ condition Google\Cloud\Deploy\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/[a-z][a-z0-9-]{0,62}.

Returns
TypeDescription
string

setName

Optional. Name of the DeliveryPipeline. Format is projects/{project}/ locations/{location}/deliveryPipelines/[a-z][a-z0-9-]{0,62}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUid

Output only. Unique identifier of the DeliveryPipeline.

Returns
TypeDescription
string

setUid

Output only. Unique identifier of the DeliveryPipeline.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

Description of the DeliveryPipeline. Max length is 255 characters.

Returns
TypeDescription
string

setDescription

Description of the DeliveryPipeline. Max length is 255 characters.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAnnotations

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

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setAnnotations

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

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getCreateTime

Output only. Time at which the pipeline was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Time at which the pipeline was created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getSerialPipeline

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

Returns
TypeDescription
Google\Cloud\Deploy\V1\SerialPipeline|null

hasSerialPipeline

setSerialPipeline

SerialPipeline defines a sequential set of stages for a DeliveryPipeline.

Parameter
NameDescription
var Google\Cloud\Deploy\V1\SerialPipeline
Returns
TypeDescription
$this

getCondition

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

Returns
TypeDescription
Google\Cloud\Deploy\V1\PipelineCondition|null

hasCondition

clearCondition

setCondition

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

Parameter
NameDescription
var Google\Cloud\Deploy\V1\PipelineCondition
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getSuspended

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

Returns
TypeDescription
bool

setSuspended

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getPipeline

Returns
TypeDescription
string