public class Compute.TargetPools.SetBackup extends ComputeRequest<Operation>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Compute.TargetPools.SetBackup(String project,
String region,
String targetPool,
TargetReference content)
Changes backup pool configurations.
|
Modifier and Type | Method and Description |
---|---|
Float |
getFailoverRatio()
New failoverRatio value for the containing target pool.
|
String |
getProject()
Name of the project scoping this request.
|
String |
getRegion()
Name of the region scoping this request.
|
String |
getTargetPool()
Name of the TargetPool resource for which the backup is to be set.
|
Compute.TargetPools.SetBackup |
set(String parameterName,
Object value) |
Compute.TargetPools.SetBackup |
setAlt(String alt)
Data format for the response.
|
Compute.TargetPools.SetBackup |
setFailoverRatio(Float failoverRatio)
New failoverRatio value for the containing target pool.
|
Compute.TargetPools.SetBackup |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.TargetPools.SetBackup |
setKey(String key)
API key.
|
Compute.TargetPools.SetBackup |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.TargetPools.SetBackup |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.TargetPools.SetBackup |
setProject(String project)
Name of the project scoping this request.
|
Compute.TargetPools.SetBackup |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.TargetPools.SetBackup |
setRegion(String region)
Name of the region scoping this request.
|
Compute.TargetPools.SetBackup |
setTargetPool(String targetPool)
Name of the TargetPool resource for which the backup is to be set.
|
Compute.TargetPools.SetBackup |
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, 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
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Compute.TargetPools.SetBackup(String project, String region, String targetPool, TargetReference content)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Compute.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
project
- Name of the project scoping this request.region
- Name of the region scoping this request.targetPool
- Name of the TargetPool resource for which the backup is to be set.content
- the TargetReference
public Compute.TargetPools.SetBackup setAlt(String alt)
ComputeRequest
setAlt
in class ComputeRequest<Operation>
public Compute.TargetPools.SetBackup setFields(String fields)
ComputeRequest
setFields
in class ComputeRequest<Operation>
public Compute.TargetPools.SetBackup setKey(String key)
ComputeRequest
setKey
in class ComputeRequest<Operation>
public Compute.TargetPools.SetBackup setOauthToken(String oauthToken)
ComputeRequest
setOauthToken
in class ComputeRequest<Operation>
public Compute.TargetPools.SetBackup setPrettyPrint(Boolean prettyPrint)
ComputeRequest
setPrettyPrint
in class ComputeRequest<Operation>
public Compute.TargetPools.SetBackup setQuotaUser(String quotaUser)
ComputeRequest
setQuotaUser
in class ComputeRequest<Operation>
public Compute.TargetPools.SetBackup setUserIp(String userIp)
ComputeRequest
setUserIp
in class ComputeRequest<Operation>
public String getProject()
public Compute.TargetPools.SetBackup setProject(String project)
public String getRegion()
public Compute.TargetPools.SetBackup setRegion(String region)
public String getTargetPool()
public Compute.TargetPools.SetBackup setTargetPool(String targetPool)
public Float getFailoverRatio()
public Compute.TargetPools.SetBackup setFailoverRatio(Float failoverRatio)
public Compute.TargetPools.SetBackup set(String parameterName, Object value)
set
in class ComputeRequest<Operation>