public final class RouterBgpPeer
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
RouterBgpPeer() |
Modifier and Type | Method and Description |
---|---|
RouterBgpPeer |
clone() |
List<String> |
getAdvertisedGroups()
User-specified list of prefix groups to advertise in custom mode, which currently supports the
following option: - ALL_SUBNETS: Advertises all of the router's own VPC subnets.
|
List<RouterAdvertisedIpRange> |
getAdvertisedIpRanges()
User-specified list of individual IP ranges to advertise in custom mode.
|
Long |
getAdvertisedRoutePriority()
The priority of routes advertised to this BGP peer.
|
String |
getAdvertiseMode()
User-specified flag to indicate which mode to use for advertisement.
|
RouterBgpPeerBfd |
getBfd()
BFD configuration for the BGP peering.
|
List<RouterBgpPeerCustomLearnedIpRange> |
getCustomLearnedIpRanges()
A list of user-defined custom learned route IP address ranges for a BGP session.
|
Integer |
getCustomLearnedRoutePriority()
The user-defined custom learned route priority for a BGP session.
|
String |
getEnable()
The status of the BGP peer connection.
|
Boolean |
getEnableIpv6()
Enable IPv6 traffic over BGP Peer.
|
String |
getInterfaceName()
Name of the interface the BGP peer is associated with.
|
String |
getIpAddress()
IP address of the interface inside Google Cloud Platform.
|
String |
getIpv6NexthopAddress()
IPv6 address of the interface inside Google Cloud Platform.
|
String |
getManagementType()
[Output Only] The resource that configures and manages this BGP peer.
|
String |
getMd5AuthenticationKeyName()
Present if MD5 authentication is enabled for the peering.
|
String |
getName()
Name of this BGP peer.
|
Long |
getPeerAsn()
Peer BGP Autonomous System Number (ASN).
|
String |
getPeerIpAddress()
IP address of the BGP interface outside Google Cloud Platform.
|
String |
getPeerIpv6NexthopAddress()
IPv6 address of the BGP interface outside Google Cloud Platform.
|
String |
getRouterApplianceInstance()
URI of the VM instance that is used as third-party router appliances such as Next Gen
Firewalls, Virtual Routers, or Router Appliances.
|
RouterBgpPeer |
set(String fieldName,
Object value) |
RouterBgpPeer |
setAdvertisedGroups(List<String> advertisedGroups)
User-specified list of prefix groups to advertise in custom mode, which currently supports the
following option: - ALL_SUBNETS: Advertises all of the router's own VPC subnets.
|
RouterBgpPeer |
setAdvertisedIpRanges(List<RouterAdvertisedIpRange> advertisedIpRanges)
User-specified list of individual IP ranges to advertise in custom mode.
|
RouterBgpPeer |
setAdvertisedRoutePriority(Long advertisedRoutePriority)
The priority of routes advertised to this BGP peer.
|
RouterBgpPeer |
setAdvertiseMode(String advertiseMode)
User-specified flag to indicate which mode to use for advertisement.
|
RouterBgpPeer |
setBfd(RouterBgpPeerBfd bfd)
BFD configuration for the BGP peering.
|
RouterBgpPeer |
setCustomLearnedIpRanges(List<RouterBgpPeerCustomLearnedIpRange> customLearnedIpRanges)
A list of user-defined custom learned route IP address ranges for a BGP session.
|
RouterBgpPeer |
setCustomLearnedRoutePriority(Integer customLearnedRoutePriority)
The user-defined custom learned route priority for a BGP session.
|
RouterBgpPeer |
setEnable(String enable)
The status of the BGP peer connection.
|
RouterBgpPeer |
setEnableIpv6(Boolean enableIpv6)
Enable IPv6 traffic over BGP Peer.
|
RouterBgpPeer |
setInterfaceName(String interfaceName)
Name of the interface the BGP peer is associated with.
|
RouterBgpPeer |
setIpAddress(String ipAddress)
IP address of the interface inside Google Cloud Platform.
|
RouterBgpPeer |
setIpv6NexthopAddress(String ipv6NexthopAddress)
IPv6 address of the interface inside Google Cloud Platform.
|
RouterBgpPeer |
setManagementType(String managementType)
[Output Only] The resource that configures and manages this BGP peer.
|
RouterBgpPeer |
setMd5AuthenticationKeyName(String md5AuthenticationKeyName)
Present if MD5 authentication is enabled for the peering.
|
RouterBgpPeer |
setName(String name)
Name of this BGP peer.
|
RouterBgpPeer |
setPeerAsn(Long peerAsn)
Peer BGP Autonomous System Number (ASN).
|
RouterBgpPeer |
setPeerIpAddress(String peerIpAddress)
IP address of the BGP interface outside Google Cloud Platform.
|
RouterBgpPeer |
setPeerIpv6NexthopAddress(String peerIpv6NexthopAddress)
IPv6 address of the BGP interface outside Google Cloud Platform.
|
RouterBgpPeer |
setRouterApplianceInstance(String routerApplianceInstance)
URI of the VM instance that is used as third-party router appliances such as Next Gen
Firewalls, Virtual Routers, or Router Appliances.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAdvertiseMode()
null
for nonepublic RouterBgpPeer setAdvertiseMode(String advertiseMode)
advertiseMode
- advertiseMode or null
for nonepublic List<String> getAdvertisedGroups()
null
for nonepublic RouterBgpPeer setAdvertisedGroups(List<String> advertisedGroups)
advertisedGroups
- advertisedGroups or null
for nonepublic List<RouterAdvertisedIpRange> getAdvertisedIpRanges()
null
for nonepublic RouterBgpPeer setAdvertisedIpRanges(List<RouterAdvertisedIpRange> advertisedIpRanges)
advertisedIpRanges
- advertisedIpRanges or null
for nonepublic Long getAdvertisedRoutePriority()
null
for nonepublic RouterBgpPeer setAdvertisedRoutePriority(Long advertisedRoutePriority)
advertisedRoutePriority
- advertisedRoutePriority or null
for nonepublic RouterBgpPeerBfd getBfd()
null
for nonepublic RouterBgpPeer setBfd(RouterBgpPeerBfd bfd)
bfd
- bfd or null
for nonepublic List<RouterBgpPeerCustomLearnedIpRange> getCustomLearnedIpRanges()
null
for nonepublic RouterBgpPeer setCustomLearnedIpRanges(List<RouterBgpPeerCustomLearnedIpRange> customLearnedIpRanges)
customLearnedIpRanges
- customLearnedIpRanges or null
for nonepublic Integer getCustomLearnedRoutePriority()
null
for nonepublic RouterBgpPeer setCustomLearnedRoutePriority(Integer customLearnedRoutePriority)
customLearnedRoutePriority
- customLearnedRoutePriority or null
for nonepublic String getEnable()
null
for nonepublic RouterBgpPeer setEnable(String enable)
enable
- enable or null
for nonepublic Boolean getEnableIpv6()
null
for nonepublic RouterBgpPeer setEnableIpv6(Boolean enableIpv6)
enableIpv6
- enableIpv6 or null
for nonepublic String getInterfaceName()
null
for nonepublic RouterBgpPeer setInterfaceName(String interfaceName)
interfaceName
- interfaceName or null
for nonepublic String getIpAddress()
null
for nonepublic RouterBgpPeer setIpAddress(String ipAddress)
ipAddress
- ipAddress or null
for nonepublic String getIpv6NexthopAddress()
null
for nonepublic RouterBgpPeer setIpv6NexthopAddress(String ipv6NexthopAddress)
ipv6NexthopAddress
- ipv6NexthopAddress or null
for nonepublic String getManagementType()
null
for nonepublic RouterBgpPeer setManagementType(String managementType)
managementType
- managementType or null
for nonepublic String getMd5AuthenticationKeyName()
null
for nonepublic RouterBgpPeer setMd5AuthenticationKeyName(String md5AuthenticationKeyName)
md5AuthenticationKeyName
- md5AuthenticationKeyName or null
for nonepublic String getName()
null
for nonepublic RouterBgpPeer setName(String name)
name
- name or null
for nonepublic Long getPeerAsn()
null
for nonepublic RouterBgpPeer setPeerAsn(Long peerAsn)
peerAsn
- peerAsn or null
for nonepublic String getPeerIpAddress()
null
for nonepublic RouterBgpPeer setPeerIpAddress(String peerIpAddress)
peerIpAddress
- peerIpAddress or null
for nonepublic String getPeerIpv6NexthopAddress()
null
for nonepublic RouterBgpPeer setPeerIpv6NexthopAddress(String peerIpv6NexthopAddress)
peerIpv6NexthopAddress
- peerIpv6NexthopAddress or null
for nonepublic String getRouterApplianceInstance()
null
for nonepublic RouterBgpPeer setRouterApplianceInstance(String routerApplianceInstance)
routerApplianceInstance
- routerApplianceInstance or null
for nonepublic RouterBgpPeer set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public RouterBgpPeer clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.