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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ display_ |
string
Name of a Compute Engine forwarding rule. |
↳ uri |
string
URI of a Compute Engine forwarding rule. |
↳ matched_ |
string
Protocol defined in the forwarding rule that matches the test. |
↳ matched_ |
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_ |
string
Network URI. Only valid for Internal Load Balancer. |
getDisplayName
Name of a Compute Engine forwarding rule.
Returns | |
---|---|
Type | Description |
string |
setDisplayName
Name of a Compute Engine forwarding rule.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getUri
URI of a Compute Engine forwarding rule.
Returns | |
---|---|
Type | Description |
string |
setUri
URI of a Compute Engine forwarding rule.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getMatchedProtocol
Protocol defined in the forwarding rule that matches the test.
Returns | |
---|---|
Type | Description |
string |
setMatchedProtocol
Protocol defined in the forwarding rule that matches the test.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getMatchedPortRange
Port range defined in the forwarding rule that matches the test.
Returns | |
---|---|
Type | Description |
string |
setMatchedPortRange
Port range defined in the forwarding rule that matches the test.
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. Only valid for Internal Load Balancer.
Returns | |
---|---|
Type | Description |
string |
setNetworkUri
Network URI. Only valid for Internal Load Balancer.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |