Google Cloud Deploy V1 API - Class Google::Cloud::Deploy::V1::TargetAttribute (v0.19.0)

Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::TargetAttribute.

Contains criteria for selecting Targets.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#id

def id() -> ::String
Returns
  • (::String) —

    ID of the Target. The value of this field could be one of the following:

    • The last segment of a target name. It only needs the ID to determine which target is being referred to
    • "*", all targets in a location.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) —

    ID of the Target. The value of this field could be one of the following:

    • The last segment of a target name. It only needs the ID to determine which target is being referred to
    • "*", all targets in a location.
Returns
  • (::String) —

    ID of the Target. The value of this field could be one of the following:

    • The last segment of a target name. It only needs the ID to determine which target is being referred to
    • "*", all targets in a location.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Target labels.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Target labels.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Target labels.