Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::Label.
Label is a key value pair applied to a resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#key
def key() -> ::String
Returns
- (::String) — The key part of the label.
#key=
def key=(value) -> ::String
Parameter
- value (::String) — The key part of the label.
Returns
- (::String) — The key part of the label.
#source
def source() -> ::String
Returns
- (::String) — The source of the Label. Source is empty if the label is directly attached to the resource and not inherited.
#source=
def source=(value) -> ::String
Parameter
- value (::String) — The source of the Label. Source is empty if the label is directly attached to the resource and not inherited.
Returns
- (::String) — The source of the Label. Source is empty if the label is directly attached to the resource and not inherited.
#value
def value() -> ::String
Returns
- (::String) — The value part of the label.
#value=
def value=(value) -> ::String
Parameter
- value (::String) — The value part of the label.
Returns
- (::String) — The value part of the label.