Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::TargetAttribute.
Contains criteria for selecting Targets. This could be used to select targets for a Deploy Policy or for an Automation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#id
def id() -> ::String
-
(::String) —
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
#id=
def id=(value) -> ::String
-
value (::String) —
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
-
(::String) —
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
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Target labels.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Target labels.
- (::Google::Protobuf::Map{::String => ::String}) — Target labels.