Cloud Tasks V2beta3 API - Class Google::Cloud::Tasks::V2beta3::HttpTarget::Header (v0.12.3)

Reference documentation and code samples for the Cloud Tasks V2beta3 API class Google::Cloud::Tasks::V2beta3::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.