public class Compute.Routers.ListBgpRoutes extends ComputeRequest<RoutersListBgpRoutes>
com.google.api.client.util.GenericData.Flags
AbstractMap.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, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
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
protected 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>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<RoutersListBgpRoutes>
IOException
public Compute.Routers.ListBgpRoutes set$Xgafv(String $Xgafv)
ComputeRequest
set$Xgafv
in class ComputeRequest<RoutersListBgpRoutes>
public Compute.Routers.ListBgpRoutes setAccessToken(String accessToken)
ComputeRequest
setAccessToken
in class ComputeRequest<RoutersListBgpRoutes>
public Compute.Routers.ListBgpRoutes setAlt(String alt)
ComputeRequest
setAlt
in class ComputeRequest<RoutersListBgpRoutes>
public Compute.Routers.ListBgpRoutes setCallback(String callback)
ComputeRequest
setCallback
in class ComputeRequest<RoutersListBgpRoutes>
public Compute.Routers.ListBgpRoutes setFields(String fields)
ComputeRequest
setFields
in class ComputeRequest<RoutersListBgpRoutes>
public Compute.Routers.ListBgpRoutes setKey(String key)
ComputeRequest
setKey
in class ComputeRequest<RoutersListBgpRoutes>
public Compute.Routers.ListBgpRoutes setOauthToken(String oauthToken)
ComputeRequest
setOauthToken
in class ComputeRequest<RoutersListBgpRoutes>
public Compute.Routers.ListBgpRoutes setPrettyPrint(Boolean prettyPrint)
ComputeRequest
setPrettyPrint
in class ComputeRequest<RoutersListBgpRoutes>
public Compute.Routers.ListBgpRoutes setQuotaUser(String quotaUser)
ComputeRequest
setQuotaUser
in class ComputeRequest<RoutersListBgpRoutes>
public Compute.Routers.ListBgpRoutes setUploadType(String uploadType)
ComputeRequest
setUploadType
in class ComputeRequest<RoutersListBgpRoutes>
public Compute.Routers.ListBgpRoutes setUploadProtocol(String uploadProtocol)
ComputeRequest
setUploadProtocol
in class ComputeRequest<RoutersListBgpRoutes>
public Compute.Routers.ListBgpRoutes setUserIp(String userIp)
ComputeRequest
setUserIp
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.