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