[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Network Management V1 Client - Class ForwardingRuleInfo (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/php/docs/reference/cloud-network-management/latest/V1.ForwardingRuleInfo)\n- [2.4.2](/php/docs/reference/cloud-network-management/2.4.2/V1.ForwardingRuleInfo)\n- [2.3.2](/php/docs/reference/cloud-network-management/2.3.2/V1.ForwardingRuleInfo)\n- [2.2.1](/php/docs/reference/cloud-network-management/2.2.1/V1.ForwardingRuleInfo)\n- [2.1.1](/php/docs/reference/cloud-network-management/2.1.1/V1.ForwardingRuleInfo)\n- [2.0.1](/php/docs/reference/cloud-network-management/2.0.1/V1.ForwardingRuleInfo)\n- [1.7.3](/php/docs/reference/cloud-network-management/1.7.3/V1.ForwardingRuleInfo)\n- [1.5.0](/php/docs/reference/cloud-network-management/1.5.0/V1.ForwardingRuleInfo)\n- [1.4.2](/php/docs/reference/cloud-network-management/1.4.2/V1.ForwardingRuleInfo)\n- [1.3.0](/php/docs/reference/cloud-network-management/1.3.0/V1.ForwardingRuleInfo)\n- [1.2.0](/php/docs/reference/cloud-network-management/1.2.0/V1.ForwardingRuleInfo)\n- [1.1.1](/php/docs/reference/cloud-network-management/1.1.1/V1.ForwardingRuleInfo)\n- [1.0.5](/php/docs/reference/cloud-network-management/1.0.5/V1.ForwardingRuleInfo) \nReference documentation and code samples for the Google Cloud Network Management V1 Client class ForwardingRuleInfo.\n\nFor display only. Metadata associated with a Compute Engine forwarding rule.\n\nGenerated from protobuf message `google.cloud.networkmanagement.v1.ForwardingRuleInfo`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkManagement \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDisplayName\n\nName of the forwarding rule.\n\n### setDisplayName\n\nName of the forwarding rule.\n\n### getUri\n\nURI of the forwarding rule.\n\n### setUri\n\nURI of the forwarding rule.\n\n### getMatchedProtocol\n\nProtocol defined in the forwarding rule that matches the packet.\n\n### setMatchedProtocol\n\nProtocol defined in the forwarding rule that matches the packet.\n\n### getMatchedPortRange\n\nPort range defined in the forwarding rule that matches the packet.\n\n### setMatchedPortRange\n\nPort range defined in the forwarding rule that matches the packet.\n\n### getVip\n\nVIP of the forwarding rule.\n\n### setVip\n\nVIP of the forwarding rule.\n\n### getTarget\n\nTarget type of the forwarding rule.\n\n### setTarget\n\nTarget type of the forwarding rule.\n\n### getNetworkUri\n\nNetwork URI.\n\n### setNetworkUri\n\nNetwork URI.\n\n### getRegion\n\nRegion of the forwarding rule. Set only for regional forwarding rules.\n\n### setRegion\n\nRegion of the forwarding rule. Set only for regional forwarding rules.\n\n### getLoadBalancerName\n\nName of the load balancer the forwarding rule belongs to. Empty for\nforwarding rules not related to load balancers (like PSC forwarding rules).\n\n### setLoadBalancerName\n\nName of the load balancer the forwarding rule belongs to. Empty for\nforwarding rules not related to load balancers (like PSC forwarding rules).\n\n### getPscServiceAttachmentUri\n\nURI of the PSC service attachment this forwarding rule targets (if\napplicable).\n\n### setPscServiceAttachmentUri\n\nURI of the PSC service attachment this forwarding rule targets (if\napplicable).\n\n### getPscGoogleApiTarget\n\nPSC Google API target this forwarding rule targets (if applicable).\n\n### setPscGoogleApiTarget\n\nPSC Google API target this forwarding rule targets (if applicable)."]]