public class Compute.FirewallPolicies.GetAssociation extends ComputeRequest<FirewallPolicyAssociation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
GetAssociation(String firewallPolicy)
Gets an association with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getFirewallPolicy()
Name of the firewall policy to which the queried rule belongs.
|
String |
getName()
The name of the association to get from the firewall policy.
|
Compute.FirewallPolicies.GetAssociation |
set(String parameterName,
Object value) |
Compute.FirewallPolicies.GetAssociation |
setAlt(String alt)
Data format for the response.
|
Compute.FirewallPolicies.GetAssociation |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.FirewallPolicies.GetAssociation |
setFirewallPolicy(String firewallPolicy)
Name of the firewall policy to which the queried rule belongs.
|
Compute.FirewallPolicies.GetAssociation |
setKey(String key)
API key.
|
Compute.FirewallPolicies.GetAssociation |
setName(String name)
The name of the association to get from the firewall policy.
|
Compute.FirewallPolicies.GetAssociation |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.FirewallPolicies.GetAssociation |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.FirewallPolicies.GetAssociation |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Compute.FirewallPolicies.GetAssociation |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 GetAssociation(String firewallPolicy)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
GetAssociation#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
ientRequest) 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 HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<FirewallPolicyAssociation>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<FirewallPolicyAssociation>IOExceptionpublic Compute.FirewallPolicies.GetAssociation setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<FirewallPolicyAssociation>public Compute.FirewallPolicies.GetAssociation setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<FirewallPolicyAssociation>public Compute.FirewallPolicies.GetAssociation setKey(String key)
ComputeRequestsetKey in class ComputeRequest<FirewallPolicyAssociation>public Compute.FirewallPolicies.GetAssociation setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<FirewallPolicyAssociation>public Compute.FirewallPolicies.GetAssociation setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<FirewallPolicyAssociation>public Compute.FirewallPolicies.GetAssociation setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<FirewallPolicyAssociation>public Compute.FirewallPolicies.GetAssociation setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<FirewallPolicyAssociation>public String getFirewallPolicy()
public Compute.FirewallPolicies.GetAssociation setFirewallPolicy(String firewallPolicy)
public String getName()
public Compute.FirewallPolicies.GetAssociation setName(String name)
public Compute.FirewallPolicies.GetAssociation set(String parameterName, Object value)
set in class ComputeRequest<FirewallPolicyAssociation>Copyright © 2011–2021 Google. All rights reserved.