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"]],[["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-03-21 UTC."],[[["The latest version available for the `NetworkRoutingConfig` class is 3.6.0, but this page is for version 2.14.0, with a total of 29 different versions available to browse."],["The `NetworkRoutingConfig` class, part of the Compute Engine v1 API, manages the routing configuration of a network resource."],["It inherits from the `object` class and implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes properties such as `HasRoutingMode` (boolean) and `RoutingMode` (string) to define the network's routing behavior."],["`NetworkRoutingConfig` has two constructors, a default one `NetworkRoutingConfig()` and a copy constructor `NetworkRoutingConfig(NetworkRoutingConfig other)`."]]],[]]