Reference documentation and code samples for the Google Cloud Tasks V2 Client class HeaderOverride.
Wraps the Header object.
Generated from protobuf message google.cloud.tasks.v2.HttpTarget.HeaderOverride
Namespace
Google \ Cloud \ Tasks \ V2 \ HttpTargetMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ header |
Header
Header embodying a key and a value. Do not put business sensitive or personally identifying data in the HTTP Header Override Configuration or other similar fields in accordance with Section 12 (Resource Fields) of the Service Specific Terms. |
getHeader
Header embodying a key and a value.
Do not put business sensitive or personally identifying data in the HTTP Header Override Configuration or other similar fields in accordance with Section 12 (Resource Fields) of the Service Specific Terms.
| Returns | |
|---|---|
| Type | Description |
Header|null |
|
hasHeader
clearHeader
setHeader
Header embodying a key and a value.
Do not put business sensitive or personally identifying data in the HTTP Header Override Configuration or other similar fields in accordance with Section 12 (Resource Fields) of the Service Specific Terms.
| Parameter | |
|---|---|
| Name | Description |
var |
Header
|
| Returns | |
|---|---|
| Type | Description |
$this |
|