public class Compute.Networks.Delete extends ComputeRequest<Operation>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Compute.Networks.Delete(String project,
String network)
Deletes the specified network resource.
|
Modifier and Type | Method and Description |
---|---|
String |
getNetwork()
Name of the network resource to delete.
|
String |
getProject()
Name of the project scoping this request.
|
Compute.Networks.Delete |
setAlt(String alt)
Data format for the response.
|
Compute.Networks.Delete |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.Networks.Delete |
setKey(String key)
API key.
|
Compute.Networks.Delete |
setNetwork(String network)
Name of the network resource to delete.
|
Compute.Networks.Delete |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.Networks.Delete |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.Networks.Delete |
setProject(String project)
Name of the project scoping this request.
|
Compute.Networks.Delete |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.Networks.Delete |
setUserIp(String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Compute.Networks.Delete(String project, String network)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation. Compute.initialize(AbstractGoogleClientRequest)
must be called to initialize this instance
immediately after invoking the constructor.
project
- Name of the project scoping this request.network
- Name of the network resource to delete.public Compute.Networks.Delete setAlt(String alt)
ComputeRequest
setAlt
in class ComputeRequest<Operation>
public Compute.Networks.Delete setFields(String fields)
ComputeRequest
setFields
in class ComputeRequest<Operation>
public Compute.Networks.Delete setKey(String key)
ComputeRequest
setKey
in class ComputeRequest<Operation>
public Compute.Networks.Delete setOauthToken(String oauthToken)
ComputeRequest
setOauthToken
in class ComputeRequest<Operation>
public Compute.Networks.Delete setPrettyPrint(Boolean prettyPrint)
ComputeRequest
setPrettyPrint
in class ComputeRequest<Operation>
public Compute.Networks.Delete setQuotaUser(String quotaUser)
ComputeRequest
setQuotaUser
in class ComputeRequest<Operation>
public Compute.Networks.Delete setUserIp(String userIp)
ComputeRequest
setUserIp
in class ComputeRequest<Operation>
public String getProject()
public Compute.Networks.Delete setProject(String project)
public String getNetwork()
public Compute.Networks.Delete setNetwork(String network)