Reference documentation and code samples for the Cloud Tasks V2beta2 API class Google::Cloud::Tasks::V2beta2::HttpTarget::Header.
Defines a header message. A header can have a key and a value.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#key
def key() -> ::String
Returns
- (::String) — The key of the header.
#key=
def key=(value) -> ::String
Parameter
- value (::String) — The key of the header.
Returns
- (::String) — The key of the header.
#value
def value() -> ::String
Returns
- (::String) — The value of the header.
#value=
def value=(value) -> ::String
Parameter
- value (::String) — The value of the header.
Returns
- (::String) — The value of the header.