Compute V1 Client - Class ForwardingRuleReference (1.11.1)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ forwarding_rule string

getForwardingRule

Generated from protobuf field optional string forwarding_rule = 269964030;

Returns
TypeDescription
string

hasForwardingRule

clearForwardingRule

setForwardingRule

Generated from protobuf field optional string forwarding_rule = 269964030;

Parameter
NameDescription
var string
Returns
TypeDescription
$this