public class Pubsub.Projects.Snapshots.List extends PubsubRequest<ListSnapshotsResponse>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
List(java.lang.String project)
Lists the existing snapshots.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.Integer |
getPageSize()
Maximum number of snapshots to return.
|
java.lang.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.
|
java.lang.String |
getProject()
Required.
|
Pubsub.Projects.Snapshots.List |
set(java.lang.String parameterName,
java.lang.Object value) |
Pubsub.Projects.Snapshots.List |
set$Xgafv(java.lang.String $Xgafv)
V1 error format.
|
Pubsub.Projects.Snapshots.List |
setAccessToken(java.lang.String accessToken)
OAuth access token.
|
Pubsub.Projects.Snapshots.List |
setAlt(java.lang.String alt)
Data format for response.
|
Pubsub.Projects.Snapshots.List |
setCallback(java.lang.String callback)
JSONP
|
Pubsub.Projects.Snapshots.List |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Pubsub.Projects.Snapshots.List |
setKey(java.lang.String key)
API key.
|
Pubsub.Projects.Snapshots.List |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Pubsub.Projects.Snapshots.List |
setPageSize(java.lang.Integer pageSize)
Maximum number of snapshots to return.
|
Pubsub.Projects.Snapshots.List |
setPageToken(java.lang.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(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Pubsub.Projects.Snapshots.List |
setProject(java.lang.String project)
Required.
|
Pubsub.Projects.Snapshots.List |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Pubsub.Projects.Snapshots.List |
setUploadProtocol(java.lang.String uploadProtocol)
Upload protocol for media (e.g.
|
Pubsub.Projects.Snapshots.List |
setUploadType(java.lang.String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected List(java.lang.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 com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ListSnapshotsResponse>
java.io.IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ListSnapshotsResponse>
java.io.IOException
public Pubsub.Projects.Snapshots.List set$Xgafv(java.lang.String $Xgafv)
PubsubRequest
set$Xgafv
in class PubsubRequest<ListSnapshotsResponse>
public Pubsub.Projects.Snapshots.List setAccessToken(java.lang.String accessToken)
PubsubRequest
setAccessToken
in class PubsubRequest<ListSnapshotsResponse>
public Pubsub.Projects.Snapshots.List setAlt(java.lang.String alt)
PubsubRequest
setAlt
in class PubsubRequest<ListSnapshotsResponse>
public Pubsub.Projects.Snapshots.List setCallback(java.lang.String callback)
PubsubRequest
setCallback
in class PubsubRequest<ListSnapshotsResponse>
public Pubsub.Projects.Snapshots.List setFields(java.lang.String fields)
PubsubRequest
setFields
in class PubsubRequest<ListSnapshotsResponse>
public Pubsub.Projects.Snapshots.List setKey(java.lang.String key)
PubsubRequest
setKey
in class PubsubRequest<ListSnapshotsResponse>
public Pubsub.Projects.Snapshots.List setOauthToken(java.lang.String oauthToken)
PubsubRequest
setOauthToken
in class PubsubRequest<ListSnapshotsResponse>
public Pubsub.Projects.Snapshots.List setPrettyPrint(java.lang.Boolean prettyPrint)
PubsubRequest
setPrettyPrint
in class PubsubRequest<ListSnapshotsResponse>
public Pubsub.Projects.Snapshots.List setQuotaUser(java.lang.String quotaUser)
PubsubRequest
setQuotaUser
in class PubsubRequest<ListSnapshotsResponse>
public Pubsub.Projects.Snapshots.List setUploadType(java.lang.String uploadType)
PubsubRequest
setUploadType
in class PubsubRequest<ListSnapshotsResponse>
public Pubsub.Projects.Snapshots.List setUploadProtocol(java.lang.String uploadProtocol)
PubsubRequest
setUploadProtocol
in class PubsubRequest<ListSnapshotsResponse>
public java.lang.String getProject()
public Pubsub.Projects.Snapshots.List setProject(java.lang.String project)
public java.lang.String getPageToken()
public Pubsub.Projects.Snapshots.List setPageToken(java.lang.String pageToken)
public java.lang.Integer getPageSize()
public Pubsub.Projects.Snapshots.List setPageSize(java.lang.Integer pageSize)
public Pubsub.Projects.Snapshots.List set(java.lang.String parameterName, java.lang.Object value)
set
in class PubsubRequest<ListSnapshotsResponse>