Compute V1 Client - Class TargetTcpProxiesSetProxyHeaderRequest (1.13.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
NameDescription
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
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
var string
Returns
TypeDescription
$this