public class Compute.SecurityPolicies.PatchRule extends ComputeRequest<Operation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
PatchRule(String project,
String securityPolicy,
SecurityPolicyRule content)
Patches a rule at the specified priority.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getPriority()
The priority of the rule to patch.
|
String |
getProject()
Project ID for this request.
|
String |
getSecurityPolicy()
Name of the security policy to update.
|
Compute.SecurityPolicies.PatchRule |
set(String parameterName,
Object value) |
Compute.SecurityPolicies.PatchRule |
set$Xgafv(String $Xgafv)
V1 error format.
|
Compute.SecurityPolicies.PatchRule |
setAccessToken(String accessToken)
OAuth access token.
|
Compute.SecurityPolicies.PatchRule |
setAlt(String alt)
Data format for response.
|
Compute.SecurityPolicies.PatchRule |
setCallback(String callback)
JSONP
|
Compute.SecurityPolicies.PatchRule |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.SecurityPolicies.PatchRule |
setKey(String key)
API key.
|
Compute.SecurityPolicies.PatchRule |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.SecurityPolicies.PatchRule |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.SecurityPolicies.PatchRule |
setPriority(Integer priority)
The priority of the rule to patch.
|
Compute.SecurityPolicies.PatchRule |
setProject(String project)
Project ID for this request.
|
Compute.SecurityPolicies.PatchRule |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.SecurityPolicies.PatchRule |
setSecurityPolicy(String securityPolicy)
Name of the security policy to update.
|
Compute.SecurityPolicies.PatchRule |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Compute.SecurityPolicies.PatchRule |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Compute.SecurityPolicies.PatchRule |
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, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected PatchRule(String project, String securityPolicy, SecurityPolicyRule content)
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.
project - Project ID for this request.securityPolicy - Name of the security policy to update.content - the SecurityPolicyRulepublic Compute.SecurityPolicies.PatchRule set$Xgafv(String $Xgafv)
ComputeRequestset$Xgafv in class ComputeRequest<Operation>public Compute.SecurityPolicies.PatchRule setAccessToken(String accessToken)
ComputeRequestsetAccessToken in class ComputeRequest<Operation>public Compute.SecurityPolicies.PatchRule setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<Operation>public Compute.SecurityPolicies.PatchRule setCallback(String callback)
ComputeRequestsetCallback in class ComputeRequest<Operation>public Compute.SecurityPolicies.PatchRule setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<Operation>public Compute.SecurityPolicies.PatchRule setKey(String key)
ComputeRequestsetKey in class ComputeRequest<Operation>public Compute.SecurityPolicies.PatchRule setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<Operation>public Compute.SecurityPolicies.PatchRule setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<Operation>public Compute.SecurityPolicies.PatchRule setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<Operation>public Compute.SecurityPolicies.PatchRule setUploadType(String uploadType)
ComputeRequestsetUploadType in class ComputeRequest<Operation>public Compute.SecurityPolicies.PatchRule setUploadProtocol(String uploadProtocol)
ComputeRequestsetUploadProtocol in class ComputeRequest<Operation>public Compute.SecurityPolicies.PatchRule setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<Operation>public String getProject()
public Compute.SecurityPolicies.PatchRule setProject(String project)
public String getSecurityPolicy()
public Compute.SecurityPolicies.PatchRule setSecurityPolicy(String securityPolicy)
public Integer getPriority()
public Compute.SecurityPolicies.PatchRule setPriority(Integer priority)
public Compute.SecurityPolicies.PatchRule set(String parameterName, Object value)
set in class ComputeRequest<Operation>Copyright © 2011–2021 Google. All rights reserved.