Class: Google::Cloud::SecurityCenter::V1::Label

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v1/label.rb

Overview

Represents a generic name-value label. A label has separate name and value fields to support filtering with the contains() function. For more information, see Filtering on array-type fields.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Name of the label.

Returns:

  • (::String)

    Name of the label.



34
35
36
37
# File 'proto_docs/google/cloud/securitycenter/v1/label.rb', line 34

class Label
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#value::String

Returns Value that corresponds to the label's name.

Returns:

  • (::String)

    Value that corresponds to the label's name.



34
35
36
37
# File 'proto_docs/google/cloud/securitycenter/v1/label.rb', line 34

class Label
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end