Google Cloud Tasks V2beta3 Client - Class Header (1.15.1)

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
Name Description
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
Type Description
string

setKey

The Key of the header.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

The Value of the header.

Returns
Type Description
string

setValue

The Value of the header.

Parameter
Name Description
var string
Returns
Type Description
$this