Google Cloud Tasks V2beta3 Client - Class Header (1.14.4)

Reference documentation and code samples for the Google Cloud Tasks V2beta3 Client class Header.

Defines a header message. A header can have a key and a value.

Generated from protobuf message google.cloud.tasks.v2beta3.HttpTarget.Header

Namespace

Google \ Cloud \ Tasks \ V2beta3 \ HttpTarget

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ key string

The Key of the header.

↳ value string

The Value of the header.

getKey

The Key of the header.

Returns
TypeDescription
string

setKey

The Key of the header.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

The Value of the header.

Returns
TypeDescription
string

setValue

The Value of the header.

Parameter
NameDescription
var string
Returns
TypeDescription
$this