public class Compute.NetworkFirewallPolicies.AddAssociation extends ComputeRequest<Operation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description | 
|---|---|
protected  | 
AddAssociation(String project,
              String firewallPolicy,
              FirewallPolicyAssociation content)
Inserts an association for the specified firewall policy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getFirewallPolicy()
Name of the firewall policy to update. 
 | 
String | 
getProject()
Project ID for this request. 
 | 
Boolean | 
getReplaceExistingAssociation()
Indicates whether or not to replace it if an association of the attachment already exists. 
 | 
String | 
getRequestId()
An optional request ID to identify requests. 
 | 
Compute.NetworkFirewallPolicies.AddAssociation | 
set(String parameterName,
   Object value)  | 
Compute.NetworkFirewallPolicies.AddAssociation | 
setAlt(String alt)
Data format for the response. 
 | 
Compute.NetworkFirewallPolicies.AddAssociation | 
setFields(String fields)
Selector specifying which fields to include in a partial response. 
 | 
Compute.NetworkFirewallPolicies.AddAssociation | 
setFirewallPolicy(String firewallPolicy)
Name of the firewall policy to update. 
 | 
Compute.NetworkFirewallPolicies.AddAssociation | 
setKey(String key)
API key. 
 | 
Compute.NetworkFirewallPolicies.AddAssociation | 
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user. 
 | 
Compute.NetworkFirewallPolicies.AddAssociation | 
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks. 
 | 
Compute.NetworkFirewallPolicies.AddAssociation | 
setProject(String project)
Project ID for this request. 
 | 
Compute.NetworkFirewallPolicies.AddAssociation | 
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes. 
 | 
Compute.NetworkFirewallPolicies.AddAssociation | 
setReplaceExistingAssociation(Boolean replaceExistingAssociation)
Indicates whether or not to replace it if an association of the attachment already exists. 
 | 
Compute.NetworkFirewallPolicies.AddAssociation | 
setRequestId(String requestId)
An optional request ID to identify requests. 
 | 
Compute.NetworkFirewallPolicies.AddAssociation | 
setUserIp(String userIp)
Deprecated. 
 | 
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, 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 AddAssociation(String project, String firewallPolicy, FirewallPolicyAssociation content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
  AddAssociation#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
 ientRequest) must be called to initialize this instance immediately after invoking the
 constructor. 
project - Project ID for this request.firewallPolicy - Name of the firewall policy to update.content - the FirewallPolicyAssociationpublic Compute.NetworkFirewallPolicies.AddAssociation setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<Operation>public Compute.NetworkFirewallPolicies.AddAssociation setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<Operation>public Compute.NetworkFirewallPolicies.AddAssociation setKey(String key)
ComputeRequestsetKey in class ComputeRequest<Operation>public Compute.NetworkFirewallPolicies.AddAssociation setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<Operation>public Compute.NetworkFirewallPolicies.AddAssociation setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<Operation>public Compute.NetworkFirewallPolicies.AddAssociation setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<Operation>public Compute.NetworkFirewallPolicies.AddAssociation setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<Operation>public String getProject()
public Compute.NetworkFirewallPolicies.AddAssociation setProject(String project)
public String getFirewallPolicy()
public Compute.NetworkFirewallPolicies.AddAssociation setFirewallPolicy(String firewallPolicy)
public Boolean getReplaceExistingAssociation()
public Compute.NetworkFirewallPolicies.AddAssociation setReplaceExistingAssociation(Boolean replaceExistingAssociation)
public String getRequestId()
public Compute.NetworkFirewallPolicies.AddAssociation setRequestId(String requestId)
public Compute.NetworkFirewallPolicies.AddAssociation set(String parameterName, Object value)
set in class ComputeRequest<Operation>Copyright © 2011–2020 Google. All rights reserved.