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 \ HttpTargetMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\Tasks\V2beta2\HttpTarget\Header|null |
hasHeader
clearHeader
setHeader
header embodying a key and a value.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Tasks\V2beta2\HttpTarget\Header
|
Returns | |
---|---|
Type | Description |
$this |