public static class AddRuleSecurityPolicyHttpRequest.Builder extends Object
Modifier and Type | Method and Description |
---|---|
AddRuleSecurityPolicyHttpRequest |
build() |
AddRuleSecurityPolicyHttpRequest.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 |
getSecurityPolicy()
Name of the security policy to update.
|
SecurityPolicyRule |
getSecurityPolicyRuleResource()
Represents a rule that describes one or more match conditions along with the action to be
taken when traffic matches this condition (allow or deny).
|
String |
getUserIp()
IP address of the end user for whom the API call is being made.
|
AddRuleSecurityPolicyHttpRequest.Builder |
mergeFrom(AddRuleSecurityPolicyHttpRequest other) |
AddRuleSecurityPolicyHttpRequest.Builder |
setAccessToken(String access_token)
OAuth 2.0 token for the current user.
|
AddRuleSecurityPolicyHttpRequest.Builder |
setCallback(String callback)
Name of the JavaScript callback function that handles the response.
|
AddRuleSecurityPolicyHttpRequest.Builder |
setFields(String fields)
Selector specifying a subset of fields to include in the response.
|
AddRuleSecurityPolicyHttpRequest.Builder |
setKey(String key)
API key.
|
AddRuleSecurityPolicyHttpRequest.Builder |
setPrettyPrint(String prettyPrint)
Returns response with indentations and line breaks.
|
AddRuleSecurityPolicyHttpRequest.Builder |
setQuotaUser(String quotaUser)
Alternative to userIp.
|
AddRuleSecurityPolicyHttpRequest.Builder |
setSecurityPolicy(String securityPolicy)
Name of the security policy to update.
|
AddRuleSecurityPolicyHttpRequest.Builder |
setSecurityPolicyRuleResource(SecurityPolicyRule securityPolicyRuleResource)
Represents a rule that describes one or more match conditions along with the action to be
taken when traffic matches this condition (allow or deny).
|
AddRuleSecurityPolicyHttpRequest.Builder |
setUserIp(String userIp)
IP address of the end user for whom the API call is being made.
|
public AddRuleSecurityPolicyHttpRequest.Builder mergeFrom(AddRuleSecurityPolicyHttpRequest other)
public String getAccessToken()
public AddRuleSecurityPolicyHttpRequest.Builder setAccessToken(String access_token)
public String getCallback()
public AddRuleSecurityPolicyHttpRequest.Builder setCallback(String callback)
public String getFields()
public AddRuleSecurityPolicyHttpRequest.Builder setFields(String fields)
public String getKey()
public AddRuleSecurityPolicyHttpRequest.Builder setKey(String key)
public String getPrettyPrint()
public AddRuleSecurityPolicyHttpRequest.Builder setPrettyPrint(String prettyPrint)
public String getQuotaUser()
public AddRuleSecurityPolicyHttpRequest.Builder setQuotaUser(String quotaUser)
public String getSecurityPolicy()
public AddRuleSecurityPolicyHttpRequest.Builder setSecurityPolicy(String securityPolicy)
public SecurityPolicyRule getSecurityPolicyRuleResource()
public AddRuleSecurityPolicyHttpRequest.Builder setSecurityPolicyRuleResource(SecurityPolicyRule securityPolicyRuleResource)
public String getUserIp()
public AddRuleSecurityPolicyHttpRequest.Builder setUserIp(String userIp)
public AddRuleSecurityPolicyHttpRequest build()
public AddRuleSecurityPolicyHttpRequest.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.