public static class PreviewRouterHttpRequest.Builder extends Object
Modifier and Type | Method and Description |
---|---|
PreviewRouterHttpRequest |
build() |
PreviewRouterHttpRequest.Builder |
clone() |
String |
getAccessToken()
OAuth 2.0 token for the current user.
|
String |
getCallback()
Name of the JavaScript callback function that handles the response.
|
String |
getFields()
Selector specifying a subset of fields to include in the response.
|
String |
getKey()
API key.
|
String |
getPrettyPrint()
Returns response with indentations and line breaks.
|
String |
getQuotaUser()
Alternative to userIp.
|
String |
getRouter()
Name of the Router resource to query.
|
Router |
getRouterResource()
Represents a Cloud Router resource.
|
String |
getUserIp()
IP address of the end user for whom the API call is being made.
|
PreviewRouterHttpRequest.Builder |
mergeFrom(PreviewRouterHttpRequest other) |
PreviewRouterHttpRequest.Builder |
setAccessToken(String access_token)
OAuth 2.0 token for the current user.
|
PreviewRouterHttpRequest.Builder |
setCallback(String callback)
Name of the JavaScript callback function that handles the response.
|
PreviewRouterHttpRequest.Builder |
setFields(String fields)
Selector specifying a subset of fields to include in the response.
|
PreviewRouterHttpRequest.Builder |
setKey(String key)
API key.
|
PreviewRouterHttpRequest.Builder |
setPrettyPrint(String prettyPrint)
Returns response with indentations and line breaks.
|
PreviewRouterHttpRequest.Builder |
setQuotaUser(String quotaUser)
Alternative to userIp.
|
PreviewRouterHttpRequest.Builder |
setRouter(String router)
Name of the Router resource to query.
|
PreviewRouterHttpRequest.Builder |
setRouterResource(Router routerResource)
Represents a Cloud Router resource.
|
PreviewRouterHttpRequest.Builder |
setUserIp(String userIp)
IP address of the end user for whom the API call is being made.
|
public PreviewRouterHttpRequest.Builder mergeFrom(PreviewRouterHttpRequest other)
public String getAccessToken()
public PreviewRouterHttpRequest.Builder setAccessToken(String access_token)
public String getCallback()
public PreviewRouterHttpRequest.Builder setCallback(String callback)
public String getFields()
public PreviewRouterHttpRequest.Builder setFields(String fields)
public String getKey()
public PreviewRouterHttpRequest.Builder setKey(String key)
public String getPrettyPrint()
public PreviewRouterHttpRequest.Builder setPrettyPrint(String prettyPrint)
public String getQuotaUser()
public PreviewRouterHttpRequest.Builder setQuotaUser(String quotaUser)
public String getRouter()
public PreviewRouterHttpRequest.Builder setRouter(String router)
public Router getRouterResource()
For more information about Cloud Router, read the the Cloud Router overview.
public PreviewRouterHttpRequest.Builder setRouterResource(Router routerResource)
For more information about Cloud Router, read the the Cloud Router overview.
public String getUserIp()
public PreviewRouterHttpRequest.Builder setUserIp(String userIp)
public PreviewRouterHttpRequest build()
public PreviewRouterHttpRequest.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.