public class Pubsub.Projects.Snapshots.List extends PubsubRequest<ListSnapshotsResponse>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
List(String project)
Lists the existing snapshots.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
Integer |
getPageSize()
Maximum number of snapshots to return.
|
String |
getPageToken()
The value returned by the last `ListSnapshotsResponse`; indicates that this is a continuation of a
prior `ListSnapshots` call, and that the system should return the next page of data.
|
String |
getProject()
Required.
|
Pubsub.Projects.Snapshots.List |
set(String parameterName,
Object value) |
Pubsub.Projects.Snapshots.List |
set$Xgafv(String $Xgafv)
V1 error format.
|
Pubsub.Projects.Snapshots.List |
setAccessToken(String accessToken)
OAuth access token.
|
Pubsub.Projects.Snapshots.List |
setAlt(String alt)
Data format for response.
|
Pubsub.Projects.Snapshots.List |
setCallback(String callback)
JSONP
|
Pubsub.Projects.Snapshots.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Pubsub.Projects.Snapshots.List |
setKey(String key)
API key.
|
Pubsub.Projects.Snapshots.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Pubsub.Projects.Snapshots.List |
setPageSize(Integer pageSize)
Maximum number of snapshots to return.
|
Pubsub.Projects.Snapshots.List |
setPageToken(String pageToken)
The value returned by the last `ListSnapshotsResponse`; indicates that this is a
continuation of a prior `ListSnapshots` call, and that the system should return the next
page of data.
|
Pubsub.Projects.Snapshots.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Pubsub.Projects.Snapshots.List |
setProject(String project)
Required.
|
Pubsub.Projects.Snapshots.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Pubsub.Projects.Snapshots.List |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Pubsub.Projects.Snapshots.List |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, 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 List(String project)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Pubsub.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be
called to initialize this instance immediately after invoking the constructor.
project - Required. The name of the project in which to list snapshots. Format is `projects/{project-id}`.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<ListSnapshotsResponse>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<ListSnapshotsResponse>IOExceptionpublic Pubsub.Projects.Snapshots.List set$Xgafv(String $Xgafv)
PubsubRequestset$Xgafv in class PubsubRequest<ListSnapshotsResponse>public Pubsub.Projects.Snapshots.List setAccessToken(String accessToken)
PubsubRequestsetAccessToken in class PubsubRequest<ListSnapshotsResponse>public Pubsub.Projects.Snapshots.List setAlt(String alt)
PubsubRequestsetAlt in class PubsubRequest<ListSnapshotsResponse>public Pubsub.Projects.Snapshots.List setCallback(String callback)
PubsubRequestsetCallback in class PubsubRequest<ListSnapshotsResponse>public Pubsub.Projects.Snapshots.List setFields(String fields)
PubsubRequestsetFields in class PubsubRequest<ListSnapshotsResponse>public Pubsub.Projects.Snapshots.List setKey(String key)
PubsubRequestsetKey in class PubsubRequest<ListSnapshotsResponse>public Pubsub.Projects.Snapshots.List setOauthToken(String oauthToken)
PubsubRequestsetOauthToken in class PubsubRequest<ListSnapshotsResponse>public Pubsub.Projects.Snapshots.List setPrettyPrint(Boolean prettyPrint)
PubsubRequestsetPrettyPrint in class PubsubRequest<ListSnapshotsResponse>public Pubsub.Projects.Snapshots.List setQuotaUser(String quotaUser)
PubsubRequestsetQuotaUser in class PubsubRequest<ListSnapshotsResponse>public Pubsub.Projects.Snapshots.List setUploadType(String uploadType)
PubsubRequestsetUploadType in class PubsubRequest<ListSnapshotsResponse>public Pubsub.Projects.Snapshots.List setUploadProtocol(String uploadProtocol)
PubsubRequestsetUploadProtocol in class PubsubRequest<ListSnapshotsResponse>public String getProject()
public Pubsub.Projects.Snapshots.List setProject(String project)
public Integer getPageSize()
public Pubsub.Projects.Snapshots.List setPageSize(Integer pageSize)
public String getPageToken()
public Pubsub.Projects.Snapshots.List setPageToken(String pageToken)
public Pubsub.Projects.Snapshots.List set(String parameterName, Object value)
set in class PubsubRequest<ListSnapshotsResponse>Copyright © 2011–2021 Google. All rights reserved.