Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class HttpHeader.
HttpHeader describes a custom header to be used in HTTP probes
Generated from protobuf message google.cloud.aiplatform.v1.Probe.HttpHeader
Namespace
Google \ Cloud \ AIPlatform \ V1 \ ProbeMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header. |
↳ value |
string
The header field value |
getName
The header field name.
This will be canonicalized upon output, so case-variant names will be understood as the same header.
Returns | |
---|---|
Type | Description |
string |
setName
The header field name.
This will be canonicalized upon output, so case-variant names will be understood as the same header.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValue
The header field value
Returns | |
---|---|
Type | Description |
string |
setValue
The header field value
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |