@Generated(value="by GAPIC") @BetaApi public final class AddRuleSecurityPolicyHttpRequest extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
AddRuleSecurityPolicyHttpRequest.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAccessToken()
OAuth 2.0 token for the current user.
|
SecurityPolicyRule |
getApiMessageRequestBody() |
String |
getCallback()
Name of the JavaScript callback function that handles the response.
|
static AddRuleSecurityPolicyHttpRequest |
getDefaultInstance() |
List<String> |
getFieldMask() |
String |
getFields()
Selector specifying a subset of fields to include in the response.
|
Object |
getFieldValue(String fieldName) |
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.
|
int |
hashCode() |
static AddRuleSecurityPolicyHttpRequest.Builder |
newBuilder() |
static AddRuleSecurityPolicyHttpRequest.Builder |
newBuilder(AddRuleSecurityPolicyHttpRequest prototype) |
AddRuleSecurityPolicyHttpRequest.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public SecurityPolicyRule getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public String getAccessToken()
public String getCallback()
public String getFields()
public String getKey()
public String getPrettyPrint()
public String getQuotaUser()
public String getSecurityPolicy()
public SecurityPolicyRule getSecurityPolicyRuleResource()
public String getUserIp()
public static AddRuleSecurityPolicyHttpRequest.Builder newBuilder()
public static AddRuleSecurityPolicyHttpRequest.Builder newBuilder(AddRuleSecurityPolicyHttpRequest prototype)
public AddRuleSecurityPolicyHttpRequest.Builder toBuilder()
public static AddRuleSecurityPolicyHttpRequest getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.