public sealed class NetworkRoutingConfig : IMessage<NetworkRoutingConfig>, IEquatable<NetworkRoutingConfig>, IDeepCloneable<NetworkRoutingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class NetworkRoutingConfig.
A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide.
The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions.
Check the RoutingMode enum for the list of possible values.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eNetworkRoutingConfig\u003c/code\u003e class within the Google Cloud Compute Engine v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.6.0, with a list of prior versions ranging from 3.5.0 down to 1.0.0, all accessible via their corresponding documentation links.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNetworkRoutingConfig\u003c/code\u003e is used to define a routing configuration for a network resource, including routing behavior across regions, and is found in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkRoutingConfig\u003c/code\u003e class includes properties such as \u003ccode\u003eHasRoutingMode\u003c/code\u003e and \u003ccode\u003eRoutingMode\u003c/code\u003e, which determine if the routing mode is set and the network-wide routing mode, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces like IMessage, IEquatable, IDeepCloneable, and IBufferMessage, and can be instantiated with either a default constructor or one that accepts another NetworkRoutingConfig object.\u003c/p\u003e\n"]]],[],null,[]]