public static class GetNetworkHttpRequest.Builder extends Object
Modifier and Type | Method and Description |
---|---|
GetNetworkHttpRequest |
build() |
GetNetworkHttpRequest.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 |
getNetwork()
Name of the network to return.
|
String |
getPrettyPrint()
Returns response with indentations and line breaks.
|
String |
getQuotaUser()
Alternative to userIp.
|
String |
getUserIp()
IP address of the end user for whom the API call is being made.
|
GetNetworkHttpRequest.Builder |
mergeFrom(GetNetworkHttpRequest other) |
GetNetworkHttpRequest.Builder |
setAccessToken(String access_token)
OAuth 2.0 token for the current user.
|
GetNetworkHttpRequest.Builder |
setCallback(String callback)
Name of the JavaScript callback function that handles the response.
|
GetNetworkHttpRequest.Builder |
setFields(String fields)
Selector specifying a subset of fields to include in the response.
|
GetNetworkHttpRequest.Builder |
setKey(String key)
API key.
|
GetNetworkHttpRequest.Builder |
setNetwork(String network)
Name of the network to return.
|
GetNetworkHttpRequest.Builder |
setPrettyPrint(String prettyPrint)
Returns response with indentations and line breaks.
|
GetNetworkHttpRequest.Builder |
setQuotaUser(String quotaUser)
Alternative to userIp.
|
GetNetworkHttpRequest.Builder |
setUserIp(String userIp)
IP address of the end user for whom the API call is being made.
|
public GetNetworkHttpRequest.Builder mergeFrom(GetNetworkHttpRequest other)
public String getAccessToken()
public GetNetworkHttpRequest.Builder setAccessToken(String access_token)
public String getCallback()
public GetNetworkHttpRequest.Builder setCallback(String callback)
public String getFields()
public GetNetworkHttpRequest.Builder setFields(String fields)
public String getKey()
public GetNetworkHttpRequest.Builder setKey(String key)
public String getNetwork()
public GetNetworkHttpRequest.Builder setNetwork(String network)
public String getPrettyPrint()
public GetNetworkHttpRequest.Builder setPrettyPrint(String prettyPrint)
public String getQuotaUser()
public GetNetworkHttpRequest.Builder setQuotaUser(String quotaUser)
public String getUserIp()
public GetNetworkHttpRequest.Builder setUserIp(String userIp)
public GetNetworkHttpRequest build()
public GetNetworkHttpRequest.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.