Class: Google::Apis::ClouddeployV1::DeliveryPipelineAttribute

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeliveryPipelineAttribute

Returns a new instance of DeliveryPipelineAttribute.



1709
1710
1711
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1709

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#idString

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

Returns:

  • (String)


1702
1703
1704
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1702

def id
  @id
end

#labelsHash<String,String>

DeliveryPipeline labels. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


1707
1708
1709
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1707

def labels
  @labels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1714
1715
1716
1717
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1714

def update!(**args)
  @id = args[:id] if args.key?(:id)
  @labels = args[:labels] if args.key?(:labels)
end