public class Compute.ImageFamilyViews.Get extends ComputeRequest<ImageFamilyView>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Get(String project,
String zone,
String family)
Returns the latest image that is part of an image family, is not deprecated and is rolled out
in the specified zone.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getFamily()
Name of the image family to search for.
|
String |
getProject()
Project ID for this request.
|
String |
getZone()
The name of the zone for this request.
|
Compute.ImageFamilyViews.Get |
set(String parameterName,
Object value) |
Compute.ImageFamilyViews.Get |
setAlt(String alt)
Data format for the response.
|
Compute.ImageFamilyViews.Get |
setFamily(String family)
Name of the image family to search for.
|
Compute.ImageFamilyViews.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.ImageFamilyViews.Get |
setKey(String key)
API key.
|
Compute.ImageFamilyViews.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.ImageFamilyViews.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.ImageFamilyViews.Get |
setProject(String project)
Project ID for this request.
|
Compute.ImageFamilyViews.Get |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Compute.ImageFamilyViews.Get |
setUserIp(String userIp)
Deprecated.
|
Compute.ImageFamilyViews.Get |
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 Get(String project, String zone, String family)
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 - Project ID for this request.zone - The name of the zone for this request.family - Name of the image family to search for.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<ImageFamilyView>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<ImageFamilyView>IOExceptionpublic Compute.ImageFamilyViews.Get setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<ImageFamilyView>public Compute.ImageFamilyViews.Get setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<ImageFamilyView>public Compute.ImageFamilyViews.Get setKey(String key)
ComputeRequestsetKey in class ComputeRequest<ImageFamilyView>public Compute.ImageFamilyViews.Get setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<ImageFamilyView>public Compute.ImageFamilyViews.Get setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<ImageFamilyView>public Compute.ImageFamilyViews.Get setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<ImageFamilyView>public Compute.ImageFamilyViews.Get setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<ImageFamilyView>public String getProject()
public Compute.ImageFamilyViews.Get setProject(String project)
public String getZone()
public Compute.ImageFamilyViews.Get setZone(String zone)
public String getFamily()
public Compute.ImageFamilyViews.Get setFamily(String family)
public Compute.ImageFamilyViews.Get set(String parameterName, Object value)
set in class ComputeRequest<ImageFamilyView>Copyright © 2011–2021 Google. All rights reserved.