public class Pubsub.Projects.Topics.List extends PubsubRequest<ListTopicsResponse>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
List(java.lang.String project)
Lists matching topics.
|
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 topics to return.
|
java.lang.String |
getPageToken()
The value returned by the last `ListTopicsResponse`; indicates that this is a continuation of a
prior `ListTopics` call, and that the system should return the next page of data.
|
java.lang.String |
getProject()
Required.
|
Pubsub.Projects.Topics.List |
set(java.lang.String parameterName,
java.lang.Object value) |
Pubsub.Projects.Topics.List |
set$Xgafv(java.lang.String $Xgafv)
V1 error format.
|
Pubsub.Projects.Topics.List |
setAccessToken(java.lang.String accessToken)
OAuth access token.
|
Pubsub.Projects.Topics.List |
setAlt(java.lang.String alt)
Data format for response.
|
Pubsub.Projects.Topics.List |
setCallback(java.lang.String callback)
JSONP
|
Pubsub.Projects.Topics.List |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Pubsub.Projects.Topics.List |
setKey(java.lang.String key)
API key.
|
Pubsub.Projects.Topics.List |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Pubsub.Projects.Topics.List |
setPageSize(java.lang.Integer pageSize)
Maximum number of topics to return.
|
Pubsub.Projects.Topics.List |
setPageToken(java.lang.String pageToken)
The value returned by the last `ListTopicsResponse`; indicates that this is a
continuation of a prior `ListTopics` call, and that the system should return the next
page of data.
|
Pubsub.Projects.Topics.List |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Pubsub.Projects.Topics.List |
setProject(java.lang.String project)
Required.
|
Pubsub.Projects.Topics.List |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Pubsub.Projects.Topics.List |
setUploadProtocol(java.lang.String uploadProtocol)
Upload protocol for media (e.g.
|
Pubsub.Projects.Topics.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 topics.
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<ListTopicsResponse>
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<ListTopicsResponse>
java.io.IOException
public Pubsub.Projects.Topics.List set$Xgafv(java.lang.String $Xgafv)
PubsubRequest
set$Xgafv
in class PubsubRequest<ListTopicsResponse>
public Pubsub.Projects.Topics.List setAccessToken(java.lang.String accessToken)
PubsubRequest
setAccessToken
in class PubsubRequest<ListTopicsResponse>
public Pubsub.Projects.Topics.List setAlt(java.lang.String alt)
PubsubRequest
setAlt
in class PubsubRequest<ListTopicsResponse>
public Pubsub.Projects.Topics.List setCallback(java.lang.String callback)
PubsubRequest
setCallback
in class PubsubRequest<ListTopicsResponse>
public Pubsub.Projects.Topics.List setFields(java.lang.String fields)
PubsubRequest
setFields
in class PubsubRequest<ListTopicsResponse>
public Pubsub.Projects.Topics.List setKey(java.lang.String key)
PubsubRequest
setKey
in class PubsubRequest<ListTopicsResponse>
public Pubsub.Projects.Topics.List setOauthToken(java.lang.String oauthToken)
PubsubRequest
setOauthToken
in class PubsubRequest<ListTopicsResponse>
public Pubsub.Projects.Topics.List setPrettyPrint(java.lang.Boolean prettyPrint)
PubsubRequest
setPrettyPrint
in class PubsubRequest<ListTopicsResponse>
public Pubsub.Projects.Topics.List setQuotaUser(java.lang.String quotaUser)
PubsubRequest
setQuotaUser
in class PubsubRequest<ListTopicsResponse>
public Pubsub.Projects.Topics.List setUploadType(java.lang.String uploadType)
PubsubRequest
setUploadType
in class PubsubRequest<ListTopicsResponse>
public Pubsub.Projects.Topics.List setUploadProtocol(java.lang.String uploadProtocol)
PubsubRequest
setUploadProtocol
in class PubsubRequest<ListTopicsResponse>
public java.lang.String getProject()
public Pubsub.Projects.Topics.List setProject(java.lang.String project)
public java.lang.String getPageToken()
public Pubsub.Projects.Topics.List setPageToken(java.lang.String pageToken)
public java.lang.Integer getPageSize()
public Pubsub.Projects.Topics.List setPageSize(java.lang.Integer pageSize)
public Pubsub.Projects.Topics.List set(java.lang.String parameterName, java.lang.Object value)
set
in class PubsubRequest<ListTopicsResponse>