Cloud Security Command Center V1 API - Class Google::Cloud::SecurityCenter::V1::Label (v0.22.0)

Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::Label.

Label represents a generic name=value label. Label has separate name and value fields to support filtering with contains().

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Label name.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Label name.
Returns
  • (::String) — Label name.

#value

def value() -> ::String
Returns
  • (::String) — Label value.

#value=

def value=(value) -> ::String
Parameter
  • value (::String) — Label value.
Returns
  • (::String) — Label value.