class Google::Apis::ClouddeployV1::DeliveryPipeline
A ‘DeliveryPipeline` resource in the Google
Cloud Deploy API. A ` DeliveryPipeline` defines a pipeline through which a Skaffold configuration can progress.
Attributes
User annotations. These attributes can only be set and used by the user, and not by Google
Cloud Deploy. See google.aip.dev/128#annotations for more details such as format and size limitations. Corresponds to the JSON property ‘annotations` @return [Hash<String,String>]
PipelineCondition
contains all conditions relevant to a Delivery Pipeline. Corresponds to the JSON property ‘condition` @return [Google::Apis::ClouddeployV1::PipelineCondition]
Output only. Time at which the pipeline was created. Corresponds to the JSON property ‘createTime` @return [String]
Description of the ‘DeliveryPipeline`. Max length is 255 characters. Corresponds to the JSON property `description` @return [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. Corresponds to the JSON property ‘etag` @return [String]
Labels are attributes that can be set and used by both the user and by Google
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. Corresponds to the JSON property ‘labels` @return [Hash<String,String>]
Optional. Name of the ‘DeliveryPipeline`. Format is projects/`project`/ locations/`location`/deliveryPipelines/a-z`0,62`. Corresponds to the JSON property `name` @return [String]
SerialPipeline
defines a sequential set of stages for a ‘DeliveryPipeline`. Corresponds to the JSON property `serialPipeline` @return [Google::Apis::ClouddeployV1::SerialPipeline]
Output only. Unique identifier of the ‘DeliveryPipeline`. Corresponds to the JSON property `uid` @return [String]
Output only. Most recent time at which the pipeline was updated. Corresponds to the JSON property ‘updateTime` @return [String]
Public Class Methods
# File lib/google/apis/clouddeploy_v1/classes.rb, line 430 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/clouddeploy_v1/classes.rb, line 435 def update!(**args) @annotations = args[:annotations] if args.key?(:annotations) @condition = args[:condition] if args.key?(:condition) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @etag = args[:etag] if args.key?(:etag) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @serial_pipeline = args[:serial_pipeline] if args.key?(:serial_pipeline) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) end