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
ID of the
Target
. -
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Target labels.
Instance Attribute Details
#id ⇒ ::String
Returns 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.
1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1643 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.
1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1643 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 |