public class Compute.Hosts.GetVersion extends ComputeRequest<Operation>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
GetVersion(String project,
String zone,
String association,
String host,
HostsGetVersionRequest content)
Allows customers to get SBOM versions of a host.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAssociation()
The parent resource association for the Host.
|
String |
getHost()
The name of the host, formatted as RFC1035 or a resource ID number.
|
String |
getProject()
Project ID for this request.
|
String |
getRequestId()
An optional request ID to identify requests.
|
String |
getZone()
Name of the zone for this request.
|
Compute.Hosts.GetVersion |
set(String parameterName,
Object value) |
Compute.Hosts.GetVersion |
set$Xgafv(String $Xgafv)
V1 error format.
|
Compute.Hosts.GetVersion |
setAccessToken(String accessToken)
OAuth access token.
|
Compute.Hosts.GetVersion |
setAlt(String alt)
Data format for response.
|
Compute.Hosts.GetVersion |
setAssociation(String association)
The parent resource association for the Host.
|
Compute.Hosts.GetVersion |
setCallback(String callback)
JSONP
|
Compute.Hosts.GetVersion |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.Hosts.GetVersion |
setHost(String host)
The name of the host, formatted as RFC1035 or a resource ID number.
|
Compute.Hosts.GetVersion |
setKey(String key)
API key.
|
Compute.Hosts.GetVersion |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.Hosts.GetVersion |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.Hosts.GetVersion |
setProject(String project)
Project ID for this request.
|
Compute.Hosts.GetVersion |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.Hosts.GetVersion |
setRequestId(String requestId)
An optional request ID to identify requests.
|
Compute.Hosts.GetVersion |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Compute.Hosts.GetVersion |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Compute.Hosts.GetVersion |
setUserIp(String userIp)
Legacy name for parameter that has been superseded by `quotaUser`.
|
Compute.Hosts.GetVersion |
setZone(String zone)
Name of the zone for this request.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, 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, 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 GetVersion(String project, String zone, String association, String host, HostsGetVersionRequest 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 - Project ID for this request.zone - Name of the zone for this request. Zone name should conform to RFC1035.association - The parent resource association for the Host. This field specifies the
hierarchical context (e.g.,
reservation, block, sub-block) when
accessing the host.host - The name of the host, formatted as RFC1035 or a resource ID
number.content - the HostsGetVersionRequestpublic Compute.Hosts.GetVersion set$Xgafv(String $Xgafv)
ComputeRequestset$Xgafv in class ComputeRequest<Operation>public Compute.Hosts.GetVersion setAccessToken(String accessToken)
ComputeRequestsetAccessToken in class ComputeRequest<Operation>public Compute.Hosts.GetVersion setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<Operation>public Compute.Hosts.GetVersion setCallback(String callback)
ComputeRequestsetCallback in class ComputeRequest<Operation>public Compute.Hosts.GetVersion setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<Operation>public Compute.Hosts.GetVersion setKey(String key)
ComputeRequestsetKey in class ComputeRequest<Operation>public Compute.Hosts.GetVersion setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<Operation>public Compute.Hosts.GetVersion setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<Operation>public Compute.Hosts.GetVersion setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<Operation>public Compute.Hosts.GetVersion setUploadType(String uploadType)
ComputeRequestsetUploadType in class ComputeRequest<Operation>public Compute.Hosts.GetVersion setUploadProtocol(String uploadProtocol)
ComputeRequestsetUploadProtocol in class ComputeRequest<Operation>public Compute.Hosts.GetVersion setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<Operation>public String getProject()
public Compute.Hosts.GetVersion setProject(String project)
public String getZone()
public Compute.Hosts.GetVersion setZone(String zone)
public String getAssociation()
public Compute.Hosts.GetVersion setAssociation(String association)
public String getHost()
public Compute.Hosts.GetVersion setHost(String host)
public String getRequestId()
public Compute.Hosts.GetVersion setRequestId(String requestId)
public Compute.Hosts.GetVersion set(String parameterName, Object value)
set in class ComputeRequest<Operation>Copyright © 2011–2026 Google. All rights reserved.