Google Cloud Tasks V2beta2 Client - Class HeaderOverride (1.13.2)

Reference documentation and code samples for the Google Cloud Tasks V2beta2 Client class HeaderOverride.

Wraps the Header object.

Generated from protobuf message google.cloud.tasks.v2beta2.HttpTarget.HeaderOverride

Namespace

Google \ Cloud \ Tasks \ V2beta2 \ HttpTarget

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ header Google\Cloud\Tasks\V2beta2\HttpTarget\Header

header embodying a key and a value.

getHeader

header embodying a key and a value.

Returns
TypeDescription
Google\Cloud\Tasks\V2beta2\HttpTarget\Header|null

hasHeader

clearHeader

setHeader

header embodying a key and a value.

Parameter
NameDescription
var Google\Cloud\Tasks\V2beta2\HttpTarget\Header
Returns
TypeDescription
$this