public class Compute.Instances.GetEffectiveFirewalls extends ComputeRequest<InstancesGetEffectiveFirewallsResponse>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
GetEffectiveFirewalls(String project,
String zone,
String instance,
String networkInterface)
Returns effective firewalls applied to an interface of the instance.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getInstance()
Name of the instance scoping this request.
|
String |
getNetworkInterface()
The name of the network interface to get the effective firewalls.
|
String |
getProject()
Project ID for this request.
|
String |
getZone()
The name of the zone for this request.
|
Compute.Instances.GetEffectiveFirewalls |
set(String parameterName,
Object value) |
Compute.Instances.GetEffectiveFirewalls |
setAlt(String alt)
Data format for the response.
|
Compute.Instances.GetEffectiveFirewalls |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.Instances.GetEffectiveFirewalls |
setInstance(String instance)
Name of the instance scoping this request.
|
Compute.Instances.GetEffectiveFirewalls |
setKey(String key)
API key.
|
Compute.Instances.GetEffectiveFirewalls |
setNetworkInterface(String networkInterface)
The name of the network interface to get the effective firewalls.
|
Compute.Instances.GetEffectiveFirewalls |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.Instances.GetEffectiveFirewalls |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.Instances.GetEffectiveFirewalls |
setProject(String project)
Project ID for this request.
|
Compute.Instances.GetEffectiveFirewalls |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Compute.Instances.GetEffectiveFirewalls |
setUserIp(String userIp)
Deprecated.
|
Compute.Instances.GetEffectiveFirewalls |
setZone(String zone)
The name of the zone for this request.
|
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 GetEffectiveFirewalls(String project, String zone, String instance, String networkInterface)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. GetEffectiveFirewalls#initialize(com.google.api.client.googleapis.service
s.AbstractGoogleClientRequest) must be called to initialize this instance immediately after
invoking the constructor.
project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.networkInterface - The name of the network interface to get the effective firewalls.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<InstancesGetEffectiveFirewallsResponse>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<InstancesGetEffectiveFirewallsResponse>IOExceptionpublic Compute.Instances.GetEffectiveFirewalls setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<InstancesGetEffectiveFirewallsResponse>public Compute.Instances.GetEffectiveFirewalls setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<InstancesGetEffectiveFirewallsResponse>public Compute.Instances.GetEffectiveFirewalls setKey(String key)
ComputeRequestsetKey in class ComputeRequest<InstancesGetEffectiveFirewallsResponse>public Compute.Instances.GetEffectiveFirewalls setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<InstancesGetEffectiveFirewallsResponse>public Compute.Instances.GetEffectiveFirewalls setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<InstancesGetEffectiveFirewallsResponse>public Compute.Instances.GetEffectiveFirewalls setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<InstancesGetEffectiveFirewallsResponse>public Compute.Instances.GetEffectiveFirewalls setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<InstancesGetEffectiveFirewallsResponse>public String getProject()
public Compute.Instances.GetEffectiveFirewalls setProject(String project)
public String getZone()
public Compute.Instances.GetEffectiveFirewalls setZone(String zone)
public String getInstance()
public Compute.Instances.GetEffectiveFirewalls setInstance(String instance)
public String getNetworkInterface()
public Compute.Instances.GetEffectiveFirewalls setNetworkInterface(String networkInterface)
public Compute.Instances.GetEffectiveFirewalls set(String parameterName, Object value)
set in class ComputeRequest<InstancesGetEffectiveFirewallsResponse>Copyright © 2011–2021 Google. All rights reserved.