public sealed class NetworkRoutingConfig : IMessage<NetworkRoutingConfig>, IEquatable<NetworkRoutingConfig>, IDeepCloneable<NetworkRoutingConfig>, IBufferMessage, IMessage
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 details the \u003ccode\u003eNetworkRoutingConfig\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, specifically version 1.2.0, and it's a routing configuration attached to a network resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkRoutingConfig\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e from Google.Protobuf, and allows for the management of the routing behaviour for the network.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors: a default constructor \u003ccode\u003eNetworkRoutingConfig()\u003c/code\u003e and a copy constructor \u003ccode\u003eNetworkRoutingConfig(NetworkRoutingConfig other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkRoutingConfig\u003c/code\u003e class has properties \u003ccode\u003eHasRoutingMode\u003c/code\u003e, which is a boolean indicating if the "routing_mode" field is set, and \u003ccode\u003eRoutingMode\u003c/code\u003e, which is a string that sets the routing mode to either \u003ccode\u003eREGIONAL\u003c/code\u003e or \u003ccode\u003eGLOBAL\u003c/code\u003e to define how cloud routers advertise routes.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage also lists numerous previous versions of the class, ranging from 1.0.0 to the latest 3.6.0, with links to their specific documentation pages.\u003c/p\u003e\n"]]],[],null,[]]