Compute Engine v1 API - Class NetworkRoutingConfig (2.12.0)

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.

Inheritance

object > NetworkRoutingConfig

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

NetworkRoutingConfig()

public NetworkRoutingConfig()

NetworkRoutingConfig(NetworkRoutingConfig)

public NetworkRoutingConfig(NetworkRoutingConfig other)
Parameter
NameDescription
otherNetworkRoutingConfig

Properties

HasRoutingMode

public bool HasRoutingMode { get; }

Gets whether the "routing_mode" field is set

Property Value
TypeDescription
bool

RoutingMode

public string RoutingMode { get; set; }

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.

Property Value
TypeDescription
string