public class Compute.BackendServices.SetSecurityPolicy extends ComputeRequest<Operation>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
SetSecurityPolicy(String project,
String backendService,
SecurityPolicyReference content)
Sets the Google Cloud Armor security policy for the specified backend service.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBackendService()
Name of the BackendService resource to which the security policy should be set.
|
String |
getProject()
Project ID for this request.
|
String |
getRequestId()
An optional request ID to identify requests.
|
Compute.BackendServices.SetSecurityPolicy |
set(String parameterName,
Object value) |
Compute.BackendServices.SetSecurityPolicy |
set$Xgafv(String $Xgafv)
V1 error format.
|
Compute.BackendServices.SetSecurityPolicy |
setAccessToken(String accessToken)
OAuth access token.
|
Compute.BackendServices.SetSecurityPolicy |
setAlt(String alt)
Data format for response.
|
Compute.BackendServices.SetSecurityPolicy |
setBackendService(String backendService)
Name of the BackendService resource to which the security policy should be set.
|
Compute.BackendServices.SetSecurityPolicy |
setCallback(String callback)
JSONP
|
Compute.BackendServices.SetSecurityPolicy |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.BackendServices.SetSecurityPolicy |
setKey(String key)
API key.
|
Compute.BackendServices.SetSecurityPolicy |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.BackendServices.SetSecurityPolicy |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.BackendServices.SetSecurityPolicy |
setProject(String project)
Project ID for this request.
|
Compute.BackendServices.SetSecurityPolicy |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.BackendServices.SetSecurityPolicy |
setRequestId(String requestId)
An optional request ID to identify requests.
|
Compute.BackendServices.SetSecurityPolicy |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Compute.BackendServices.SetSecurityPolicy |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Compute.BackendServices.SetSecurityPolicy |
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 SetSecurityPolicy(String project, String backendService, SecurityPolicyReference content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
SetSecurityPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogl
eClientRequest) must be called to initialize this instance immediately after invoking the
constructor.
project - Project ID for this request.backendService - Name of the BackendService resource to which the security policy should be set. The name should
conform to RFC1035.content - the SecurityPolicyReferencepublic Compute.BackendServices.SetSecurityPolicy set$Xgafv(String $Xgafv)
ComputeRequestset$Xgafv in class ComputeRequest<Operation>public Compute.BackendServices.SetSecurityPolicy setAccessToken(String accessToken)
ComputeRequestsetAccessToken in class ComputeRequest<Operation>public Compute.BackendServices.SetSecurityPolicy setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<Operation>public Compute.BackendServices.SetSecurityPolicy setCallback(String callback)
ComputeRequestsetCallback in class ComputeRequest<Operation>public Compute.BackendServices.SetSecurityPolicy setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<Operation>public Compute.BackendServices.SetSecurityPolicy setKey(String key)
ComputeRequestsetKey in class ComputeRequest<Operation>public Compute.BackendServices.SetSecurityPolicy setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<Operation>public Compute.BackendServices.SetSecurityPolicy setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<Operation>public Compute.BackendServices.SetSecurityPolicy setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<Operation>public Compute.BackendServices.SetSecurityPolicy setUploadType(String uploadType)
ComputeRequestsetUploadType in class ComputeRequest<Operation>public Compute.BackendServices.SetSecurityPolicy setUploadProtocol(String uploadProtocol)
ComputeRequestsetUploadProtocol in class ComputeRequest<Operation>public Compute.BackendServices.SetSecurityPolicy setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<Operation>public String getProject()
public Compute.BackendServices.SetSecurityPolicy setProject(String project)
public String getBackendService()
public Compute.BackendServices.SetSecurityPolicy setBackendService(String backendService)
public String getRequestId()
public Compute.BackendServices.SetSecurityPolicy setRequestId(String requestId)
public Compute.BackendServices.SetSecurityPolicy set(String parameterName, Object value)
set in class ComputeRequest<Operation>Copyright © 2011–2024 Google. All rights reserved.