Class: Google::Apis::ClouddeployV1::DeliveryPipelineAttribute
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::DeliveryPipelineAttribute
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb
Overview
Contains criteria for selecting DeliveryPipelines.
Instance Attribute Summary collapse
-
#id ⇒ String
ID of the
DeliveryPipeline
. -
#labels ⇒ Hash<String,String>
DeliveryPipeline labels.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeliveryPipelineAttribute
constructor
A new instance of DeliveryPipelineAttribute.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeliveryPipelineAttribute
Returns a new instance of DeliveryPipelineAttribute.
1753 1754 1755 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1753 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
ID of the DeliveryPipeline
. The value of this field could be one of the
following: * The last segment of a pipeline name * "*", all delivery pipelines
in a location
Corresponds to the JSON property id
1746 1747 1748 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1746 def id @id end |
#labels ⇒ Hash<String,String>
DeliveryPipeline labels.
Corresponds to the JSON property labels
1751 1752 1753 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1751 def labels @labels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1758 1759 1760 1761 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1758 def update!(**args) @id = args[:id] if args.key?(:id) @labels = args[:labels] if args.key?(:labels) end |