public class Compute.BackendServices.GetHealth extends ComputeRequest<BackendServiceGroupHealth>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
GetHealth(String project,
String backendService,
ResourceGroupReference content)
Gets the most recent health check results for this BackendService.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBackendService()
Name of the BackendService resource to which the queried instance belongs.
|
String |
getProject() |
Compute.BackendServices.GetHealth |
set(String parameterName,
Object value) |
Compute.BackendServices.GetHealth |
setAlt(String alt)
Data format for the response.
|
Compute.BackendServices.GetHealth |
setBackendService(String backendService)
Name of the BackendService resource to which the queried instance belongs.
|
Compute.BackendServices.GetHealth |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.BackendServices.GetHealth |
setKey(String key)
API key.
|
Compute.BackendServices.GetHealth |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.BackendServices.GetHealth |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.BackendServices.GetHealth |
setProject(String project) |
Compute.BackendServices.GetHealth |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Compute.BackendServices.GetHealth |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected GetHealth(String project, String backendService, ResourceGroupReference 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 - backendService - Name of the BackendService resource to which the queried instance belongs.content - the ResourceGroupReferencepublic Compute.BackendServices.GetHealth setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<BackendServiceGroupHealth>public Compute.BackendServices.GetHealth setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<BackendServiceGroupHealth>public Compute.BackendServices.GetHealth setKey(String key)
ComputeRequestsetKey in class ComputeRequest<BackendServiceGroupHealth>public Compute.BackendServices.GetHealth setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<BackendServiceGroupHealth>public Compute.BackendServices.GetHealth setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<BackendServiceGroupHealth>public Compute.BackendServices.GetHealth setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<BackendServiceGroupHealth>public Compute.BackendServices.GetHealth setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<BackendServiceGroupHealth>public String getProject()
public Compute.BackendServices.GetHealth setProject(String project)
public String getBackendService()
public Compute.BackendServices.GetHealth setBackendService(String backendService)
public Compute.BackendServices.GetHealth set(String parameterName, Object value)
set in class ComputeRequest<BackendServiceGroupHealth>Copyright © 2011–2019 Google. All rights reserved.