Class: Google::Cloud::Deploy::V1::TargetAttribute

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

Defined Under Namespace

Classes: LabelsEntry

Instance Attribute Summary collapse

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. 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.


1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1445

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.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Target labels.



1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1445

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