public class Compute.Routers.ListBgpRoutes extends ComputeRequest<RoutersListBgpRoutes>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
ListBgpRoutes(String project,
String region,
String router)
Retrieves a list of router bgp routes available to the specified project.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getAddressFamily()
( Required) limit results to this address family (either IPv4 or IPv6) [default:
( UNSPECIFIED_IP_VERSION]
(
|
String |
getDestinationPrefix()
Limit results to destinations that are subnets of this CIDR range
|
String |
getFilter()
A filter expression that filters resources listed in the response.
|
Long |
getMaxResults()
The maximum number of results per page that should be returned.
|
String |
getOrderBy()
Sorts list results by a certain order.
|
String |
getPageToken()
Specifies a page token to use.
|
String |
getPeer()
( Required) limit results to the BGP peer with the given name.
|
Boolean |
getPolicyApplied()
When true, the method returns post-policy routes.
|
String |
getProject()
Project ID for this request.
|
String |
getRegion()
Name of the region for this request.
|
Boolean |
getReturnPartialSuccess()
Opt-in for partial success behavior which provides partial results in case of failure.
|
String |
getRouter()
Name or id of the resource for this request.
|
String |
getRouteType()
( Required) limit results to this type of route (either LEARNED or ADVERTISED) [default:
( UNSPECIFIED_ROUTE_TYPE]
(
|
boolean |
isPolicyApplied()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE. |
Compute.Routers.ListBgpRoutes |
set(String parameterName,
Object value) |
Compute.Routers.ListBgpRoutes |
set$Xgafv(String $Xgafv)
V1 error format.
|
Compute.Routers.ListBgpRoutes |
setAccessToken(String accessToken)
OAuth access token.
|
Compute.Routers.ListBgpRoutes |
setAddressFamily(String addressFamily)
(Required) limit results to this address family (either IPv4 or IPv6)
|
Compute.Routers.ListBgpRoutes |
setAlt(String alt)
Data format for response.
|
Compute.Routers.ListBgpRoutes |
setCallback(String callback)
JSONP
|
Compute.Routers.ListBgpRoutes |
setDestinationPrefix(String destinationPrefix)
Limit results to destinations that are subnets of this CIDR range
|
Compute.Routers.ListBgpRoutes |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.Routers.ListBgpRoutes |
setFilter(String filter)
A filter expression that filters resources listed in the response.
|
Compute.Routers.ListBgpRoutes |
setKey(String key)
API key.
|
Compute.Routers.ListBgpRoutes |
setMaxResults(Long maxResults)
The maximum number of results per page that should be returned.
|
Compute.Routers.ListBgpRoutes |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.Routers.ListBgpRoutes |
setOrderBy(String orderBy)
Sorts list results by a certain order.
|
Compute.Routers.ListBgpRoutes |
setPageToken(String pageToken)
Specifies a page token to use.
|
Compute.Routers.ListBgpRoutes |
setPeer(String peer)
(Required) limit results to the BGP peer with the given name.
|
Compute.Routers.ListBgpRoutes |
setPolicyApplied(Boolean policyApplied)
When true, the method returns post-policy routes.
|
Compute.Routers.ListBgpRoutes |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.Routers.ListBgpRoutes |
setProject(String project)
Project ID for this request.
|
Compute.Routers.ListBgpRoutes |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.Routers.ListBgpRoutes |
setRegion(String region)
Name of the region for this request.
|
Compute.Routers.ListBgpRoutes |
setReturnPartialSuccess(Boolean returnPartialSuccess)
Opt-in for partial success behavior which provides partial results in case of failure.
|
Compute.Routers.ListBgpRoutes |
setRouter(String router)
Name or id of the resource for this request.
|
Compute.Routers.ListBgpRoutes |
setRouteType(String routeType)
(Required) limit results to this type of route (either LEARNED or ADVERTISED)
|
Compute.Routers.ListBgpRoutes |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Compute.Routers.ListBgpRoutes |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Compute.Routers.ListBgpRoutes |
setUserIp(String userIp)
Legacy name for parameter that has been superseded by `quotaUser`.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected ListBgpRoutes(String project, String region, String router)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
ListBgpRoutes#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientR
equest) must be called to initialize this instance immediately after invoking the constructor.
project - Project ID for this request.region - Name of the region for this request.router - Name or id of the resource for this request.
Name should conform to RFC1035.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<RoutersListBgpRoutes>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<RoutersListBgpRoutes>IOExceptionpublic Compute.Routers.ListBgpRoutes set$Xgafv(String $Xgafv)
ComputeRequestset$Xgafv in class ComputeRequest<RoutersListBgpRoutes>public Compute.Routers.ListBgpRoutes setAccessToken(String accessToken)
ComputeRequestsetAccessToken in class ComputeRequest<RoutersListBgpRoutes>public Compute.Routers.ListBgpRoutes setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<RoutersListBgpRoutes>public Compute.Routers.ListBgpRoutes setCallback(String callback)
ComputeRequestsetCallback in class ComputeRequest<RoutersListBgpRoutes>public Compute.Routers.ListBgpRoutes setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<RoutersListBgpRoutes>public Compute.Routers.ListBgpRoutes setKey(String key)
ComputeRequestsetKey in class ComputeRequest<RoutersListBgpRoutes>public Compute.Routers.ListBgpRoutes setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<RoutersListBgpRoutes>public Compute.Routers.ListBgpRoutes setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<RoutersListBgpRoutes>public Compute.Routers.ListBgpRoutes setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<RoutersListBgpRoutes>public Compute.Routers.ListBgpRoutes setUploadType(String uploadType)
ComputeRequestsetUploadType in class ComputeRequest<RoutersListBgpRoutes>public Compute.Routers.ListBgpRoutes setUploadProtocol(String uploadProtocol)
ComputeRequestsetUploadProtocol in class ComputeRequest<RoutersListBgpRoutes>public Compute.Routers.ListBgpRoutes setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<RoutersListBgpRoutes>public String getProject()
public Compute.Routers.ListBgpRoutes setProject(String project)
public String getRegion()
public Compute.Routers.ListBgpRoutes setRegion(String region)
public String getRouter()
public Compute.Routers.ListBgpRoutes setRouter(String router)
public String getAddressFamily()
public Compute.Routers.ListBgpRoutes setAddressFamily(String addressFamily)
public String getDestinationPrefix()
public Compute.Routers.ListBgpRoutes setDestinationPrefix(String destinationPrefix)
public String getFilter()
public Compute.Routers.ListBgpRoutes setFilter(String filter)
public Long getMaxResults()
public Compute.Routers.ListBgpRoutes setMaxResults(Long maxResults)
public String getOrderBy()
public Compute.Routers.ListBgpRoutes setOrderBy(String orderBy)
public String getPageToken()
public Compute.Routers.ListBgpRoutes setPageToken(String pageToken)
public String getPeer()
public Compute.Routers.ListBgpRoutes setPeer(String peer)
public Boolean getPolicyApplied()
public Compute.Routers.ListBgpRoutes setPolicyApplied(Boolean policyApplied)
public boolean isPolicyApplied()
Boolean.TRUE or Boolean.FALSE.
Boolean properties can have four possible values:
null, Data.NULL_BOOLEAN, Boolean.TRUE
or Boolean.FALSE.
This method returns Boolean.TRUE if the default of the property is Boolean.TRUE
and it is null or Data.NULL_BOOLEAN.
Boolean.FALSE is returned if the default of the property is Boolean.FALSE and
it is null or Data.NULL_BOOLEAN.
When true, the method returns post-policy routes. Otherwise, it returns pre-policy routes.
public Boolean getReturnPartialSuccess()
public Compute.Routers.ListBgpRoutes setReturnPartialSuccess(Boolean returnPartialSuccess)
public String getRouteType()
public Compute.Routers.ListBgpRoutes setRouteType(String routeType)
public Compute.Routers.ListBgpRoutes set(String parameterName, Object value)
set in class ComputeRequest<RoutersListBgpRoutes>Copyright © 2011–2025 Google. All rights reserved.