Google Cloud Network Management V1 Client - Class ForwardingRuleInfo (1.4.2)

Reference documentation and code samples for the Google Cloud Network Management V1 Client class ForwardingRuleInfo.

For display only. Metadata associated with a Compute Engine forwarding rule.

Generated from protobuf message google.cloud.networkmanagement.v1.ForwardingRuleInfo

Namespace

Google \ Cloud \ NetworkManagement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ display_name string

Name of a Compute Engine forwarding rule.

↳ uri string

URI of a Compute Engine forwarding rule.

↳ matched_protocol string

Protocol defined in the forwarding rule that matches the test.

↳ matched_port_range string

Port range defined in the forwarding rule that matches the test.

↳ vip string

VIP of the forwarding rule.

↳ target string

Target type of the forwarding rule.

↳ network_uri string

Network URI. Only valid for Internal Load Balancer.

getDisplayName

Name of a Compute Engine forwarding rule.

Returns
TypeDescription
string

setDisplayName

Name of a Compute Engine forwarding rule.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUri

URI of a Compute Engine forwarding rule.

Returns
TypeDescription
string

setUri

URI of a Compute Engine forwarding rule.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMatchedProtocol

Protocol defined in the forwarding rule that matches the test.

Returns
TypeDescription
string

setMatchedProtocol

Protocol defined in the forwarding rule that matches the test.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMatchedPortRange

Port range defined in the forwarding rule that matches the test.

Returns
TypeDescription
string

setMatchedPortRange

Port range defined in the forwarding rule that matches the test.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVip

VIP of the forwarding rule.

Returns
TypeDescription
string

setVip

VIP of the forwarding rule.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTarget

Target type of the forwarding rule.

Returns
TypeDescription
string

setTarget

Target type of the forwarding rule.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNetworkUri

Network URI. Only valid for Internal Load Balancer.

Returns
TypeDescription
string

setNetworkUri

Network URI. Only valid for Internal Load Balancer.

Parameter
NameDescription
var string
Returns
TypeDescription
$this