Compute V1 Client - Class TargetTcpProxiesSetProxyHeaderRequest (1.11.1)

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
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ proxy_headerstring

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
TypeDescription
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
NameDescription
varstring
Returns
TypeDescription
$this