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