Google Cloud Tasks V2beta3 Client - Class HeaderOverride (1.14.5)

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

Wraps the Header object.

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

Namespace

Google \ Cloud \ Tasks \ V2beta3 \ HttpTarget

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

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

header embodying a key and a value.

getHeader

header embodying a key and a value.

Returns
Type Description
Google\Cloud\Tasks\V2beta3\HttpTarget\Header|null

hasHeader

clearHeader

setHeader

header embodying a key and a value.

Parameter
Name Description
var Google\Cloud\Tasks\V2beta3\HttpTarget\Header
Returns
Type Description
$this