public sealed class GatewayAdvertisedRoute : IMessage<GatewayAdvertisedRoute>, IEquatable<GatewayAdvertisedRoute>, IDeepCloneable<GatewayAdvertisedRoute>, IBufferMessage, IMessageReference documentation and code samples for the Network Connectivity v1beta API class GatewayAdvertisedRoute.
A gateway advertised route is a route that a gateway spoke advertises somewhere.
Implements
IMessageGatewayAdvertisedRoute, IEquatableGatewayAdvertisedRoute, IDeepCloneableGatewayAdvertisedRoute, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkConnectivity.V1BetaAssembly
Google.Cloud.NetworkConnectivity.V1Beta.dll
Constructors
GatewayAdvertisedRoute()
public GatewayAdvertisedRoute()GatewayAdvertisedRoute(GatewayAdvertisedRoute)
public GatewayAdvertisedRoute(GatewayAdvertisedRoute other)| Parameter | |
|---|---|
| Name | Description |
other |
GatewayAdvertisedRoute |
Properties
CreateTime
public Timestamp CreateTime { get; set; }Output only. The time the gateway advertised route was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Description
public string Description { get; set; }An optional description of the gateway advertised route.
| Property Value | |
|---|---|
| Type | Description |
string |
|
GatewayAdvertisedRouteName
public GatewayAdvertisedRouteName GatewayAdvertisedRouteName { get; set; }GatewayAdvertisedRouteName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
GatewayAdvertisedRouteName |
|
HasPriority
public bool HasPriority { get; }Gets whether the "priority" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
IpRange
public string IpRange { get; set; }Immutable. This route's advertised IP address range. Must be a valid
CIDR-formatted prefix. If an IP address is provided without a subnet mask,
it is interpreted as, for IPv4, a /32 singular IP address range, and, for
IPv6,
/128.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Labels
public MapField<string, string> Labels { get; }Optional labels in key-value pair format. For more information about labels, see Requirements for labels.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
Name
public string Name { get; set; }Identifier. The name of the gateway advertised route. Route names must be
unique and use the following form:
projects/{project_number}/locations/{region}/spokes/{spoke}/gatewayAdvertisedRoutes/{gateway_advertised_route_id}
| Property Value | |
|---|---|
| Type | Description |
string |
|
Priority
public int Priority { get; set; }Optional. The priority of this advertised route. You can choose a value
from 0 to 65335. If you don't provide a value, Google Cloud assigns a
priority of 100 to the ranges.
| Property Value | |
|---|---|
| Type | Description |
int |
|
Recipient
public GatewayAdvertisedRoute.Types.Recipient Recipient { get; set; }Optional. The recipient of this advertised route.
| Property Value | |
|---|---|
| Type | Description |
GatewayAdvertisedRouteTypesRecipient |
|
State
public State State { get; set; }Output only. The current lifecycle state of this gateway advertised route.
| Property Value | |
|---|---|
| Type | Description |
State |
|
UniqueId
public string UniqueId { get; set; }Output only. The Google-generated UUID for the gateway advertised route.
This value is unique across all gateway advertised route resources. If a
gateway advertised route is deleted and another with the same name is
created, the new route is assigned a different unique_id.
| Property Value | |
|---|---|
| Type | Description |
string |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. The time the gateway advertised route was last updated.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|