public class Compute.FirewallPolicies.GetRule extends ComputeRequest<FirewallPolicyRule>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
GetRule(String firewallPolicy)
Gets a rule of the specified priority.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getFirewallPolicy()
Name of the firewall policy to which the queried rule belongs.
|
Integer |
getPriority()
The priority of the rule to get from the firewall policy.
|
Compute.FirewallPolicies.GetRule |
set(String parameterName,
Object value) |
Compute.FirewallPolicies.GetRule |
set$Xgafv(String $Xgafv)
V1 error format.
|
Compute.FirewallPolicies.GetRule |
setAccessToken(String accessToken)
OAuth access token.
|
Compute.FirewallPolicies.GetRule |
setAlt(String alt)
Data format for response.
|
Compute.FirewallPolicies.GetRule |
setCallback(String callback)
JSONP
|
Compute.FirewallPolicies.GetRule |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.FirewallPolicies.GetRule |
setFirewallPolicy(String firewallPolicy)
Name of the firewall policy to which the queried rule belongs.
|
Compute.FirewallPolicies.GetRule |
setKey(String key)
API key.
|
Compute.FirewallPolicies.GetRule |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.FirewallPolicies.GetRule |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.FirewallPolicies.GetRule |
setPriority(Integer priority)
The priority of the rule to get from the firewall policy.
|
Compute.FirewallPolicies.GetRule |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.FirewallPolicies.GetRule |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Compute.FirewallPolicies.GetRule |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Compute.FirewallPolicies.GetRule |
setUserIp(String userIp)
Legacy name for parameter that has been superseded by `quotaUser`.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected GetRule(String firewallPolicy)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Compute.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
firewallPolicy
- Name of the firewall policy to which the queried rule belongs.public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<FirewallPolicyRule>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<FirewallPolicyRule>
IOException
public Compute.FirewallPolicies.GetRule set$Xgafv(String $Xgafv)
ComputeRequest
set$Xgafv
in class ComputeRequest<FirewallPolicyRule>
public Compute.FirewallPolicies.GetRule setAccessToken(String accessToken)
ComputeRequest
setAccessToken
in class ComputeRequest<FirewallPolicyRule>
public Compute.FirewallPolicies.GetRule setAlt(String alt)
ComputeRequest
setAlt
in class ComputeRequest<FirewallPolicyRule>
public Compute.FirewallPolicies.GetRule setCallback(String callback)
ComputeRequest
setCallback
in class ComputeRequest<FirewallPolicyRule>
public Compute.FirewallPolicies.GetRule setFields(String fields)
ComputeRequest
setFields
in class ComputeRequest<FirewallPolicyRule>
public Compute.FirewallPolicies.GetRule setKey(String key)
ComputeRequest
setKey
in class ComputeRequest<FirewallPolicyRule>
public Compute.FirewallPolicies.GetRule setOauthToken(String oauthToken)
ComputeRequest
setOauthToken
in class ComputeRequest<FirewallPolicyRule>
public Compute.FirewallPolicies.GetRule setPrettyPrint(Boolean prettyPrint)
ComputeRequest
setPrettyPrint
in class ComputeRequest<FirewallPolicyRule>
public Compute.FirewallPolicies.GetRule setQuotaUser(String quotaUser)
ComputeRequest
setQuotaUser
in class ComputeRequest<FirewallPolicyRule>
public Compute.FirewallPolicies.GetRule setUploadType(String uploadType)
ComputeRequest
setUploadType
in class ComputeRequest<FirewallPolicyRule>
public Compute.FirewallPolicies.GetRule setUploadProtocol(String uploadProtocol)
ComputeRequest
setUploadProtocol
in class ComputeRequest<FirewallPolicyRule>
public Compute.FirewallPolicies.GetRule setUserIp(String userIp)
ComputeRequest
setUserIp
in class ComputeRequest<FirewallPolicyRule>
public String getFirewallPolicy()
public Compute.FirewallPolicies.GetRule setFirewallPolicy(String firewallPolicy)
public Integer getPriority()
public Compute.FirewallPolicies.GetRule setPriority(Integer priority)
public Compute.FirewallPolicies.GetRule set(String parameterName, Object value)
set
in class ComputeRequest<FirewallPolicyRule>
Copyright © 2011–2024 Google. All rights reserved.