public class Compute.Instances.StartWithEncryptionKey extends ComputeRequest<Operation>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Compute.Instances.StartWithEncryptionKey(java.lang.String project,
java.lang.String zone,
java.lang.String instance,
InstancesStartWithEncryptionKeyRequest content)
Starts an instance that was stopped using the using the instances().stop method.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInstance()
Name of the instance resource to start.
|
java.lang.String |
getProject()
Project ID for this request.
|
java.lang.String |
getZone()
The name of the zone for this request.
|
Compute.Instances.StartWithEncryptionKey |
set(java.lang.String parameterName,
java.lang.Object value) |
Compute.Instances.StartWithEncryptionKey |
setAlt(java.lang.String alt)
Data format for the response.
|
Compute.Instances.StartWithEncryptionKey |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Compute.Instances.StartWithEncryptionKey |
setInstance(java.lang.String instance)
Name of the instance resource to start.
|
Compute.Instances.StartWithEncryptionKey |
setKey(java.lang.String key)
API key.
|
Compute.Instances.StartWithEncryptionKey |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.Instances.StartWithEncryptionKey |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.Instances.StartWithEncryptionKey |
setProject(java.lang.String project)
Project ID for this request.
|
Compute.Instances.StartWithEncryptionKey |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.Instances.StartWithEncryptionKey |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
Compute.Instances.StartWithEncryptionKey |
setZone(java.lang.String zone)
The name of the zone for this request.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, 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, setUnknownKeys
protected Compute.Instances.StartWithEncryptionKey(java.lang.String project, java.lang.String zone, java.lang.String instance, InstancesStartWithEncryptionKeyRequest content)
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation. StartWithEncryptionKey#initialize(com.google.api.client.googleapis.servic
es.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 resource to start.content
- the InstancesStartWithEncryptionKeyRequest
public Compute.Instances.StartWithEncryptionKey setAlt(java.lang.String alt)
ComputeRequest
setAlt
in class ComputeRequest<Operation>
public Compute.Instances.StartWithEncryptionKey setFields(java.lang.String fields)
ComputeRequest
setFields
in class ComputeRequest<Operation>
public Compute.Instances.StartWithEncryptionKey setKey(java.lang.String key)
ComputeRequest
setKey
in class ComputeRequest<Operation>
public Compute.Instances.StartWithEncryptionKey setOauthToken(java.lang.String oauthToken)
ComputeRequest
setOauthToken
in class ComputeRequest<Operation>
public Compute.Instances.StartWithEncryptionKey setPrettyPrint(java.lang.Boolean prettyPrint)
ComputeRequest
setPrettyPrint
in class ComputeRequest<Operation>
public Compute.Instances.StartWithEncryptionKey setQuotaUser(java.lang.String quotaUser)
ComputeRequest
setQuotaUser
in class ComputeRequest<Operation>
public Compute.Instances.StartWithEncryptionKey setUserIp(java.lang.String userIp)
ComputeRequest
setUserIp
in class ComputeRequest<Operation>
public java.lang.String getProject()
public Compute.Instances.StartWithEncryptionKey setProject(java.lang.String project)
public java.lang.String getZone()
public Compute.Instances.StartWithEncryptionKey setZone(java.lang.String zone)
public java.lang.String getInstance()
public Compute.Instances.StartWithEncryptionKey setInstance(java.lang.String instance)
public Compute.Instances.StartWithEncryptionKey set(java.lang.String parameterName, java.lang.Object value)
set
in class ComputeRequest<Operation>