Compute V1 Client - Class TargetTcpProxiesSetProxyHeaderRequest (1.22.0)

Reference documentation and code samples for the Compute V1 Client class TargetTcpProxiesSetProxyHeaderRequest.

Generated from protobuf message google.cloud.compute.v1.TargetTcpProxiesSetProxyHeaderRequest

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ proxy_header string

The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. Check the ProxyHeader enum for the list of possible values.

getProxyHeader

The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed.

Check the ProxyHeader enum for the list of possible values.

Returns
Type Description
string

hasProxyHeader

clearProxyHeader

setProxyHeader

The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed.

Check the ProxyHeader enum for the list of possible values.

Parameter
Name Description
var string
Returns
Type Description
$this