public class Compute.StoragePools.ListDisks extends ComputeRequest<StoragePoolListDisks>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
ListDisks(String project,
String zone,
String storagePool)
Lists the disks in a specified storage pool.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getFilter()
A filter expression that filters resources listed in the response.
|
Long |
getMaxResults()
The maximum number of results per page that should be returned.
|
String |
getOrderBy()
Sorts list results by a certain order.
|
String |
getPageToken()
Specifies a page token to use.
|
String |
getProject()
Project ID for this request.
|
Boolean |
getReturnPartialSuccess()
Opt-in for partial success behavior which provides partial results in case of failure.
|
String |
getStoragePool()
Name of the storage pool to list disks of.
|
String |
getZone()
The name of the zone for this request.
|
Compute.StoragePools.ListDisks |
set(String parameterName,
Object value) |
Compute.StoragePools.ListDisks |
set$Xgafv(String $Xgafv)
V1 error format.
|
Compute.StoragePools.ListDisks |
setAccessToken(String accessToken)
OAuth access token.
|
Compute.StoragePools.ListDisks |
setAlt(String alt)
Data format for response.
|
Compute.StoragePools.ListDisks |
setCallback(String callback)
JSONP
|
Compute.StoragePools.ListDisks |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.StoragePools.ListDisks |
setFilter(String filter)
A filter expression that filters resources listed in the response.
|
Compute.StoragePools.ListDisks |
setKey(String key)
API key.
|
Compute.StoragePools.ListDisks |
setMaxResults(Long maxResults)
The maximum number of results per page that should be returned.
|
Compute.StoragePools.ListDisks |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.StoragePools.ListDisks |
setOrderBy(String orderBy)
Sorts list results by a certain order.
|
Compute.StoragePools.ListDisks |
setPageToken(String pageToken)
Specifies a page token to use.
|
Compute.StoragePools.ListDisks |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.StoragePools.ListDisks |
setProject(String project)
Project ID for this request.
|
Compute.StoragePools.ListDisks |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.StoragePools.ListDisks |
setReturnPartialSuccess(Boolean returnPartialSuccess)
Opt-in for partial success behavior which provides partial results in case of failure.
|
Compute.StoragePools.ListDisks |
setStoragePool(String storagePool)
Name of the storage pool to list disks of.
|
Compute.StoragePools.ListDisks |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Compute.StoragePools.ListDisks |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Compute.StoragePools.ListDisks |
setUserIp(String userIp)
Legacy name for parameter that has been superseded by `quotaUser`.
|
Compute.StoragePools.ListDisks |
setZone(String zone)
The 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, 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 ListDisks(String project, String zone, String storagePool)
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.storagePool - Name of the storage pool to list disks of.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<StoragePoolListDisks>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<StoragePoolListDisks>IOExceptionpublic Compute.StoragePools.ListDisks set$Xgafv(String $Xgafv)
ComputeRequestset$Xgafv in class ComputeRequest<StoragePoolListDisks>public Compute.StoragePools.ListDisks setAccessToken(String accessToken)
ComputeRequestsetAccessToken in class ComputeRequest<StoragePoolListDisks>public Compute.StoragePools.ListDisks setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<StoragePoolListDisks>public Compute.StoragePools.ListDisks setCallback(String callback)
ComputeRequestsetCallback in class ComputeRequest<StoragePoolListDisks>public Compute.StoragePools.ListDisks setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<StoragePoolListDisks>public Compute.StoragePools.ListDisks setKey(String key)
ComputeRequestsetKey in class ComputeRequest<StoragePoolListDisks>public Compute.StoragePools.ListDisks setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<StoragePoolListDisks>public Compute.StoragePools.ListDisks setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<StoragePoolListDisks>public Compute.StoragePools.ListDisks setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<StoragePoolListDisks>public Compute.StoragePools.ListDisks setUploadType(String uploadType)
ComputeRequestsetUploadType in class ComputeRequest<StoragePoolListDisks>public Compute.StoragePools.ListDisks setUploadProtocol(String uploadProtocol)
ComputeRequestsetUploadProtocol in class ComputeRequest<StoragePoolListDisks>public Compute.StoragePools.ListDisks setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<StoragePoolListDisks>public String getProject()
public Compute.StoragePools.ListDisks setProject(String project)
public String getZone()
public Compute.StoragePools.ListDisks setZone(String zone)
public String getStoragePool()
public Compute.StoragePools.ListDisks setStoragePool(String storagePool)
public String getFilter()
public Compute.StoragePools.ListDisks setFilter(String filter)
public Long getMaxResults()
public Compute.StoragePools.ListDisks setMaxResults(Long maxResults)
public String getOrderBy()
public Compute.StoragePools.ListDisks setOrderBy(String orderBy)
public String getPageToken()
public Compute.StoragePools.ListDisks setPageToken(String pageToken)
public Boolean getReturnPartialSuccess()
public Compute.StoragePools.ListDisks setReturnPartialSuccess(Boolean returnPartialSuccess)
public Compute.StoragePools.ListDisks set(String parameterName, Object value)
set in class ComputeRequest<StoragePoolListDisks>Copyright © 2011–2024 Google. All rights reserved.