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