Class PolicyBasedRoute
Policy-based routes route L4 network traffic based on not just destination IP address, but also source IP address, protocol, and more. If a policy-based route conflicts with other types of routes, the policy-based route always takes precedence.
Implements
Inherited Members
Namespace: Google.Apis.Networkconnectivity.v1.Data
Assembly: Google.Apis.Networkconnectivity.v1.dll
Syntax
public class PolicyBasedRoute : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. Time when the policy-based route was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
Optional. An optional description of this resource. Provide this field when you create the resource.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Filter
Required. The filter to match L4 traffic.
Declaration
[JsonProperty("filter")]
public virtual Filter Filter { get; set; }
Property Value
Type | Description |
---|---|
Filter |
InterconnectAttachment
Optional. The interconnect attachments that this policy-based route applies to.
Declaration
[JsonProperty("interconnectAttachment")]
public virtual InterconnectAttachment InterconnectAttachment { get; set; }
Property Value
Type | Description |
---|---|
InterconnectAttachment |
Kind
Output only. Type of this resource. Always networkconnectivity#policyBasedRoute for policy-based Route resources.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
User-defined labels.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Name
Immutable. A unique name of the resource in the form of
projects/{project_number}/locations/global/PolicyBasedRoutes/{policy_based_route_id}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Network
Required. Fully-qualified URL of the network that this route applies to, for example: projects/my-project/global/networks/my-network.
Declaration
[JsonProperty("network")]
public virtual string Network { get; set; }
Property Value
Type | Description |
---|---|
string |
NextHopIlbIp
Optional. The IP address of a global-access-enabled L4 ILB that is the next hop for matching packets. For this version, only nextHopIlbIp is supported.
Declaration
[JsonProperty("nextHopIlbIp")]
public virtual string NextHopIlbIp { get; set; }
Property Value
Type | Description |
---|---|
string |
NextHopOtherRoutes
Optional. Other routes that will be referenced to determine the next hop of the packet.
Declaration
[JsonProperty("nextHopOtherRoutes")]
public virtual string NextHopOtherRoutes { get; set; }
Property Value
Type | Description |
---|---|
string |
Priority
Optional. The priority of this policy-based route. Priority is used to break ties in cases where there are more than one matching policy-based routes found. In cases where multiple policy-based routes are matched, the one with the lowest-numbered priority value wins. The default value is 1000. The priority value must be from 1 to 65535, inclusive.
Declaration
[JsonProperty("priority")]
public virtual int? Priority { get; set; }
Property Value
Type | Description |
---|---|
int? |
SelfLink
Output only. Server-defined fully-qualified URL for this resource.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. Time when the policy-based route was updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
VirtualMachine
Optional. VM instances that this policy-based route applies to.
Declaration
[JsonProperty("virtualMachine")]
public virtual VirtualMachine VirtualMachine { get; set; }
Property Value
Type | Description |
---|---|
VirtualMachine |
Warnings
Output only. If potential misconfigurations are detected for this route, this field will be populated with warning messages.
Declaration
[JsonProperty("warnings")]
public virtual IList<Warnings> Warnings { get; set; }
Property Value
Type | Description |
---|---|
IList<Warnings> |