Class: Google::Cloud::Deploy::V1::TargetAttribute
- Inherits:
-
Object
- Object
- Google::Cloud::Deploy::V1::TargetAttribute
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/deploy/v1/cloud_deploy.rb
Overview
Contains criteria for selecting Targets. This could be used to select targets for a Deploy Policy or for an Automation.
Defined Under Namespace
Classes: LabelsEntry
Instance Attribute Summary collapse
-
#id ⇒ ::String
Optional.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Target labels.
Instance Attribute Details
#id ⇒ ::String
Returns Optional. ID of the Target
. The value of this field could be one of the
following:
- The last segment of a target name
- "*", all targets in a location.
1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1745 class TargetAttribute include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Target labels.
1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1745 class TargetAttribute include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |