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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ display_name string

Name of the forwarding rule.

↳ uri string

URI of the forwarding rule.

↳ matched_protocol string

Protocol defined in the forwarding rule that matches the packet.

↳ matched_port_range string

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

↳ vip string

VIP of the forwarding rule.

↳ target string

Target type of the forwarding rule.

↳ network_uri string

Network URI.

↳ region string

Region of the forwarding rule. Set only for regional forwarding rules.

↳ load_balancer_name string

Name of the load balancer the forwarding rule belongs to. Empty for forwarding rules not related to load balancers (like PSC forwarding rules).

↳ psc_service_attachment_uri string

URI of the PSC service attachment this forwarding rule targets (if applicable).

↳ psc_google_api_target string

PSC Google API target this forwarding rule targets (if applicable).

getDisplayName

Name of the forwarding rule.

Returns
Type Description
string

setDisplayName

Name of the forwarding rule.

Parameter
Name Description
var string
Returns
Type Description
$this

getUri

URI of the forwarding rule.

Returns
Type Description
string

setUri

URI of the forwarding rule.

Parameter
Name Description
var string
Returns
Type Description
$this

getMatchedProtocol

Protocol defined in the forwarding rule that matches the packet.

Returns
Type Description
string

setMatchedProtocol

Protocol defined in the forwarding rule that matches the packet.

Parameter
Name Description
var string
Returns
Type Description
$this

getMatchedPortRange

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

Returns
Type Description
string

setMatchedPortRange

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

Parameter
Name Description
var string
Returns
Type Description
$this

getVip

VIP of the forwarding rule.

Returns
Type Description
string

setVip

VIP of the forwarding rule.

Parameter
Name Description
var string
Returns
Type Description
$this

getTarget

Target type of the forwarding rule.

Returns
Type Description
string

setTarget

Target type of the forwarding rule.

Parameter
Name Description
var string
Returns
Type Description
$this

getNetworkUri

Network URI.

Returns
Type Description
string

setNetworkUri

Network URI.

Parameter
Name Description
var string
Returns
Type Description
$this

getRegion

Region of the forwarding rule. Set only for regional forwarding rules.

Returns
Type Description
string

setRegion

Region of the forwarding rule. Set only for regional forwarding rules.

Parameter
Name Description
var string
Returns
Type Description
$this

getLoadBalancerName

Name of the load balancer the forwarding rule belongs to. Empty for forwarding rules not related to load balancers (like PSC forwarding rules).

Returns
Type Description
string

setLoadBalancerName

Name of the load balancer the forwarding rule belongs to. Empty for forwarding rules not related to load balancers (like PSC forwarding rules).

Parameter
Name Description
var string
Returns
Type Description
$this

getPscServiceAttachmentUri

URI of the PSC service attachment this forwarding rule targets (if applicable).

Returns
Type Description
string

setPscServiceAttachmentUri

URI of the PSC service attachment this forwarding rule targets (if applicable).

Parameter
Name Description
var string
Returns
Type Description
$this

getPscGoogleApiTarget

PSC Google API target this forwarding rule targets (if applicable).

Returns
Type Description
string

setPscGoogleApiTarget

PSC Google API target this forwarding rule targets (if applicable).

Parameter
Name Description
var string
Returns
Type Description
$this